This file is indexed.

/usr/share/doc/librsyntaxtextarea-java/api/org/fife/ui/rsyntaxtextarea/TokenImpl.html is in librsyntaxtextarea-java-doc 2.5.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Sun Oct 20 20:34:51 UTC 2013 -->
<title>TokenImpl (RSyntaxTextArea API)</title>
<meta name="date" content="2013-10-20">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="TokenImpl (RSyntaxTextArea API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html" title="interface in org.fife.ui.rsyntaxtextarea"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/fife/ui/rsyntaxtextarea/TokenImpl.html" target="_top">Frames</a></li>
<li><a href="TokenImpl.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.fife.ui.rsyntaxtextarea</div>
<h2 title="Class TokenImpl" class="title">Class TokenImpl</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.fife.ui.rsyntaxtextarea.TokenImpl</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html" title="interface in org.fife.ui.rsyntaxtextarea">TokenTypes</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">TokenImpl</span>
extends <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
implements <a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></pre>
<div class="block">The default implementation of <a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea"><code>Token</code></a>.<p>

 <b>Note:</b> The instances of <code>Token</code> returned by
 <a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxDocument.html" title="class in org.fife.ui.rsyntaxtextarea"><code>RSyntaxDocument</code></a>s are pooled and should always be treated as
 immutable.  They should not be cast to <code>TokenImpl</code> and modified.
 Modifying tokens you did not create yourself can and will result in
 rendering issues and/or runtime exceptions. You have been warned!</div>
<dl><dt><span class="strong">Version:</span></dt>
  <dd>0.3</dd>
<dt><span class="strong">Author:</span></dt>
  <dd>Robert Futrell</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#text">text</a></strong></code>
<div class="block">The text this token represents.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#textCount">textCount</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#textOffset">textOffset</a></strong></code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.fife.ui.rsyntaxtextarea.TokenTypes">
<!--   -->
</a>
<h3>Fields inherited from interface&nbsp;org.fife.ui.rsyntaxtextarea.<a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html" title="interface in org.fife.ui.rsyntaxtextarea">TokenTypes</a></h3>
<code><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#ANNOTATION">ANNOTATION</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#COMMENT_DOCUMENTATION">COMMENT_DOCUMENTATION</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#COMMENT_EOL">COMMENT_EOL</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#COMMENT_KEYWORD">COMMENT_KEYWORD</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#COMMENT_MARKUP">COMMENT_MARKUP</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#COMMENT_MULTILINE">COMMENT_MULTILINE</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#DATA_TYPE">DATA_TYPE</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#DEFAULT_NUM_TOKEN_TYPES">DEFAULT_NUM_TOKEN_TYPES</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#ERROR_CHAR">ERROR_CHAR</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#ERROR_IDENTIFIER">ERROR_IDENTIFIER</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#ERROR_NUMBER_FORMAT">ERROR_NUMBER_FORMAT</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#ERROR_STRING_DOUBLE">ERROR_STRING_DOUBLE</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#FUNCTION">FUNCTION</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#IDENTIFIER">IDENTIFIER</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#LITERAL_BACKQUOTE">LITERAL_BACKQUOTE</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#LITERAL_BOOLEAN">LITERAL_BOOLEAN</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#LITERAL_CHAR">LITERAL_CHAR</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#LITERAL_NUMBER_DECIMAL_INT">LITERAL_NUMBER_DECIMAL_INT</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#LITERAL_NUMBER_FLOAT">LITERAL_NUMBER_FLOAT</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#LITERAL_NUMBER_HEXADECIMAL">LITERAL_NUMBER_HEXADECIMAL</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#LITERAL_STRING_DOUBLE_QUOTE">LITERAL_STRING_DOUBLE_QUOTE</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#MARKUP_CDATA">MARKUP_CDATA</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#MARKUP_CDATA_DELIMITER">MARKUP_CDATA_DELIMITER</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#MARKUP_COMMENT">MARKUP_COMMENT</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#MARKUP_DTD">MARKUP_DTD</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#MARKUP_ENTITY_REFERENCE">MARKUP_ENTITY_REFERENCE</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#MARKUP_PROCESSING_INSTRUCTION">MARKUP_PROCESSING_INSTRUCTION</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#MARKUP_TAG_ATTRIBUTE">MARKUP_TAG_ATTRIBUTE</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#MARKUP_TAG_ATTRIBUTE_VALUE">MARKUP_TAG_ATTRIBUTE_VALUE</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#MARKUP_TAG_DELIMITER">MARKUP_TAG_DELIMITER</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#MARKUP_TAG_NAME">MARKUP_TAG_NAME</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#NULL">NULL</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#OPERATOR">OPERATOR</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#PREPROCESSOR">PREPROCESSOR</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#REGEX">REGEX</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#RESERVED_WORD">RESERVED_WORD</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#RESERVED_WORD_2">RESERVED_WORD_2</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#SEPARATOR">SEPARATOR</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#VARIABLE">VARIABLE</a>, <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#WHITESPACE">WHITESPACE</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#TokenImpl()">TokenImpl</a></strong>()</code>
<div class="block">Creates a "null token."</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#TokenImpl(char[], int, int, int, int)">TokenImpl</a></strong>(char[]&nbsp;line,
         int&nbsp;beg,
         int&nbsp;end,
         int&nbsp;startOffset,
         int&nbsp;type)</code>
<div class="block">Constructor.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#TokenImpl(javax.swing.text.Segment, int, int, int, int)">TokenImpl</a></strong>(<a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/text/Segment.html?is-external=true" title="class or interface in javax.swing.text">Segment</a>&nbsp;line,
         int&nbsp;beg,
         int&nbsp;end,
         int&nbsp;startOffset,
         int&nbsp;type)</code>
<div class="block">Constructor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#TokenImpl(org.fife.ui.rsyntaxtextarea.Token)">TokenImpl</a></strong>(<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a>&nbsp;t2)</code>
<div class="block">Creates this token as a copy of the passed-in token.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#appendHTMLRepresentation(java.lang.StringBuilder, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, boolean)">appendHTMLRepresentation</a></strong>(<a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb,
                        <a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
                        boolean&nbsp;fontFamily)</code>
