0001: /* The following code was generated by JFlex 1.3 on 2/14/01 3:16 PM */
0002:
0003: /*
0004: * Copyright (c) 2001, Jacob Smullyan.
0005: *
0006: * This is part of SkunkDAV, a WebDAV client. See http://skunkdav.sourceforge.net/
0007: * for the latest version.
0008: *
0009: * SkunkDAV is free software; you can redistribute it and/or
0010: * modify it under the terms of the GNU General Public License as published
0011: * by the Free Software Foundation; either version 2, or (at your option)
0012: * any later version.
0013: *
0014: * SkunkDAV is distributed in the hope that it will be useful,
0015: * but WITHOUT ANY WARRANTY; without even the implied warranty of
0016: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
0017: * General Public License for more details.
0018: *
0019: * You should have received a copy of the GNU General Public License
0020: * along with SkunkDAV; see the file COPYING. If not, write to the Free
0021: * Software Foundation, 59 Temple Place - Suite 330, Boston, MA
0022: * 02111-1307, USA.
0023: */
0024:
0025: package org.skunk.swing.text.syntax;
0026:
0027: import java.io.IOException;
0028: import java.io.StringReader;
0029: import org.skunk.trace.Debug;
0030:
0031: /**
0032: * This class is a scanner generated by
0033: * <a href="http://www.jflex.de/">JFlex</a> 1.3
0034: * on 2/14/01 3:16 PM from the specification file
0035: * <tt>file:/home/smulloni/workdir/skunkdav/org/skunk/swing/text/syntax/javascript.flex</tt>
0036: */
0037: public class JavascriptFlexScanner extends FlexScanner {
0038:
0039: /** This character denotes the end of file */
0040: final public static int YYEOF = -1;
0041:
0042: /** initial size of the lookahead buffer */
0043: final private static int YY_BUFFERSIZE = 16384;
0044:
0045: /** lexical states */
0046: final public static int SINGLE_LINE_COMMENT_STATE = 2;
0047: final public static int YYINITIAL = 0;
0048: final public static int STRING_STATE = 1;
0049: final public static int MULTI_LINE_COMMENT_STATE = 3;
0050:
0051: /**
0052: * Translates characters to character classes
0053: */
0054: final private static String yycmap_packed = "\11\7\1\3\1\2\1\0\1\3\1\1\16\7\4\0\1\3\1\56"
0055: + "\1\64\1\0\1\6\1\63\1\60\1\64\1\52\1\52\1\4\1\62"
0056: + "\1\52\1\22\1\20\1\5\1\10\1\16\2\15\4\15\2\11\1\57"
0057: + "\1\52\1\55\1\53\1\54\1\57\1\0\3\14\1\17\1\21\1\17"
0058: + "\5\6\1\12\13\6\1\13\2\6\1\52\1\65\1\52\1\63\1\6"
0059: + "\1\0\1\25\1\34\1\23\1\32\1\33\1\40\1\36\1\42\1\41"
0060: + "\1\6\1\44\1\24\1\47\1\30\1\27\1\50\1\6\1\37\1\26"
0061: + "\1\31\1\35\1\43\1\46\1\51\1\45\1\6\1\52\1\61\1\52"
0062: + "\1\57\41\7\2\0\4\6\4\0\1\6\12\0\1\6\4\0\1\6"
0063: + "\5\0\27\6\1\0\37\6\1\0\376\6\4\0\36\6\70\0\131\6"
0064: + "\7\0\11\6\2\0\7\6\16\0\2\6\16\0\5\6\33\0\106\7"
0065: + "\32\0\2\7\30\0\1\6\13\0\1\6\1\0\3\6\1\0\1\6"
0066: + "\1\0\24\6\1\0\54\6\1\0\7\6\3\0\1\6\1\0\1\6"
0067: + "\1\0\1\6\1\0\1\6\1\0\22\6\15\0\14\6\1\0\102\6"
0068: + "\1\0\14\6\1\0\44\6\1\0\4\7\11\0\65\6\2\0\2\6"
0069: + "\2\0\2\6\3\0\34\6\2\0\10\6\2\0\2\6\67\0\46\6"
0070: + "\2\0\1\6\7\0\47\6\11\0\21\7\1\0\27\7\1\0\3\7"
0071: + "\1\0\1\7\1\0\2\7\1\0\1\7\13\0\33\6\5\0\3\6"
0072: + "\56\0\32\6\5\0\13\6\10\7\15\0\12\7\6\0\1\7\107\6"
0073: + "\2\0\5\6\1\0\17\6\1\0\4\6\1\0\1\6\7\7\2\0"
0074: + "\6\7\2\6\2\7\1\0\4\7\2\0\12\7\u0207\0\3\7\1\0"
0075: + "\65\6\2\0\1\7\1\6\20\7\3\0\4\7\3\0\12\6\2\7"
0076: + "\2\0\12\7\21\0\3\7\1\0\10\6\2\0\2\6\2\0\26\6"
0077: + "\1\0\7\6\1\0\1\6\3\0\4\6\2\0\1\7\1\0\7\7"
0078: + "\2\0\2\7\2\0\3\7\11\0\1\7\4\0\2\6\1\0\3\6"
0079: + "\2\7\2\0\12\7\4\6\16\0\1\7\2\0\6\6\4\0\2\6"
0080: + "\2\0\26\6\1\0\7\6\1\0\2\6\1\0\2\6\1\0\2\6"
0081: + "\2\0\1\7\1\0\5\7\4\0\2\7\2\0\3\7\13\0\4\6"
0082: + "\1\0\1\6\7\0\14\7\3\6\14\0\3\7\1\0\7\6\1\0"
0083: + "\1\6\1\0\3\6\1\0\26\6\1\0\7\6\1\0\2\6\1\0"
0084: + "\5\6\2\0\1\7\1\6\10\7\1\0\3\7\1\0\3\7\22\0"
0085: + "\1\6\5\0\12\7\21\0\3\7\1\0\10\6\2\0\2\6\2\0"
0086: + "\26\6\1\0\7\6\1\0\2\6\2\0\4\6\2\0\1\7\1\6"
0087: + "\6\7\3\0\2\7\2\0\3\7\10\0\2\7\4\0\2\6\1\0"
0088: + "\3\6\4\0\12\7\22\0\2\7\1\0\6\6\3\0\3\6\1\0"
0089: + "\4\6\3\0\2\6\1\0\1\6\1\0\2\6\3\0\2\6\3\0"
0090: + "\3\6\3\0\10\6\1\0\3\6\4\0\5\7\3\0\3\7\1\0"
0091: + "\4\7\11\0\1\7\17\0\11\7\21\0\3\7\1\0\10\6\1\0"
0092: + "\3\6\1\0\27\6\1\0\12\6\1\0\5\6\4\0\7\7\1\0"
0093: + "\3\7\1\0\4\7\7\0\2\7\11\0\2\6\4\0\12\7\22\0"
0094: + "\2\7\1\0\10\6\1\0\3\6\1\0\27\6\1\0\12\6\1\0"
0095: + "\5\6\4\0\7\7\1\0\3\7\1\0\4\7\7\0\2\7\7\0"
0096: + "\1\6\1\0\2\6\4\0\12\7\22\0\2\7\1\0\10\6\1\0"
0097: + "\3\6\1\0\27\6\1\0\20\6\4\0\6\7\2\0\3\7\1\0"
0098: + "\4\7\11\0\1\7\10\0\2\6\4\0\12\7\221\0\56\6\1\0"
0099: + "\1\6\1\7\2\6\7\7\4\0\10\6\10\7\1\0\12\7\47\0"
0100: + "\2\6\1\0\1\6\2\0\2\6\1\0\1\6\2\0\1\6\6\0"
0101: + "\4\6\1\0\7\6\1\0\3\6\1\0\1\6\1\0\1\6\2\0"
0102: + "\2\6\1\0\2\6\1\0\1\6\1\7\2\6\6\7\1\0\2\7"
0103: + "\1\6\2\0\5\6\1\0\1\6\1\0\6\7\2\0\12\7\2\0"
0104: + "\2\6\72\0\2\7\6\0\12\7\13\0\1\7\1\0\1\7\1\0"
0105: + "\1\7\4\0\2\7\10\6\1\0\41\6\7\0\24\7\1\0\6\7"
0106: + "\4\0\6\7\1\0\1\7\1\0\25\7\3\0\7\7\1\0\1\7"
0107: + "\346\0\46\6\12\0\47\6\11\0\132\6\5\0\104\6\5\0\122\6"
0108: + "\u0c06\0\234\6\4\0\132\6\6\0\26\6\2\0\6\6\2\0\46\6"
0109: + "\2\0\6\6\2\0\10\6\1\0\1\6\1\0\1\6\1\0\1\6"
0110: + "\1\0\37\6\2\0\65\6\1\0\7\6\1\0\1\6\3\0\3\6"
0111: + "\1\0\7\6\3\0\4\6\2\0\6\6\4\0\15\6\5\0\3\6"
0112: + "\1\0\7\6\17\0\4\7\32\0\5\7\20\0\2\6\51\0\6\7"
0113: + "\17\0\1\6\40\0\15\6\43\0\15\7\4\0\1\7\40\0\1\6"
0114: + "\4\0\1\6\2\0\12\6\1\0\1\6\2\0\6\6\6\0\1\6"
0115: + "\1\0\1\6\1\0\1\6\1\0\10\6\1\0\6\6\47\0\43\6"
0116: + "\u0e82\0\1\6\1\0\1\6\31\0\11\6\6\7\1\0\5\6\13\0"
0117: + "\124\6\4\0\2\7\4\6\2\0\132\6\1\0\3\6\6\0\50\6"
0118: + "\4\0\136\6\u1c71\0\u51a6\6\u0c5a\0\u2ba4\6\u215c\0\u012e\6\322\0\7\6"
0119: + "\14\0\5\6\6\0\1\7\12\6\1\0\15\6\1\0\5\6\1\0"
0120: + "\1\6\1\0\2\6\1\0\2\6\1\0\154\6\41\0\u016b\6\22\0"
0121: + "\100\6\2\0\66\6\50\0\14\6\44\0\4\7\17\0\2\6\30\0"
0122: + "\3\6\31\0\1\6\6\0\3\6\1\0\1\6\1\0\207\6\2\0"
0123: + "\1\7\4\0\1\6\13\0\12\7\7\0\32\6\4\0\1\6\1\0"
0124: + "\32\6\13\0\131\6\3\0\6\6\2\0\6\6\2\0\6\6\2\0"
0125: + "\3\6\3\0\2\6\3\0\2\6\31\0";
0126:
0127: /**
0128: * Translates characters to character classes
0129: */
0130: final private static char[] yycmap = yy_unpack_cmap(yycmap_packed);
0131:
0132: /**
0133: * Translates a state to a row index in the transition table
0134: */
0135: final private static int yy_rowMap[] = { 0, 54, 108, 162, 216, 270,
0136: 216, 324, 378, 432, 486, 540, 594, 648, 702, 756, 810, 864,
0137: 918, 972, 1026, 1080, 1134, 1188, 1242, 1296, 1350, 216,
0138: 1404, 1458, 1512, 216, 1566, 1620, 1674, 216, 1728, 1782,
0139: 1728, 216, 1836, 216, 1890, 1944, 216, 216, 1998, 2052,
0140: 216, 2106, 2160, 2214, 2268, 2322, 2376, 2430, 2484, 2538,
0141: 2592, 2646, 2700, 2754, 2808, 432, 2862, 2916, 2970, 3024,
0142: 3078, 3132, 3186, 3240, 3294, 3348, 3402, 3456, 3510, 3564,
0143: 3618, 216, 216, 3672, 216, 3726, 3780, 3834, 3888, 3942,
0144: 3996, 4050, 4104, 4158, 4212, 432, 4266, 4320, 4374, 4428,
0145: 4482, 4536, 4590, 4644, 4698, 4752, 4806, 4860, 4914, 4968,
0146: 5022, 432, 5076, 5130, 5184, 5238, 5292, 5346, 5400, 5454,
0147: 432, 432, 5508, 5562, 5616, 5670, 5724, 5778, 5832, 5886,
0148: 5940, 5994, 432, 6048, 6102, 6156, 6210, 6264, 6318, 6372,
0149: 6426, 6480, 6534, 6588, 6642, 6696, 6750, 6804, 6858, 6912,
0150: 6966, 7020, 7074, 7128, 7182, 7236, 7290, 7344, 7398, 7452,
0151: 7506, 7560, 7614, 7668, 7722, 7776, 7830, 7884, 7938, 7992,
0152: 8046, 8100, 8154, 8208, 8262, 8316, 8370, 8424, 8478, 8532 };
0153:
0154: /**
0155: * The packed transition table of the DFA (part 0)
0156: */
0157: final private static String yy_packed0 = "\1\5\1\6\2\7\1\10\1\11\1\12\1\5\1\13"
0158: + "\1\14\3\12\2\14\1\12\1\15\1\12\1\16\1\17"
0159: + "\2\12\1\20\1\12\1\21\1\22\1\23\1\24\1\25"
0160: + "\1\12\1\26\1\27\1\30\1\31\1\12\1\32\2\12"
0161: + "\1\33\3\12\1\34\1\35\1\36\1\37\1\35\1\40"
0162: + "\1\41\1\42\1\43\1\10\1\44\1\5\1\45\1\46"
0163: + "\1\47\62\45\1\5\1\50\1\51\1\52\63\50\4\53"
0164: + "\1\54\61\53\70\0\1\7\136\0\1\40\16\0\1\55"
0165: + "\1\56\45\0\1\40\20\0\12\12\1\0\1\12\1\0"
0166: + "\27\12\24\0\1\57\1\60\1\61\1\62\1\0\1\63"
0167: + "\1\64\1\61\1\65\1\66\2\0\1\61\5\0\1\61"
0168: + "\1\66\4\0\1\61\10\0\1\62\24\0\2\14\1\61"
0169: + "\2\0\2\14\1\61\1\65\1\66\2\0\1\61\5\0"
0170: + "\1\61\1\66\4\0\1\61\35\0\2\65\3\0\2\65"
0171: + "\71\0\1\40\30\0\1\40\20\0\12\12\1\0\1\12"
0172: + "\1\0\1\12\1\67\1\70\1\12\1\71\22\12\22\0"
0173: + "\12\12\1\0\1\12\1\0\23\12\1\72\3\12\22\0"
0174: + "\12\12\1\0\1\12\1\0\10\12\1\73\1\12\1\74"
0175: + "\14\12\22\0\12\12\1\0\1\12\1\0\14\12\1\75"
0176: + "\2\12\1\76\2\12\1\77\4\12\22\0\12\12\1\0"
0177: + "\1\12\1\0\4\12\1\100\3\12\1\101\16\12\22\0"
0178: + "\12\12\1\0\1\12\1\0\1\12\1\102\24\12\1\103"
0179: + "\22\0\12\12\1\0\1\12\1\0\14\12\1\104\12\12"
0180: + "\22\0\12\12\1\0\1\12\1\0\4\12\1\105\22\12"
0181: + "\22\0\12\12\1\0\1\12\1\0\10\12\1\106\16\12"
0182: + "\22\0\12\12\1\0\1\12\1\0\2\12\1\107\1\12"
0183: + "\1\110\5\12\1\111\3\12\1\112\10\12\22\0\12\12"
0184: + "\1\0\1\12\1\0\5\12\1\100\7\12\1\100\6\12"
0185: + "\1\103\2\12\22\0\12\12\1\0\1\12\1\0\2\12"
0186: + "\1\113\1\12\1\114\22\12\22\0\12\12\1\0\1\12"
0187: + "\1\0\16\12\1\115\1\116\7\12\67\0\1\10\65\0"
0188: + "\1\40\1\117\64\0\1\40\1\0\1\10\63\0\1\40"
0189: + "\4\0\1\40\60\0\1\40\5\0\1\40\57\0\1\40"
0190: + "\6\0\1\40\67\0\1\120\3\0\1\121\61\0\1\120"
0191: + "\3\0\1\52\63\0\4\53\1\122\65\53\1\122\1\123"
0192: + "\60\53\10\0\1\57\1\60\1\61\2\0\1\63\1\64"
0193: + "\1\61\1\65\1\66\2\0\1\61\5\0\1\61\1\66"
0194: + "\4\0\1\61\35\0\2\60\3\0\2\60\1\61\1\65"
0195: + "\1\66\10\0\1\61\1\66\4\0\1\61\35\0\1\124"
0196: + "\1\125\2\0\4\125\1\0\1\125\1\0\1\125\1\0"
0197: + "\1\125\4\0\3\125\3\0\1\125\35\0\1\126\1\60"
0198: + "\1\61\2\0\2\126\1\61\1\65\1\66\2\0\1\61"
0199: + "\5\0\1\61\1\66\4\0\1\61\35\0\1\63\1\60"
0200: + "\1\61\2\0\2\63\1\61\1\65\1\66\2\0\1\61"
0201: + "\5\0\1\61\1\66\4\0\1\61\35\0\2\65\3\0"
0202: + "\2\65\1\61\1\0\1\66\10\0\1\61\1\66\4\0"
0203: + "\1\61\35\0\2\127\3\0\2\127\3\0\1\130\37\0"
0204: + "\1\130\11\0\12\12\1\0\1\12\1\0\2\12\1\131"
0205: + "\24\12\22\0\12\12\1\0\1\12\1\0\3\12\1\132"
0206: + "\2\12\1\133\20\12\22\0\12\12\1\0\1\12\1\0"
0207: + "\5\12\1\134\21\12\22\0\12\12\1\0\1\12\1\0"
0208: + "\16\12\1\135\10\12\22\0\12\12\1\0\1\12\1\0"
0209: + "\23\12\1\136\3\12\22\0\12\12\1\0\1\12\1\0"
0210: + "\1\12\1\137\25\12\22\0\12\12\1\0\1\12\1\0"
0211: + "\12\12\1\140\7\12\1\100\4\12\22\0\12\12\1\0"
0212: + "\1\12\1\0\14\12\1\141\1\12\1\142\10\12\22\0"
0213: + "\12\12\1\0\1\12\1\0\25\12\1\143\1\12\22\0"
0214: + "\12\12\1\0\1\12\1\0\1\12\1\144\7\12\1\145"
0215: + "\3\12\1\146\11\12\22\0\12\12\1\0\1\12\1\0"
0216: + "\3\12\1\132\23\12\22\0\12\12\1\0\1\12\1\0"
0217: + "\25\12\1\147\1\12\22\0\12\12\1\0\1\12\1\0"
0218: + "\10\12\1\150\16\12\22\0\12\12\1\0\1\12\1\0"
0219: + "\6\12\1\151\20\12\22\0\12\12\1\0\1\12\1\0"
0220: + "\6\12\1\152\20\12\22\0\12\12\1\0\1\12\1\0"
0221: + "\1\12\1\153\25\12\22\0\12\12\1\0\1\12\1\0"
0222: + "\14\12\1\100\12\12\22\0\12\12\1\0\1\12\1\0"
0223: + "\5\12\1\154\21\12\22\0\12\12\1\0\1\12\1\0"
0224: + "\5\12\1\155\21\12\22\0\12\12\1\0\1\12\1\0"
0225: + "\14\12\1\156\12\12\22\0\12\12\1\0\1\12\1\0"
0226: + "\16\12\1\157\10\12\22\0\12\12\1\0\1\12\1\0"
0227: + "\6\12\1\160\20\12\22\0\12\12\1\0\1\12\1\0"
0228: + "\16\12\1\161\10\12\67\0\1\40\1\10\11\0\4\53"
0229: + "\1\122\1\0\60\53\10\0\1\124\1\125\1\61\1\0"
0230: + "\4\125\1\0\1\125\1\0\1\125\1\61\1\125\4\0"
0231: + "\3\125\3\0\1\125\35\0\2\162\1\61\1\0\4\162"
0232: + "\1\0\1\162\1\0\1\162\1\61\1\162\4\0\3\162"
0233: + "\3\0\1\162\35\0\1\163\1\60\1\61\2\0\2\163"
0234: + "\1\61\1\65\1\66\2\0\1\61\5\0\1\61\1\66"
0235: + "\4\0\1\61\35\0\2\127\3\0\2\127\1\61\12\0"
0236: + "\1\61\5\0\1\61\35\0\2\127\3\0\2\127\55\0"
0237: + "\12\12\1\0\1\12\1\0\3\12\1\142\23\12\22\0"
0238: + "\12\12\1\0\1\12\1\0\10\12\1\100\16\12\22\0"
0239: + "\12\12\1\0\1\12\1\0\1\164\26\12\22\0\12\12"
0240: + "\1\0\1\12\1\0\3\12\1\165\2\12\1\166\20\12"
0241: + "\22\0\12\12\1\0\1\12\1\0\6\12\1\133\20\12"
0242: + "\22\0\12\12\1\0\1\12\1\0\1\12\1\167\25\12"
0243: + "\22\0\12\12\1\0\1\12\1\0\10\12\1\170\16\12"
0244: + "\22\0\12\12\1\0\1\12\1\0\4\12\1\171\22\12"
0245: + "\22\0\12\12\1\0\1\12\1\0\3\12\1\156\23\12"
0246: + "\22\0\12\12\1\0\1\12\1\0\10\12\1\172\16\12"
0247: + "\22\0\12\12\1\0\1\12\1\0\10\12\1\173\16\12"
0248: + "\22\0\12\12\1\0\1\12\1\0\12\12\1\174\14\12"
0249: + "\22\0\12\12\1\0\1\12\1\0\2\12\1\175\24\12"
0250: + "\22\0\12\12\1\0\1\12\1\0\4\12\1\176\22\12"
0251: + "\22\0\12\12\1\0\1\12\1\0\2\12\1\177\24\12"
0252: + "\22\0\12\12\1\0\1\12\1\0\4\12\1\100\22\12"
0253: + "\22\0\12\12\1\0\1\12\1\0\12\12\1\200\14\12"
0254: + "\22\0\12\12\1\0\1\12\1\0\3\12\1\140\23\12"
0255: + "\22\0\12\12\1\0\1\12\1\0\1\201\26\12\22\0"
0256: + "\12\12\1\0\1\12\1\0\2\12\1\202\24\12\22\0"
0257: + "\12\12\1\0\1\12\1\0\7\12\1\167\17\12\22\0"
0258: + "\12\12\1\0\1\12\1\0\17\12\1\203\7\12\22\0"
0259: + "\12\12\1\0\1\12\1\0\1\12\1\132\25\12\24\0"
0260: + "\2\204\1\61\1\0\4\204\1\0\1\204\1\0\1\204"
0261: + "\1\61\1\204\4\0\3\204\3\0\1\204\35\0\1\205"
0262: + "\1\60\1\61\2\0\2\205\1\61\1\65\1\66\2\0"
0263: + "\1\61\5\0\1\61\1\66\4\0\1\61\33\0\12\12"
0264: + "\1\0\1\12\1\0\17\12\1\100\7\12\22\0\12\12"
0265: + "\1\0\1\12\1\0\6\12\1\156\20\12\22\0\12\12"
0266: + "\1\0\1\12\1\0\16\12\1\206\10\12\22\0\12\12"
0267: + "\1\0\1\12\1\0\23\12\1\100\3\12\22\0\12\12"
0268: + "\1\0\1\12\1\0\4\12\1\207\22\12\22\0\12\12"
0269: + "\1\0\1\12\1\0\6\12\1\210\20\12\22\0\12\12"
0270: + "\1\0\1\12\1\0\13\12\1\211\13\12\22\0\12\12"
0271: + "\1\0\1\12\1\0\12\12\1\212\14\12\22\0\12\12"
0272: + "\1\0\1\12\1\0\14\12\1\213\12\12\22\0\12\12"
0273: + "\1\0\1\12\1\0\21\12\1\100\5\12\22\0\12\12"
0274: + "\1\0\1\12\1\0\14\12\1\214\12\12\22\0\12\12"
0275: + "\1\0\1\12\1\0\6\12\1\215\20\12\22\0\12\12"
0276: + "\1\0\1\12\1\0\1\12\1\216\25\12\24\0\2\217"
0277: + "\1\61\1\0\4\217\1\0\1\217\1\0\1\217\1\61"
0278: + "\1\217\4\0\3\217\3\0\1\217\35\0\1\220\1\60"
0279: + "\1\61\2\0\2\220\1\61\1\65\1\66\2\0\1\61"
0280: + "\5\0\1\61\1\66\4\0\1\61\33\0\12\12\1\0"
0281: + "\1\12\1\0\5\12\1\221\21\12\22\0\12\12\1\0"
0282: + "\1\12\1\0\15\12\1\136\11\12\22\0\12\12\1\0"
0283: + "\1\12\1\0\10\12\1\136\16\12\22\0\12\12\1\0"
0284: + "\1\12\1\0\13\12\1\222\13\12\22\0\12\12\1\0"
0285: + "\1\12\1\0\1\12\1\223\25\12\22\0\12\12\1\0"
0286: + "\1\12\1\0\6\12\1\203\20\12\22\0\12\12\1\0"
0287: + "\1\12\1\0\5\12\1\100\21\12\22\0\12\12\1\0"
0288: + "\1\12\1\0\16\12\1\224\10\12\22\0\12\12\1\0"
0289: + "\1\12\1\0\1\12\1\225\25\12\24\0\2\226\1\61"
0290: + "\1\0\4\226\1\0\1\226\1\0\1\226\1\61\1\226"
0291: + "\4\0\3\226\3\0\1\226\35\0\1\227\1\60\1\61"
0292: + "\2\0\2\227\1\61\1\65\1\66\2\0\1\61\5\0"
0293: + "\1\61\1\66\4\0\1\61\33\0\12\12\1\0\1\12"
0294: + "\1\0\12\12\1\132\14\12\22\0\12\12\1\0\1\12"
0295: + "\1\0\10\12\1\113\16\12\22\0\12\12\1\0\1\12"
0296: + "\1\0\6\12\1\100\20\12\22\0\12\12\1\0\1\12"
0297: + "\1\0\4\12\1\230\22\12\22\0\12\12\1\0\1\12"
0298: + "\1\0\22\12\1\100\4\12\24\0\2\231\1\61\1\0"
0299: + "\4\231\1\0\1\231\1\0\1\231\1\61\1\231\4\0"
0300: + "\3\231\3\0\1\231\35\0\1\232\1\60\1\61\2\0"
0301: + "\2\232\1\61\1\65\1\66\2\0\1\61\5\0\1\61"
0302: + "\1\66\4\0\1\61\33\0\12\12\1\0\1\12\1\0"
0303: + "\5\12\1\156\21\12\24\0\2\233\1\61\1\0\4\233"
0304: + "\1\0\1\233\1\0\1\233\1\61\1\233\4\0\3\233"
0305: + "\3\0\1\233\35\0\1\234\1\60\1\61\2\0\2\234"
0306: + "\1\61\1\65\1\66\2\0\1\61\5\0\1\61\1\66"
0307: + "\4\0\1\61\35\0\2\235\1\61\1\0\4\235\1\0"
0308: + "\1\235\1\0\1\235\1\61\1\235\4\0\3\235\3\0"
0309: + "\1\235\35\0\1\236\1\60\1\61\2\0\2\236\1\61"
0310: + "\1\65\1\66\2\0\1\61\5\0\1\61\1\66\4\0"
0311: + "\1\61\35\0\2\237\1\61\1\0\4\237\1\0\1\237"
0312: + "\1\0\1\237\1\61\1\237\4\0\3\237\3\0\1\237"
0313: + "\35\0\1\240\1\60\1\61\2\0\2\240\1\61\1\65"
0314: + "\1\66\2\0\1\61\5\0\1\61\1\66\4\0\1\61"
0315: + "\35\0\2\241\1\61\1\0\4\241\1\0\1\241\1\0"
0316: + "\1\241\1\61\1\241\4\0\3\241\3\0\1\241\35\0"
0317: + "\1\242\1\60\1\61\2\0\2\242\1\61\1\65\1\66"
0318: + "\2\0\1\61\5\0\1\61\1\66\4\0\1\61\35\0"
0319: + "\2\243\1\61\1\0\4\243\1\0\1\243\1\0\1\243"
0320: + "\1\61\1\243\4\0\3\243\3\0\1\243\35\0\1\244"
0321: + "\1\60\1\61\2\0\2\244\1\61\1\65\1\66\2\0"
0322: + "\1\61\5\0\1\61\1\66\4\0\1\61\35\0\2\245"
0323: + "\1\61\1\0\4\245\1\0\1\245\1\0\1\245\1\61"
0324: + "\1\245\4\0\3\245\3\0\1\245\35\0\1\246\1\60"
0325: + "\1\61\2\0\2\246\1\61\1\65\1\66\2\0\1\61"
0326: + "\5\0\1\61\1\66\4\0\1\61\35\0\2\247\1\61"
0327: + "\1\0\4\247\1\0\1\247\1\0\1\247\1\61\1\247"
0328: + "\4\0\3\247\3\0\1\247\35\0\1\250\1\60\1\61"
0329: + "\2\0\2\250\1\61\1\65\1\66\2\0\1\61\5\0"
0330: + "\1\61\1\66\4\0\1\61\35\0\2\251\1\61\1\0"
0331: + "\4\251\1\0\1\251\1\0\1\251\1\61\1\251\4\0"
0332: + "\3\251\3\0\1\251\35\0\1\252\1\60\1\61\2\0"
0333: + "\2\252\1\61\1\65\1\66\2\0\1\61\5\0\1\61"
0334: + "\1\66\4\0\1\61\35\0\2\253\1\61\1\0\4\253"
0335: + "\1\0\1\253\1\0\1\253\1\61\1\253\4\0\3\253"
0336: + "\3\0\1\253\35\0\1\254\1\60\1\61\2\0\2\254"
0337: + "\1\61\1\65\1\66\2\0\1\61\5\0\1\61\1\66"
0338: + "\4\0\1\61\35\0\2\255\1\61\1\0\4\255\1\0"
0339: + "\1\255\1\0\1\255\1\61\1\255\4\0\3\255\3\0"
0340: + "\1\255\35\0\1\256\1\60\1\61\2\0\2\256\1\61"
0341: + "\1\65\1\66\2\0\1\61\5\0\1\61\1\66\4\0"
0342: + "\1\61\37\0\1\61\11\0\1\61\51\0\1\257\1\60"
0343: + "\1\61\2\0\2\257\1\61\1\65\1\66\2\0\1\61"
0344: + "\5\0\1\61\1\66\4\0\1\61\35\0\1\260\1\60"
0345: + "\1\61\2\0\2\260\1\61\1\65\1\66\2\0\1\61"
0346: + "\5\0\1\61\1\66\4\0\1\61\35\0\1\261\1\60"
0347: + "\1\61\2\0\2\261\1\61\1\65\1\66\2\0\1\61"
0348: + "\5\0\1\61\1\66\4\0\1\61\35\0\1\262\1\60"
0349: + "\1\61\2\0\2\262\1\61\1\65\1\66\2\0\1\61"
0350: + "\5\0\1\61\1\66\4\0\1\61\35\0\2\60\1\61"
0351: + "\2\0\2\60\1\61\1\65\1\66\2\0\1\61\5\0"
0352: + "\1\61\1\66\4\0\1\61\25\0";
0353:
0354: /**
0355: * The transition table of the DFA
0356: */
0357: final private static int yytrans[] = yy_unpack();
0358:
0359: /* error codes */
0360: final private static int YY_UNKNOWN_ERROR = 0;
0361: final private static int YY_ILLEGAL_STATE = 1;
0362: final private static int YY_NO_MATCH = 2;
0363: final private static int YY_PUSHBACK_2BIG = 3;
0364:
0365: /* error messages for the codes above */
0366: final private static String YY_ERROR_MSG[] = {
0367: "Unkown internal scanner error",
0368: "Internal error: unknown state",
0369: "Error: could not match input",
0370: "Error: pushback value was too large" };
0371:
0372: /**
0373: * YY_ATTRIBUTE[aState] contains the attributes of state <code>aState</code>
0374: */
0375: private final static byte YY_ATTRIBUTE[] = { 0, 0, 0, 1, 9, 1, 9,
0376: 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
0377: 9, 1, 1, 1, 9, 1, 1, 1, 9, 1, 1, 1, 9, 1, 9, 1, 1, 9, 9, 1,
0378: 1, 9, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
0379: 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 9, 0, 9, 1, 1, 1, 1,
0380: 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
0381: 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
0382: 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
0383: 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0,
0384: 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1 };
0385:
0386: /** the input device */
0387: private java.io.Reader yy_reader;
0388:
0389: /** the current state of the DFA */
0390: private int yy_state;
0391:
0392: /** the current lexical state */
0393: private int yy_lexical_state = YYINITIAL;
0394:
0395: /** this buffer contains the current text to be matched and is
0396: the source of the yytext() string */
0397: private char yy_buffer[] = new char[YY_BUFFERSIZE];
0398:
0399: /** the textposition at the last accepting state */
0400: private int yy_markedPos;
0401:
0402: /** the textposition at the last state to be included in yytext */
0403: private int yy_pushbackPos;
0404:
0405: /** the current text position in the buffer */
0406: private int yy_currentPos;
0407:
0408: /** startRead marks the beginning of the yytext() string in the buffer */
0409: private int yy_startRead;
0410:
0411: /** endRead marks the last character in the buffer, that has been read
0412: from input */
0413: private int yy_endRead;
0414:
0415: /** number of newlines encountered up to the start of the matched text */
0416: private int yyline;
0417:
0418: /** the number of characters up to the start of the matched text */
0419: private int yychar;
0420:
0421: /**
0422: * the number of characters from the last newline up to the start of the
0423: * matched text
0424: */
0425: private int yycolumn;
0426:
0427: /**
0428: * yy_atBOL == true <=> the scanner is currently at the beginning of a line
0429: */
0430: private boolean yy_atBOL = true;
0431:
0432: /** yy_atEOF == true <=> the scanner is at the EOF */
0433: private boolean yy_atEOF;
0434:
0435: /* user code: */
0436: private String quote;
0437:
0438: public void scan() throws IOException {
0439: while (!yy_atEOF) {
0440: yylex();
0441: }
0442: }
0443:
0444: private int applyStyle(int type) {
0445: return applyStyle(type, yychar, yylength());
0446: }
0447:
0448: /**
0449: * Creates a new scanner
0450: * There is also a java.io.InputStream version of this constructor.
0451: *
0452: * @param in the java.io.Reader to read input from.
0453: */
0454: public JavascriptFlexScanner(java.io.Reader in) {
0455: this .yy_reader = in;
0456: }
0457:
0458: /**
0459: * Creates a new scanner.
0460: * There is also java.io.Reader version of this constructor.
0461: *
0462: * @param in the java.io.Inputstream to read input from.
0463: */
0464: public JavascriptFlexScanner(java.io.InputStream in) {
0465: this (new java.io.InputStreamReader(in));
0466: }
0467:
0468: /**
0469: * Unpacks the split, compressed DFA transition table.
0470: *
0471: * @return the unpacked transition table
0472: */
0473: private static int[] yy_unpack() {
0474: int[] trans = new int[8586];
0475: int offset = 0;
0476: offset = yy_unpack(yy_packed0, offset, trans);
0477: return trans;
0478: }
0479:
0480: /**
0481: * Unpacks the compressed DFA transition table.
0482: *
0483: * @param packed the packed transition table
0484: * @return the index of the last entry
0485: */
0486: private static int yy_unpack(String packed, int offset, int[] trans) {
0487: int i = 0; /* index in packed string */
0488: int j = offset; /* index in unpacked array */
0489: int l = packed.length();
0490: while (i < l) {
0491: int count = packed.charAt(i++);
0492: int value = packed.charAt(i++);
0493: value--;
0494: do
0495: trans[j++] = value;
0496: while (--count > 0);
0497: }
0498: return j;
0499: }
0500:
0501: /**
0502: * Unpacks the compressed character translation table.
0503: *
0504: * @param packed the packed character translation table
0505: * @return the unpacked character translation table
0506: */
0507: private static char[] yy_unpack_cmap(String packed) {
0508: char[] map = new char[0x10000];
0509: int i = 0; /* index in packed string */
0510: int j = 0; /* index in unpacked array */
0511: while (i < 1432) {
0512: int count = packed.charAt(i++);
0513: char value = packed.charAt(i++);
0514: do
0515: map[j++] = value;
0516: while (--count > 0);
0517: }
0518: return map;
0519: }
0520:
0521: /**
0522: * Gets the next input character.
0523: *
0524: * @return the next character of the input stream, EOF if the
0525: * end of the stream is reached.
0526: * @exception IOException if any I/O-Error occurs
0527: */
0528: private int yy_advance() throws java.io.IOException {
0529:
0530: /* standard case */
0531: if (yy_currentPos < yy_endRead)
0532: return yy_buffer[yy_currentPos++];
0533:
0534: /* if the eof is reached, we don't need to work hard */
0535: if (yy_atEOF)
0536: return YYEOF;
0537:
0538: /* otherwise: need to refill the buffer */
0539:
0540: /* first: make room (if you can) */
0541: if (yy_startRead > 0) {
0542: System.arraycopy(yy_buffer, yy_startRead, yy_buffer, 0,
0543: yy_endRead - yy_startRead);
0544:
0545: /* translate stored positions */
0546: yy_endRead -= yy_startRead;
0547: yy_currentPos -= yy_startRead;
0548: yy_markedPos -= yy_startRead;
0549: yy_pushbackPos -= yy_startRead;
0550: yy_startRead = 0;
0551: }
0552:
0553: /* is the buffer big enough? */
0554: if (yy_currentPos >= yy_buffer.length) {
0555: /* if not: blow it up */
0556: char newBuffer[] = new char[yy_currentPos * 2];
0557: System.arraycopy(yy_buffer, 0, newBuffer, 0,
0558: yy_buffer.length);
0559: yy_buffer = newBuffer;
0560: }
0561:
0562: /* finally: fill the buffer with new input */
0563: int numRead = yy_reader.read(yy_buffer, yy_endRead,
0564: yy_buffer.length - yy_endRead);
0565:
0566: if (numRead == -1)
0567: return YYEOF;
0568:
0569: yy_endRead += numRead;
0570:
0571: return yy_buffer[yy_currentPos++];
0572: }
0573:
0574: /**
0575: * Closes the input stream.
0576: */
0577: final public void yyclose() throws java.io.IOException {
0578: yy_atEOF = true; /* indicate end of file */
0579: yy_endRead = yy_startRead; /* invalidate buffer */
0580:
0581: if (yy_reader != null)
0582: yy_reader.close();
0583: }
0584:
0585: /**
0586: * Closes the current stream, and resets the
0587: * scanner to read from a new input stream.
0588: *
0589: * All internal variables are reset, the old input stream
0590: * <b>cannot</b> be reused (internal buffer is discarded and lost).
0591: * Lexical state is set to <tt>YY_INITIAL</tt>.
0592: *
0593: * @param reader the new input stream
0594: */
0595: final public void yyreset(java.io.Reader reader)
0596: throws java.io.IOException {
0597: yyclose();
0598: yy_reader = reader;
0599: yy_atBOL = true;
0600: yy_atEOF = false;
0601: yy_endRead = yy_startRead = 0;
0602: yy_currentPos = yy_markedPos = yy_pushbackPos = 0;
0603: yyline = yychar = yycolumn = 0;
0604: yy_lexical_state = YYINITIAL;
0605: }
0606:
0607: /**
0608: * Returns the current lexical state.
0609: */
0610: final public int yystate() {
0611: return yy_lexical_state;
0612: }
0613:
0614: /**
0615: * Enters a new lexical state
0616: *
0617: * @param newState the new lexical state
0618: */
0619: final public void yybegin(int newState) {
0620: yy_lexical_state = newState;
0621: }
0622:
0623: /**
0624: * Returns the text matched by the current regular expression.
0625: */
0626: final public String yytext() {
0627: return new String(yy_buffer, yy_startRead, yy_markedPos
0628: - yy_startRead);
0629: }
0630:
0631: /**
0632: * Returns the character at position <tt>pos</tt> from the
0633: * matched text.
0634: *
0635: * It is equivalent to yytext().charAt(pos), but faster
0636: *
0637: * @param pos the position of the character to fetch.
0638: * A value from 0 to yylength()-1.
0639: *
0640: * @return the character at position pos
0641: */
0642: final public char yycharat(int pos) {
0643: return yy_buffer[yy_startRead + pos];
0644: }
0645:
0646: /**
0647: * Returns the length of the matched text region.
0648: */
0649: final public int yylength() {
0650: return yy_markedPos - yy_startRead;
0651: }
0652:
0653: /**
0654: * Reports an error that occured while scanning.
0655: *
0656: * In a wellformed scanner (no or only correct usage of
0657: * yypushback(int) and a match-all fallback rule) this method
0658: * will only be called with things that "Can't Possibly Happen".
0659: * If this method is called, something is seriously wrong
0660: * (e.g. a JFlex bug producing a faulty scanner etc.).
0661: *
0662: * Usual syntax/scanner level error handling should be done
0663: * in error fallback rules.
0664: *
0665: * @param errorCode the code of the errormessage to display
0666: */
0667: private void yy_ScanError(int errorCode) {
0668: String message;
0669: try {
0670: message = YY_ERROR_MSG[errorCode];
0671: } catch (ArrayIndexOutOfBoundsException e) {
0672: message = YY_ERROR_MSG[YY_UNKNOWN_ERROR];
0673: }
0674:
0675: throw new Error(message);
0676: }
0677:
0678: /**
0679: * Pushes the specified amount of characters back into the input stream.
0680: *
0681: * They will be read again by then next call of the scanning method
0682: *
0683: * @param number the number of characters to be read again.
0684: * This number must not be greater than yylength()!
0685: */
0686: private void yypushback(int number) {
0687: if (number > yylength())
0688: yy_ScanError(YY_PUSHBACK_2BIG);
0689:
0690: yy_markedPos -= number;
0691: }
0692:
0693: /**
0694: * Resumes scanning until the next regular expression is matched,
0695: * the end of input is encountered or an I/O-Error occurs.
0696: *
0697: * @return the next token
0698: * @exception IOException if any I/O-Error occurs
0699: */
0700: public int yylex() throws java.io.IOException {
0701: int yy_input;
0702: int yy_action;
0703:
0704: while (true) {
0705:
0706: yychar += yylength();
0707:
0708: yy_action = -1;
0709:
0710: yy_currentPos = yy_startRead = yy_markedPos;
0711:
0712: yy_state = yy_lexical_state;
0713:
0714: yy_forAction: {
0715: while (true) {
0716:
0717: yy_input = yy_advance();
0718:
0719: if (yy_input == YYEOF)
0720: break yy_forAction;
0721:
0722: int yy_next = yytrans[yy_rowMap[yy_state]
0723: + yycmap[yy_input]];
0724: if (yy_next == -1)
0725: break yy_forAction;
0726: yy_state = yy_next;
0727:
0728: int yy_attributes = YY_ATTRIBUTE[yy_state];
0729: if ((yy_attributes & 1) > 0) {
0730: yy_action = yy_state;
0731: yy_markedPos = yy_currentPos;
0732: if ((yy_attributes & 8) > 0)
0733: break yy_forAction;
0734: }
0735:
0736: }
0737: }
0738:
0739: switch (yy_action) {
0740:
0741: case 5:
0742: case 6: { /* ignore */
0743: return applyStyle(SyntaxStyle.DEFAULT);
0744: }
0745: case 179:
0746: break;
0747: case 45: {
0748: yybegin(SINGLE_LINE_COMMENT_STATE);
0749: spanStart = yychar;
0750: return applyStyle(SyntaxStyle.COMMENT1);
0751: }
0752: case 180:
0753: break;
0754: case 82: {
0755: yybegin(YYINITIAL);
0756: return applyStyle(SyntaxStyle.COMMENT2, spanStart,
0757: yylength() + yychar - spanStart);
0758: }
0759: case 181:
0760: break;
0761: case 130: {
0762: return applyStyle(SyntaxStyle.INCLUDE);
0763: }
0764: case 182:
0765: break;
0766: case 119: {
0767: return applyStyle(SyntaxStyle.LITERAL4);
0768: }
0769: case 183:
0770: break;
0771: case 118: {
0772: return applyStyle(SyntaxStyle.KEYWORD2);
0773: }
0774: case 184:
0775: break;
0776: case 35: {
0777: quote = yytext();
0778: yybegin(STRING_STATE);
0779: spanStart = yychar;
0780: }
0781: case 185:
0782: break;
0783: case 12:
0784: case 27: {
0785: return applyStyle(SyntaxStyle.SEPARATOR1);
0786: }
0787: case 186:
0788: break;
0789: case 10:
0790: case 11:
0791: case 46:
0792: case 47:
0793: case 48:
0794: case 50:
0795: case 51:
0796: case 52:
0797: case 83:
0798: case 84:
0799: case 85:
0800: case 86:
0801: case 113:
0802: case 114:
0803: case 131:
0804: case 132:
0805: case 142:
0806: case 143:
0807: case 149:
0808: case 150:
0809: case 152:
0810: case 153:
0811: case 154:
0812: case 155:
0813: case 156:
0814: case 157:
0815: case 159:
0816: case 161:
0817: case 163:
0818: case 165:
0819: case 167:
0820: case 169:
0821: case 171:
0822: case 173:
0823: case 174:
0824: case 175:
0825: case 176:
0826: case 177: {
0827: return applyStyle(SyntaxStyle.LITERAL2);
0828: }
0829: case 187:
0830: break;
0831: case 9:
0832: case 14:
0833: case 15:
0834: case 16:
0835: case 17:
0836: case 18:
0837: case 19:
0838: case 20:
0839: case 21:
0840: case 22:
0841: case 23:
0842: case 24:
0843: case 25:
0844: case 26:
0845: case 54:
0846: case 55:
0847: case 56:
0848: case 57:
0849: case 58:
0850: case 59:
0851: case 60:
0852: case 61:
0853: case 62:
0854: case 64:
0855: case 65:
0856: case 66:
0857: case 67:
0858: case 68:
0859: case 69:
0860: case 70:
0861: case 71:
0862: case 72:
0863: case 73:
0864: case 74:
0865: case 75:
0866: case 76:
0867: case 77:
0868: case 88:
0869: case 89:
0870: case 90:
0871: case 91:
0872: case 92:
0873: case 94:
0874: case 95:
0875: case 96:
0876: case 97:
0877: case 98:
0878: case 99:
0879: case 100:
0880: case 101:
0881: case 102:
0882: case 103:
0883: case 104:
0884: case 105:
0885: case 106:
0886: case 107:
0887: case 108:
0888: case 110:
0889: case 111:
0890: case 112:
0891: case 115:
0892: case 116:
0893: case 117:
0894: case 120:
0895: case 121:
0896: case 122:
0897: case 123:
0898: case 124:
0899: case 125:
0900: case 126:
0901: case 127:
0902: case 128:
0903: case 129:
0904: case 133:
0905: case 134:
0906: case 135:
0907: case 136:
0908: case 137:
0909: case 138:
0910: case 139:
0911: case 140:
0912: case 141:
0913: case 144:
0914: case 145:
0915: case 146:
0916: case 147:
0917: case 148:
0918: case 151: {
0919: return applyStyle(SyntaxStyle.IDENTIFIER1);
0920: }
0921: case 188:
0922: break;
0923: case 7:
0924: case 8:
0925: case 13:
0926: case 28:
0927: case 29:
0928: case 30:
0929: case 31:
0930: case 32:
0931: case 33:
0932: case 34:
0933: case 78:
0934: case 93: {
0935: return applyStyle(SyntaxStyle.OPERATOR);
0936: }
0937: case 189:
0938: break;
0939: case 4:
0940: case 36:
0941: case 43: {
0942: return applyStyle(SyntaxStyle.DEFAULT);
0943: }
0944: case 190:
0945: break;
0946: case 3:
0947: case 42: {
0948: applyStyle(SyntaxStyle.COMMENT2);
0949: }
0950: case 191:
0951: break;
0952: case 37:
0953: case 38:
0954: case 80: {
0955: yybegin(YYINITIAL);
0956: return applyStyle(SyntaxStyle.ERROR, spanStart,
0957: yylength() + yychar - spanStart);
0958: }
0959: case 192:
0960: break;
0961: case 39: {
0962: applyStyle(SyntaxStyle.COMMENT1);
0963: }
0964: case 193:
0965: break;
0966: case 40:
0967: case 41: {
0968: yybegin(YYINITIAL);
0969: return applyStyle(SyntaxStyle.COMMENT1, spanStart,
0970: yylength() + yychar - spanStart);
0971: }
0972: case 194:
0973: break;
0974: case 44: {
0975: yybegin(MULTI_LINE_COMMENT_STATE);
0976: spanStart = yychar;
0977: return applyStyle(SyntaxStyle.COMMENT2);
0978: }
0979: case 195:
0980: break;
0981: case 63: {
0982: return applyStyle(SyntaxStyle.KEYWORD3);
0983: }
0984: case 196:
0985: break;
0986: case 79: {
0987: if (yytext().endsWith(quote)) {
0988: yybegin(YYINITIAL);
0989: return applyStyle(SyntaxStyle.LITERAL1, spanStart,
0990: yylength() + yychar - spanStart);
0991: }
0992: }
0993: case 197:
0994: break;
0995: case 109: {
0996: return applyStyle(SyntaxStyle.KEYWORD1);
0997: }
0998: case 198:
0999: break;
1000: default:
1001: if (yy_input == YYEOF && yy_startRead == yy_currentPos) {
1002: yy_atEOF = true;
1003: {
1004: return -1;
1005: }
1006: } else {
1007: yy_ScanError(YY_NO_MATCH);
1008: }
1009: }
1010: }
1011: }
1012:
1013: }
|