/* The following code was generated by JFlex 1.7.0-SNAPSHOT tweaked for IntelliJ platform */
/* Generated code. Do not modify it. */
package com.intellij.lang.ognl.lexer;
import com.intellij.lexer.FlexLexer;
import com.intellij.psi.tree.IElementType;
import java.util.*;
import java.lang.reflect.Field;
import org.jetbrains.annotations.NotNull;
import com.intellij.psi.TokenType;
import com.intellij.lang.ognl.OgnlTypes;
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.7.0-SNAPSHOT
* from the specification file <tt>_OgnlLexer.flex</tt>
*/
public class _OgnlLexer implements FlexLexer {
/** This character denotes the end of file */
public static final int YYEOF = -1;
/** initial size of the lookahead buffer */
private static final int ZZ_BUFFERSIZE = 16384;
/** lexical states */
public static final int YYINITIAL = 0;
public static final int NESTED_BRACE = 2;
/**
* 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
};
/**
* Translates characters to character classes
* Chosen bits are [12, 7, 2]
* Total runtime size is 22344 bytes
*/
public static int ZZ_CMAP(int ch) {
return ZZ_CMAP_A[(ZZ_CMAP_Y[(ZZ_CMAP_Z[ch>>9]<<7)|((ch>>2)&0x7f)]<<2)|(ch&0x3)];
}
/* The ZZ_CMAP_Z table has 2176 entries */
static final char ZZ_CMAP_Z[] = zzUnpackCMap(
"\1\0\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15\1\16\1\17\1"+
"\20\5\21\1\22\1\23\1\24\1\21\14\25\1\26\50\25\1\27\2\25\1\30\1\31\1\32\1\33"+
"\25\25\1\34\20\21\1\35\1\36\1\37\1\40\1\41\1\42\1\43\1\44\1\45\1\46\1\47\1"+
"\21\1\50\1\51\1\52\1\53\1\54\1\55\2\21\1\25\1\56\1\57\5\21\2\25\1\60\7\21"+
"\1\61\1\62\20\21\1\25\1\63\1\21\1\64\40\21\1\65\5\21\1\66\11\21\1\67\1\70"+
"\1\71\1\72\10\21\1\73\2\21\1\74\10\21\123\25\1\75\7\25\1\76\1\77\12\61\1\100"+
"\24\21\1\25\1\101\u0582\21\1\102\u017f\21");
/* The ZZ_CMAP_Y table has 8576 entries */
static final char ZZ_CMAP_Y[] = zzUnpackCMap(
"\2\0\1\1\1\2\3\0\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15\1\16\3"+
"\17\1\20\1\21\1\22\1\23\1\24\1\25\1\26\1\27\1\30\1\31\10\0\1\32\1\33\1\34"+
"\1\35\1\3\1\36\1\34\1\3\5\17\1\37\7\17\1\37\162\17\1\40\1\41\2\17\1\40\3\3"+
"\1\17\1\42\1\3\1\43\4\3\34\0\1\17\1\44\1\41\1\45\1\3\1\34\1\37\1\44\4\17\1"+
"\46\24\17\1\46\42\17\1\47\1\0\1\41\47\17\2\50\1\51\10\17\1\37\1\36\1\3\1\51"+
"\11\17\1\3\1\52\1\53\12\0\1\54\1\55\1\54\2\3\6\17\1\37\1\3\1\37\3\3\1\0\1"+
"\56\1\52\1\3\2\0\1\57\1\3\12\17\1\60\7\0\1\33\1\41\1\61\30\17\1\62\1\0\1\54"+
"\1\0\1\63\1\64\1\65\2\0\1\65\1\66\3\3\1\52\1\67\7\17\6\0\1\57\1\51\25\17\1"+
"\70\2\0\1\71\3\3\2\0\1\65\7\17\1\60\2\0\1\40\1\34\1\3\5\17\1\70\1\72\2\0\2"+
"\73\1\33\4\3\6\17\1\73\21\3\1\74\2\17\1\75\1\50\1\76\13\3\6\0\1\57\1\0\15"+
"\17\1\70\1\77\4\0\1\73\1\0\2\17\1\70\1\32\2\0\1\51\1\17\1\100\1\17\1\101\1"+
"\51\1\17\2\66\5\17\1\44\1\17\1\43\1\41\1\40\1\77\1\0\2\102\1\103\1\3\1\52"+
"\1\3\1\46\1\70\1\32\2\0\1\70\1\3\1\52\1\3\1\53\1\51\1\37\1\104\1\66\5\17\1"+
"\44\1\17\1\44\1\105\1\40\1\64\1\57\1\52\1\102\1\33\1\35\1\3\1\51\1\43\1\3"+
"\1\32\2\0\1\65\1\106\2\3\1\53\1\51\1\17\2\46\5\17\1\44\1\17\1\44\1\51\1\40"+
"\1\77\1\0\2\54\1\33\1\42\3\3\1\70\1\32\2\0\1\35\1\3\1\107\1\3\1\53\1\51\1"+
"\17\2\66\5\17\1\44\1\17\1\44\1\51\1\40\1\77\1\0\2\102\1\33\1\3\1\32\1\3\1"+
"\46\1\70\1\32\2\0\1\36\3\3\1\110\1\51\1\37\1\41\1\44\1\40\1\105\1\44\1\104"+
"\1\42\1\37\1\41\2\17\1\40\1\32\1\57\1\32\1\64\1\33\1\42\1\52\3\3\1\32\2\0"+
"\2\3\1\35\1\3\1\53\1\51\1\17\2\44\5\17\1\44\2\17\1\100\1\40\1\62\1\0\2\64"+
"\1\33\1\3\1\55\1\111\1\3\1\70\1\32\2\0\4\3\1\32\1\51\1\17\2\44\5\17\1\44\2"+
"\17\1\51\1\40\1\77\1\0\2\64\1\33\1\3\1\55\1\3\1\34\1\70\1\32\2\0\1\105\3\3"+
"\1\32\1\51\1\17\2\44\11\17\1\37\1\62\1\0\2\64\1\103\1\3\1\52\1\3\1\112\1\70"+
"\1\32\2\0\2\3\1\41\1\17\1\32\1\51\3\17\1\37\1\41\5\17\1\46\2\17\1\36\1\17"+
"\1\37\1\113\1\52\1\0\1\114\2\0\4\3\1\32\3\3\1\51\13\17\1\67\1\0\1\57\1\52"+
"\1\17\1\60\1\0\1\57\2\0\1\33\11\3\1\105\1\66\1\43\1\36\1\3\1\17\1\51\1\17"+
"\1\51\1\115\1\41\1\51\1\67\1\0\1\54\1\71\1\17\1\43\1\0\1\33\2\0\1\33\1\17"+
"\10\3\1\42\5\3\1\33\1\3\2\0\1\33\2\3\1\116\1\35\1\32\2\17\1\51\10\17\1\42"+
"\1\53\4\0\1\64\1\17\1\73\2\0\1\53\10\0\1\56\1\3\1\113\16\3\12\17\1\60\4\0"+
"\1\117\2\0\1\33\1\3\1\17\1\70\1\65\1\70\1\77\1\63\1\0\1\65\1\73\1\61\2\17"+
"\1\70\2\0\1\72\3\0\1\33\11\17\1\46\1\3\1\36\12\17\1\37\123\17\1\44\1\40\1"+
"\17\1\37\1\44\1\40\12\17\1\44\1\40\10\17\1\44\1\40\1\17\1\37\1\44\1\40\3\17"+
"\1\37\16\17\1\44\1\40\20\17\1\37\1\53\10\3\4\17\4\3\25\17\1\120\1\50\1\121"+
"\1\51\232\17\1\66\4\17\1\51\5\17\1\37\1\3\22\17\1\37\1\32\1\122\1\50\1\76"+
"\1\3\3\17\1\44\1\70\1\56\2\3\4\17\1\70\1\56\2\3\4\17\1\70\3\3\3\17\1\44\1"+
"\123\3\3\15\17\10\0\1\104\1\52\1\106\2\0\1\33\7\3\1\52\1\33\2\0\1\33\1\3\26"+
"\17\2\3\12\17\1\124\1\3\21\17\1\40\2\3\7\17\1\125\3\0\1\3\3\0\2\3\1\32\2\0"+
"\7\17\1\40\1\17\1\42\2\3\13\17\1\3\6\17\1\40\1\3\2\0\1\33\11\3\5\17\1\60\1"+
"\0\1\3\15\17\1\73\1\0\1\57\7\0\1\102\2\0\1\33\1\3\2\0\1\33\2\3\1\104\26\3"+
"\1\0\1\61\13\17\4\0\1\61\1\17\1\3\2\0\1\33\3\3\1\52\2\0\3\3\1\117\7\17\1\73"+
"\2\0\1\65\2\0\1\65\12\17\1\70\3\0\3\3\11\17\5\0\2\3\2\0\1\33\1\51\2\0\1\65"+
"\10\17\1\40\24\3\1\57\5\0\1\61\1\67\1\70\1\126\2\3\60\17\11\0\1\57\5\3\1\0"+
"\105\17\1\40\1\17\1\40\11\17\1\40\1\17\1\40\2\17\2\115\7\17\1\40\15\17\1\44"+
"\1\17\1\43\1\41\1\44\1\17\1\42\1\17\1\41\1\17\1\3\3\17\1\42\1\41\1\44\1\17"+
"\1\42\2\3\1\52\1\0\6\3\1\32\1\57\3\3\1\52\1\56\4\3\1\56\2\3\1\0\1\56\1\32"+
"\1\0\1\36\2\3\1\104\4\3\3\17\1\42\6\0\1\57\5\3\3\0\1\56\1\35\1\53\2\0\1\56"+
"\3\3\1\34\1\104\1\41\2\17\1\36\1\51\1\40\1\3\1\43\1\44\1\46\2\17\1\40\1\17"+
"\1\3\1\51\1\40\1\34\4\3\10\0\1\117\1\73\1\56\235\3\13\17\1\37\13\17\1\37\41"+
"\17\1\42\1\104\1\60\1\65\3\3\11\17\1\46\1\3\1\36\16\17\1\3\1\104\3\3\1\52"+
"\5\17\1\37\2\3\1\17\1\37\1\17\1\37\1\17\1\37\1\17\1\37\1\17\1\37\1\17\1\37"+
"\1\17\1\37\1\17\1\37\10\0\13\3\1\104\165\3\1\127\6\3\1\53\3\0\1\51\1\40\1"+
"\117\1\42\1\51\24\17\1\37\1\55\2\51\25\17\1\37\1\17\1\3\1\51\11\17\1\40\1"+
"\51\26\17\1\37\4\3\6\17\1\37\15\3\361\17\1\40\22\3\163\17\1\75\1\50\1\121"+
"\12\3\43\17\1\42\20\3\13\17\1\40\103\17\1\42\4\17\2\0\1\65\5\3\13\17\1\60"+
"\1\3\2\0\1\130\6\17\1\50\1\131\21\17\1\70\2\0\1\33\10\3\1\104\2\17\1\41\31"+
"\17\1\66\1\132\1\17\3\50\2\17\1\132\1\121\2\50\17\3\1\112\2\17\2\133\1\60"+
"\5\17\1\60\1\0\4\3\1\56\1\3\15\17\3\3\1\65\14\17\4\0\1\56\2\3\2\0\1\33\1\3"+
"\4\0\1\65\1\17\1\104\1\107\2\0\1\65\6\17\1\70\1\0\1\33\5\17\1\60\3\0\3\3\7"+
"\17\1\42\1\0\13\17\1\60\3\0\1\56\2\3\1\104\2\0\1\33\1\3\1\50\1\134\2\50\2"+
"\3\1\135\1\136\12\17\1\73\2\0\1\57\2\3\1\60\2\17\1\33\2\0\1\33\1\3\5\17\1"+
"\37\1\137\1\135\14\17\1\77\1\63\1\61\1\70\1\124\5\3\1\104\1\40\2\17\1\60\1"+
"\0\1\41\1\140\2\3\1\51\1\37\1\51\1\37\1\51\1\37\2\3\1\17\1\37\1\17\1\37\12"+
"\50\1\136\2\50\1\121\2\3\24\50\10\17\1\60\1\0\1\57\1\33\2\0\1\33\1\3\151\17"+
"\3\3\5\17\1\37\1\104\14\17\101\3\133\17\1\40\32\17\1\40\11\3\1\17\1\37\2\3"+
"\1\104\1\17\1\3\1\141\2\17\1\44\2\17\1\37\1\17\1\43\1\46\1\44\32\17\1\40\7"+
"\3\1\104\132\17\1\40\4\3\20\17\1\41\15\17\12\3\3\17\1\56\4\0\4\3\1\0\1\57"+
"\2\3\1\52\1\56\5\3\1\53\6\3\1\35\1\3\1\17\1\44\41\17\1\142\1\3\1\56\2\3\2"+
"\0\1\33\1\3\1\51\5\17\1\37\1\52\1\51\5\17\1\37\2\3\1\41\25\17\1\37\1\41\1"+
"\17\1\41\1\17\1\41\1\17\1\41\1\42\1\33\1\55\4\3\1\53\1\3\3\17\1\51\5\17\1"+
"\37\4\17\1\37\1\46\3\17\1\40\3\17\1\40\10\3\36\17\1\37\21\3\15\0\1\56\41\3"+
"\1\35\40\3\7\17\1\42\14\17\1\42\13\3\7\17\1\132\4\3\4\17\1\67\1\17\1\143\1"+
"\3\11\50\1\121\2\3\7\17\1\40\11\17\1\3\2\17\1\53\1\33\12\3\47\17\1\40\2\0"+
"\1\33\25\3\12\50\2\3\15\50\47\3\115\50\1\136\2\3\5\50\1\121\2\3\2\50\46\3"+
"\1\17\1\40\1\44\12\17\1\46\1\42\1\66\5\17\1\40\2\3\5\50\1\136\2\3\7\50\1\136"+
"\20\3\4\50\1\136\1\121\2\3\5\17\1\40\2\3\6\17\1\40\21\3\16\17\1\3\1\41\20"+
"\3\1\73\1\55\1\3\1\0\1\17\2\51\6\17\1\3\1\57\1\52\10\3\7\17\1\42\7\50\1\76"+
"\10\3\2\50\1\144\6\50\1\76\6\3\15\17\1\40\2\3\5\17\1\40\2\3\4\17\1\37\3\3"+
"\4\50\1\121\33\3\22\17\1\42\15\3\14\50\1\136\3\3\14\50\1\136\103\3\1\117\15"+
"\17\3\0\1\57\7\3\1\32\2\0\4\3\1\117\13\17\2\0\1\57\1\35\4\3\6\17\1\42\1\3"+
"\2\0\1\33\1\3\1\117\10\17\1\60\3\0\1\64\2\0\4\3\10\50\1\136\1\145\2\3\1\117"+
"\13\17\1\60\3\0\1\61\1\42\2\3\2\0\1\146\1\76\10\3\4\50\1\147\6\50\25\3\1\50"+
"\1\136\1\134\1\147\3\50\1\147\2\50\1\76\1\3\13\50\1\136\11\3\1\144\1\50\2"+
"\150\5\50\1\134\1\50\1\134\1\144\1\121\1\107\4\3\1\76\2\3\1\144\1\121\107"+
"\3\14\50\5\3\1\147\56\3\13\50\1\136\12\3\1\50\11\3\14\50\5\3\1\76\16\3\12"+
"\17\1\60\3\0\2\3\2\0\1\33\15\3\6\50\1\121\141\3\20\50\7\3\1\112\160\3\16\50"+
"\1\76\101\3\133\17\1\132\12\50\1\121\31\3\30\0\1\57\7\3\61\50\57\3\13\17\1"+
"\37\164\3\221\50\1\136\156\3\16\17\1\42\1\3\7\50\1\136\34\3\7\50\1\121\4\3"+
"\14\50\4\3\1\50\7\3\1\112\5\50\1\3\1\144\4\50\134\3\21\17\1\42\2\3\1\73\12"+
"\0\1\57\3\3\1\52\1\117\3\17\30\3\1\40\177\3\32\50\1\136\1\3\3\50\1\76\2\50"+
"\1\76\1\3\2\50\1\121\262\3\1\53\1\33\1\53\4\0\1\57\1\53\1\0\7\3\1\32\1\33"+
"\44\3\1\32\1\56\156\3\25\17\1\44\21\17\1\44\1\34\1\105\1\51\1\44\2\17\1\46"+
"\1\51\1\17\1\51\17\17\1\46\1\37\1\51\1\17\1\44\1\17\1\44\6\17\1\46\1\37\1"+
"\17\1\43\1\41\1\17\1\44\124\17\1\40\6\17\1\44\5\17\1\37\7\17\1\37\6\17\1\44"+
"\7\17\1\44\5\17\1\37\7\17\1\37\6\17\1\44\7\17\1\44\5\17\1\37\2\17\1\32\14"+
"\0\61\50\1\76\116\3\1\17\1\51\6\17\1\105\1\66\1\51\1\17\1\37\1\17\1\115\1"+
"\3\1\34\1\104\1\115\1\51\1\105\1\66\2\115\1\105\1\66\1\37\1\17\1\37\1\17\1"+
"\51\1\43\2\17\1\46\4\17\1\3\2\51\1\46\4\17\121\3\65\17\1\37\12\3\215\17\1"+
"\42\2\3\67\17\1\40\240\50\1\121\127\3\7\17\1\40\170\3\1\35\7\3\30\0\40\3\74"+
"\0\4\3");
/* The ZZ_CMAP_A table has 420 entries */
static final char ZZ_CMAP_A[] = zzUnpackCMap(
"\5\4\1\3\1\16\1\0\1\3\1\16\2\4\4\0\1\42\1\53\1\17\1\62\1\64\1\20\1\70\1\14"+
"\1\47\1\50\1\66\1\13\1\57\1\67\1\11\1\65\1\6\11\2\1\61\1\0\1\55\1\54\1\56"+
"\1\60\1\63\1\5\1\10\2\5\1\12\2\5\1\7\12\5\1\51\1\15\1\52\1\72\1\4\1\0\1\30"+
"\1\33\1\46\1\32\1\36\1\45\1\41\1\24\1\43\2\5\1\25\1\5\1\31\1\34\1\5\1\37\1"+
"\26\1\23\1\40\1\27\1\5\1\44\1\35\2\5\1\21\1\71\1\22\1\73\1\4\2\0\4\4\4\0\1"+
"\5\2\0\1\4\3\0\1\5\2\0\3\5\1\0\2\5\4\0\3\5\3\0\1\5\1\0\1\5\1\0\1\5\1\0\4\5"+
"\1\0\1\1\2\5\1\0\3\5\1\0\1\4\4\1\1\0\3\5\3\0\1\4\1\0\5\4\1\0\1\4\1\0\2\4\1"+
"\0\1\4\3\0\3\4\1\0\3\5\2\4\3\5\1\0\1\5\3\4\2\5\2\4\1\0\4\4\3\5\2\0\2\5\1\4"+
"\4\5\3\4\1\5\2\0\2\4\1\5\1\4\1\5\3\4\1\5\1\1\3\5\4\1\3\0\1\4\1\5\2\4\1\1\3"+
"\5\1\1\4\4\2\0\3\4\1\5\4\0\1\5\1\0\2\5\1\0\1\5\1\4\3\0\1\1\4\0\1\4\3\5\1\1"+
"\4\0\1\1\2\0\1\4\1\0\1\4\1\0\1\4\2\0\1\5\1\0\1\5\1\0\1\4\1\0\4\4\2\5\1\1\2"+
"\0\2\1\2\0\1\4\3\1\1\5\1\0\2\4\1\5\1\4\1\5\1\0\1\5\2\1\1\0\1\4\2\5\2\0\2\5"+
"\3\4\1\0\1\5\2\1\1\0\1\4\3\5\1\1\2\5\1\4\1\5\1\1\1\0\2\1\2\0\5\1\3\0\1\5\1"+
"\4\1\5\2\4\2\0\1\5\1\4\2\5\2\0\1\4\2\5\1\4\2\0\3\1\2\0\1\1\1\0\2\4\1\1\1\0"+
"\2\1\1\0\2\1\2\0\1\1");
/**
* Translates DFA states to action switch labels.
*/
private static final int [] ZZ_ACTION = zzUnpackAction();
private static final String ZZ_ACTION_PACKED_0 =
"\2\0\1\1\1\2\1\3\1\4\1\3\1\5\1\6"+
"\1\7\1\10\1\11\1\12\1\13\15\2\1\14\1\15"+
"\1\16\1\17\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\37\1\40\1\11\1\41\1\42\2\43\1\0"+
"\2\7\2\10\1\44\1\2\1\45\7\2\1\46\1\2"+
"\1\47\1\2\1\50\1\51\1\2\1\52\1\53\1\54"+
"\1\55\1\56\1\57\1\60\1\61\1\62\1\43\1\63"+
"\1\64\1\65\1\2\1\66\1\2\1\67\1\70\1\71"+
"\1\2\1\72\1\73\1\2\1\74\2\2\1\75\1\76"+
"\1\77\1\0\1\100\1\101\2\2\1\0\1\2\1\102"+
"\1\103\4\2\1\104";
private static int [] zzUnpackAction() {
int [] result = new int[118];
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\170\0\u01e0\0\u021c\0\u0258\0\170\0\170\0\u0294\0\u02d0"+
"\0\u030c\0\u0348\0\u0384\0\u03c0\0\u03fc\0\u0438\0\u0474\0\u04b0"+
"\0\u04ec\0\u0528\0\u0564\0\170\0\170\0\170\0\170\0\u05a0"+
"\0\u05dc\0\u0618\0\u0654\0\170\0\170\0\170\0\170\0\170"+
"\0\170\0\170\0\170\0\170\0\u0690\0\u06cc\0\170\0\170"+
"\0\170\0\170\0\170\0\u0708\0\u0744\0\u0780\0\170\0\u07bc"+
"\0\u07f8\0\170\0\170\0\u0834\0\u0870\0\u08ac\0\u08e8\0\u0924"+
"\0\u0960\0\u099c\0\u09d8\0\u0a14\0\264\0\u0a50\0\264\0\u0a8c"+
"\0\u0ac8\0\u0b04\0\u0b40\0\170\0\170\0\170\0\170\0\170"+
"\0\u0b7c\0\170\0\170\0\170\0\u0bb8\0\264\0\264\0\264"+
"\0\u0bf4\0\264\0\u0c30\0\u0c6c\0\264\0\264\0\u0ca8\0\264"+
"\0\264\0\u0ce4\0\264\0\u0d20\0\u0d5c\0\170\0\264\0\264"+
"\0\u0d98\0\264\0\264\0\u0dd4\0\u0e10\0\u0e4c\0\u0e88\0\264"+
"\0\170\0\u0ec4\0\u0f00\0\u0f3c\0\u0f78\0\264";
private static int [] zzUnpackRowMap() {
int [] result = new int[118];
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\3\1\4\1\5\1\6\1\3\1\4\1\7\2\4"+
"\1\10\1\4\1\11\1\12\1\3\1\6\1\13\1\14"+
"\1\15\1\16\1\17\1\4\1\20\1\4\1\21\1\22"+
"\1\23\1\4\1\24\1\25\1\26\1\27\1\4\1\30"+
"\1\31\1\6\1\32\1\4\1\33\1\4\1\34\1\35"+
"\1\36\1\37\1\40\1\41\1\42\1\43\1\44\1\45"+
"\1\46\1\47\1\50\1\51\1\52\1\53\1\54\1\55"+
"\1\56\1\57\1\60\1\3\1\4\1\5\1\6\1\3"+
"\1\4\1\7\2\4\1\10\1\4\1\11\1\12\1\3"+
"\1\6\1\13\1\61\1\15\1\62\1\17\1\4\1\20"+
"\1\4\1\21\1\22\1\23\1\4\1\24\1\25\1\26"+
"\1\27\1\4\1\30\1\31\1\6\1\32\1\4\1\33"+
"\1\4\1\34\1\35\1\36\1\37\1\40\1\41\1\42"+
"\1\43\1\44\1\45\1\46\1\47\1\50\1\51\1\52"+
"\1\53\1\54\1\55\1\56\1\57\1\60\76\0\1\4"+
"\1\0\5\4\1\0\1\4\10\0\17\4\1\0\4\4"+
"\15\0\1\4\11\0\1\5\3\0\1\5\1\63\1\0"+
"\1\64\1\65\11\0\1\63\11\0\1\65\40\0\1\6"+
"\12\0\1\6\23\0\1\6\33\0\1\66\3\0\1\66"+
"\1\63\1\0\1\64\1\65\11\0\1\63\11\0\1\65"+
"\37\0\1\64\3\0\1\64\65\0\14\12\1\67\1\70"+
"\1\0\55\12\15\13\1\71\1\0\1\72\54\13\21\0"+
"\1\73\54\0\1\4\1\0\5\4\1\0\1\4\10\0"+
"\1\4\1\74\15\4\1\0\4\4\15\0\1\4\11\0"+
"\1\4\1\0\5\4\1\0\1\4\10\0\15\4\1\75"+
"\1\4\1\0\4\4\15\0\1\4\11\0\1\4\1\0"+
"\5\4\1\0\1\4\10\0\1\76\16\4\1\0\4\4"+
"\15\0\1\4\11\0\1\4\1\0\5\4\1\0\1\4"+
"\10\0\6\4\1\77\10\4\1\0\4\4\15\0\1\4"+
"\11\0\1\4\1\0\5\4\1\0\1\4\10\0\4\4"+
"\1\100\4\4\1\101\1\4\1\102\3\4\1\0\4\4"+
"\15\0\1\4\11\0\1\4\1\0\5\4\1\0\1\4"+
"\10\0\5\4\1\103\3\4\1\104\5\4\1\0\4\4"+
"\15\0\1\4\11\0\1\4\1\0\5\4\1\0\1\4"+
"\10\0\3\4\1\105\13\4\1\0\4\4\15\0\1\4"+
"\11\0\1\4\1\0\5\4\1\0\1\4\10\0\11\4"+
"\1\106\5\4\1\0\4\4\15\0\1\4\11\0\1\4"+
"\1\0\5\4\1\0\1\4\10\0\14\4\1\107\2\4"+
"\1\0\4\4\15\0\1\4\11\0\1\4\1\0\5\4"+
"\1\0\1\4\10\0\3\4\1\110\13\4\1\0\4\4"+
"\15\0\1\4\11\0\1\4\1\0\5\4\1\0\1\4"+
"\10\0\15\4\1\111\1\4\1\0\4\4\15\0\1\4"+
"\11\0\1\4\1\0\5\4\1\0\1\4\10\0\6\4"+
"\1\112\10\4\1\0\4\4\15\0\1\4\11\0\1\4"+
"\1\0\5\4\1\0\1\4\10\0\5\4\1\113\11\4"+
"\1\0\4\4\15\0\1\4\63\0\1\114\73\0\1\115"+
"\73\0\1\116\1\117\72\0\1\120\1\0\1\121\105\0"+
"\1\122\74\0\1\123\4\0\1\64\3\0\1\64\1\0"+
"\1\124\1\0\1\65\20\0\1\124\2\0\1\65\37\0"+
"\1\125\3\0\1\125\1\0\1\124\2\0\1\125\17\0"+
"\1\124\33\0\1\125\6\0\1\66\3\0\1\66\2\0"+
"\1\64\1\65\23\0\1\65\35\0\16\12\1\0\55\12"+
"\16\13\1\0\55\13\2\0\1\4\1\0\5\4\1\0"+
"\1\4\10\0\2\4\1\126\1\127\13\4\1\0\4\4"+
"\15\0\1\4\11\0\1\4\1\0\5\4\1\0\1\4"+
"\10\0\13\4\1\130\3\4\1\0\4\4\15\0\1\4"+
"\11\0\1\4\1\0\5\4\1\0\1\4\10\0\1\4"+
"\1\131\15\4\1\0\4\4\15\0\1\4\11\0\1\4"+
"\1\0\5\4\1\0\1\4\10\0\7\4\1\132\7\4"+
"\1\0\4\4\15\0\1\4\11\0\1\4\1\0\5\4"+
"\1\0\1\4\10\0\2\4\1\133\14\4\1\0\4\4"+
"\15\0\1\4\11\0\1\4\1\0\5\4\1\0\1\4"+
"\10\0\15\4\1\134\1\4\1\0\4\4\15\0\1\4"+
"\11\0\1\4\1\0\5\4\1\0\1\4\10\0\14\4"+
"\1\135\2\4\1\0\1\4\1\136\2\4\15\0\1\4"+
"\11\0\1\4\1\0\5\4\1\0\1\4\10\0\6\4"+
"\1\137\10\4\1\0\4\4\15\0\1\4\11\0\1\4"+
"\1\0\5\4\1\0\1\4\10\0\3\4\1\140\13\4"+
"\1\0\4\4\15\0\1\4\11\0\1\4\1\0\5\4"+
"\1\0\1\4\10\0\3\4\1\141\13\4\1\0\4\4"+
"\15\0\1\4\11\0\1\4\1\0\5\4\1\0\1\4"+
"\10\0\4\4\1\142\12\4\1\0\4\4\15\0\1\4"+
"\11\0\1\4\1\0\5\4\1\0\1\4\10\0\13\4"+
"\1\143\3\4\1\0\4\4\15\0\1\4\11\0\1\4"+
"\1\0\5\4\1\0\1\4\10\0\1\144\16\4\1\0"+
"\4\4\15\0\1\4\11\0\1\4\1\0\5\4\1\0"+
"\1\4\10\0\2\4\1\145\14\4\1\0\4\4\15\0"+
"\1\4\65\0\1\146\17\0\1\125\3\0\1\125\1\0"+
"\1\124\22\0\1\124\42\0\1\4\1\0\5\4\1\0"+
"\1\4\10\0\3\4\1\147\13\4\1\0\4\4\15\0"+
"\1\4\11\0\1\4\1\0\5\4\1\0\1\4\10\0"+
"\2\4\1\150\14\4\1\0\4\4\15\0\1\4\11\0"+
"\1\4\1\0\5\4\1\0\1\4\10\0\17\4\1\151"+
"\4\4\15\0\1\4\11\0\1\4\1\0\5\4\1\0"+
"\1\4\10\0\7\4\1\152\7\4\1\0\4\4\15\0"+
"\1\4\11\0\1\4\1\0\5\4\1\0\1\4\10\0"+
"\13\4\1\153\3\4\1\0\4\4\15\0\1\4\11\0"+
"\1\4\1\0\5\4\1\0\1\4\10\0\15\4\1\154"+
"\1\4\1\0\4\4\15\0\1\4\11\0\1\4\1\0"+
"\5\4\1\0\1\4\10\0\1\155\16\4\1\0\4\4"+
"\15\0\1\4\52\0\1\156\32\0\1\4\1\0\5\4"+
"\1\0\1\4\10\0\5\4\1\157\11\4\1\0\4\4"+
"\15\0\1\4\11\0\1\4\1\0\5\4\1\0\1\4"+
"\10\0\13\4\1\160\3\4\1\0\4\4\15\0\1\4"+
"\40\0\1\161\44\0\1\4\1\0\5\4\1\0\1\4"+
"\10\0\6\4\1\162\10\4\1\0\4\4\15\0\1\4"+
"\11\0\1\4\1\0\5\4\1\0\1\4\10\0\17\4"+
"\1\0\3\4\1\163\15\0\1\4\11\0\1\4\1\0"+
"\5\4\1\0\1\4\10\0\13\4\1\164\3\4\1\0"+
"\4\4\15\0\1\4\11\0\1\4\1\0\5\4\1\0"+
"\1\4\10\0\11\4\1\165\5\4\1\0\4\4\15\0"+
"\1\4\11\0\1\4\1\0\5\4\1\0\1\4\10\0"+
"\17\4\1\0\2\4\1\166\1\4\15\0\1\4\7\0";
private static int [] zzUnpackTrans() {
int [] result = new int[4020];
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;
/* error messages for the codes above */
private static final String[] ZZ_ERROR_MSG = {
"Unknown 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 =
"\2\0\1\11\5\1\1\11\3\1\2\11\15\1\4\11"+
"\4\1\11\11\2\1\5\11\2\1\1\0\1\11\2\1"+
"\2\11\20\1\5\11\1\1\3\11\21\1\1\11\2\1"+
"\1\0\4\1\1\0\2\1\1\11\5\1";
private static int [] zzUnpackAttribute() {
int [] result = new int[118];
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 input device */
private java.io.Reader zzReader;
/** 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 = "";
/** the textposition at the last accepting state */
private int zzMarkedPos;
/** 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: */
public _OgnlLexer(){
this((java.io.Reader)null);
}
int braceCount;
/**
* Creates a new scanner
*
* @param in the java.io.Reader to read input from.
*/
public _OgnlLexer(java.io.Reader in) {
this.zzReader = 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) {
int size = 0;
for (int i = 0, length = packed.length(); i < length; i += 2) {
size += packed.charAt(i);
}
char[] map = new char[size];
int i = 0; /* index in packed string */
int j = 0; /* index in unpacked array */
while (i < packed.length()) {
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;
zzCurrentPos = zzMarkedPos = zzStartRead = start;
zzAtEOF = false;
zzAtBOL = true;
zzEndRead = end;
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 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;
}
/**
* 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;
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];
// set up zzAction for empty match case:
int zzAttributes = zzAttrL[zzState];
if ( (zzAttributes & 1) == 1 ) {
zzAction = zzState;
}
zzForAction: {
while (true) {
if (zzCurrentPosL < zzEndReadL) {
zzInput = Character.codePointAt(zzBufferL, zzCurrentPosL/*, zzEndReadL*/);
zzCurrentPosL += Character.charCount(zzInput);
}
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 = Character.codePointAt(zzBufferL, zzCurrentPosL/*, zzEndReadL*/);
zzCurrentPosL += Character.charCount(zzInput);
}
}
int zzNext = zzTransL[ zzRowMapL[zzState] + ZZ_CMAP(zzInput) ];
if (zzNext == -1) break zzForAction;
zzState = zzNext;
zzAttributes = zzAttrL[zzState];
if ( (zzAttributes & 1) == 1 ) {
zzAction = zzState;
zzMarkedPosL = zzCurrentPosL;
if ( (zzAttributes & 8) == 8 ) break zzForAction;
}
}
}
// store back cached position
zzMarkedPos = zzMarkedPosL;
if (zzInput == YYEOF && zzStartRead == zzCurrentPos) {
zzAtEOF = true;
return null;
}
else {
switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) {
case 1:
{ yybegin(YYINITIAL); return TokenType.BAD_CHARACTER;
}
case 69: break;
case 2:
{ return OgnlTypes.IDENTIFIER;
}
case 70: break;
case 3:
{ return OgnlTypes.INTEGER_LITERAL;
}
case 71: break;
case 4:
{ return TokenType.WHITE_SPACE;
}
case 72: break;
case 5:
{ return OgnlTypes.DOT;
}
case 73: break;
case 6:
{ return OgnlTypes.PLUS;
}
case 74: break;
case 7:
{ return OgnlTypes.CHARACTER_LITERAL;
}
case 75: break;
case 8:
{ return OgnlTypes.STRING_LITERAL;
}
case 76: break;
case 9:
{ return OgnlTypes.MODULO;
}
case 77: break;
case 10:
{ if (++braceCount > 0) yybegin(NESTED_BRACE); return OgnlTypes.LBRACE;
}
case 78: break;
case 11:
{ return OgnlTypes.EXPRESSION_END;
}
case 79: break;
case 12:
{ return OgnlTypes.LPARENTH;
}
case 80: break;
case 13:
{ return OgnlTypes.RPARENTH;
}
case 81: break;
case 14:
{ return OgnlTypes.LBRACKET;
}
case 82: break;
case 15:
{ return OgnlTypes.RBRACKET;
}
case 83: break;
case 16:
{ return OgnlTypes.NEGATE;
}
case 84: break;
case 17:
{ return OgnlTypes.EQ;
}
case 85: break;
case 18:
{ return OgnlTypes.LESS;
}
case 86: break;
case 19:
{ return OgnlTypes.GREATER;
}
case 87: break;
case 20:
{ return OgnlTypes.COMMA;
}
case 88: break;
case 21:
{ return OgnlTypes.QUESTION;
}
case 89: break;
case 22:
{ return OgnlTypes.COLON;
}
case 90: break;
case 23:
{ return OgnlTypes.HASH;
}
case 91: break;
case 24:
{ return OgnlTypes.AT;
}
case 92: break;
case 25:
{ return OgnlTypes.DOLLAR;
}
case 93: break;
case 26:
{ return OgnlTypes.DIVISION;
}
case 94: break;
case 27:
{ return OgnlTypes.MULTIPLY;
}
case 95: break;
case 28:
{ return OgnlTypes.MINUS;
}
case 96: break;
case 29:
{ return OgnlTypes.AND;
}
case 97: break;
case 30:
{ return OgnlTypes.OR;
}
case 98: break;
case 31:
{ return OgnlTypes.XOR;
}
case 99: break;
case 32:
{ return OgnlTypes.NOT;
}
case 100: break;
case 33:
{ if (--braceCount == 0) yybegin(YYINITIAL); return OgnlTypes.RBRACE;
}
case 101: break;
case 34:
{ return OgnlTypes.BIG_INTEGER_LITERAL;
}
case 102: break;
case 35:
{ return OgnlTypes.DOUBLE_LITERAL;
}
case 103: break;
case 36:
{ return OgnlTypes.EXPRESSION_START;
}
case 104: break;
case 37:
{ return OgnlTypes.LT_KEYWORD;
}
case 105: break;
case 38:
{ return OgnlTypes.OR_KEYWORD;
}
case 106: break;
case 39:
{ return OgnlTypes.EQ_KEYWORD;
}
case 107: break;
case 40:
{ return OgnlTypes.GT_KEYWORD;
}
case 108: break;
case 41:
{ return OgnlTypes.IN_KEYWORD;
}
case 109: break;
case 42:
{ return OgnlTypes.NOT_EQUAL;
}
case 110: break;
case 43:
{ return OgnlTypes.EQUAL;
}
case 111: break;
case 44:
{ return OgnlTypes.LESS_EQUAL;
}
case 112: break;
case 45:
{ return OgnlTypes.SHIFT_LEFT;
}
case 113: break;
case 46:
{ return OgnlTypes.GREATER_EQUAL;
}
case 114: break;
case 47:
{ return OgnlTypes.SHIFT_RIGHT;
}
case 115: break;
case 48:
{ return OgnlTypes.AND_AND;
}
case 116: break;
case 49:
{ return OgnlTypes.OR_OR;
}
case 117: break;
case 50:
{ return OgnlTypes.BIG_DECIMAL_LITERAL;
}
case 118: break;
case 51:
{ return OgnlTypes.SHIFT_LEFT_KEYWORD;
}
case 119: break;
case 52:
{ return OgnlTypes.SHIFT_RIGHT_KEYWORD;
}
case 120: break;
case 53:
{ return OgnlTypes.LT_EQ_KEYWORD;
}
case 121: break;
case 54:
{ return OgnlTypes.AND_KEYWORD;
}
case 122: break;
case 55:
{ return OgnlTypes.NOT_KEYWORD;
}
case 123: break;
case 56:
{ return OgnlTypes.NEQ_KEYWORD;
}
case 124: break;
case 57:
{ return OgnlTypes.NEW_KEYWORD;
}
case 125: break;
case 58:
{ return OgnlTypes.BOR_KEYWORD;
}
case 126: break;
case 59:
{ return OgnlTypes.XOR_KEYWORD;
}
case 127: break;
case 60:
{ return OgnlTypes.GT_EQ_KEYWORD;
}
case 128: break;
case 61:
{ return OgnlTypes.SHIFT_RIGHT_LOGICAL;
}
case 129: break;
case 62:
{ return OgnlTypes.SHIFT_RIGHT_LOGICAL_KEYWORD;
}
case 130: break;
case 63:
{ return OgnlTypes.NULL_KEYWORD;
}
case 131: break;
case 64:
{ return OgnlTypes.BAND_KEYWORD;
}
case 132: break;
case 65:
{ return OgnlTypes.TRUE_KEYWORD;
}
case 133: break;
case 66:
{ return OgnlTypes.FALSE_KEYWORD;
}
case 134: break;
case 67:
{ return OgnlTypes.NOT_IN_KEYWORD;
}
case 135: break;
case 68:
{ return OgnlTypes.INSTANCEOF_KEYWORD;
}
case 136: break;
default:
zzScanError(ZZ_NO_MATCH);
}
}
}
}
}