<div class="block">Appends HTML code for painting this token, using the given text area's
 color scheme.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#appendHTMLRepresentation(java.lang.StringBuilder, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, boolean, boolean)">appendHTMLRepresentation</a></strong>(<a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb,
                        <a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
                        boolean&nbsp;fontFamily,
                        boolean&nbsp;tabsToSpaces)</code>
<div class="block">Appends HTML code for painting this token, using the given text area's
 color scheme.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>char</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#charAt(int)">charAt</a></strong>(int&nbsp;index)</code>
<div class="block">Returns the character at the specified offset in the token.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#containsPosition(int)">containsPosition</a></strong>(int&nbsp;pos)</code>
<div class="block">Returns whether the token straddles the specified position in the
 document.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#copyFrom(org.fife.ui.rsyntaxtextarea.Token)">copyFrom</a></strong>(<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a>&nbsp;t2)</code>
<div class="block">Makes one token point to the same text segment, and have the same value
 as another token.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#documentToToken(int)">documentToToken</a></strong>(int&nbsp;pos)</code>
<div class="block">Returns the position in the token's internal char array corresponding
 to the specified document position.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#endsWith(char[])">endsWith</a></strong>(char[]&nbsp;ch)</code>
<div class="block">Returns whether this token's lexeme ends with the specified characters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getEndOffset()">getEndOffset</a></strong>()</code>
<div class="block">Returns the end offset of this token in the document (exclusive).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getHTMLRepresentation(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea)">getHTMLRepresentation</a></strong>(<a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea)</code>
<div class="block">Returns a <code>String</code> containing HTML code for painting this
 token, using the given text area's color scheme.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getLanguageIndex()">getLanguageIndex</a></strong>()</code>
<div class="block">Returns the language index of this token.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getLastNonCommentNonWhitespaceToken()">getLastNonCommentNonWhitespaceToken</a></strong>()</code>
<div class="block">Returns the last token in this list that is not whitespace or a
 comment.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getLastPaintableToken()">getLastPaintableToken</a></strong>()</code>
<div class="block">Returns the last paintable token in this token list, or <code>null</code>
 if there is no paintable token.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getLexeme()">getLexeme</a></strong>()</code>
<div class="block">Returns the text of this token, as a string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getListOffset(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float, float)">getListOffset</a></strong>(<a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
             <a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/text/TabExpander.html?is-external=true" title="class or interface in javax.swing.text">TabExpander</a>&nbsp;e,
             float&nbsp;x0,
             float&nbsp;x)</code>
<div class="block">Determines the offset into this token list (i.e., into the
 document) that covers pixel location <code>x</code> if the token list
 starts at pixel location <code>x0</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getNextToken()">getNextToken</a></strong>()</code>
<div class="block">Returns the token after this one in the linked list.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getOffset()">getOffset</a></strong>()</code>
<div class="block">Returns the offset into the document at which this token resides.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getOffsetBeforeX(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float, float)">getOffsetBeforeX</a></strong>(<a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
                <a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/text/TabExpander.html?is-external=true" title="class or interface in javax.swing.text">TabExpander</a>&nbsp;e,
                float&nbsp;startX,
                float&nbsp;endBeforeX)</code>
<div class="block">Returns the position in the document that represents the last character
 in the token that will fit into <code>endBeforeX-startX</code> pixels.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>char[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getTextArray()">getTextArray</a></strong>()</code>
<div class="block">Returns the character array backing the lexeme of this token.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getTextOffset()">getTextOffset</a></strong>()</code>
<div class="block">Returns the offset into the character array of the lexeme in
 <a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getTextArray()"><code>Token.getTextArray()</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getType()">getType</a></strong>()</code>
<div class="block">Returns the type of this token.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getWidth(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float)">getWidth</a></strong>(<a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
        <a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/text/TabExpander.html?is-external=true" title="class or interface in javax.swing.text">TabExpander</a>&nbsp;e,
        float&nbsp;x0)</code>
<div class="block">Returns the width of this token given the specified parameters.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>float</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getWidthUpTo(int, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float)">getWidthUpTo</a></strong>(int&nbsp;numChars,
            <a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
            <a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/text/TabExpander.html?is-external=true" title="class or interface in javax.swing.text">TabExpander</a>&nbsp;e,
            float&nbsp;x0)</code>
<div class="block">Returns the width of a specified number of characters in this token.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#is(char[])">is</a></strong>(char[]&nbsp;lexeme)</code>
<div class="block">Returns whether this token's lexeme matches a specific character array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#is(int, char[])">is</a></strong>(int&nbsp;type,
  char[]&nbsp;lexeme)</code>
<div class="block">Returns whether this token is of the specified type, with the specified
 lexeme.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#is(int, java.lang.String)">is</a></strong>(int&nbsp;type,
  <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;lexeme)</code>
<div class="block">Returns whether this token is of the specified type, with the specified
 lexeme.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#isComment()">isComment</a></strong>()</code>
<div class="block">Returns whether this token is a comment.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#isCommentOrWhitespace()">isCommentOrWhitespace</a></strong>()</code>
<div class="block">Returns whether this token is a comment or whitespace.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#isHyperlink()">isHyperlink</a></strong>()</code>
<div class="block">Returns whether this token is a hyperlink.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#isIdentifier()">isIdentifier</a></strong>()</code>
<div class="block">Returns whether this token is an identifier.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#isLeftCurly()">isLeftCurly</a></strong>()</code>
<div class="block">Returns whether this token is a <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#SEPARATOR"><code>TokenTypes.SEPARATOR</code></a> representing a single
 left curly brace.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#isPaintable()">isPaintable</a></strong>()</code>
<div class="block">Returns whether or not this token is "paintable;" i.e., whether or not
 the type of this token is one such that it has an associated syntax
 style.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#isRightCurly()">isRightCurly</a></strong>()</code>
<div class="block">Returns whether this token is a <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#SEPARATOR"><code>TokenTypes.SEPARATOR</code></a> representing a single
 right curly brace.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#isSingleChar(char)">isSingleChar</a></strong>(char&nbsp;ch)</code>
