/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* The following code was generated by JFlex 1.4.3 on 10/3/11 6:27 PM */
package com.intellij.coldFusion.model.lexer;
import com.intellij.openapi.project.Project;
import com.intellij.lexer.FlexLexer;
import com.intellij.psi.tree.IElementType;
import com.intellij.coldFusion.model.lexer.CfscriptTokenTypes;
import com.intellij.coldFusion.model.lexer.CfmlTokenTypes;
import com.intellij.coldFusion.model.CfmlUtil;
import com.intellij.util.containers.Stack;
import com.intellij.util.ArrayUtil;
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
* on 10/3/11 6:27 PM from the specification file
* <tt>C:/IDEA/tools/lexer/../../plugins/CFML/src/com/intellij/coldFusion/model/lexer/ColdFusionScript8.flex</tt>
*/
class _CfscriptLexer8 implements FlexLexer {
/** initial size of the lookahead buffer */
private static final int ZZ_BUFFERSIZE = 16384;
/** lexical states */
public static final int Y = 14;
public static final int X = 12;
public static final int SINGLEQUOTE_CLOSER = 8;
public static final int DOUBLEQUOTE_CLOSER = 6;
public static final int DOUBLE_QUOTED_STRING = 2;
public static final int SINGLE_QUOTED_STRING = 4;
public static final int YYINITIAL = 0;
public static final int EXPRESSION = 10;
public static final int COMMENT = 16;
public static final int COMMENTEND = 18;
/**
* ZZ_LEXSTATE[l] is the state in the DFA for the lexical state l
* ZZ_LEXSTATE[l+1] is the state in the DFA for the lexical state l
* at the beginning of a line
* l is of the form l = 2*k, k a non negative integer
*/
private static final int ZZ_LEXSTATE[] = {
0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 5, 5, 5, 5,
6, 6, 7, 7
};
/**
* Translates characters to character classes
*/
private static final String ZZ_CMAP_PACKED =
"\11\6\1\7\1\21\1\0\1\7\1\20\16\6\4\0\1\72\1\2"+
"\1\15\1\17\1\5\1\63\1\50\1\16\1\47\1\53\1\23\1\62"+
"\1\52\1\3\1\12\1\22\1\10\11\11\1\61\1\60\1\1\1\51"+
"\1\4\1\0\1\24\1\32\1\34\1\25\1\41\1\35\1\26\1\73"+
"\1\45\1\13\1\5\1\36\1\30\1\27\1\14\1\37\1\71\1\70"+
"\1\33\1\43\1\40\1\42\1\31\1\44\1\67\1\46\1\5\1\54"+
"\1\64\1\55\1\65\1\5\1\0\1\32\1\34\1\25\1\41\1\35"+
"\1\26\1\73\1\45\1\13\1\5\1\36\1\30\1\27\1\14\1\37"+
"\1\71\1\70\1\33\1\43\1\40\1\42\1\31\1\44\1\67\1\46"+
"\1\5\1\56\1\66\1\57\1\0\41\6\2\0\4\5\4\0\1\5"+
"\2\0\1\6\7\0\1\5\4\0\1\5\5\0\27\5\1\0\37\5"+
"\1\0\u013f\5\31\0\162\5\4\0\14\5\16\0\5\5\11\0\1\5"+
"\21\0\130\6\5\0\23\6\12\0\1\5\13\0\1\5\1\0\3\5"+
"\1\0\1\5\1\0\24\5\1\0\54\5\1\0\46\5\1\0\5\5"+
"\4\0\202\5\1\0\4\6\3\0\105\5\1\0\46\5\2\0\2\5"+
"\6\0\20\5\41\0\46\5\2\0\1\5\7\0\47\5\11\0\21\6"+
"\1\0\27\6\1\0\3\6\1\0\1\6\1\0\2\6\1\0\1\6"+
"\13\0\33\5\5\0\3\5\15\0\4\6\14\0\6\6\13\0\32\5"+
"\5\0\13\5\16\6\7\0\12\6\4\0\2\5\1\6\143\5\1\0"+
"\1\5\10\6\1\0\6\6\2\5\2\6\1\0\4\6\2\5\12\6"+
"\3\5\2\0\1\5\17\0\1\6\1\5\1\6\36\5\33\6\2\0"+
"\3\5\60\0\46\5\13\6\1\5\u014f\0\3\6\66\5\2\0\1\6"+
"\1\5\20\6\2\0\1\5\4\6\3\0\12\5\2\6\2\0\12\6"+
"\21\0\3\6\1\0\10\5\2\0\2\5\2\0\26\5\1\0\7\5"+
"\1\0\1\5\3\0\4\5\2\0\1\6\1\5\7\6\2\0\2\6"+
"\2\0\3\6\11\0\1\6\4\0\2\5\1\0\3\5\2\6\2\0"+
"\12\6\4\5\15\0\3\6\1\0\6\5\4\0\2\5\2\0\26\5"+
"\1\0\7\5\1\0\2\5\1\0\2\5\1\0\2\5\2\0\1\6"+
"\1\0\5\6\4\0\2\6\2\0\3\6\13\0\4\5\1\0\1\5"+
"\7\0\14\6\3\5\14\0\3\6\1\0\11\5\1\0\3\5\1\0"+
"\26\5\1\0\7\5\1\0\2\5\1\0\5\5\2\0\1\6\1\5"+
"\10\6\1\0\3\6\1\0\3\6\2\0\1\5\17\0\2\5\2\6"+
"\2\0\12\6\1\0\1\5\17\0\3\6\1\0\10\5\2\0\2\5"+
"\2\0\26\5\1\0\7\5\1\0\2\5\1\0\5\5\2\0\1\6"+
"\1\5\6\6\3\0\2\6\2\0\3\6\10\0\2\6\4\0\2\5"+
"\1\0\3\5\4\0\12\6\1\0\1\5\20\0\1\6\1\5\1\0"+
"\6\5\3\0\3\5\1\0\4\5\3\0\2\5\1\0\1\5\1\0"+
"\2\5\3\0\2\5\3\0\3\5\3\0\10\5\1\0\3\5\4\0"+
"\5\6\3\0\3\6\1\0\4\6\11\0\1\6\17\0\11\6\11\0"+
"\1\5\7\0\3\6\1\0\10\5\1\0\3\5\1\0\27\5\1\0"+
"\12\5\1\0\5\5\4\0\7\6\1\0\3\6\1\0\4\6\7\0"+
"\2\6\11\0\2\5\4\0\12\6\22\0\2\6\1\0\10\5\1\0"+
"\3\5\1\0\27\5\1\0\12\5\1\0\5\5\2\0\1\6\1\5"+
"\7\6\1\0\3\6\1\0\4\6\7\0\2\6\7\0\1\5\1\0"+
"\2\5\4\0\12\6\22\0\2\6\1\0\10\5\1\0\3\5\1\0"+
"\27\5\1\0\20\5\4\0\6\6\2\0\3\6\1\0\4\6\11\0"+
"\1\6\10\0\2\5\4\0\12\6\22\0\2\6\1\0\22\5\3\0"+
"\30\5\1\0\11\5\1\0\1\5\2\0\7\5\3\0\1\6\4\0"+
"\6\6\1\0\1\6\1\0\10\6\22\0\2\6\15\0\60\5\1\6"+
"\2\5\7\6\4\0\10\5\10\6\1\0\12\6\47\0\2\5\1\0"+
"\1\5\2\0\2\5\1\0\1\5\2\0\1\5\6\0\4\5\1\0"+
"\7\5\1\0\3\5\1\0\1\5\1\0\1\5\2\0\2\5\1\0"+
"\4\5\1\6\2\5\6\6\1\0\2\6\1\5\2\0\5\5\1\0"+
"\1\5\1\0\6\6\2\0\12\6\2\0\2\5\42\0\1\5\27\0"+
"\2\6\6\0\12\6\13\0\1\6\1\0\1\6\1\0\1\6\4\0"+
"\2\6\10\5\1\0\42\5\6\0\24\6\1\0\2\6\4\5\4\0"+
"\10\6\1\0\44\6\11\0\1\6\71\0\42\5\1\0\5\5\1\0"+
"\2\5\1\0\7\6\3\0\4\6\6\0\12\6\6\0\6\5\4\6"+
"\106\0\46\5\12\0\51\5\7\0\132\5\5\0\104\5\5\0\122\5"+
"\6\0\7\5\1\0\77\5\1\0\1\5\1\0\4\5\2\0\7\5"+
"\1\0\1\5\1\0\4\5\2\0\47\5\1\0\1\5\1\0\4\5"+
"\2\0\37\5\1\0\1\5\1\0\4\5\2\0\7\5\1\0\1\5"+
"\1\0\4\5\2\0\7\5\1\0\7\5\1\0\27\5\1\0\37\5"+
"\1\0\1\5\1\0\4\5\2\0\7\5\1\0\47\5\1\0\23\5"+
"\16\0\11\6\56\0\125\5\14\0\u026c\5\2\0\10\5\12\0\32\5"+
"\5\0\113\5\3\0\3\5\17\0\15\5\1\0\4\5\3\6\13\0"+
"\22\5\3\6\13\0\22\5\2\6\14\0\15\5\1\0\3\5\1\0"+
"\2\6\14\0\64\5\40\6\3\0\1\5\3\0\2\5\1\6\2\0"+
"\12\6\41\0\3\6\2\0\12\6\6\0\130\5\10\0\51\5\1\6"+
"\126\0\35\5\3\0\14\6\4\0\14\6\12\0\12\6\36\5\2\0"+
"\5\5\u038b\0\154\5\224\0\234\5\4\0\132\5\6\0\26\5\2\0"+
"\6\5\2\0\46\5\2\0\6\5\2\0\10\5\1\0\1\5\1\0"+
"\1\5\1\0\1\5\1\0\37\5\2\0\65\5\1\0\7\5\1\0"+
"\1\5\3\0\3\5\1\0\7\5\3\0\4\5\2\0\6\5\4\0"+
"\15\5\5\0\3\5\1\0\7\5\17\0\4\6\32\0\5\6\20\0"+
"\2\5\23\0\1\5\13\0\4\6\6\0\6\6\1\0\1\5\15\0"+
"\1\5\40\0\22\5\36\0\15\6\4\0\1\6\3\0\6\6\27\0"+
"\1\5\4\0\1\5\2\0\12\5\1\0\1\5\3\0\5\5\6\0"+
"\1\5\1\0\1\5\1\0\1\5\1\0\4\5\1\0\3\5\1\0"+
"\7\5\3\0\3\5\5\0\5\5\26\0\44\5\u0e81\0\3\5\31\0"+
"\11\5\6\6\1\0\5\5\2\0\5\5\4\0\126\5\2\0\2\6"+
"\2\0\3\5\1\0\137\5\5\0\50\5\4\0\136\5\21\0\30\5"+
"\70\0\20\5\u0200\0\u19b6\5\112\0\u51a6\5\132\0\u048d\5\u0773\0\u2ba4\5"+
"\u215c\0\u012e\5\2\0\73\5\225\0\7\5\14\0\5\5\5\0\1\5"+
"\1\6\12\5\1\0\15\5\1\0\5\5\1\0\1\5\1\0\2\5"+
"\1\0\2\5\1\0\154\5\41\0\u016b\5\22\0\100\5\2\0\66\5"+
"\50\0\15\5\3\0\20\6\20\0\4\6\17\0\2\5\30\0\3\5"+
"\31\0\1\5\6\0\5\5\1\0\207\5\2\0\1\6\4\0\1\5"+
"\13\0\12\6\7\0\32\5\4\0\1\5\1\0\32\5\12\0\132\5"+
"\3\0\6\5\2\0\6\5\2\0\6\5\2\0\3\5\3\0\2\5"+
"\3\0\2\5\22\0\3\6\4\0";
/**
* Translates characters to character classes
*/
private static final char [] ZZ_CMAP = zzUnpackCMap(ZZ_CMAP_PACKED);
/**
* Translates DFA states to action switch labels.
*/
private static final int [] ZZ_ACTION = zzUnpackAction();
private static final String ZZ_ACTION_PACKED_0 =
"\6\0\1\1\1\0\1\2\1\3\1\4\1\5\1\6"+
"\1\7\1\10\2\11\1\12\2\7\1\13\1\14\1\15"+
"\1\16\1\17\16\7\1\20\1\21\1\22\1\23\1\24"+
"\1\25\1\26\1\27\1\30\1\31\1\32\1\33\1\34"+
"\1\35\1\36\1\2\2\7\1\37\1\40\1\41\1\42"+
"\1\43\1\44\1\40\1\43\3\1\1\10\1\2\1\0"+
"\1\45\1\46\1\47\1\50\1\51\1\52\1\53\1\54"+
"\1\55\1\7\1\56\2\7\2\0\1\57\1\60\7\7"+
"\1\61\1\62\6\7\1\56\1\63\2\7\1\64\2\7"+
"\1\65\1\66\1\67\1\70\1\71\1\72\2\7\1\73"+
"\1\74\1\0\1\75\1\0\1\75\4\0\1\76\1\0"+
"\1\77\1\100\1\0\2\101\1\0\5\7\1\102\1\7"+
"\1\103\1\7\1\61\1\7\1\104\4\7\1\105\2\7"+
"\1\106\4\7\1\107\1\7\2\0\1\110\3\0\2\101"+
"\1\111\2\0\1\112\1\7\1\113\2\7\2\0\2\7"+
"\1\0\3\7\1\114\1\7\1\115\5\7\1\0\1\116"+
"\1\117\2\0\1\111\1\0\1\120\3\7\2\0\1\7"+
"\1\0\1\121\1\122\1\7\1\123\1\56\1\7\1\0"+
"\1\7\1\124\1\7\1\125\1\77\2\0\3\7\3\0"+
"\1\7\1\0\1\126\1\7\1\0\1\127\1\7\2\0"+
"\2\7\1\130\1\0\1\131\1\0\1\7\1\0\1\132"+
"\1\0\1\7\2\0\1\133\1\134\1\131\1\0\1\135"+
"\3\0\1\77\1\0\1\62\15\0\1\74\16\0\1\136"+
"\1\0\2\137\10\0\1\61\3\0\1\73";
private static int [] zzUnpackAction() {
int [] result = new int[307];
int offset = 0;
offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result);
return result;
}
private static int zzUnpackAction(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int count = packed.charAt(i++);
int value = packed.charAt(i++);
do result[j++] = value; while (--count > 0);
}
return j;
}
/**
* Translates a state to a row index in the transition table
*/
private static final int [] ZZ_ROWMAP = zzUnpackRowMap();
private static final String ZZ_ROWMAP_PACKED_0 =
"\0\0\0\74\0\170\0\264\0\360\0\u012c\0\u0168\0\u01a4"+
"\0\u01e0\0\u021c\0\u0258\0\u0294\0\u02d0\0\u030c\0\u0348\0\u0384"+
"\0\u03c0\0\u01e0\0\u03fc\0\u0438\0\u01e0\0\u01e0\0\u01e0\0\u0474"+
"\0\u04b0\0\u04ec\0\u0528\0\u0564\0\u05a0\0\u05dc\0\u0618\0\u0654"+
"\0\u0690\0\u06cc\0\u0708\0\u0744\0\u0780\0\u07bc\0\u07f8\0\u01e0"+
"\0\u0834\0\u0870\0\u01e0\0\u01e0\0\u01e0\0\u01e0\0\u01e0\0\u01e0"+
"\0\u01e0\0\u01e0\0\u08ac\0\u01e0\0\u01e0\0\u01e0\0\u08e8\0\u0924"+
"\0\u0960\0\u099c\0\u09d8\0\u0a14\0\u0a50\0\u0a8c\0\u0ac8\0\u01e0"+
"\0\u01e0\0\u0b04\0\u0b40\0\u0b7c\0\u0bb8\0\u0bf4\0\u0c30\0\u01e0"+
"\0\u01e0\0\u01e0\0\u01e0\0\u01e0\0\u01e0\0\u0c6c\0\u030c\0\u030c"+
"\0\u0ca8\0\u0ce4\0\u0d20\0\u0d5c\0\u0d98\0\u0dd4\0\u01e0\0\u01e0"+
"\0\u0e10\0\u0e4c\0\u0e88\0\u0ec4\0\u0f00\0\u0f3c\0\u0f78\0\u0fb4"+
"\0\u0ff0\0\u102c\0\u1068\0\u10a4\0\u10e0\0\u111c\0\u1158\0\u1194"+
"\0\u030c\0\u11d0\0\u120c\0\u1248\0\u1284\0\u12c0\0\u01e0\0\u01e0"+
"\0\u01e0\0\u01e0\0\u01e0\0\u01e0\0\u12fc\0\u1338\0\u030c\0\u1374"+
"\0\u09d8\0\u0a14\0\u0a8c\0\u0ac8\0\u13b0\0\u13ec\0\u1428\0\u1464"+
"\0\u030c\0\u14a0\0\u030c\0\u14dc\0\u1518\0\u1554\0\u1590\0\u15cc"+
"\0\u1608\0\u1644\0\u1680\0\u16bc\0\u16f8\0\u1734\0\u1770\0\u030c"+
"\0\u17ac\0\u030c\0\u17e8\0\u030c\0\u1824\0\u1860\0\u189c\0\u18d8"+
"\0\u030c\0\u1914\0\u1950\0\u030c\0\u198c\0\u19c8\0\u1a04\0\u1a40"+
"\0\u030c\0\u1a7c\0\u1ab8\0\u1af4\0\u01e0\0\u1b30\0\u1b6c\0\u1ba8"+
"\0\u1be4\0\u01e0\0\u1590\0\u1590\0\u1c20\0\u01e0\0\u1c5c\0\u030c"+
"\0\u1c98\0\u1cd4\0\u1d10\0\u1d4c\0\u1d88\0\u1dc4\0\u1e00\0\u1e3c"+
"\0\u1e78\0\u1eb4\0\u030c\0\u1ef0\0\u030c\0\u1f2c\0\u1f68\0\u1fa4"+
"\0\u1fe0\0\u201c\0\u2058\0\u01e0\0\u01e0\0\u2094\0\u20d0\0\u01e0"+
"\0\u210c\0\u030c\0\u2148\0\u2184\0\u21c0\0\u21fc\0\u2238\0\u2274"+
"\0\u22b0\0\u22ec\0\u030c\0\u2328\0\u030c\0\u030c\0\u2364\0\u23a0"+
"\0\u23dc\0\u030c\0\u2418\0\u01e0\0\u01e0\0\u2454\0\u2490\0\u24cc"+
"\0\u2508\0\u2544\0\u2580\0\u25bc\0\u25f8\0\u2634\0\u2670\0\u030c"+
"\0\u26ac\0\u26e8\0\u030c\0\u2724\0\u2760\0\u279c\0\u27d8\0\u2814"+
"\0\u030c\0\u2850\0\u21fc\0\u288c\0\u28c8\0\u2904\0\u030c\0\u2940"+
"\0\u297c\0\u29b8\0\u29f4\0\u030c\0\u030c\0\u01e0\0\u2a30\0\u030c"+
"\0\u2a6c\0\u2aa8\0\u2ae4\0\u2b20\0\u2b5c\0\u2b98\0\u2bd4\0\u2c10"+
"\0\u2c4c\0\u2c88\0\u2cc4\0\u2d00\0\u2d3c\0\u2d78\0\u2db4\0\u2df0"+
"\0\u2e2c\0\u2e68\0\u2ea4\0\u2ee0\0\u2f1c\0\u2f58\0\u2f94\0\u2fd0"+
"\0\u300c\0\u3048\0\u3084\0\u30c0\0\u30fc\0\u3138\0\u3174\0\u31b0"+
"\0\u31ec\0\u3228\0\u01e0\0\u3264\0\u32a0\0\u01e0\0\u32dc\0\u3318"+
"\0\u3354\0\u3390\0\u33cc\0\u3408\0\u3444\0\u3480\0\u01e0\0\u34bc"+
"\0\u34f8\0\u3534\0\u01e0";
private static int [] zzUnpackRowMap() {
int [] result = new int[307];
int offset = 0;
offset = zzUnpackRowMap(ZZ_ROWMAP_PACKED_0, offset, result);
return result;
}
private static int zzUnpackRowMap(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int high = packed.charAt(i++) << 16;
result[j++] = high | packed.charAt(i++);
}
return j;
}
/**
* The transition table of the DFA
*/
private static final int [] ZZ_TRANS = zzUnpackTrans();
private static final String ZZ_TRANS_PACKED_0 =
"\1\11\1\12\1\13\1\14\1\15\1\16\1\11\1\17"+
"\1\20\1\21\1\22\1\23\1\24\1\25\1\26\1\27"+
"\2\17\1\30\1\31\1\11\1\32\1\33\1\34\1\35"+
"\1\36\1\37\1\40\1\41\1\42\1\16\1\43\1\44"+
"\1\45\1\16\1\46\1\47\2\16\1\50\1\51\1\52"+
"\1\53\1\54\1\55\1\56\1\57\1\60\1\61\1\62"+
"\1\63\1\64\1\65\1\66\1\67\1\70\2\16\1\17"+
"\1\71\15\72\1\73\1\72\1\74\54\72\16\75\1\76"+
"\1\77\54\75\15\11\1\100\74\11\1\101\64\11\1\17"+
"\10\11\2\17\50\11\1\17\1\11\1\102\1\103\1\102"+
"\1\104\3\102\1\105\10\102\2\105\50\102\1\105\1\102"+
"\3\11\1\106\3\11\1\17\10\11\2\17\50\11\1\17"+
"\1\11\76\0\1\107\46\0\1\110\73\0\1\111\25\0"+
"\1\112\45\0\1\113\73\0\1\114\27\0\2\16\1\0"+
"\2\16\1\115\2\16\10\0\22\16\20\0\3\16\1\0"+
"\1\16\7\0\1\17\10\0\2\17\50\0\1\17\13\0"+
"\1\116\71\0\2\21\1\116\66\0\2\16\1\0\2\16"+
"\1\115\1\16\1\117\10\0\1\16\1\120\1\121\13\16"+
"\1\122\3\16\20\0\3\16\1\0\1\16\5\0\2\16"+
"\1\0\2\16\1\115\2\16\10\0\10\16\1\123\1\16"+
"\1\124\7\16\20\0\3\16\1\0\1\16\22\0\1\125"+
"\1\126\25\0\1\127\73\0\1\130\27\0\2\16\1\0"+
"\2\16\1\115\2\16\10\0\5\16\1\131\4\16\1\132"+
"\7\16\20\0\3\16\1\0\1\16\5\0\2\16\1\0"+
"\2\16\1\115\1\133\1\16\10\0\5\16\1\134\4\16"+
"\1\135\2\16\1\136\4\16\20\0\3\16\1\0\1\16"+
"\5\0\2\16\1\0\2\16\1\115\2\16\10\0\12\16"+
"\1\137\7\16\20\0\3\16\1\0\1\16\5\0\2\16"+
"\1\0\2\16\1\115\2\16\10\0\10\16\1\140\2\16"+
"\1\141\6\16\20\0\3\16\1\0\1\16\5\0\2\16"+
"\1\0\2\16\1\115\2\16\10\0\5\16\1\142\14\16"+
"\20\0\3\16\1\0\1\16\5\0\2\16\1\0\2\16"+
"\1\115\1\16\1\143\10\0\7\16\1\144\12\16\20\0"+
"\3\16\1\0\1\16\5\0\2\16\1\0\2\16\1\115"+
"\2\16\10\0\10\16\1\145\11\16\20\0\3\16\1\0"+
"\1\16\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\6\16\1\146\13\16\20\0\3\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\3\16\1\147"+
"\16\16\20\0\1\16\1\150\1\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\6\16\1\151"+
"\13\16\20\0\3\16\1\0\1\16\5\0\2\16\1\0"+
"\2\16\1\115\2\16\10\0\6\16\1\152\13\16\20\0"+
"\3\16\1\0\1\16\5\0\2\16\1\0\2\16\1\115"+
"\2\16\10\0\10\16\1\153\1\16\1\154\7\16\20\0"+
"\3\16\1\0\1\16\5\0\2\16\1\0\2\16\1\115"+
"\2\16\10\0\17\16\1\155\2\16\20\0\3\16\1\0"+
"\1\16\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\20\16\1\156\1\16\20\0\3\16\1\0\1\16\50\0"+
"\1\157\1\160\73\0\1\161\73\0\1\162\10\0\1\163"+
"\77\0\1\164\12\0\2\16\1\0\2\16\1\115\2\16"+
"\10\0\12\16\1\165\7\16\20\0\3\16\1\0\1\16"+
"\5\0\2\16\1\0\2\16\1\115\2\16\10\0\6\16"+
"\1\166\1\16\1\167\2\16\1\170\6\16\20\0\3\16"+
"\1\0\1\16\15\72\1\171\1\72\1\172\54\72\15\0"+
"\1\72\75\0\1\72\54\0\16\75\1\173\1\174\54\75"+
"\16\0\1\75\74\0\1\75\54\0\1\102\1\0\1\102"+
"\1\0\70\102\2\0\1\175\74\0\1\176\70\0\1\102"+
"\1\0\1\102\1\0\3\102\1\105\10\102\2\105\50\102"+
"\1\105\1\102\3\0\1\177\73\0\1\200\100\0\2\116"+
"\67\0\2\16\1\0\2\16\1\115\2\16\10\0\22\16"+
"\20\0\2\16\1\201\1\0\1\16\5\0\2\16\1\0"+
"\2\16\1\115\2\16\10\0\22\16\20\0\3\16\1\202"+
"\1\16\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\22\16\20\0\1\16\1\203\1\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\13\16\1\204"+
"\6\16\20\0\3\16\1\0\1\16\7\205\1\125\10\205"+
"\1\206\1\207\50\205\1\125\1\205\23\126\1\210\50\126"+
"\5\0\2\16\1\0\2\16\1\115\2\16\10\0\13\16"+
"\1\211\2\16\1\212\3\16\20\0\3\16\1\0\1\16"+
"\5\0\2\16\1\0\2\16\1\115\1\16\1\213\10\0"+
"\22\16\20\0\3\16\1\0\1\16\5\0\2\16\1\0"+
"\2\16\1\115\1\16\1\214\10\0\22\16\20\0\3\16"+
"\1\0\1\16\5\0\2\16\1\0\2\16\1\115\2\16"+
"\10\0\3\16\1\215\16\16\20\0\3\16\1\0\1\16"+
"\5\0\2\16\1\0\2\16\1\115\2\16\10\0\6\16"+
"\1\216\13\16\20\0\3\16\1\0\1\16\5\0\2\16"+
"\1\0\2\16\1\115\1\16\1\217\10\0\22\16\20\0"+
"\3\16\1\0\1\16\5\0\2\16\1\0\2\16\1\115"+
"\2\16\10\0\14\16\1\220\5\16\20\0\3\16\1\0"+
"\1\16\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\16\16\1\221\3\16\20\0\3\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\10\16\1\222"+
"\11\16\20\0\3\16\1\0\1\16\5\0\2\16\1\0"+
"\2\16\1\115\2\16\10\0\6\16\1\223\13\16\20\0"+
"\3\16\1\0\1\16\5\0\2\16\1\0\2\16\1\115"+
"\2\16\10\0\14\16\1\224\5\16\20\0\3\16\1\0"+
"\1\16\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\12\16\1\225\7\16\20\0\3\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\13\16\1\226"+
"\6\16\20\0\3\16\1\0\1\16\5\0\2\16\1\0"+
"\2\16\1\115\2\16\10\0\10\16\1\227\11\16\20\0"+
"\3\16\1\0\1\16\5\0\2\16\1\0\2\16\1\115"+
"\2\16\10\0\16\16\1\230\3\16\20\0\3\16\1\0"+
"\1\16\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\4\16\1\231\10\16\1\232\4\16\20\0\3\16\1\0"+
"\1\16\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\15\16\1\233\3\16\1\234\20\0\3\16\1\0\1\16"+
"\5\0\2\16\1\0\2\16\1\115\2\16\10\0\1\16"+
"\1\235\20\16\20\0\3\16\1\0\1\16\5\0\2\16"+
"\1\0\2\16\1\115\2\16\10\0\10\16\1\236\11\16"+
"\20\0\3\16\1\0\1\16\5\0\2\16\1\0\2\16"+
"\1\115\1\237\1\16\10\0\22\16\20\0\3\16\1\0"+
"\1\16\5\0\2\16\1\0\2\16\1\115\1\240\1\16"+
"\10\0\22\16\20\0\3\16\1\0\1\16\5\0\2\16"+
"\1\0\2\16\1\115\2\16\10\0\6\16\1\241\13\16"+
"\20\0\3\16\1\0\1\16\5\0\2\16\1\0\2\16"+
"\1\115\2\16\10\0\10\16\1\242\11\16\20\0\3\16"+
"\1\0\1\16\5\0\2\16\1\0\2\16\1\115\2\16"+
"\10\0\10\16\1\167\11\16\20\0\3\16\1\0\1\16"+
"\3\0\1\243\73\0\1\244\74\0\1\245\72\0\1\246"+
"\104\0\1\247\64\0\2\16\1\0\2\16\1\115\2\16"+
"\10\0\22\16\20\0\3\16\1\250\1\16\20\205\1\251"+
"\1\252\61\205\1\125\10\205\1\206\1\253\50\205\1\125"+
"\1\205\7\0\1\254\10\0\2\254\2\0\1\255\45\0"+
"\1\254\1\0\22\126\1\256\1\210\50\126\5\0\2\16"+
"\1\0\2\16\1\115\2\16\10\0\1\257\21\16\20\0"+
"\3\16\1\0\1\16\5\0\2\16\1\0\2\16\1\115"+
"\2\16\10\0\10\16\1\260\11\16\20\0\3\16\1\0"+
"\1\16\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\13\16\1\261\6\16\20\0\3\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\5\16\1\262"+
"\14\16\20\0\3\16\1\0\1\16\5\0\2\16\1\0"+
"\2\16\1\115\2\16\10\0\16\16\1\233\3\16\20\0"+
"\3\16\1\0\1\16\5\0\2\16\1\263\2\16\1\115"+
"\2\16\3\0\2\263\3\0\22\16\1\264\17\0\3\16"+
"\1\263\1\16\5\0\2\16\1\0\2\16\1\115\2\16"+
"\10\0\1\265\21\16\20\0\3\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\16\16\1\266"+
"\3\16\20\0\3\16\1\0\1\16\5\0\2\16\1\267"+
"\2\16\1\115\2\16\3\0\2\267\3\0\22\16\20\0"+
"\3\16\1\267\1\16\5\0\2\16\1\0\2\16\1\115"+
"\2\16\10\0\6\16\1\270\13\16\20\0\3\16\1\0"+
"\1\16\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\15\16\1\271\4\16\20\0\3\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\5\16\1\272"+
"\14\16\20\0\3\16\1\0\1\16\5\0\2\16\1\0"+
"\2\16\1\115\2\16\10\0\10\16\1\273\11\16\20\0"+
"\3\16\1\0\1\16\5\0\2\16\1\0\2\16\1\115"+
"\2\16\10\0\5\16\1\274\14\16\20\0\3\16\1\0"+
"\1\16\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\10\16\1\275\11\16\20\0\3\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\5\16\1\276"+
"\14\16\20\0\3\16\1\0\1\16\5\0\2\16\1\0"+
"\2\16\1\115\2\16\10\0\16\16\1\277\3\16\20\0"+
"\3\16\1\0\1\16\5\0\2\16\1\0\2\16\1\115"+
"\2\16\10\0\13\16\1\300\6\16\20\0\3\16\1\0"+
"\1\16\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\3\16\1\301\16\16\20\0\3\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\5\16\1\302"+
"\14\16\20\0\3\16\1\0\1\16\3\0\1\303\74\0"+
"\1\304\72\0\1\305\127\0\1\306\71\0\1\307\36\0"+
"\20\205\1\251\1\310\52\205\25\0\1\311\53\0\2\16"+
"\1\0\2\16\1\115\2\16\10\0\20\16\1\312\1\16"+
"\20\0\3\16\1\0\1\16\5\0\2\16\1\0\2\16"+
"\1\115\1\313\1\16\10\0\5\16\1\314\14\16\20\0"+
"\3\16\1\0\1\16\5\0\2\16\1\0\2\16\1\115"+
"\2\16\10\0\3\16\1\315\16\16\20\0\3\16\1\0"+
"\1\16\7\0\1\263\10\0\2\263\25\0\1\264\22\0"+
"\1\263\6\0\1\316\1\0\1\264\3\0\2\316\3\0"+
"\2\264\3\0\4\316\1\317\15\316\20\0\3\316\1\264"+
"\1\316\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\13\16\1\320\6\16\20\0\3\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\22\16\20\0"+
"\3\16\1\321\1\16\5\0\1\322\1\0\1\267\3\0"+
"\2\322\3\0\2\267\3\0\22\322\20\0\3\322\1\267"+
"\1\322\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\13\16\1\323\6\16\20\0\3\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\6\16\1\324"+
"\13\16\20\0\3\16\1\0\1\16\5\0\2\16\1\0"+
"\2\16\1\115\2\16\10\0\11\16\1\325\10\16\20\0"+
"\3\16\1\0\1\16\5\0\2\16\1\0\2\16\1\115"+
"\2\16\10\0\3\16\1\326\16\16\20\0\3\16\1\0"+
"\1\16\5\0\2\16\1\0\2\16\1\115\2\16\10\0"+
"\15\16\1\327\4\16\20\0\3\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\22\16\20\0"+
"\3\16\1\330\1\16\5\0\2\16\1\0\2\16\1\115"+
"\2\16\10\0\1\331\21\16\20\0\3\16\1\0\1\16"+
"\5\0\2\16\1\0\2\16\1\115\2\16\10\0\10\16"+
"\1\332\11\16\20\0\3\16\1\0\1\16\5\0\2\16"+
"\1\0\2\16\1\115\2\16\10\0\13\16\1\333\6\16"+
"\20\0\3\16\1\0\1\16\3\0\1\334\130\0\1\335"+
"\123\0\1\336\31\0\1\337\52\0\2\16\1\0\2\16"+
"\1\115\1\16\1\340\10\0\22\16\20\0\3\16\1\0"+
"\1\16\5\0\2\16\1\0\2\16\1\115\1\341\1\16"+
"\10\0\22\16\20\0\3\16\1\0\1\16\5\0\2\16"+
"\1\0\2\16\1\115\2\16\10\0\3\16\1\342\16\16"+
"\20\0\3\16\1\0\1\16\5\0\2\316\1\343\2\316"+
"\1\0\1\344\1\316\3\0\2\343\3\0\22\316\20\0"+
"\3\316\1\343\1\316\5\0\2\316\1\343\2\316\1\0"+
"\1\344\1\316\3\0\2\343\3\0\5\316\1\345\14\316"+
"\20\0\3\316\1\343\1\316\5\0\2\16\1\0\2\16"+
"\1\115\1\346\1\16\10\0\22\16\20\0\3\16\1\0"+
"\1\16\40\0\1\347\40\0\2\322\1\0\2\322\1\0"+
"\2\322\10\0\22\322\20\0\3\322\1\0\1\322\5\0"+
"\2\16\1\0\2\16\1\115\1\16\1\350\10\0\22\16"+
"\20\0\3\16\1\0\1\16\5\0\2\16\1\0\2\16"+
"\1\115\2\16\10\0\3\16\1\351\16\16\20\0\3\16"+
"\1\0\1\16\14\0\1\352\64\0\2\16\1\0\2\16"+
"\1\115\2\16\10\0\20\16\1\353\1\16\20\0\3\16"+
"\1\0\1\16\5\0\2\16\1\0\2\16\1\115\2\16"+
"\10\0\10\16\1\354\11\16\20\0\3\16\1\0\1\16"+
"\42\0\1\355\60\0\1\356\51\0\2\16\1\0\2\16"+
"\1\115\2\16\10\0\15\16\1\357\4\16\20\0\3\16"+
"\1\0\1\16\5\0\2\16\1\0\2\16\1\115\1\16"+
"\1\360\10\0\22\16\20\0\3\16\1\0\1\16\5\0"+
"\2\16\1\0\2\16\1\115\2\16\10\0\21\16\1\361"+
"\20\0\3\16\1\0\1\16\7\0\1\343\3\0\1\362"+
"\4\0\2\343\50\0\1\343\6\0\2\316\1\343\2\316"+
"\1\0\1\344\1\363\3\0\2\343\3\0\22\316\20\0"+
"\3\316\1\343\1\316\5\0\2\316\1\343\2\316\1\0"+
"\1\344\1\316\3\0\2\343\3\0\6\316\1\364\13\316"+
"\20\0\3\316\1\343\1\316\5\0\2\16\1\0\2\16"+
"\1\115\2\16\10\0\12\16\1\365\7\16\20\0\3\16"+
"\1\0\1\16\45\0\1\366\33\0\2\16\1\0\2\16"+
"\1\115\2\16\10\0\13\16\1\367\6\16\20\0\3\16"+
"\1\0\1\16\37\0\1\370\41\0\2\16\1\0\2\16"+
"\1\115\2\16\10\0\6\16\1\371\13\16\20\0\3\16"+
"\1\0\1\16\32\0\1\372\71\0\1\373\50\0\2\16"+
"\1\0\2\16\1\115\2\16\10\0\10\16\1\374\11\16"+
"\20\0\3\16\1\0\1\16\5\0\2\16\1\0\2\16"+
"\1\115\2\16\10\0\16\16\1\375\3\16\20\0\3\16"+
"\1\0\1\16\14\0\1\376\64\0\2\316\1\377\2\316"+
"\1\0\1\344\1\316\3\0\2\377\3\0\22\316\20\0"+
"\3\316\1\377\1\316\5\0\2\16\1\0\2\16\1\115"+
"\1\16\1\u0100\10\0\22\16\20\0\3\16\1\0\1\16"+
"\32\0\1\u0101\101\0\1\u0102\40\0\2\16\1\0\2\16"+
"\1\115\2\16\10\0\22\16\20\0\3\16\1\u0103\1\16"+
"\30\0\1\u0104\74\0\1\u0105\47\0\1\316\1\0\1\377"+
"\3\0\1\344\1\316\3\0\2\377\3\0\22\316\20\0"+
"\3\316\1\377\1\316\14\0\1\u0106\151\0\1\u0107\41\0"+
"\1\u0108\76\0\1\335\62\0\1\u0109\133\0\1\u010a\26\0"+
"\1\u010b\113\0\1\u010c\61\0\1\u010d\77\0\1\u010e\73\0"+
"\1\u010f\66\0\1\u0110\54\0\1\u0111\113\0\1\u0112\54\0"+
"\1\u0113\73\0\1\u0114\111\0\1\u0115\133\0\1\u0116\41\0"+
"\1\u0117\125\0\1\u0118\35\0\1\u0119\74\0\1\u011a\70\0"+
"\1\u011b\100\0\1\u011c\64\0\1\u011d\133\0\1\u011e\16\0"+
"\1\u011f\113\0\1\u0120\75\0\1\u0121\100\0\1\u0122\45\0"+
"\1\u0123\151\0\1\u0124\1\0\20\u0121\1\u0125\1\u0126\52\u0121"+
"\32\0\1\u0127\76\0\1\u0128\57\0\1\u0126\102\0\1\u0129"+
"\133\0\1\u012a\75\0\1\u012b\43\0\1\u012c\71\0\1\u012d"+
"\65\0\1\u012e\100\0\1\u012f\64\0\1\u0130\135\0\1\u0131"+
"\41\0\1\u0132\72\0\1\u0133\34\0";
private static int [] zzUnpackTrans() {
int [] result = new int[13680];
int offset = 0;
offset = zzUnpackTrans(ZZ_TRANS_PACKED_0, offset, result);
return result;
}
private static int zzUnpackTrans(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int count = packed.charAt(i++);
int value = packed.charAt(i++);
value--;
do result[j++] = value; while (--count > 0);
}
return j;
}
/* error codes */
private static final int ZZ_UNKNOWN_ERROR = 0;
private static final int ZZ_NO_MATCH = 1;
private static final int ZZ_PUSHBACK_2BIG = 2;
private static final char[] EMPTY_BUFFER = new char[0];
private static final int YYEOF = -1;
private static java.io.Reader zzReader = null; // Fake
/** the number of characters up to the start of the matched text */
private int yychar;
/* error messages for the codes above */
private static final String ZZ_ERROR_MSG[] = {
"Unkown internal scanner error",
"Error: could not match input",
"Error: pushback value was too large"
};
/**
* ZZ_ATTRIBUTE[aState] contains the attributes of state <code>aState</code>
*/
private static final int [] ZZ_ATTRIBUTE = zzUnpackAttribute();
private static final String ZZ_ATTRIBUTE_PACKED_0 =
"\6\0\1\1\1\0\1\11\10\1\1\11\2\1\3\11"+
"\20\1\1\11\2\1\10\11\1\1\3\11\11\1\2\11"+
"\5\1\1\0\6\11\7\1\2\0\2\11\26\1\6\11"+
"\4\1\1\0\1\1\1\0\1\1\4\0\1\1\1\0"+
"\2\1\1\0\2\1\1\0\32\1\2\0\1\11\3\0"+
"\1\1\1\11\1\1\2\0\1\11\4\1\2\0\2\1"+
"\1\0\13\1\1\0\2\11\2\0\1\11\1\0\4\1"+
"\2\0\1\1\1\0\6\1\1\0\3\1\2\11\2\0"+
"\3\1\3\0\1\1\1\0\2\1\1\0\2\1\2\0"+
"\3\1\1\0\1\1\1\0\1\1\1\0\1\1\1\0"+
"\1\1\2\0\2\1\1\11\1\0\1\1\3\0\1\1"+
"\1\0\1\1\15\0\1\1\16\0\1\11\1\0\1\1"+
"\1\11\10\0\1\11\3\0\1\11";
private static int [] zzUnpackAttribute() {
int [] result = new int[307];
int offset = 0;
offset = zzUnpackAttribute(ZZ_ATTRIBUTE_PACKED_0, offset, result);
return result;
}
private static int zzUnpackAttribute(String packed, int offset, int [] result) {
int i = 0; /* index in packed string */
int j = offset; /* index in unpacked array */
int l = packed.length();
while (i < l) {
int count = packed.charAt(i++);
int value = packed.charAt(i++);
do result[j++] = value; while (--count > 0);
}
return j;
}
/** the current state of the DFA */
private int zzState;
/** the current lexical state */
private int zzLexicalState = YYINITIAL;
/** this buffer contains the current text to be matched and is
the source of the yytext() string */
private CharSequence zzBuffer = "";
/** this buffer may contains the current text array to be matched when it is cheap to acquire it */
private char[] zzBufferArray;
/** the textposition at the last accepting state */
private int zzMarkedPos;
/** the textposition at the last state to be included in yytext */
private int zzPushbackPos;
/** the current text position in the buffer */
private int zzCurrentPos;
/** startRead marks the beginning of the yytext() string in the buffer */
private int zzStartRead;
/** endRead marks the last character in the buffer, that has been read
from input */
private int zzEndRead;
/**
* zzAtBOL == true <=> the scanner is currently at the beginning of a line
*/
private boolean zzAtBOL = true;
/** zzAtEOF == true <=> the scanner is at the EOF */
private boolean zzAtEOF;
/** denotes if the user-EOF-code has already been executed */
private boolean zzEOFDone;
/* user code: */
CfscriptLexerConfiguration myCurrentConfiguration = new CfscriptLexerConfiguration();
private Project myProject;
public class CfscriptLexerConfiguration {
public int mySharpCounter = 0;
public int myCommentCounter = 0;
public Stack<Integer> myReturnStack = new Stack<Integer>();
public CfscriptLexerConfiguration() {}
public CfscriptLexerConfiguration(int sharpCounter, int commentCounter,
Stack<Integer> returnStack) {
mySharpCounter = sharpCounter;
myCommentCounter = commentCounter;
myReturnStack = returnStack;
}
public void reset() {
mySharpCounter = 0;
myCommentCounter = 0;
myReturnStack.clear();
}
}
public _CfscriptLexer8(Project project) {
this((java.io.Reader)null);
myProject = project;
}
private IElementType startComment(int stateToReturnTo) {
myCurrentConfiguration.myCommentCounter = 0;
myCurrentConfiguration.myReturnStack.push(stateToReturnTo);
myCurrentConfiguration.myCommentCounter++;
yybegin(COMMENT);
return CfmlTokenTypes.COMMENT;
}
_CfscriptLexer8(java.io.Reader in) {
this.zzReader = in;
}
/**
* Creates a new scanner.
* There is also java.io.Reader version of this constructor.
*
* @param in the java.io.Inputstream to read input from.
*/
_CfscriptLexer8(java.io.InputStream in) {
this(new java.io.InputStreamReader(in));
}
/**
* Unpacks the compressed character translation table.
*
* @param packed the packed character translation table
* @return the unpacked character translation table
*/
private static char [] zzUnpackCMap(String packed) {
char [] map = new char[0x10000];
int i = 0; /* index in packed string */
int j = 0; /* index in unpacked array */
while (i < 1810) {
int count = packed.charAt(i++);
char value = packed.charAt(i++);
do map[j++] = value; while (--count > 0);
}
return map;
}
public final int getTokenStart(){
return zzStartRead;
}
public final int getTokenEnd(){
return getTokenStart() + yylength();
}
public void reset(CharSequence buffer, int start, int end,int initialState){
zzBuffer = buffer;
zzBufferArray = com.intellij.util.text.CharArrayUtil.fromSequenceWithoutCopying(buffer);
yychar = zzCurrentPos = zzMarkedPos = zzStartRead = start;
zzPushbackPos = 0;
zzAtEOF = false;
zzAtBOL = true;
zzEndRead = end;
myCurrentConfiguration.reset();
yybegin(initialState);
}
/**
* Refills the input buffer.
*
* @return <code>false</code>, iff there was new input.
*
* @exception java.io.IOException if any I/O-Error occurs
*/
private boolean zzRefill() throws java.io.IOException {
return true;
}
/**
* Returns the current lexical state.
*/
public final int yystate() {
return zzLexicalState;
}
/**
* Enters a new lexical state
*
* @param newState the new lexical state
*/
public final void yybegin(int newState) {
zzLexicalState = newState;
}
/**
* Returns the text matched by the current regular expression.
*/
public final CharSequence yytext() {
return zzBuffer.subSequence(zzStartRead, zzMarkedPos);
}
/**
* Returns the character at position <tt>pos</tt> from the
* matched text.
*
* It is equivalent to yytext().charAt(pos), but faster
*
* @param pos the position of the character to fetch.
* A value from 0 to yylength()-1.
*
* @return the character at position pos
*/
public final char yycharat(int pos) {
return zzBufferArray != null ? zzBufferArray[zzStartRead+pos]:zzBuffer.charAt(zzStartRead+pos);
}
/**
* Returns the length of the matched text region.
*/
public final int yylength() {
return zzMarkedPos-zzStartRead;
}
/**
* Reports an error that occured while scanning.
*
* In a wellformed scanner (no or only correct usage of
* yypushback(int) and a match-all fallback rule) this method
* will only be called with things that "Can't Possibly Happen".
* If this method is called, something is seriously wrong
* (e.g. a JFlex bug producing a faulty scanner etc.).
*
* Usual syntax/scanner level error handling should be done
* in error fallback rules.
*
* @param errorCode the code of the errormessage to display
*/
private void zzScanError(int errorCode) {
String message;
try {
message = ZZ_ERROR_MSG[errorCode];
}
catch (ArrayIndexOutOfBoundsException e) {
message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR];
}
throw new Error(message);
}
/**
* Pushes the specified amount of characters back into the input stream.
*
* They will be read again by then next call of the scanning method
*
* @param number the number of characters to be read again.
* This number must not be greater than yylength()!
*/
public void yypushback(int number) {
if ( number > yylength() )
zzScanError(ZZ_PUSHBACK_2BIG);
zzMarkedPos -= number;
}
/**
* Contains user EOF-code, which will be executed exactly once,
* when the end of file is reached
*/
private void zzDoEOF() {
if (!zzEOFDone) {
zzEOFDone = true;
}
}
/**
* Resumes scanning until the next regular expression is matched,
* the end of input is encountered or an I/O-Error occurs.
*
* @return the next token
* @exception java.io.IOException if any I/O-Error occurs
*/
public IElementType advance() throws java.io.IOException {
int zzInput;
int zzAction;
// cached fields:
int zzCurrentPosL;
int zzMarkedPosL;
int zzEndReadL = zzEndRead;
CharSequence zzBufferL = zzBuffer;
char[] zzBufferArrayL = zzBufferArray;
char [] zzCMapL = ZZ_CMAP;
int [] zzTransL = ZZ_TRANS;
int [] zzRowMapL = ZZ_ROWMAP;
int [] zzAttrL = ZZ_ATTRIBUTE;
while (true) {
zzMarkedPosL = zzMarkedPos;
zzAction = -1;
zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL;
zzState = ZZ_LEXSTATE[zzLexicalState];
zzForAction: {
while (true) {
if (zzCurrentPosL < zzEndReadL)
zzInput = zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++]:zzBufferL.charAt(zzCurrentPosL++);
else if (zzAtEOF) {
zzInput = YYEOF;
break zzForAction;
}
else {
// store back cached positions
zzCurrentPos = zzCurrentPosL;
zzMarkedPos = zzMarkedPosL;
boolean eof = zzRefill();
// get translated positions and possibly new buffer
zzCurrentPosL = zzCurrentPos;
zzMarkedPosL = zzMarkedPos;
zzBufferL = zzBuffer;
zzEndReadL = zzEndRead;
if (eof) {
zzInput = YYEOF;
break zzForAction;
}
else {
zzInput = zzBufferArrayL != null ? zzBufferArrayL[zzCurrentPosL++]:zzBufferL.charAt(zzCurrentPosL++);
}
}
int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ];
if (zzNext == -1) break zzForAction;
zzState = zzNext;
int zzAttributes = zzAttrL[zzState];
if ( (zzAttributes & 1) == 1 ) {
zzAction = zzState;
zzMarkedPosL = zzCurrentPosL;
if ( (zzAttributes & 8) == 8 ) break zzForAction;
}
}
}
// store back cached position
zzMarkedPos = zzMarkedPosL;
switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) {
case 5:
{ return CfscriptTokenTypes.MINUS;
}
case 96: break;
case 86:
{ return CfscriptTokenTypes.RETURN_KEYWORD;
}
case 97: break;
case 64:
{ return CfscriptTokenTypes.NOT_L;
}
case 98: break;
case 4:
{ return CfscriptTokenTypes.NOT;
}
case 99: break;
case 84:
{ return CfscriptTokenTypes.WHILE_KEYWORD;
}
case 100: break;
case 22:
{ return CfscriptTokenTypes.R_SQUAREBRACKET;
}
case 101: break;
case 3:
{ return CfscriptTokenTypes.LT;
}
case 102: break;
case 92:
{ return CfscriptTokenTypes.CONTAINS_L;
}
case 103: break;
case 93:
{ return CfscriptTokenTypes.FUNCTION_KEYWORD;
}
case 104: break;
case 89:
// lookahead expression with fixed base length
zzMarkedPos = zzStartRead + 3;
{ return CfscriptTokenTypes.FOR_IN_KEYWORD;
}
case 105: break;
case 21:
{ return CfscriptTokenTypes.L_SQUAREBRACKET;
}
case 106: break;
case 15:
{ return CfscriptTokenTypes.MUL;
}
case 107: break;
case 74:
{ return CfscriptTokenTypes.COMMENT;
}
case 108: break;
case 73:
// lookahead expression with fixed lookahead length
yypushback(2);
{ return CfscriptTokenTypes.COMMENT;
}
case 109: break;
case 61:
// lookahead expression with fixed lookahead length
yypushback(1);
{ return CfmlTokenTypes.STRING_TEXT;
}
case 110: break;
case 65:
// lookahead expression with fixed lookahead length
yypushback(1);
{ return CfscriptTokenTypes.COMMENT;
}
case 111: break;
case 41:
{ return CfscriptTokenTypes.GTE;
}
case 112: break;
case 45:
{ return CfscriptTokenTypes.IF_KEYWORD;
}
case 113: break;
case 60:
{ return CfscriptTokenTypes.GT_L;
}
case 114: break;
case 69:
{ return CfscriptTokenTypes.NOT_XOR_L;
}
case 115: break;
case 36:
{ myCurrentConfiguration.myReturnStack.push(SINGLE_QUOTED_STRING);
myCurrentConfiguration.mySharpCounter++;
yybegin(YYINITIAL);
return CfscriptTokenTypes.OPENSHARP;
}
case 116: break;
case 90:
{ return CfscriptTokenTypes.DEFAULT_KEYWORD;
}
case 117: break;
case 82:
{ return CfscriptTokenTypes.ABORT_KEYWORD;
}
case 118: break;
case 50:
{ return CfscriptTokenTypes.LT_L;
}
case 119: break;
case 43:
{ return CfscriptTokenTypes.DOUBLE;
}
case 120: break;
case 72:
{ yybegin(myCurrentConfiguration.myReturnStack.pop()); return CfmlTokenTypes.COMMENT;
}
case 121: break;
case 56:
{ return CfscriptTokenTypes.ADD_EQ;
}
case 122: break;
case 6:
{ return CfscriptTokenTypes.GT;
}
case 123: break;
case 48:
{ return CfscriptTokenTypes.MUL_EQ;
}
case 124: break;
case 40:
{ return CfscriptTokenTypes.MINUS_EQ;
}
case 125: break;
case 75:
{ return CfscriptTokenTypes.CASE_KEYWORD;
}
case 126: break;
case 7:
{ return CfscriptTokenTypes.IDENTIFIER;
}
case 127: break;
case 37:
{ return CfscriptTokenTypes.LTE;
}
case 128: break;
case 54:
{ return CfscriptTokenTypes.CONCAT_EQ;
}
case 129: break;
case 32:
{ yybegin(YYINITIAL); return CfmlTokenTypes.DOUBLE_QUOTE_CLOSER;
}
case 130: break;
case 10:
{ return CfscriptTokenTypes.POINT;
}
case 131: break;
case 78:
// lookahead expression with fixed base length
zzMarkedPos = zzStartRead + 1;
{ myCurrentConfiguration.myCommentCounter--;
if (myCurrentConfiguration.myCommentCounter == 0) {
yybegin(COMMENTEND);
}
return CfmlTokenTypes.COMMENT;
}
case 132: break;
case 58:
{ return CfscriptTokenTypes.OR;
}
case 133: break;
case 66:
{ return CfscriptTokenTypes.FOR_KEYWORD;
}
case 134: break;
case 9:
{ return CfscriptTokenTypes.INTEGER;
}
case 135: break;
case 80:
{ return CfscriptTokenTypes.CATCH_KEYWORD;
}
case 136: break;
case 53:
{ return CfscriptTokenTypes.AND;
}
case 137: break;
case 79:
{ return startComment(YYINITIAL);
}
case 138: break;
case 46:
{ return CfscriptTokenTypes.EQ_L;
}
case 139: break;
case 77:
{ return CfscriptTokenTypes.BOOLEAN;
}
case 140: break;
case 67:
{ return CfscriptTokenTypes.MOD_L;
}
case 141: break;
case 55:
{ return CfscriptTokenTypes.EQEQ;
}
case 142: break;
case 87:
{ return CfscriptTokenTypes.SWITCH_KEYWORD;
}
case 143: break;
case 19:
{ return CfscriptTokenTypes.COMMA;
}
case 144: break;
case 16:
{ return CfscriptTokenTypes.L_BRACKET;
}
case 145: break;
case 85:
// lookahead expression with fixed base length
zzMarkedPos = zzStartRead + 1;
{ myCurrentConfiguration.myCommentCounter++; return CfmlTokenTypes.COMMENT;
}
case 146: break;
case 47:
{ return CfscriptTokenTypes.DEV_EQ;
}
case 147: break;
case 70:
{ return CfscriptTokenTypes.TRY_KEYWORD;
}
case 148: break;
case 33:
{ myCurrentConfiguration.myReturnStack.push(DOUBLE_QUOTED_STRING);
myCurrentConfiguration.mySharpCounter++;
yybegin(YYINITIAL);
return CfscriptTokenTypes.OPENSHARP;
}
case 149: break;
case 62:
{ return CfscriptTokenTypes.IMP_L;
}
case 150: break;
case 25:
{ return CfscriptTokenTypes.SEMICOLON;
}
case 151: break;
case 71:
{ return CfscriptTokenTypes.XOR_L;
}
case 152: break;
case 8:
{ return CfscriptTokenTypes.WHITE_SPACE;
}
case 153: break;
case 81:
// lookahead expression with fixed base length
zzMarkedPos = zzStartRead + 3;
{ return CfscriptTokenTypes.VAR_KEYWORD;
}
case 154: break;
case 51:
{ return CfscriptTokenTypes.OR_L;
}
case 155: break;
case 17:
{ return CfscriptTokenTypes.CONCAT;
}
case 156: break;
case 30:
{ return CfscriptTokenTypes.POW;
}
case 157: break;
case 28:
{ return CfscriptTokenTypes.MOD;
}
case 158: break;
case 44:
{ return CfscriptTokenTypes.IN_L;
}
case 159: break;
case 18:
{ return CfmlTokenTypes.ASSIGN;
}
case 160: break;
case 95:
{ return CfmlTokenTypes.VAR_ANNOTATION;
}
case 161: break;
case 27:
{ return CfscriptTokenTypes.ADD;
}
case 162: break;
case 42:
// lookahead expression with fixed lookahead length
yypushback(1);
{ if (ArrayUtil.find(CfmlUtil.getVariableScopes(myProject), yytext().toString().toLowerCase()) != -1) {
return CfscriptTokenTypes.SCOPE_KEYWORD;
} else {
return CfscriptTokenTypes.IDENTIFIER;
}
}
case 163: break;
case 76:
{ return CfscriptTokenTypes.ELSE_KEYWORD;
}
case 164: break;
case 34:
{ yybegin(SINGLEQUOTE_CLOSER); return CfmlTokenTypes.STRING_TEXT;
}
case 165: break;
case 12:
{ yybegin(SINGLE_QUOTED_STRING);
return CfmlTokenTypes.SINGLE_QUOTE;
}
case 166: break;
case 23:
{ return CfscriptTokenTypes.L_CURLYBRACKET;
}
case 167: break;
case 29:
{ return CfscriptTokenTypes.INT_DEV;
}
case 168: break;
case 2:
{ return CfscriptTokenTypes.BAD_CHARACTER;
}
case 169: break;
case 20:
{ return CfscriptTokenTypes.R_BRACKET;
}
case 170: break;
case 57:
{ return CfscriptTokenTypes.INC;
}
case 171: break;
case 1:
{ return CfmlTokenTypes.COMMENT;
}
case 172: break;
case 94:
{ return CfscriptTokenTypes.NOT_CONTAINS_L;
}
case 173: break;
case 68:
{ return CfscriptTokenTypes.AND_L;
}
case 174: break;
case 59:
{ return CfscriptTokenTypes.GE_L;
}
case 175: break;
case 14:
{ return CfscriptTokenTypes.DEV;
}
case 176: break;
case 24:
{ return CfscriptTokenTypes.R_CURLYBRACKET;
}
case 177: break;
case 83:
{ return CfscriptTokenTypes.BREAK_KEYWORD;
}
case 178: break;
case 11:
{ yybegin(DOUBLE_QUOTED_STRING);
return CfmlTokenTypes.DOUBLE_QUOTE;
}
case 179: break;
case 49:
{ return CfscriptTokenTypes.LE_L;
}
case 180: break;
case 35:
{ yybegin(YYINITIAL); return CfmlTokenTypes.SINGLE_QUOTE_CLOSER;
}
case 181: break;
case 91:
{ return CfscriptTokenTypes.CONTINUE_KEYWORD;
}
case 182: break;
case 63:
{ return CfscriptTokenTypes.NEQ_L;
}
case 183: break;
case 38:
{ return CfscriptTokenTypes.NEQ;
}
case 184: break;
case 39:
{ return CfscriptTokenTypes.DEC;
}
case 185: break;
case 52:
{ return CfscriptTokenTypes.DO_KEYWORD;
}
case 186: break;
case 88:
{ return CfscriptTokenTypes.FINALLY_KEYWORD;
}
case 187: break;
case 31:
{ yybegin(DOUBLEQUOTE_CLOSER); return CfmlTokenTypes.STRING_TEXT;
}
case 188: break;
case 26:
{ return CfscriptTokenTypes.DOTDOT;
}
case 189: break;
case 13:
{ if (myCurrentConfiguration.mySharpCounter == 0) {
myCurrentConfiguration.myReturnStack.push(YYINITIAL);
myCurrentConfiguration.mySharpCounter = 1;
return CfscriptTokenTypes.OPENSHARP;
}
myCurrentConfiguration.mySharpCounter--;
yybegin(myCurrentConfiguration.myReturnStack.pop());
return CfscriptTokenTypes.CLOSESHARP;
}
case 190: break;
default:
if (zzInput == YYEOF && zzStartRead == zzCurrentPos) {
zzAtEOF = true;
zzDoEOF();
return null;
}
else {
zzScanError(ZZ_NO_MATCH);
}
}
}
}
}