/usr/share/doc/librsyntaxtextarea-java/api/org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.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 | <!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:53 UTC 2013 -->
<title>JSPTokenMaker (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="JSPTokenMaker (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/modes/JsonTokenMaker.html" title="class in org.fife.ui.rsyntaxtextarea.modes"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/LatexTokenMaker.html" title="class in org.fife.ui.rsyntaxtextarea.modes"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html" target="_top">Frames</a></li>
<li><a href="JSPTokenMaker.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: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </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.modes</div>
<h2 title="Class JSPTokenMaker" class="title">Class JSPTokenMaker</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><a href="../../../../../org/fife/ui/rsyntaxtextarea/AbstractJFlexTokenMaker.html" title="class in org.fife.ui.rsyntaxtextarea">org.fife.ui.rsyntaxtextarea.AbstractJFlexTokenMaker</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/AbstractMarkupTokenMaker.html" title="class in org.fife.ui.rsyntaxtextarea.modes">org.fife.ui.rsyntaxtextarea.modes.AbstractMarkupTokenMaker</a></li>
<li>
<ul class="inheritance">
<li>org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker</li>
</ul>
</li>
</ul>
</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/TokenMaker.html" title="interface in org.fife.ui.rsyntaxtextarea">TokenMaker</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">JSPTokenMaker</span>
extends <a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/AbstractMarkupTokenMaker.html" title="class in org.fife.ui.rsyntaxtextarea.modes">AbstractMarkupTokenMaker</a></pre>
<div class="block">Scanner for JSP files (supporting HTML 5).
This implementation was created using
<a href="http://www.jflex.de/">JFlex</a> 1.4.1; however, the generated file
was modified for performance. Memory allocation needs to be almost
completely removed to be competitive with the handwritten lexers (subclasses
of <code>AbstractTokenMaker</code>, so this class has been modified so that
Strings are never allocated (via yytext()), and the scanner never has to
worry about refilling its buffer (needlessly copying chars around).
We can achieve this because RText always scans exactly 1 line of tokens at a
time, and hands the scanner this line as an array of characters (a Segment
really). Since tokens contain pointers to char arrays instead of Strings
holding their contents, there is no need for allocating new memory for
Strings.<p>
The actual algorithm generated for scanning has, of course, not been
modified.<p>
If you wish to regenerate this file yourself, keep in mind the following:
<ul>
<li>The generated JSPTokenMaker.java</code> file will contain two
definitions of both <code>zzRefill</code> and <code>yyreset</code>.
You should hand-delete the second of each definition (the ones
generated by the lexer), as these generated methods modify the input
buffer, which we'll never have to do.</li>
<li>You should also change the declaration/definition of zzBuffer to NOT
be initialized. This is a needless memory allocation for us since we
will be pointing the array somewhere else anyway.</li>
<li>You should NOT call <code>yylex()</code> on the generated scanner
directly; rather, you should use <code>getTokenList</code> as you would
with any other <code>TokenMaker</code> instance.</li>
</ul></div>
<dl><dt><span class="strong">Version:</span></dt>
<dd>0.9</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"> </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>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#COMMENT">COMMENT</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#CSS">CSS</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#CSS_C_STYLE_COMMENT">CSS_C_STYLE_COMMENT</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#CSS_CHAR_LITERAL">CSS_CHAR_LITERAL</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#CSS_PROPERTY">CSS_PROPERTY</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#CSS_STRING">CSS_STRING</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#CSS_VALUE">CSS_VALUE</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html" title="class in org.fife.ui.rsyntaxtextarea">TokenImpl</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#currentToken">currentToken</a></strong></code>
<div class="block">Used in the creation of the linked list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#DTD">DTD</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html" title="class in org.fife.ui.rsyntaxtextarea">TokenImpl</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#firstToken">firstToken</a></strong></code>
<div class="block">The first token in the returned linked list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#HIDDEN_COMMENT">HIDDEN_COMMENT</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#INATTR_DOUBLE">INATTR_DOUBLE</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#INATTR_DOUBLE_SCRIPT">INATTR_DOUBLE_SCRIPT</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#INATTR_DOUBLE_STYLE">INATTR_DOUBLE_STYLE</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#INATTR_SINGLE">INATTR_SINGLE</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#INATTR_SINGLE_SCRIPT">INATTR_SINGLE_SCRIPT</a></strong></code>
<div class="block">lexical states</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#INATTR_SINGLE_STYLE">INATTR_SINGLE_STYLE</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#INTAG">INTAG</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#INTAG_CHECK_TAG_NAME">INTAG_CHECK_TAG_NAME</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#INTAG_SCRIPT">INTAG_SCRIPT</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#INTAG_STYLE">INTAG_STYLE</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#JAVA_DOCCOMMENT">JAVA_DOCCOMMENT</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#JAVA_EXPRESSION">JAVA_EXPRESSION</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#JAVA_MLC">JAVA_MLC</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#JAVASCRIPT">JAVASCRIPT</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#JS_CHAR">JS_CHAR</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#JS_EOL_COMMENT">JS_EOL_COMMENT</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#JS_MLC">JS_MLC</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#JS_STRING">JS_STRING</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#JSP_DIRECTIVE">JSP_DIRECTIVE</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#PI">PI</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html" title="class in org.fife.ui.rsyntaxtextarea">TokenImpl</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#previousToken">previousToken</a></strong></code>
<div class="block">Used in the creation of the linked list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#YYEOF">YYEOF</a></strong></code>
<div class="block">This character denotes the end of file</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#YYINITIAL">YYINITIAL</a></strong></code> </td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.fife.ui.rsyntaxtextarea.AbstractJFlexTokenMaker">
<!-- -->
</a>
<h3>Fields inherited from class org.fife.ui.rsyntaxtextarea.<a href="../../../../../org/fife/ui/rsyntaxtextarea/AbstractJFlexTokenMaker.html" title="class in org.fife.ui.rsyntaxtextarea">AbstractJFlexTokenMaker</a></h3>
<code><a href="../../../../../org/fife/ui/rsyntaxtextarea/AbstractJFlexTokenMaker.html#offsetShift">offsetShift</a>, <a href="../../../../../org/fife/ui/rsyntaxtextarea/AbstractJFlexTokenMaker.html#s">s</a>, <a href="../../../../../org/fife/ui/rsyntaxtextarea/AbstractJFlexTokenMaker.html#start">start</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"> </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/modes/JSPTokenMaker.html#JSPTokenMaker()">JSPTokenMaker</a></strong>()</code>
<div class="block">Constructor.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#JSPTokenMaker(java.io.InputStream)">JSPTokenMaker</a></strong>(<a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> in)</code>
<div class="block">Creates a new scanner.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#JSPTokenMaker(java.io.Reader)">JSPTokenMaker</a></strong>(<a href="file:///usr/share/doc/default-jdk-doc/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> in)</code>
<div class="block">Creates a new scanner
There is also a java.io.InputStream version of this constructor.</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"> </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>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#addNullToken()">addNullToken</a></strong>()</code>
<div class="block">Adds a null token to the end of the current linked list of tokens.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#addToken(char[], int, int, int, int)">addToken</a></strong>(char[] array,
int start,
int end,
int tokenType,
int startOffset)</code>
<div class="block">Adds the token specified to the current linked list of tokens.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#addToken(char[], int, int, int, int, boolean)">addToken</a></strong>(char[] array,
int start,
int end,
int tokenType,
int startOffset,
boolean hyperlink)</code>
<div class="block">Adds the token specified to the current linked list of tokens.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#addToken(javax.swing.text.Segment, int, int, int, int)">addToken</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> segment,
int start,
int end,
int tokenType,
int startOffset)</code>
<div class="block">Adds the token specified to the current linked list of tokens.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/fife/ui/rsyntaxtextarea/OccurrenceMarker.html" title="interface in org.fife.ui.rsyntaxtextarea">OccurrenceMarker</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#createOccurrenceMarker()">createOccurrenceMarker</a></strong>()</code>
<div class="block">Returns the occurrence marker to use for this token maker.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#getClosestStandardTokenTypeForInternalType(int)">getClosestStandardTokenTypeForInternalType</a></strong>(int type)</code>
<div class="block">Returns the closest <a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html" title="interface in org.fife.ui.rsyntaxtextarea"><code>"standard" token type</code></a> for a given
"internal" token type (e.g. one whose value is <code>< 0</code>).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#getCompleteCloseTags()">getCompleteCloseTags</a></strong>()</code>
<div class="block">Sets whether markup close tags should be completed.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#getCurlyBracesDenoteCodeBlocks()">getCurlyBracesDenoteCodeBlocks</a></strong>()</code>
<div class="block">Returns whether this programming language uses curly braces
('<tt>{</tt>' and '<tt>}</tt>') to denote code blocks.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/Action.html?is-external=true" title="class or interface in javax.swing">Action</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#getInsertBreakAction()">getInsertBreakAction</a></strong>()</code>
<div class="block">Returns an action to handle "insert break" key presses (i.e.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#getLastTokenTypeOnLine(javax.swing.text.Segment, int)">getLastTokenTypeOnLine</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> text,
int initialTokenType)</code>
<div class="block">Returns the last token on this line's type if the token is "unfinished",
or <a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#NULL"><code>TokenTypes.NULL</code></a> if it was finished.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#getMarkOccurrencesOfTokenType(int)">getMarkOccurrencesOfTokenType</a></strong>(int type)</code>
<div class="block">Returns whether tokens of the specified type should have "mark
occurrences" enabled for the current programming language.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/fife/ui/rsyntaxtextarea/OccurrenceMarker.html" title="interface in org.fife.ui.rsyntaxtextarea">OccurrenceMarker</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#getOccurrenceMarker()">getOccurrenceMarker</a></strong>()</code>
<div class="block">Returns the object in charge of marking all occurrences of the token
at the current caret position, if it is a relevant 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/modes/JSPTokenMaker.html#getShouldIndentNextLineAfter(org.fife.ui.rsyntaxtextarea.Token)">getShouldIndentNextLineAfter</a></strong>(<a href="../../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a> token)</code>
<div class="block">The default implementation returns <code>false</code> always.</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/modes/JSPTokenMaker.html#getTokenList(javax.swing.text.Segment, int, int)">getTokenList</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> text,
int initialTokenType,
int startOffset)</code>
<div class="block">Returns the first token in the linked list of tokens generated
from <code>text</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#resetTokenList()">resetTokenList</a></strong>()</code>
<div class="block">Deletes the linked list of tokens so we can begin anew.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#setCompleteCloseTags(boolean)">setCompleteCloseTags</a></strong>(boolean complete)</code>
<div class="block">Sets whether markup close tags should be completed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#setLanguageIndex(int)">setLanguageIndex</a></strong>(int languageIndex)</code>
<div class="block">Sets the language index to assign to tokens moving forward.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#yybegin(int)">yybegin</a></strong>(int newState)</code>
<div class="block">Enters a new lexical state</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>char</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#yycharat(int)">yycharat</a></strong>(int pos)</code>
<div class="block">Returns the character at position <tt>pos</tt> from the
matched text.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#yyclose()">yyclose</a></strong>()</code>
<div class="block">Closes the input stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#yylength()">yylength</a></strong>()</code>
<div class="block">Returns the length of the matched text region.</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/modes/JSPTokenMaker.html#yylex()">yylex</a></strong>()</code>
<div class="block">Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#yypushback(int)">yypushback</a></strong>(int number)</code>
<div class="block">Pushes the specified amount of characters back into the input stream.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#yyreset(java.io.Reader)">yyreset</a></strong>(<a href="file:///usr/share/doc/default-jdk-doc/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> reader)</code>
<div class="block">Resets the scanner to read from a new input stream.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#yystate()">yystate</a></strong>()</code>
<div class="block">Returns the current lexical state.</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/modes/JSPTokenMaker.html#yytext()">yytext</a></strong>()</code>
<div class="block">Returns the text matched by the current regular expression.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.fife.ui.rsyntaxtextarea.modes.AbstractMarkupTokenMaker">
<!-- -->
</a>
<h3>Methods inherited from class org.fife.ui.rsyntaxtextarea.modes.<a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/AbstractMarkupTokenMaker.html" title="class in org.fife.ui.rsyntaxtextarea.modes">AbstractMarkupTokenMaker</a></h3>
<code><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/AbstractMarkupTokenMaker.html#getLineCommentStartAndEnd()">getLineCommentStartAndEnd</a>, <a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/AbstractMarkupTokenMaker.html#isMarkupLanguage()">isMarkupLanguage</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.fife.ui.rsyntaxtextarea.AbstractJFlexTokenMaker">
<!-- -->
</a>
<h3>Methods inherited from class org.fife.ui.rsyntaxtextarea.<a href="../../../../../org/fife/ui/rsyntaxtextarea/AbstractJFlexTokenMaker.html" title="class in org.fife.ui.rsyntaxtextarea">AbstractJFlexTokenMaker</a></h3>
<code><a href="../../../../../org/fife/ui/rsyntaxtextarea/AbstractJFlexTokenMaker.html#yybegin(int, int)">yybegin</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class 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#toString()" title="class or interface in java.lang">toString</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="YYEOF">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>YYEOF</h4>
<pre>public static final int YYEOF</pre>
<div class="block">This character denotes the end of file</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.YYEOF">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="INATTR_SINGLE_SCRIPT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INATTR_SINGLE_SCRIPT</h4>
<pre>public static final int INATTR_SINGLE_SCRIPT</pre>
<div class="block">lexical states</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.INATTR_SINGLE_SCRIPT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JS_CHAR">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JS_CHAR</h4>
<pre>public static final int JS_CHAR</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.JS_CHAR">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JAVA_EXPRESSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JAVA_EXPRESSION</h4>
<pre>public static final int JAVA_EXPRESSION</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.JAVA_EXPRESSION">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CSS_STRING">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CSS_STRING</h4>
<pre>public static final int CSS_STRING</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.CSS_STRING">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="HIDDEN_COMMENT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>HIDDEN_COMMENT</h4>
<pre>public static final int HIDDEN_COMMENT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.HIDDEN_COMMENT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JS_MLC">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JS_MLC</h4>
<pre>public static final int JS_MLC</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.JS_MLC">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CSS_CHAR_LITERAL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CSS_CHAR_LITERAL</h4>
<pre>public static final int CSS_CHAR_LITERAL</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.CSS_CHAR_LITERAL">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JAVA_DOCCOMMENT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JAVA_DOCCOMMENT</h4>
<pre>public static final int JAVA_DOCCOMMENT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.JAVA_DOCCOMMENT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="INTAG_SCRIPT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTAG_SCRIPT</h4>
<pre>public static final int INTAG_SCRIPT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.INTAG_SCRIPT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CSS_PROPERTY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CSS_PROPERTY</h4>
<pre>public static final int CSS_PROPERTY</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.CSS_PROPERTY">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CSS_C_STYLE_COMMENT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CSS_C_STYLE_COMMENT</h4>
<pre>public static final int CSS_C_STYLE_COMMENT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.CSS_C_STYLE_COMMENT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CSS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CSS</h4>
<pre>public static final int CSS</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.CSS">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CSS_VALUE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CSS_VALUE</h4>
<pre>public static final int CSS_VALUE</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.CSS_VALUE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JSP_DIRECTIVE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSP_DIRECTIVE</h4>
<pre>public static final int JSP_DIRECTIVE</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.JSP_DIRECTIVE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="COMMENT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>COMMENT</h4>
<pre>public static final int COMMENT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.COMMENT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="INATTR_DOUBLE_SCRIPT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INATTR_DOUBLE_SCRIPT</h4>
<pre>public static final int INATTR_DOUBLE_SCRIPT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.INATTR_DOUBLE_SCRIPT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PI">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PI</h4>
<pre>public static final int PI</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.PI">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JAVASCRIPT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JAVASCRIPT</h4>
<pre>public static final int JAVASCRIPT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.JAVASCRIPT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="INTAG">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTAG</h4>
<pre>public static final int INTAG</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.INTAG">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="INTAG_CHECK_TAG_NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTAG_CHECK_TAG_NAME</h4>
<pre>public static final int INTAG_CHECK_TAG_NAME</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.INTAG_CHECK_TAG_NAME">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="INATTR_SINGLE_STYLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INATTR_SINGLE_STYLE</h4>
<pre>public static final int INATTR_SINGLE_STYLE</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.INATTR_SINGLE_STYLE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="DTD">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DTD</h4>
<pre>public static final int DTD</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.DTD">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JS_EOL_COMMENT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JS_EOL_COMMENT</h4>
<pre>public static final int JS_EOL_COMMENT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.JS_EOL_COMMENT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="INATTR_DOUBLE_STYLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INATTR_DOUBLE_STYLE</h4>
<pre>public static final int INATTR_DOUBLE_STYLE</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.INATTR_DOUBLE_STYLE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="INATTR_SINGLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INATTR_SINGLE</h4>
<pre>public static final int INATTR_SINGLE</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.INATTR_SINGLE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="YYINITIAL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>YYINITIAL</h4>
<pre>public static final int YYINITIAL</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.YYINITIAL">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="INATTR_DOUBLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INATTR_DOUBLE</h4>
<pre>public static final int INATTR_DOUBLE</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.INATTR_DOUBLE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JS_STRING">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JS_STRING</h4>
<pre>public static final int JS_STRING</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.JS_STRING">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JAVA_MLC">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JAVA_MLC</h4>
<pre>public static final int JAVA_MLC</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.JAVA_MLC">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="INTAG_STYLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INTAG_STYLE</h4>
<pre>public static final int INTAG_STYLE</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#org.fife.ui.rsyntaxtextarea.modes.JSPTokenMaker.INTAG_STYLE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="firstToken">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>firstToken</h4>
<pre>protected <a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html" title="class in org.fife.ui.rsyntaxtextarea">TokenImpl</a> firstToken</pre>
<div class="block">The first token in the returned linked list.</div>
</li>
</ul>
<a name="currentToken">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>currentToken</h4>
<pre>protected <a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html" title="class in org.fife.ui.rsyntaxtextarea">TokenImpl</a> currentToken</pre>
<div class="block">Used in the creation of the linked list.</div>
</li>
</ul>
<a name="previousToken">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>previousToken</h4>
<pre>protected <a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenImpl.html" title="class in org.fife.ui.rsyntaxtextarea">TokenImpl</a> previousToken</pre>
<div class="block">Used in the creation of the linked list.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="JSPTokenMaker()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSPTokenMaker</h4>
<pre>public JSPTokenMaker()</pre>
<div class="block">Constructor. This must be here because JFlex does not generate a
no-parameter constructor.</div>
</li>
</ul>
<a name="JSPTokenMaker(java.io.Reader)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSPTokenMaker</h4>
<pre>public JSPTokenMaker(<a href="file:///usr/share/doc/default-jdk-doc/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> in)</pre>
<div class="block">Creates a new scanner
There is also a java.io.InputStream version of this constructor.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - the java.io.Reader to read input from.</dd></dl>
</li>
</ul>
<a name="JSPTokenMaker(java.io.InputStream)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JSPTokenMaker</h4>
<pre>public JSPTokenMaker(<a href="file:///usr/share/doc/default-jdk-doc/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> in)</pre>
<div class="block">Creates a new scanner.
There is also java.io.Reader version of this constructor.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>in</code> - the java.io.Inputstream to read input from.</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="addToken(char[], int, int, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addToken</h4>
<pre>public void addToken(char[] array,
int start,
int end,
int tokenType,
int startOffset)</pre>
<div class="block">Adds the token specified to the current linked list of tokens.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html#addToken(char[], int, int, int, int)">addToken</a></code> in interface <code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html" title="interface in org.fife.ui.rsyntaxtextarea">TokenMaker</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - The character array.</dd><dd><code>start</code> - The starting offset in the array.</dd><dd><code>end</code> - The ending offset in the array.</dd><dd><code>tokenType</code> - The token's type.</dd><dd><code>startOffset</code> - The offset in the document at which this token
occurs.</dd></dl>
</li>
</ul>
<a name="getCompleteCloseTags()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCompleteCloseTags</h4>
<pre>public boolean getCompleteCloseTags()</pre>
<div class="block">Sets whether markup close tags should be completed. You might not want
this to be the case, since some tags in standard HTML aren't usually
closed.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/AbstractMarkupTokenMaker.html#getCompleteCloseTags()">getCompleteCloseTags</a></code> in class <code><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/AbstractMarkupTokenMaker.html" title="class in org.fife.ui.rsyntaxtextarea.modes">AbstractMarkupTokenMaker</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether closing markup tags are completed.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#setCompleteCloseTags(boolean)"><code>setCompleteCloseTags(boolean)</code></a></dd></dl>
</li>
</ul>
<a name="getTokenList(javax.swing.text.Segment, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTokenList</h4>
<pre>public <a href="../../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a> getTokenList(<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> text,
int initialTokenType,
int startOffset)</pre>
<div class="block">Returns the first token in the linked list of tokens generated
from <code>text</code>. This method must be implemented by
subclasses so they can correctly implement syntax highlighting.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - The text from which to get tokens.</dd><dd><code>initialTokenType</code> - The token type we should start with.</dd><dd><code>startOffset</code> - The offset into the document at which
<code>text</code> starts.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The first <code>Token</code> in a linked list representing
the syntax highlighted text.</dd></dl>
</li>
</ul>
<a name="setCompleteCloseTags(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCompleteCloseTags</h4>
<pre>public static void setCompleteCloseTags(boolean complete)</pre>
<div class="block">Sets whether markup close tags should be completed. You might not want
this to be the case, since some tags in standard HTML aren't usually
closed.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>complete</code> - Whether closing markup tags are completed.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#getCompleteCloseTags()"><code>getCompleteCloseTags()</code></a></dd></dl>
</li>
</ul>
<a name="yyreset(java.io.Reader)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>yyreset</h4>
<pre>public final void yyreset(<a href="file:///usr/share/doc/default-jdk-doc/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</a> reader)</pre>
<div class="block">Resets the scanner to read from a new input stream.
Does not close the old reader.
All internal variables are reset, the old input stream
<b>cannot</b> be reused (internal buffer is discarded and lost).
Lexical state is set to <tt>YY_INITIAL</tt>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>reader</code> - the new input stream</dd></dl>
</li>
</ul>
<a name="yyclose()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>yyclose</h4>
<pre>public final void yyclose()
throws <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Closes the input stream.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
</li>
</ul>
<a name="yystate()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>yystate</h4>
<pre>public final int yystate()</pre>
<div class="block">Returns the current lexical state.</div>
</li>
</ul>
<a name="yybegin(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>yybegin</h4>
<pre>public final void yybegin(int newState)</pre>
<div class="block">Enters a new lexical state</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/fife/ui/rsyntaxtextarea/AbstractJFlexTokenMaker.html#yybegin(int)">yybegin</a></code> in class <code><a href="../../../../../org/fife/ui/rsyntaxtextarea/AbstractJFlexTokenMaker.html" title="class in org.fife.ui.rsyntaxtextarea">AbstractJFlexTokenMaker</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>newState</code> - the new lexical state</dd></dl>
</li>
</ul>
<a name="yytext()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>yytext</h4>
<pre>public final <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> yytext()</pre>
<div class="block">Returns the text matched by the current regular expression.</div>
</li>
</ul>
<a name="yycharat(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>yycharat</h4>
<pre>public final char yycharat(int pos)</pre>
<div class="block">Returns the character at position <tt>pos</tt> from the
matched text.
It is equivalent to yytext().charAt(pos), but faster</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>pos</code> - the position of the character to fetch.
A value from 0 to yylength()-1.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the character at position pos</dd></dl>
</li>
</ul>
<a name="yylength()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>yylength</h4>
<pre>public final int yylength()</pre>
<div class="block">Returns the length of the matched text region.</div>
</li>
</ul>
<a name="yypushback(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>yypushback</h4>
<pre>public void yypushback(int number)</pre>
<div class="block">Pushes the specified amount of characters back into the input stream.
They will be read again by then next call of the scanning method</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>number</code> - the number of characters to be read again.
This number must not be greater than yylength()!</dd></dl>
</li>
</ul>
<a name="yylex()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>yylex</h4>
<pre>public <a href="../../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a> yylex()
throws <a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
<div class="block">Resumes scanning until the next regular expression is matched,
the end of input is encountered or an I/O-Error occurs.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the next token</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="file:///usr/share/doc/default-jdk-doc/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - if any I/O-Error occurs</dd></dl>
</li>
</ul>
<a name="addNullToken()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addNullToken</h4>
<pre>public void addNullToken()</pre>
<div class="block">Adds a null token to the end of the current linked list of tokens.
This should be put at the end of the linked list whenever the last
token on the current line is NOT a multi-line token.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html#addNullToken()">addNullToken</a></code> in interface <code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html" title="interface in org.fife.ui.rsyntaxtextarea">TokenMaker</a></code></dd>
</dl>
</li>
</ul>
<a name="addToken(javax.swing.text.Segment, int, int, int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addToken</h4>
<pre>public void addToken(<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> segment,
int start,
int end,
int tokenType,
int startOffset)</pre>
<div class="block">Adds the token specified to the current linked list of tokens.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>segment</code> - <code>Segment</code> to get text from.</dd><dd><code>start</code> - Start offset in <code>segment</code> of token.</dd><dd><code>end</code> - End offset in <code>segment</code> of token.</dd><dd><code>tokenType</code> - The token's type.</dd><dd><code>startOffset</code> - The offset in the document at which this token
occurs.</dd></dl>
</li>
</ul>
<a name="addToken(char[], int, int, int, int, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addToken</h4>
<pre>public void addToken(char[] array,
int start,
int end,
int tokenType,
int startOffset,
boolean hyperlink)</pre>
<div class="block">Adds the token specified to the current linked list of tokens.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - The character array.</dd><dd><code>start</code> - The starting offset in the array.</dd><dd><code>end</code> - The ending offset in the array.</dd><dd><code>tokenType</code> - The token's type.</dd><dd><code>startOffset</code> - The offset in the document at which this token
occurs.</dd><dd><code>hyperlink</code> - Whether this token is a hyperlink.</dd></dl>
</li>
</ul>
<a name="createOccurrenceMarker()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>createOccurrenceMarker</h4>
<pre>protected <a href="../../../../../org/fife/ui/rsyntaxtextarea/OccurrenceMarker.html" title="interface in org.fife.ui.rsyntaxtextarea">OccurrenceMarker</a> createOccurrenceMarker()</pre>
<div class="block">Returns the occurrence marker to use for this token maker. Subclasses
can override to use different implementations.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The occurrence marker to use.</dd></dl>
</li>
</ul>
<a name="getClosestStandardTokenTypeForInternalType(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClosestStandardTokenTypeForInternalType</h4>
<pre>public int getClosestStandardTokenTypeForInternalType(int type)</pre>
<div class="block">Returns the closest <a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html" title="interface in org.fife.ui.rsyntaxtextarea"><code>"standard" token type</code></a> for a given
"internal" token type (e.g. one whose value is <code>< 0</code>).<p>
The default implementation returns <code>type</code> always, which
denotes that a mapping from internal token types to standard token types
is not defined; subclasses can override.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html#getClosestStandardTokenTypeForInternalType(int)">getClosestStandardTokenTypeForInternalType</a></code> in interface <code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html" title="interface in org.fife.ui.rsyntaxtextarea">TokenMaker</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The token type.</dd>
<dt><span class="strong">Returns:</span></dt><dd>The closest "standard" token type.</dd></dl>
</li>
</ul>
<a name="getCurlyBracesDenoteCodeBlocks()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getCurlyBracesDenoteCodeBlocks</h4>
<pre>public boolean getCurlyBracesDenoteCodeBlocks()</pre>
<div class="block">Returns whether this programming language uses curly braces
('<tt>{</tt>' and '<tt>}</tt>') to denote code blocks.<p>
The default implementation returns <code>false</code>; subclasses can
override this method if necessary.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html#getCurlyBracesDenoteCodeBlocks()">getCurlyBracesDenoteCodeBlocks</a></code> in interface <code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html" title="interface in org.fife.ui.rsyntaxtextarea">TokenMaker</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether curly braces denote code blocks.</dd></dl>
</li>
</ul>
<a name="getInsertBreakAction()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getInsertBreakAction</h4>
<pre>public <a href="file:///usr/share/doc/default-jdk-doc/api/javax/swing/Action.html?is-external=true" title="class or interface in javax.swing">Action</a> getInsertBreakAction()</pre>
<div class="block">Returns an action to handle "insert break" key presses (i.e. Enter).
The default implementation returns <code>null</code>. Subclasses
can override.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html#getInsertBreakAction()">getInsertBreakAction</a></code> in interface <code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html" title="interface in org.fife.ui.rsyntaxtextarea">TokenMaker</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The default implementation always returns <code>null</code>.</dd></dl>
</li>
</ul>
<a name="getLastTokenTypeOnLine(javax.swing.text.Segment, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLastTokenTypeOnLine</h4>
<pre>public int getLastTokenTypeOnLine(<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> text,
int initialTokenType)</pre>
<div class="block">Returns the last token on this line's type if the token is "unfinished",
or <a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#NULL"><code>TokenTypes.NULL</code></a> if it was finished. For example, if C-style
syntax highlighting is being implemented, and <code>text</code>
contained a line of code that contained the beginning of a comment but
no end-comment marker ("*\/"), then this method would return
<a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#COMMENT_MULTILINE"><code>TokenTypes.COMMENT_MULTILINE</code></a> for that line. This is useful
for doing syntax highlighting.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html#getLastTokenTypeOnLine(javax.swing.text.Segment, int)">getLastTokenTypeOnLine</a></code> in interface <code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html" title="interface in org.fife.ui.rsyntaxtextarea">TokenMaker</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>text</code> - The line of tokens to examine.</dd><dd><code>initialTokenType</code> - The token type to start with (i.e., the value
of <code>getLastTokenTypeOnLine</code> for the line before
<code>text</code>).</dd>
<dt><span class="strong">Returns:</span></dt><dd>The last token on this line's type, or <a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#NULL"><code>TokenTypes.NULL</code></a>
if the line was completed.</dd></dl>
</li>
</ul>
<a name="getMarkOccurrencesOfTokenType(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMarkOccurrencesOfTokenType</h4>
<pre>public boolean getMarkOccurrencesOfTokenType(int type)</pre>
<div class="block">Returns whether tokens of the specified type should have "mark
occurrences" enabled for the current programming language. The default
implementation returns true if <tt>type</tt> is <a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#IDENTIFIER"><code>TokenTypes.IDENTIFIER</code></a>.
Subclasses can override this method to support other token types, such
as <a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenTypes.html#VARIABLE"><code>TokenTypes.VARIABLE</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html#getMarkOccurrencesOfTokenType(int)">getMarkOccurrencesOfTokenType</a></code> in interface <code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html" title="interface in org.fife.ui.rsyntaxtextarea">TokenMaker</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The token type.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether tokens of this type should have "mark occurrences"
enabled.</dd></dl>
</li>
</ul>
<a name="getOccurrenceMarker()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOccurrenceMarker</h4>
<pre>public <a href="../../../../../org/fife/ui/rsyntaxtextarea/OccurrenceMarker.html" title="interface in org.fife.ui.rsyntaxtextarea">OccurrenceMarker</a> getOccurrenceMarker()</pre>
<div class="block">Returns the object in charge of marking all occurrences of the token
at the current caret position, if it is a relevant token. If
<code>null</code> is returned, a default <code>OccurrenceMarker</code>
is used.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html#getOccurrenceMarker()">getOccurrenceMarker</a></code> in interface <code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html" title="interface in org.fife.ui.rsyntaxtextarea">TokenMaker</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd>The occurrence marker for this language, or <code>null</code>
for none.</dd></dl>
</li>
</ul>
<a name="getShouldIndentNextLineAfter(org.fife.ui.rsyntaxtextarea.Token)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShouldIndentNextLineAfter</h4>
<pre>public boolean getShouldIndentNextLineAfter(<a href="../../../../../org/fife/ui/rsyntaxtextarea/Token.html" title="interface in org.fife.ui.rsyntaxtextarea">Token</a> token)</pre>
<div class="block">The default implementation returns <code>false</code> always. Languages
that wish to better support auto-indentation can override this method.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html#getShouldIndentNextLineAfter(org.fife.ui.rsyntaxtextarea.Token)">getShouldIndentNextLineAfter</a></code> in interface <code><a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html" title="interface in org.fife.ui.rsyntaxtextarea">TokenMaker</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>token</code> - The token the previous line ends with.</dd>
<dt><span class="strong">Returns:</span></dt><dd>Whether the next line should be indented.</dd></dl>
</li>
</ul>
<a name="resetTokenList()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resetTokenList</h4>
<pre>protected void resetTokenList()</pre>
<div class="block">Deletes the linked list of tokens so we can begin anew. This should
never have to be called by the programmer, as it is automatically
called whenever the user calls
<a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html#getLastTokenTypeOnLine(javax.swing.text.Segment, int)"><code>getLastTokenTypeOnLine(Segment, int)</code></a> or
<a href="../../../../../org/fife/ui/rsyntaxtextarea/TokenMaker.html#getTokenList(javax.swing.text.Segment, int, int)"><code>TokenMaker.getTokenList(Segment, int, int)</code></a>.</div>
</li>
</ul>
<a name="setLanguageIndex(int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setLanguageIndex</h4>
<pre>public void setLanguageIndex(int languageIndex)</pre>
<div class="block">Sets the language index to assign to tokens moving forward. This
property is used to designate tokens as being in "secondary" languages
(such as CSS or JavaScript in HTML).</div>
<dl><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></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/modes/JsonTokenMaker.html" title="class in org.fife.ui.rsyntaxtextarea.modes"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../../org/fife/ui/rsyntaxtextarea/modes/LatexTokenMaker.html" title="class in org.fife.ui.rsyntaxtextarea.modes"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/fife/ui/rsyntaxtextarea/modes/JSPTokenMaker.html" target="_top">Frames</a></li>
<li><a href="JSPTokenMaker.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: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>
|