<div class="block">Returns whether this token is the specified single character.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#isSingleChar(int, char)">isSingleChar</a></strong>(int&nbsp;type,
            char&nbsp;ch)</code>
<div class="block">Returns whether this token is the specified single character, and of a
 specific type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#isWhitespace()">isWhitespace</a></strong>()</code>
<div class="block">Returns whether or not this token is whitespace.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#length()">length</a></strong>()</code>
<div class="block">Returns the length of this token.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#listOffsetToView(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, int, int, java.awt.Rectangle)">listOffsetToView</a></strong>(<a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
                <a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/text/TabExpander.html?is-external=true" title="class or interface in javax.swing.text">TabExpander</a>&nbsp;e,
                int&nbsp;pos,
                int&nbsp;x0,
                <a href="file:///usr/share/doc/default-jdk-doc/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</a>&nbsp;rect)</code>
<div class="block">Returns the bounding box for the specified document location.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#makeStartAt(int)">makeStartAt</a></strong>(int&nbsp;pos)</code>
<div class="block">Makes this token start at the specified offset into the document.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#moveOffset(int)">moveOffset</a></strong>(int&nbsp;amt)</code>
<div class="block">Moves the starting offset of this token.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#set(char[], int, int, int, int)">set</a></strong>(char[]&nbsp;line,
   int&nbsp;beg,
   int&nbsp;end,
   int&nbsp;offset,
   int&nbsp;type)</code>
<div class="block">Sets the value of this token to a particular segment of a document.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#setHyperlink(boolean)">setHyperlink</a></strong>(boolean&nbsp;hyperlink)</code>
<div class="block">Sets whether this token is a hyperlink.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#setLanguageIndex(int)">setLanguageIndex</a></strong>(int&nbsp;languageIndex)</code>
<div class="block">Sets the language index for this token.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#setNextToken(org.fife.ui.rsyntaxtextarea.Token)">setNextToken</a></strong>(<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a>&nbsp;nextToken)</code>
<div class="block">Sets the "next token" pointer of this token to point to the specified
 token.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#setOffset(int)">setOffset</a></strong>(int&nbsp;offset)</code>
<div class="block">Sets the offset into the document at which this token resides.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#setType(int)">setType</a></strong>(int&nbsp;type)</code>
<div class="block">Sets the type of this token.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#startsWith(char[])">startsWith</a></strong>(char[]&nbsp;chars)</code>
<div class="block">Returns whether this token starts with the specified characters.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#tokenToDocument(int)">tokenToDocument</a></strong>(int&nbsp;pos)</code>
<div class="block">Returns the position in the document corresponding to the specified
 position in this token's internal char array (<code>textOffset</code> -
 <code>textOffset+textCount-1</code>).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#toString()">toString</a></strong>()</code>
<div class="block">Returns this token as a <code>String</code>, which is useful for
 debugging.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="text">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>text</h4>
<pre>public&nbsp;char[] text</pre>
<div class="block">The text this token represents.  This is implemented as a segment so we
 can point directly to the text in the document without having to make a
 copy of it.</div>
</li>
</ul>
<a name="textOffset">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>textOffset</h4>
<pre>public&nbsp;int textOffset</pre>
</li>
</ul>
<a name="textCount">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>textCount</h4>
<pre>public&nbsp;int textCount</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="TokenImpl()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TokenImpl</h4>
<pre>public&nbsp;TokenImpl()</pre>
<div class="block">Creates a "null token."  The token itself is not null; rather, it
 signifies that it is the last token in a linked list of tokens and
 that it is not part of a "multi-line token."</div>
</li>
</ul>
<a name="TokenImpl(javax.swing.text.Segment, int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TokenImpl</h4>
<pre>public&nbsp;TokenImpl(<a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/text/Segment.html?is-external=true" title="class or interface in javax.swing.text">Segment</a>&nbsp;line,
         int&nbsp;beg,
         int&nbsp;end,
         int&nbsp;startOffset,
         int&nbsp;type)</pre>
<div class="block">Constructor.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>line</code> - The segment from which to get the token.</dd><dd><code>beg</code> - The first character's position in <code>line</code>.</dd><dd><code>end</code> - The last character's position in <code>line</code>.</dd><dd><code>startOffset</code> - The offset into the document at which this
        token begins.</dd><dd><code>type</code> - A token type listed as "generic" above.</dd></dl>
</li>
</ul>
<a name="TokenImpl(char[], int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TokenImpl</h4>
<pre>public&nbsp;TokenImpl(char[]&nbsp;line,
         int&nbsp;beg,
         int&nbsp;end,
         int&nbsp;startOffset,
         int&nbsp;type)</pre>
<div class="block">Constructor.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>line</code> - The segment from which to get the token.</dd><dd><code>beg</code> - The first character's position in <code>line</code>.</dd><dd><code>end</code> - The last character's position in <code>line</code>.</dd><dd><code>startOffset</code> - The offset into the document at which this
        token begins.</dd><dd><code>type</code> - A token type listed as "generic" above.</dd></dl>
</li>
</ul>
<a name="TokenImpl(org.fife.ui.rsyntaxtextarea.Token)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>TokenImpl</h4>
<pre>public&nbsp;TokenImpl(<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a>&nbsp;t2)</pre>
<div class="block">Creates this token as a copy of the passed-in token.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>t2</code> - The token from which to make a copy.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="appendHTMLRepresentation(java.lang.StringBuilder, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendHTMLRepresentation</h4>
<pre>public&nbsp;<a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;appendHTMLRepresentation(<a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb,
                                     <a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
                                     boolean&nbsp;fontFamily)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#appendHTMLRepresentation(java.lang.StringBuilder, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, boolean)">Token</a></code></strong></div>
<div class="block">Appends HTML code for painting this token, using the given text area's
 color scheme.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#appendHTMLRepresentation(java.lang.StringBuilder, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, boolean)">appendHTMLRepresentation</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>sb</code> - The buffer to append to.</dd><dd><code>textArea</code> - The text area whose color scheme to use.</dd><dd><code>fontFamily</code> - Whether to include the font family in the HTML for
        this token.  You can pass <code>false</code> for this parameter
        if, for example, you are making all your HTML be monospaced,
        and don't want any crazy fonts being used in the editor to be
        reflected in your HTML.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The buffer appended to.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getHTMLRepresentation(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea)"><code>Token.getHTMLRepresentation(RSyntaxTextArea)</code></a></dd></dl>
</li>
</ul>
<a name="appendHTMLRepresentation(java.lang.StringBuilder, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, boolean, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>appendHTMLRepresentation</h4>
<pre>public&nbsp;<a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;appendHTMLRepresentation(<a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</a>&nbsp;sb,
                                     <a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
                                     boolean&nbsp;fontFamily,
                                     boolean&nbsp;tabsToSpaces)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#appendHTMLRepresentation(java.lang.StringBuilder, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, boolean, boolean)">Token</a></code></strong></div>
<div class="block">Appends HTML code for painting this token, using the given text area's
 color scheme.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#appendHTMLRepresentation(java.lang.StringBuilder, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, boolean, boolean)">appendHTMLRepresentation</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>sb</code> - The buffer to append to.</dd><dd><code>textArea</code> - The text area whose color scheme to use.</dd><dd><code>fontFamily</code> - Whether to include the font family in the HTML for
        this token.  You can pass <code>false</code> for this parameter
        if, for example, you are making all your HTML be monospaced,
        and don't want any crazy fonts being used in the editor to be
        reflected in your HTML.</dd><dd><code>tabsToSpaces</code> - Whether to convert tabs into spaces.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The buffer appended to.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getHTMLRepresentation(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea)"><code>Token.getHTMLRepresentation(RSyntaxTextArea)</code></a></dd></dl>
</li>
</ul>
<a name="charAt(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>charAt</h4>
<pre>public&nbsp;char&nbsp;charAt(int&nbsp;index)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#charAt(int)">Token</a></code></strong></div>
<div class="block">Returns the character at the specified offset in the token.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#charAt(int)">charAt</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>index</code> - The index.  This should be in the range
        <code>0-(<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#length()"><code>Token.length()</code></a>-1)</code>.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The character.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#length()"><code>Token.length()</code></a></dd></dl>
</li>
</ul>
<a name="containsPosition(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsPosition</h4>
<pre>public&nbsp;boolean&nbsp;containsPosition(int&nbsp;pos)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#containsPosition(int)">Token</a></code></strong></div>
<div class="block">Returns whether the token straddles the specified position in the
 document.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#containsPosition(int)">containsPosition</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>pos</code> - The position in the document to check.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether the specified position is straddled by this token.</dd></dl>
</li>
</ul>
<a name="copyFrom(org.fife.ui.rsyntaxtextarea.Token)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyFrom</h4>
<pre>public&nbsp;void&nbsp;copyFrom(<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a>&nbsp;t2)</pre>
<div class="block">Makes one token point to the same text segment, and have the same value
 as another token.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>t2</code> - The token from which to copy.</dd></dl>
</li>
</ul>
<a name="documentToToken(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>documentToToken</h4>
<pre>public&nbsp;int&nbsp;documentToToken(int&nbsp;pos)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#documentToToken(int)">Token</a></code></strong></div>
<div class="block">Returns the position in the token's internal char array corresponding
 to the specified document position.<p>
 Note that this method does NOT do any bounds checking; you can pass in
 a document position that does not correspond to a position in this
 token, and you will not receive an Exception or any other notification;
 it is up to the caller to ensure valid input.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#documentToToken(int)">documentToToken</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>pos</code> - A position in the document that is represented by this token.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The corresponding token position >= <code>textOffset</code> and
         < <code>textOffset+textCount</code>.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#tokenToDocument(int)"><code>Token.tokenToDocument(int)</code></a></dd></dl>
</li>
</ul>
<a name="endsWith(char[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>endsWith</h4>
<pre>public&nbsp;boolean&nbsp;endsWith(char[]&nbsp;ch)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#endsWith(char[])">Token</a></code></strong></div>
<div class="block">Returns whether this token's lexeme ends with the specified characters.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#endsWith(char[])">endsWith</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>ch</code> - The characters.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether this token's lexeme ends with the specified characters.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#startsWith(char[])"><code>Token.startsWith(char[])</code></a></dd></dl>
</li>
</ul>
<a name="getEndOffset()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEndOffset</h4>
<pre>public&nbsp;int&nbsp;getEndOffset()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getEndOffset()">Token</a></code></strong></div>
<div class="block">Returns the end offset of this token in the document (exclusive).  In
 other words, the token ranges from
 <code>[getOffset(), getEndOffset())</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getEndOffset()">getEndOffset</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The end offset of this token.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getOffset()"><code>Token.getOffset()</code></a></dd></dl>
</li>
</ul>
<a name="getHTMLRepresentation(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHTMLRepresentation</h4>
<pre>public&nbsp;<a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getHTMLRepresentation(<a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getHTMLRepresentation(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea)">Token</a></code></strong></div>
<div class="block">Returns a <code>String</code> containing HTML code for painting this
 token, using the given text area's color scheme.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getHTMLRepresentation(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea)">getHTMLRepresentation</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>textArea</code> - The text area whose color scheme to use.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The HTML representation of the token.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#appendHTMLRepresentation(java.lang.StringBuilder, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, boolean)"><code>Token.appendHTMLRepresentation(StringBuilder, RSyntaxTextArea, boolean)</code></a></dd></dl>
</li>
</ul>
<a name="getLanguageIndex()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLanguageIndex</h4>
<pre>public&nbsp;int&nbsp;getLanguageIndex()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getLanguageIndex()">Token</a></code></strong></div>
<div class="block">Returns the language index of this token.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getLanguageIndex()">getLanguageIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The language index.  A value of <code>0</code> denotes the
        "main" language, any positive value denotes a specific secondary
        language.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#setLanguageIndex(int)"><code>Token.setLanguageIndex(int)</code></a></dd></dl>
</li>
</ul>
<a name="getLastNonCommentNonWhitespaceToken()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastNonCommentNonWhitespaceToken</h4>
<pre>public&nbsp;<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a>&nbsp;getLastNonCommentNonWhitespaceToken()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getLastNonCommentNonWhitespaceToken()">Token</a></code></strong></div>
<div class="block">Returns the last token in this list that is not whitespace or a
 comment.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getLastNonCommentNonWhitespaceToken()">getLastNonCommentNonWhitespaceToken</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The last non-comment, non-whitespace token, or <code>null</code>
         if there isn't one.</dd></dl>
</li>
</ul>
<a name="getLastPaintableToken()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastPaintableToken</h4>
<pre>public&nbsp;<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a>&nbsp;getLastPaintableToken()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getLastPaintableToken()">Token</a></code></strong></div>
<div class="block">Returns the last paintable token in this token list, or <code>null</code>
 if there is no paintable token.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getLastPaintableToken()">getLastPaintableToken</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The last paintable token in this token list.</dd></dl>
</li>
</ul>
<a name="getLexeme()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLexeme</h4>
<pre>public&nbsp;<a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getLexeme()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getLexeme()">Token</a></code></strong></div>
<div class="block">Returns the text of this token, as a string.<p>

 Note that this method isn't used much by the
 <code>ryntaxtextarea</code> package internally, as it tries to limit
 memory allocation.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getLexeme()">getLexeme</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The text of this token.</dd></dl>
</li>
</ul>
<a name="getListOffset(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getListOffset</h4>
<pre>public&nbsp;int&nbsp;getListOffset(<a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
                <a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/text/TabExpander.html?is-external=true" title="class or interface in javax.swing.text">TabExpander</a>&nbsp;e,
                float&nbsp;x0,
                float&nbsp;x)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getListOffset(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float, float)">Token</a></code></strong></div>
<div class="block">Determines the offset into this token list (i.e., into the
 document) that covers pixel location <code>x</code> if the token list
 starts at pixel location <code>x0</code><p>.
 This method will return the document position "closest" to the
 x-coordinate (i.e., if they click on the "right-half" of the
 <code>w</code> in <code>awe</code>, the caret will be placed in
 between the <code>w</code> and <code>e</code>; similarly, clicking on
 the left-half places the caret between the <code>a</code> and
 <code>w</code>).  This makes it useful for methods such as
 <code>viewToModel</code> found in <code>javax.swing.text.View</code>
 subclasses.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getListOffset(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float, float)">getListOffset</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>textArea</code> - The text area from which the token list was derived.</dd><dd><code>e</code> - How to expand tabs.</dd><dd><code>x0</code> - The pixel x-location that is the beginning of
        <code>tokenList</code>.</dd><dd><code>x</code> - The pixel-position for which you want to get the corresponding
        offset.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The position (in the document, NOT into the token list!) that
         covers the pixel location.  If <code>tokenList</code> is
         <code>null</code> or has type <code>Token.NULL</code>, then
         <code>-1</code is returned; the caller should recognize this and
         return the actual end position of the (empty) line.</dd></dl>
</li>
</ul>
<a name="getNextToken()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNextToken</h4>
<pre>public&nbsp;<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a>&nbsp;getNextToken()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getNextToken()">Token</a></code></strong></div>
<div class="block">Returns the token after this one in the linked list.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getNextToken()">getNextToken</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The next token.</dd></dl>
</li>
</ul>
<a name="getOffset()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOffset</h4>
<pre>public&nbsp;int&nbsp;getOffset()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getOffset()">Token</a></code></strong></div>
<div class="block">Returns the offset into the document at which this token resides.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getOffset()">getOffset</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The offset into the document.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getEndOffset()"><code>Token.getEndOffset()</code></a></dd></dl>
</li>
</ul>
<a name="getOffsetBeforeX(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOffsetBeforeX</h4>
<pre>public&nbsp;int&nbsp;getOffsetBeforeX(<a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
                   <a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/text/TabExpander.html?is-external=true" title="class or interface in javax.swing.text">TabExpander</a>&nbsp;e,
                   float&nbsp;startX,
                   float&nbsp;endBeforeX)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getOffsetBeforeX(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float, float)">Token</a></code></strong></div>
<div class="block">Returns the position in the document that represents the last character
 in the token that will fit into <code>endBeforeX-startX</code> pixels.
 For example, if you're using a monospaced 8-pixel-per-character font,
 have the token "while" and <code>startX</code> is <code>0</code> and
 <code>endBeforeX</code> is <code>30</code>, this method will return the
 document position of the "i" in "while", because the "i" ends at pixel
 <code>24</code>, while the "l" ends at <code>32</code>.  If not even the
 first character fits in <code>endBeforeX-startX</code>, the first
 character's position is still returned so calling methods don't go into
 infinite loops.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getOffsetBeforeX(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float, float)">getOffsetBeforeX</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>textArea</code> - The text area in which this token is being painted.</dd><dd><code>e</code> - How to expand tabs.</dd><dd><code>startX</code> - The x-coordinate at which the token will be painted.  This
        is needed because of tabs.</dd><dd><code>endBeforeX</code> - The x-coordinate for which you want to find the last
        character of <code>t</code> which comes before it.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The last document position that will fit in the specified amount
         of pixels.</dd></dl>
</li>
</ul>
<a name="getTextArray()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTextArray</h4>
<pre>public&nbsp;char[]&nbsp;getTextArray()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getTextArray()">Token</a></code></strong></div>
<div class="block">Returns the character array backing the lexeme of this token.  This
 value should be treated as read-only.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getTextArray()">getTextArray</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>A character array containing the lexeme of this token.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getTextOffset()"><code>Token.getTextOffset()</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#length()"><code>Token.length()</code></a></dd></dl>
</li>
</ul>
<a name="getTextOffset()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTextOffset</h4>
<pre>public&nbsp;int&nbsp;getTextOffset()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getTextOffset()">Token</a></code></strong></div>
<div class="block">Returns the offset into the character array of the lexeme in
 <a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getTextArray()"><code>Token.getTextArray()</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getTextOffset()">getTextOffset</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The offset of the lexeme in the character array.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getTextArray()"><code>Token.getTextArray()</code></a></dd></dl>
</li>
</ul>
<a name="getType()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre>public&nbsp;int&nbsp;getType()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getType()">Token</a></code></strong></div>
<div class="block">Returns the type of this token.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getType()">getType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The type of this token.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html" title="interface in org.fife.ui.rsyntaxtextarea"><code>TokenTypes</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#setType(int)"><code>Token.setType(int)</code></a></dd></dl>
</li>
</ul>
<a name="getWidth(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWidth</h4>
<pre>public&nbsp;float&nbsp;getWidth(<a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
             <a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/text/TabExpander.html?is-external=true" title="class or interface in javax.swing.text">TabExpander</a>&nbsp;e,
             float&nbsp;x0)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getWidth(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float)">Token</a></code></strong></div>
<div class="block">Returns the width of this token given the specified parameters.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getWidth(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float)">getWidth</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>textArea</code> - The text area in which the token is being painted.</dd><dd><code>e</code> - Describes how to expand tabs.  This parameter cannot be
        <code>null</code>.</dd><dd><code>x0</code> - The pixel-location at which the token begins.  This is needed
        because of tabs.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The width of the token, in pixels.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getWidthUpTo(int, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float)"><code>Token.getWidthUpTo(int, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float)</code></a></dd></dl>
</li>
</ul>
<a name="getWidthUpTo(int, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWidthUpTo</h4>
<pre>public&nbsp;float&nbsp;getWidthUpTo(int&nbsp;numChars,
                 <a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
                 <a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/text/TabExpander.html?is-external=true" title="class or interface in javax.swing.text">TabExpander</a>&nbsp;e,
                 float&nbsp;x0)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getWidthUpTo(int, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float)">Token</a></code></strong></div>
<div class="block">Returns the width of a specified number of characters in this token.
 For example, for the token "while", specifying a value of <code>3</code>
 here returns the width of the "whi" portion of the token.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getWidthUpTo(int, org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float)">getWidthUpTo</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>numChars</code> - The number of characters for which to get the width.</dd><dd><code>textArea</code> - The text area in which the token is being painted.</dd><dd><code>e</code> - How to expand tabs.  This value cannot be <code>null</code>.</dd><dd><code>x0</code> - The pixel-location at which this token begins.  This is needed
        because of tabs.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The width of the specified number of characters in this token.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getWidth(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float)"><code>Token.getWidth(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, float)</code></a></dd></dl>
</li>
</ul>
<a name="is(char[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>is</h4>
<pre>public&nbsp;boolean&nbsp;is(char[]&nbsp;lexeme)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#is(char[])">Token</a></code></strong></div>
<div class="block">Returns whether this token's lexeme matches a specific character array.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#is(char[])">is</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>lexeme</code> - The lexeme to check for.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether this token has that lexeme.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#is(int, char[])"><code>Token.is(int, char[])</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#is(int, java.lang.String)"><code>Token.is(int, String)</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isSingleChar(int, char)"><code>Token.isSingleChar(int, char)</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#startsWith(char[])"><code>Token.startsWith(char[])</code></a></dd></dl>
</li>
</ul>
<a name="is(int, char[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>is</h4>
<pre>public&nbsp;boolean&nbsp;is(int&nbsp;type,
         char[]&nbsp;lexeme)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#is(int, char[])">Token</a></code></strong></div>
<div class="block">Returns whether this token is of the specified type, with the specified
 lexeme.<p>
 This method is preferred over the other overload in performance-critical
 code where this operation may be called frequently, since it does not
 involve any String allocations.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#is(int, char[])">is</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The type to check for.</dd><dd><code>lexeme</code> - The lexeme to check for.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether this token has that type and lexeme.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#is(int, java.lang.String)"><code>Token.is(int, String)</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#is(char[])"><code>Token.is(char[])</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isSingleChar(int, char)"><code>Token.isSingleChar(int, char)</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#startsWith(char[])"><code>Token.startsWith(char[])</code></a></dd></dl>
</li>
</ul>
<a name="is(int, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>is</h4>
<pre>public&nbsp;boolean&nbsp;is(int&nbsp;type,
         <a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;lexeme)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#is(int, java.lang.String)">Token</a></code></strong></div>
<div class="block">Returns whether this token is of the specified type, with the specified
 lexeme.<p>
 The other overload of this method is preferred over this one in
 performance-critical code, as this one involves a String allocation
 while the other does not.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#is(int, java.lang.String)">is</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The type to check for.</dd><dd><code>lexeme</code> - The lexeme to check for.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether this token has that type and lexeme.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#is(int, char[])"><code>Token.is(int, char[])</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isSingleChar(int, char)"><code>Token.isSingleChar(int, char)</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#startsWith(char[])"><code>Token.startsWith(char[])</code></a></dd></dl>
</li>
</ul>
<a name="isComment()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isComment</h4>
<pre>public&nbsp;boolean&nbsp;isComment()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isComment()">Token</a></code></strong></div>
<div class="block">Returns whether this token is a comment.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isComment()">isComment</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether this token is a comment.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isWhitespace()"><code>Token.isWhitespace()</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isCommentOrWhitespace()"><code>Token.isCommentOrWhitespace()</code></a></dd></dl>
</li>
</ul>
<a name="isCommentOrWhitespace()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isCommentOrWhitespace</h4>
<pre>public&nbsp;boolean&nbsp;isCommentOrWhitespace()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isCommentOrWhitespace()">Token</a></code></strong></div>
<div class="block">Returns whether this token is a comment or whitespace.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isCommentOrWhitespace()">isCommentOrWhitespace</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether this token is a comment or whitespace.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isComment()"><code>Token.isComment()</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isWhitespace()"><code>Token.isWhitespace()</code></a></dd></dl>
</li>
</ul>
<a name="isHyperlink()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isHyperlink</h4>
<pre>public&nbsp;boolean&nbsp;isHyperlink()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isHyperlink()">Token</a></code></strong></div>
<div class="block">Returns whether this token is a hyperlink.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isHyperlink()">isHyperlink</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether this token is a hyperlink.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#setHyperlink(boolean)"><code>Token.setHyperlink(boolean)</code></a></dd></dl>
</li>
</ul>
<a name="isIdentifier()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isIdentifier</h4>
<pre>public&nbsp;boolean&nbsp;isIdentifier()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isIdentifier()">Token</a></code></strong></div>
<div class="block">Returns whether this token is an identifier.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isIdentifier()">isIdentifier</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether this token is an identifier.</dd></dl>
</li>
</ul>
<a name="isLeftCurly()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isLeftCurly</h4>
<pre>public&nbsp;boolean&nbsp;isLeftCurly()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isLeftCurly()">Token</a></code></strong></div>
<div class="block">Returns whether this token is a <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#SEPARATOR"><code>TokenTypes.SEPARATOR</code></a> representing a single
 left curly brace.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isLeftCurly()">isLeftCurly</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether this token is a left curly brace.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isRightCurly()"><code>Token.isRightCurly()</code></a></dd></dl>
</li>
</ul>
<a name="isRightCurly()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isRightCurly</h4>
<pre>public&nbsp;boolean&nbsp;isRightCurly()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isRightCurly()">Token</a></code></strong></div>
<div class="block">Returns whether this token is a <a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#SEPARATOR"><code>TokenTypes.SEPARATOR</code></a> representing a single
 right curly brace.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isRightCurly()">isRightCurly</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether this token is a right curly brace.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isLeftCurly()"><code>Token.isLeftCurly()</code></a></dd></dl>
</li>
</ul>
<a name="isPaintable()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPaintable</h4>
<pre>public&nbsp;boolean&nbsp;isPaintable()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isPaintable()">Token</a></code></strong></div>
<div class="block">Returns whether or not this token is "paintable;" i.e., whether or not
 the type of this token is one such that it has an associated syntax
 style.  What this boils down to is whether the token type is greater
 than <code>Token.NULL</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isPaintable()">isPaintable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether or not this token is paintable.</dd></dl>
</li>
</ul>
<a name="isSingleChar(char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSingleChar</h4>
<pre>public&nbsp;boolean&nbsp;isSingleChar(char&nbsp;ch)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isSingleChar(char)">Token</a></code></strong></div>
<div class="block">Returns whether this token is the specified single character.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isSingleChar(char)">isSingleChar</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>ch</code> - The character to check for.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether this token's lexeme is the single character specified.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isSingleChar(int, char)"><code>Token.isSingleChar(int, char)</code></a></dd></dl>
</li>
</ul>
<a name="isSingleChar(int, char)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSingleChar</h4>
<pre>public&nbsp;boolean&nbsp;isSingleChar(int&nbsp;type,
                   char&nbsp;ch)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isSingleChar(int, char)">Token</a></code></strong></div>
<div class="block">Returns whether this token is the specified single character, and of a
 specific type.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isSingleChar(int, char)">isSingleChar</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The token type.</dd><dd><code>ch</code> - The character to check for.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether this token is of the specified type, and with a lexeme
         Equaling the single character specified.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isSingleChar(char)"><code>Token.isSingleChar(char)</code></a></dd></dl>
</li>
</ul>
<a name="isWhitespace()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isWhitespace</h4>
<pre>public&nbsp;boolean&nbsp;isWhitespace()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isWhitespace()">Token</a></code></strong></div>
<div class="block">Returns whether or not this token is whitespace.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isWhitespace()">isWhitespace</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> iff this token is whitespace.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isComment()"><code>Token.isComment()</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#isCommentOrWhitespace()"><code>Token.isCommentOrWhitespace()</code></a></dd></dl>
</li>
</ul>
<a name="length()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>length</h4>
<pre>public&nbsp;int&nbsp;length()</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#length()">Token</a></code></strong></div>
<div class="block">Returns the length of this token.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#length()">length</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The length of this token.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getOffset()"><code>Token.getOffset()</code></a></dd></dl>
</li>
</ul>
<a name="listOffsetToView(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, int, int, java.awt.Rectangle)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>listOffsetToView</h4>
<pre>public&nbsp;<a href="file:///usr/share/doc/default-jdk-doc/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</a>&nbsp;listOffsetToView(<a href="../../../../org/fife/ui/rsyntaxtextarea/RSyntaxTextArea.html" title="class in org.fife.ui.rsyntaxtextarea">RSyntaxTextArea</a>&nbsp;textArea,
                         <a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/text/TabExpander.html?is-external=true" title="class or interface in javax.swing.text">TabExpander</a>&nbsp;e,
                         int&nbsp;pos,
                         int&nbsp;x0,
                         <a href="file:///usr/share/doc/default-jdk-doc/api/java/awt/Rectangle.html?is-external=true" title="class or interface in java.awt">Rectangle</a>&nbsp;rect)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#listOffsetToView(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, int, int, java.awt.Rectangle)">Token</a></code></strong></div>
<div class="block">Returns the bounding box for the specified document location.  The
 location must be in the specified token list; if it isn't,
 <code>null</code> is returned.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#listOffsetToView(org.fife.ui.rsyntaxtextarea.RSyntaxTextArea, javax.swing.text.TabExpander, int, int, java.awt.Rectangle)">listOffsetToView</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>textArea</code> - The text area from which the token list was derived.</dd><dd><code>e</code> - How to expand tabs.</dd><dd><code>pos</code> - The position in the document for which to get the bounding
        box in the view.</dd><dd><code>x0</code> - The pixel x-location that is the beginning of
        <code>tokenList</code>.</dd><dd><code>rect</code> - The rectangle in which we'll be returning the results.  This
        object is reused to keep from frequent memory allocations.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The bounding box for the specified position in the model.</dd></dl>
</li>
</ul>
<a name="makeStartAt(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeStartAt</h4>
<pre>public&nbsp;void&nbsp;makeStartAt(int&nbsp;pos)</pre>
<div class="block">Makes this token start at the specified offset into the document.<p>
 
 <b>Note:</b> You should not modify <code>Token</code> instances you
 did not create yourself (e.g., came from an
 <code>RSyntaxDocument</code>).  If you do, rendering issues and/or
 runtime exceptions will likely occur.  You have been warned!</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>pos</code> - The offset into the document this token should start at.
        Note that this token must already contain this position; if
        it doesn't, an exception is thrown.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - If pos is not already contained by
         this token.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#moveOffset(int)"><code>moveOffset(int)</code></a></dd></dl>
</li>
</ul>
<a name="moveOffset(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>moveOffset</h4>
<pre>public&nbsp;void&nbsp;moveOffset(int&nbsp;amt)</pre>
<div class="block">Moves the starting offset of this token.<p>
 
 <b>Note:</b> You should not modify <code>Token</code> instances you
 did not create yourself (e.g., came from an
 <code>RSyntaxDocument</code>).  If you do, rendering issues and/or
 runtime exceptions will likely occur.  You have been warned!</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>amt</code> - The amount to move the starting offset.  This should be
        between <code>0</code> and <code>textCount</code>, inclusive.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - If <code>amt</code> is an invalid value.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#makeStartAt(int)"><code>makeStartAt(int)</code></a></dd></dl>
</li>
</ul>
<a name="set(char[], int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;void&nbsp;set(char[]&nbsp;line,
       int&nbsp;beg,
       int&nbsp;end,
       int&nbsp;offset,
       int&nbsp;type)</pre>
<div class="block">Sets the value of this token to a particular segment of a document.
 The "next token" value is cleared.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>line</code> - The segment from which to get the token.</dd><dd><code>beg</code> - The first character's position in <code>line</code>.</dd><dd><code>end</code> - The last character's position in <code>line</code>.</dd><dd><code>offset</code> - The offset into the document at which this token begins.</dd><dd><code>type</code> - A token type listed as "generic" above.</dd></dl>
</li>
</ul>
<a name="setHyperlink(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHyperlink</h4>
<pre>public&nbsp;void&nbsp;setHyperlink(boolean&nbsp;hyperlink)</pre>
<div class="block">Sets whether this token is a hyperlink.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#setHyperlink(boolean)">setHyperlink</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>hyperlink</code> - Whether this token is a hyperlink.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#isHyperlink()"><code>isHyperlink()</code></a></dd></dl>
</li>
</ul>
<a name="setLanguageIndex(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLanguageIndex</h4>
<pre>public&nbsp;void&nbsp;setLanguageIndex(int&nbsp;languageIndex)</pre>
<div class="block">Sets the language index for this token.  If this value is positive, it
 denotes a specific "secondary" language this token represents (such as
 JavaScript code or CSS embedded in an HTML file).  If this value is
 <code>0</code>, this token is in the "main" language being edited.
 Negative values are invalid and treated as <code>0</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#setLanguageIndex(int)">setLanguageIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>languageIndex</code> - The new language index.  A value of
        <code>0</code> denotes the "main" language, any positive value
        denotes a specific secondary language.  Negative values will
        be treated as <code>0</code>.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getLanguageIndex()"><code>getLanguageIndex()</code></a></dd></dl>
</li>
</ul>
<a name="setNextToken(org.fife.ui.rsyntaxtextarea.Token)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNextToken</h4>
<pre>public&nbsp;void&nbsp;setNextToken(<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a>&nbsp;nextToken)</pre>
<div class="block">Sets the "next token" pointer of this token to point to the specified
 token.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>nextToken</code> - The new next token.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getNextToken()"><code>getNextToken()</code></a></dd></dl>
</li>
</ul>
<a name="setOffset(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOffset</h4>
<pre>public&nbsp;void&nbsp;setOffset(int&nbsp;offset)</pre>
<div class="block">Sets the offset into the document at which this token resides.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>offset</code> - The new offset into the document.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html#getOffset()"><code>getOffset()</code></a></dd></dl>
</li>
</ul>
<a name="setType(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setType</h4>
<pre>public&nbsp;void&nbsp;setType(int&nbsp;type)</pre>
<div class="block">Sets the type of this token.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#setType(int)">setType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The new token type.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html" title="interface in org.fife.ui.rsyntaxtextarea"><code>TokenTypes</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#getType()"><code>Token.getType()</code></a></dd></dl>
</li>
</ul>
<a name="startsWith(char[])">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>startsWith</h4>
<pre>public&nbsp;boolean&nbsp;startsWith(char[]&nbsp;chars)</pre>
<div class="block">Returns whether this token starts with the specified characters.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#startsWith(char[])">startsWith</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>chars</code> - The characters.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether this token starts with those characters.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#endsWith(char[])"><code>Token.endsWith(char[])</code></a>, 
<a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#is(int, char[])"><code>Token.is(int, char[])</code></a></dd></dl>
</li>
</ul>
<a name="tokenToDocument(int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tokenToDocument</h4>
<pre>public&nbsp;int&nbsp;tokenToDocument(int&nbsp;pos)</pre>
<div class="block">Returns the position in the document corresponding to the specified
 position in this token's internal char array (<code>textOffset</code> -
 <code>textOffset+textCount-1</code>).<p>
 Note that this method does NOT do any bounds checking; you can pass in
 an invalid token position, and you will not receive an Exception or any
 other indication that the returned document position is invalid.  It is
 up to the user to ensure valid input.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#tokenToDocument(int)">tokenToDocument</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>pos</code> - A position in the token's internal char array
        (<code>textOffset</code> - <code>textOffset+textCount</code>).</dd>
<dt><span class="strong">Returns:</span></dt><dd>The corresponding position in the document.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html#documentToToken(int)"><code>Token.documentToToken(int)</code></a></dd></dl>
</li>
</ul>
<a name="toString()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>toString</h4>
<pre>public&nbsp;<a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
<div class="block">Returns this token as a <code>String</code>, which is useful for
 debugging.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="file:///usr/share/doc/default-jdk-doc/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>A string describing this token.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html" title="interface in org.fife.ui.rsyntaxtextarea"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/fife/ui/rsyntaxtextarea/TokenImpl.html" target="_top">Frames</a></li>
<li><a href="TokenImpl.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>