blob: 214557a92cdbc04605548c160535824cc879bc42 [file] [log] [blame]
/* The following code was generated by JFlex 1.4.3 on 4/26/14 11:33 AM */
/* It's an automatically generated code. Do not modify it. */
package com.jetbrains.python.lexer;
import com.intellij.lexer.FlexLexer;
import com.intellij.psi.tree.IElementType;
import com.jetbrains.python.PyTokenTypes;
import com.intellij.openapi.util.text.StringUtil;
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.4.3
* on 4/26/14 11:33 AM from the specification file
* <tt>/Users/ignatov/src/ultimate/tools/lexer/../../community/python/src/com/jetbrains/python/lexer/Python.flex</tt>
*/
class _PythonLexer implements FlexLexer {
/** 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 IN_DOCSTRING_OWNER = 4;
public static final int PENDING_DOCSTRING = 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, 2, 2
};
/**
* Translates characters to character classes
*/
private static final String ZZ_CMAP_PACKED =
"\11\0\1\40\1\42\1\0\1\41\1\13\22\0\1\37\1\74\1\36"+
"\1\12\1\0\1\66\1\67\1\34\1\76\1\77\1\64\1\62\1\105"+
"\1\26\1\23\1\65\1\1\1\5\6\3\2\2\1\106\1\43\1\73"+
"\1\63\1\72\1\0\1\104\1\15\1\20\1\31\1\15\1\25\1\15"+
"\3\14\1\27\1\14\1\21\2\14\1\17\2\14\1\32\2\14\1\32"+
"\2\14\1\16\2\14\1\100\1\35\1\101\1\71\1\14\1\107\1\44"+
"\1\10\1\30\1\46\1\24\1\4\1\57\1\61\1\53\1\27\1\52"+
"\1\11\1\56\1\45\1\7\1\54\1\14\1\50\1\47\1\51\1\33"+
"\1\14\1\60\1\6\1\55\1\14\1\102\1\70\1\103\1\75\53\0"+
"\1\14\12\0\1\14\4\0\1\14\5\0\27\14\1\0\7\14\30\14"+
"\1\0\10\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\2\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\2\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\2\14\1\14\1\14\1\14\1\14\3\14\2\14\1\14\1\14\1\14"+
"\2\14\1\14\3\14\2\14\4\14\1\14\2\14\1\14\3\14\3\14"+
"\2\14\1\14\2\14\1\14\1\14\1\14\1\14\1\14\2\14\1\14"+
"\1\14\2\14\1\14\1\14\2\14\1\14\3\14\1\14\1\14\1\14"+
"\2\14\2\14\1\14\1\14\3\14\4\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\2\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\2\14\1\14"+
"\1\14\1\14\1\14\1\14\3\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\4\14\31\0\140\14\22\14\4\0\14\14\16\0"+
"\5\14\11\0\1\14\21\0\130\22\5\0\23\22\12\0\1\14\13\0"+
"\1\14\1\0\3\14\1\0\1\14\1\0\2\14\1\14\21\14\1\0"+
"\11\14\43\14\1\0\2\14\3\14\3\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\5\14"+
"\1\14\1\14\1\0\1\14\1\14\2\14\1\14\4\0\60\14\60\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\0\4\22\3\0\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\2\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\0\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\2\0\1\14\1\14\6\0\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\41\0\46\14\2\0\1\14\7\0\47\14"+
"\11\0\21\22\1\0\27\22\1\0\3\22\1\0\1\22\1\0\2\22"+
"\1\0\1\22\13\0\33\14\5\0\3\14\35\0\6\22\13\0\32\14"+
"\5\0\1\14\12\14\16\22\7\0\12\22\4\0\2\14\1\22\143\14"+
"\1\0\1\14\7\22\2\0\6\22\2\14\2\22\1\0\4\22\2\14"+
"\12\22\3\14\2\0\1\14\20\0\1\14\1\22\36\14\33\22\2\0"+
"\3\14\60\0\46\14\13\22\1\14\u014f\0\2\22\1\22\66\14\2\0"+
"\1\22\1\14\3\22\10\22\4\22\1\22\2\0\1\14\4\22\3\0"+
"\12\14\2\22\2\0\12\22\21\0\1\22\2\22\1\0\10\14\2\0"+
"\2\14\2\0\26\14\1\0\7\14\1\0\1\14\3\0\4\14\2\0"+
"\1\22\1\14\3\22\4\22\2\0\2\22\2\0\2\22\1\22\11\0"+
"\1\22\4\0\2\14\1\0\3\14\2\22\2\0\12\22\2\14\17\0"+
"\2\22\1\22\1\0\6\14\4\0\2\14\2\0\26\14\1\0\7\14"+
"\1\0\2\14\1\0\2\14\1\0\2\14\2\0\1\22\1\0\3\22"+
"\2\22\4\0\2\22\2\0\3\22\13\0\4\14\1\0\1\14\7\0"+
"\12\22\2\22\3\14\14\0\2\22\1\22\1\0\11\14\1\0\3\14"+
"\1\0\26\14\1\0\7\14\1\0\2\14\1\0\5\14\2\0\1\22"+
"\1\14\3\22\5\22\1\0\2\22\1\22\1\0\2\22\1\22\2\0"+
"\1\14\17\0\2\14\2\22\2\0\12\22\21\0\1\22\2\22\1\0"+
"\10\14\2\0\2\14\2\0\26\14\1\0\7\14\1\0\2\14\1\0"+
"\5\14\2\0\1\22\1\14\1\22\1\22\1\22\3\22\3\0\2\22"+
"\2\0\2\22\1\22\10\0\1\22\1\22\4\0\2\14\1\0\3\14"+
"\4\0\12\22\1\0\1\14\20\0\1\22\1\14\1\0\6\14\3\0"+
"\3\14\1\0\4\14\3\0\2\14\1\0\1\14\1\0\2\14\3\0"+
"\2\14\3\0\3\14\3\0\10\14\1\0\3\14\4\0\2\22\1\22"+
"\2\22\3\0\3\22\1\0\3\22\1\22\11\0\1\22\17\0\11\22"+
"\21\0\3\22\1\0\10\14\1\0\3\14\1\0\27\14\1\0\12\14"+
"\1\0\5\14\4\0\3\22\4\22\1\0\3\22\1\0\4\22\7\0"+
"\2\22\11\0\2\14\4\0\12\22\22\0\2\22\1\0\10\14\1\0"+
"\3\14\1\0\27\14\1\0\12\14\1\0\5\14\2\0\1\22\1\14"+
"\1\22\1\22\5\22\1\0\1\22\2\22\1\0\2\22\2\22\7\0"+
"\2\22\7\0\1\14\1\0\2\14\4\0\12\22\22\0\2\22\1\0"+
"\10\14\1\0\3\14\1\0\27\14\1\0\20\14\4\0\3\22\3\22"+
"\2\0\3\22\1\0\3\22\1\22\11\0\1\22\10\0\2\14\4\0"+
"\12\22\22\0\2\22\1\0\22\14\3\0\30\14\1\0\11\14\1\0"+
"\1\14\2\0\7\14\3\0\1\22\4\0\3\22\3\22\1\0\1\22"+
"\1\0\10\22\22\0\2\22\15\0\60\14\1\22\2\14\7\22\5\0"+
"\6\14\1\14\10\22\1\0\12\22\47\0\2\14\1\0\1\14\2\0"+
"\2\14\1\0\1\14\2\0\1\14\6\0\4\14\1\0\7\14\1\0"+
"\3\14\1\0\1\14\1\0\1\14\2\0\2\14\1\0\4\14\1\22"+
"\2\14\6\22\1\0\2\22\1\14\2\0\5\14\1\0\1\14\1\0"+
"\6\22\2\0\12\22\2\0\2\14\42\0\1\14\27\0\2\22\6\0"+
"\12\22\13\0\1\22\1\0\1\22\1\0\1\22\4\0\2\22\10\14"+
"\1\0\42\14\6\0\16\22\1\22\5\22\1\0\2\22\4\14\4\0"+
"\10\22\1\0\44\22\11\0\1\22\71\0\42\14\1\0\5\14\1\0"+
"\2\14\1\0\1\22\4\22\1\22\1\22\3\0\2\22\1\22\1\22"+
"\6\0\12\22\6\0\6\14\2\22\2\22\106\0\46\14\12\0\51\14"+
"\7\0\132\14\5\0\104\14\5\0\122\14\6\0\7\14\1\0\77\14"+
"\1\0\1\14\1\0\4\14\2\0\7\14\1\0\1\14\1\0\4\14"+
"\2\0\47\14\1\0\1\14\1\0\4\14\2\0\37\14\1\0\1\14"+
"\1\0\4\14\2\0\7\14\1\0\1\14\1\0\4\14\2\0\7\14"+
"\1\0\7\14\1\0\27\14\1\0\37\14\1\0\1\14\1\0\4\14"+
"\2\0\7\14\1\0\47\14\1\0\23\14\16\0\11\22\56\0\125\14"+
"\14\0\u026c\14\2\0\10\14\12\0\32\14\5\0\113\14\3\0\3\14"+
"\17\0\15\14\1\0\4\14\3\22\13\0\22\14\3\22\13\0\22\14"+
"\2\22\14\0\15\14\1\0\3\14\1\0\2\22\14\0\64\14\2\0"+
"\1\22\7\22\10\22\1\22\2\22\13\22\3\0\1\14\4\0\1\14"+
"\1\22\2\0\12\22\41\0\3\22\2\0\12\22\6\0\43\14\1\14"+
"\64\14\10\0\51\14\1\22\126\0\35\14\3\0\3\22\4\22\2\22"+
"\3\22\4\0\2\22\1\22\6\22\3\22\12\0\12\22\36\14\2\0"+
"\5\14\u038b\0\54\14\66\14\12\14\224\0\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\7\14\4\0\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14\1\14"+
"\1\14\1\14\1\14\1\14\1\14\1\14\1\14\6\0\10\14\10\14"+
"\6\14\2\0\6\14\2\0\10\14\10\14\10\14\10\14\6\14\2\0"+
"\6\14\2\0\10\14\1\0\1\14\1\0\1\14\1\0\1\14\1\0"+
"\1\14\10\14\10\14\16\14\2\0\10\14\10\14\10\14\10\14\10\14"+
"\10\14\5\14\1\0\2\14\4\14\1\14\1\0\1\14\3\0\3\14"+
"\1\0\2\14\4\14\1\14\3\0\4\14\2\0\2\14\4\14\4\0"+
"\10\14\5\14\5\0\3\14\1\0\2\14\4\14\1\14\102\0\2\22"+
"\23\0\1\22\34\0\1\14\15\0\1\14\120\0\15\22\4\0\1\22"+
"\3\0\6\22\27\0\1\14\4\0\1\14\2\0\1\14\3\14\2\14"+
"\3\14\1\14\1\0\1\14\3\0\5\14\6\0\1\14\1\0\1\14"+
"\1\0\1\14\1\0\4\14\1\0\1\14\2\14\1\0\1\14\1\14"+
"\4\14\1\14\3\0\1\14\2\14\5\0\1\14\4\14\26\0\44\14"+
"\u0e81\0\1\14\1\14\1\14\31\0\11\14\6\22\1\0\5\14\2\0"+
"\3\14\1\14\1\14\4\0\126\14\2\0\2\22\2\0\2\14\1\14"+
"\1\0\132\14\1\22\3\14\1\14\5\0\50\14\4\0\136\14\21\0"+
"\30\14\70\0\20\14\u0200\0\u19b6\14\112\0\u51a6\14\132\0\u048d\14\u0773\0"+
"\u2ba4\14\u215c\0\u012e\14\2\0\73\14\225\0\7\14\14\0\5\14\5\0"+
"\1\14\1\22\12\14\1\0\15\14\1\0\5\14\1\0\1\14\1\0"+
"\2\14\1\0\2\14\1\0\154\14\41\0\u016b\14\22\0\100\14\2\0"+
"\66\14\50\0\14\14\4\0\20\22\20\0\4\22\17\0\2\22\30\0"+
"\3\22\40\0\5\14\1\0\207\14\23\0\12\22\7\0\32\14\4\0"+
"\1\22\1\0\32\14\12\0\1\22\12\14\1\14\55\14\2\14\37\14"+
"\3\0\6\14\2\0\6\14\2\0\6\14\2\0\3\14\43\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 =
"\3\0\1\1\2\2\5\3\1\4\1\3\1\5\1\3"+
"\1\6\1\3\1\7\1\10\1\7\1\11\1\12\1\13"+
"\1\14\1\15\12\3\1\16\1\17\1\20\1\21\1\22"+
"\1\23\1\24\1\25\1\26\1\27\1\1\1\30\1\31"+
"\1\32\1\33\1\34\1\35\1\36\1\37\1\40\1\41"+
"\1\42\2\43\1\44\2\45\1\46\3\3\2\47\1\3"+
"\1\41\1\2\4\0\1\2\1\50\1\0\1\51\3\3"+
"\1\52\5\3\1\53\2\3\3\7\1\54\3\7\7\3"+
"\1\55\1\56\1\57\5\3\1\60\1\61\1\62\1\63"+
"\1\64\1\65\1\66\1\67\1\70\1\71\1\72\1\73"+
"\1\74\1\75\1\76\1\77\1\0\3\45\1\100\3\45"+
"\2\3\6\47\2\0\1\101\3\2\1\50\1\0\1\102"+
"\12\3\1\7\1\103\1\104\1\0\1\103\1\105\1\3"+
"\1\106\1\107\1\110\2\3\1\111\5\3\1\112\1\113"+
"\1\114\1\115\1\0\1\45\1\116\1\117\1\0\1\116"+
"\1\3\1\47\2\120\1\121\1\3\2\0\3\3\1\122"+
"\1\123\2\3\1\0\2\124\1\0\4\3\1\125\3\3"+
"\3\0\2\117\7\0\1\3\2\0\1\126\3\3\1\127"+
"\1\0\2\103\1\0\2\3\1\130\1\3\1\131\1\3"+
"\1\132\3\0\2\116\4\0\2\120\1\0\1\3\1\133"+
"\1\134\1\3\3\103\1\135\1\136\1\137\1\140\3\116"+
"\3\120\1\141\1\3\1\124\1\0\1\142\6\0\1\143"+
"\2\103\2\116\2\120";
private static int [] zzUnpackAction() {
int [] result = new int[297];
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\110\0\220\0\330\0\u0120\0\u0168\0\u01b0\0\u01f8"+
"\0\u0240\0\u0288\0\u02d0\0\u0318\0\u0360\0\u03a8\0\u03f0\0\u0438"+
"\0\u0480\0\u04c8\0\330\0\u0510\0\330\0\330\0\330\0\330"+
"\0\330\0\u0558\0\u05a0\0\u05e8\0\u0630\0\u0678\0\u06c0\0\u0708"+
"\0\u0750\0\u0798\0\u07e0\0\u0828\0\u0870\0\u08b8\0\u0900\0\u0948"+
"\0\u0990\0\u09d8\0\u0a20\0\u0a68\0\u0ab0\0\u0af8\0\330\0\330"+
"\0\330\0\330\0\330\0\330\0\330\0\330\0\330\0\330"+
"\0\330\0\330\0\u0b40\0\u0b88\0\u0bd0\0\u0c18\0\330\0\u0c60"+
"\0\u0ca8\0\u0cf0\0\u0d38\0\u0d80\0\u0dc8\0\u0e10\0\u0e58\0\u0ea0"+
"\0\u0ee8\0\u0f30\0\u0f78\0\330\0\u0fc0\0\u1008\0\330\0\u1050"+
"\0\u1098\0\u10e0\0\u01f8\0\u1128\0\u1170\0\u11b8\0\u1200\0\u1248"+
"\0\330\0\u1290\0\u12d8\0\u1320\0\u1368\0\u13b0\0\330\0\u13f8"+
"\0\u1440\0\u1488\0\u14d0\0\u1518\0\u1560\0\u15a8\0\u15f0\0\u1638"+
"\0\u1680\0\u01f8\0\u01f8\0\u01f8\0\u16c8\0\u1710\0\u1758\0\u17a0"+
"\0\u17e8\0\330\0\330\0\330\0\u1830\0\330\0\u1878\0\330"+
"\0\330\0\330\0\330\0\330\0\u18c0\0\330\0\330\0\u1908"+
"\0\330\0\u1950\0\u1998\0\u19e0\0\u1a28\0\330\0\u1a70\0\u1ab8"+
"\0\u1b00\0\u1b48\0\u1b90\0\u1bd8\0\u1c20\0\u1c68\0\u1cb0\0\u1cf8"+
"\0\u1d40\0\u1d88\0\u0e10\0\330\0\u1dd0\0\u1e18\0\u1e60\0\u1ea8"+
"\0\u1ef0\0\u01f8\0\u1f38\0\u1f80\0\u1fc8\0\u2010\0\u2058\0\u20a0"+
"\0\u20e8\0\u2130\0\u2178\0\u21c0\0\u2208\0\u2250\0\330\0\u2208"+
"\0\u2298\0\u01f8\0\u22e0\0\u01f8\0\u01f8\0\u01f8\0\u2328\0\u2370"+
"\0\u01f8\0\u23b8\0\u2400\0\u2448\0\u2490\0\u24d8\0\330\0\330"+
"\0\330\0\330\0\u2520\0\u2568\0\u25b0\0\330\0\u2568\0\u25f8"+
"\0\u2640\0\330\0\u2688\0\u26d0\0\u01f8\0\u2718\0\u2760\0\u27a8"+
"\0\u27f0\0\u2838\0\u2880\0\u01f8\0\u01f8\0\u28c8\0\u2910\0\u2958"+
"\0\u29a0\0\u29e8\0\u2a30\0\u2a78\0\u2ac0\0\u2b08\0\u2b50\0\u01f8"+
"\0\u2b98\0\u2be0\0\u2c28\0\u2c70\0\u2cb8\0\u2d00\0\u2d48\0\u2d90"+
"\0\u2dd8\0\u2e20\0\u2e68\0\u2eb0\0\u2ef8\0\u2f40\0\u2f88\0\u2fd0"+
"\0\u3018\0\u3060\0\u01f8\0\u30a8\0\u30f0\0\u3138\0\u01f8\0\u3180"+
"\0\u31c8\0\u3210\0\u3258\0\u32a0\0\u32e8\0\u01f8\0\u3330\0\u01f8"+
"\0\u3378\0\u01f8\0\u33c0\0\u3408\0\u3450\0\u3498\0\u34e0\0\u3528"+
"\0\u1c20\0\u1d40\0\u3570\0\u35b8\0\u3600\0\u3648\0\u3690\0\u01f8"+
"\0\u01f8\0\u36d8\0\u3720\0\u3768\0\u37b0\0\u01f8\0\u01f8\0\u01f8"+
"\0\u01f8\0\u2568\0\u37f8\0\u3840\0\330\0\u3888\0\u38d0\0\u01f8"+
"\0\u3918\0\330\0\u3720\0\330\0\u3960\0\u39a8\0\u39f0\0\u3a38"+
"\0\u3a80\0\u3ac8\0\u01f8\0\u3180\0\u3258\0\u3450\0\u3528\0\u3570"+
"\0\u3648";
private static int [] zzUnpackRowMap() {
int [] result = new int[297];
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\4\1\5\2\6\1\7\1\6\1\10\1\11\1\12"+
"\1\13\1\14\1\4\4\10\1\15\1\10\1\4\1\16"+
"\1\17\1\10\1\20\1\10\1\21\3\15\1\22\1\23"+
"\1\24\1\25\1\26\1\27\1\30\1\31\1\32\1\33"+
"\1\34\1\10\1\35\1\36\1\10\1\37\1\40\1\41"+
"\1\10\1\42\1\43\1\10\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\61\1\62\1\63\1\64\1\65\1\66\1\67"+
"\1\70\1\71\10\72\1\73\1\72\1\74\5\72\1\73"+
"\7\72\4\73\1\75\1\23\1\76\1\25\1\26\1\27"+
"\1\77\5\72\1\73\37\72\1\4\1\5\2\6\1\7"+
"\1\6\1\10\1\11\1\100\1\13\1\74\1\4\4\10"+
"\1\101\1\10\1\4\1\16\1\17\1\10\1\20\1\10"+
"\1\102\3\101\1\103\1\23\1\104\1\25\1\26\1\27"+
"\1\77\1\31\1\32\1\33\1\34\1\10\1\105\1\36"+
"\1\10\1\37\1\40\1\41\1\10\1\42\1\43\1\10"+
"\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\61\1\62\1\63"+
"\1\64\1\65\1\66\1\67\1\106\1\71\111\0\1\107"+
"\1\110\1\107\1\0\1\107\1\111\1\112\1\113\1\114"+
"\4\0\1\111\1\112\1\113\1\114\1\0\1\115\2\116"+
"\1\0\1\117\61\0\3\6\1\0\1\6\3\0\1\114"+
"\7\0\1\114\1\0\1\115\2\116\1\0\1\117\61\0"+
"\6\10\1\120\2\10\2\0\7\10\1\0\2\10\1\0"+
"\5\10\10\0\4\10\1\121\2\10\1\122\6\10\27\0"+
"\11\10\2\0\7\10\1\0\2\10\1\0\5\10\10\0"+
"\16\10\27\0\11\10\2\0\7\10\1\0\2\10\1\0"+
"\5\10\10\0\4\10\1\123\11\10\27\0\7\10\1\124"+
"\1\10\2\0\4\10\1\124\2\10\1\0\2\10\1\0"+
"\1\10\4\124\1\22\1\0\1\24\5\0\4\10\1\125"+
"\11\10\27\0\11\10\2\0\7\10\1\0\2\10\1\0"+
"\5\10\10\0\1\126\15\10\26\0\13\14\1\0\26\14"+
"\1\0\45\14\1\0\7\10\1\124\1\10\2\0\4\10"+
"\1\124\2\10\1\0\2\10\1\0\1\10\4\124\1\22"+
"\1\0\1\24\5\0\4\10\1\124\11\10\27\0\3\115"+
"\1\0\1\115\103\0\5\10\1\127\2\10\1\130\2\0"+
"\7\10\1\0\2\10\1\0\5\10\10\0\16\10\111\0"+
"\1\131\25\0\6\10\1\132\1\124\1\133\2\0\4\10"+
"\1\124\2\10\1\0\2\10\1\0\1\10\4\124\1\22"+
"\1\0\1\24\5\0\4\10\1\124\11\10\26\0\13\134"+
"\1\0\20\134\1\135\1\136\4\134\1\137\45\134\13\140"+
"\1\0\21\140\1\141\1\142\3\140\1\137\45\140\1\0"+
"\11\10\2\0\7\10\1\0\2\10\1\0\5\10\10\0"+
"\1\10\1\143\1\10\1\144\12\10\27\0\6\10\1\145"+
"\2\10\2\0\7\10\1\0\2\10\1\0\5\10\10\0"+
"\16\10\27\0\11\10\2\0\7\10\1\0\1\146\1\10"+
"\1\0\5\10\10\0\16\10\27\0\7\10\1\124\1\10"+
"\2\0\4\10\1\124\2\10\1\0\1\147\1\10\1\0"+
"\1\10\4\124\1\22\1\0\1\24\5\0\1\150\3\10"+
"\1\124\11\10\27\0\11\10\2\0\7\10\1\0\2\10"+
"\1\0\5\10\10\0\4\10\1\151\11\10\27\0\3\10"+
"\1\152\5\10\2\0\7\10\1\0\2\10\1\0\5\10"+
"\10\0\1\10\1\153\1\10\1\154\6\10\1\155\3\10"+
"\27\0\11\10\2\0\7\10\1\0\2\10\1\0\5\10"+
"\10\0\1\156\15\10\27\0\11\10\2\0\7\10\1\0"+
"\2\10\1\0\5\10\10\0\7\10\1\157\6\10\27\0"+
"\10\10\1\160\2\0\7\10\1\0\2\10\1\0\5\10"+
"\10\0\16\10\27\0\11\10\2\0\7\10\1\0\2\10"+
"\1\0\5\10\10\0\15\10\1\161\111\0\1\162\107\0"+
"\1\163\107\0\1\164\1\165\106\0\1\166\1\0\1\167"+
"\105\0\1\170\107\0\1\171\107\0\1\172\107\0\1\173"+
"\107\0\1\174\6\0\1\175\100\0\1\176\6\0\1\177"+
"\1\200\77\0\1\201\34\0\1\202\7\0\1\202\7\0"+
"\4\202\1\75\1\0\1\76\11\0\1\202\37\0\13\74"+
"\1\0\26\74\1\0\45\74\13\203\1\0\20\203\1\204"+
"\1\205\4\203\1\206\45\203\13\207\1\0\21\207\1\210"+
"\1\211\3\207\1\206\45\207\1\0\7\10\1\212\1\10"+
"\2\0\4\10\1\212\2\10\1\0\2\10\1\0\1\10"+
"\4\212\1\103\1\0\1\104\5\0\4\10\1\213\11\10"+
"\27\0\7\10\1\212\1\10\2\0\4\10\1\212\2\10"+
"\1\0\2\10\1\0\1\10\4\212\1\103\1\0\1\104"+
"\5\0\4\10\1\212\11\10\27\0\6\10\1\132\1\212"+
"\1\133\2\0\4\10\1\212\2\10\1\0\2\10\1\0"+
"\1\10\4\212\1\103\1\0\1\104\5\0\4\10\1\212"+
"\11\10\26\0\13\214\1\0\20\214\1\215\1\216\4\214"+
"\1\0\45\214\13\217\1\0\21\217\1\220\1\221\3\217"+
"\1\0\45\217\1\0\7\10\1\212\1\10\2\0\4\10"+
"\1\212\2\10\1\0\1\147\1\10\1\0\1\10\4\212"+
"\1\103\1\0\1\104\5\0\1\150\3\10\1\212\11\10"+
"\40\0\1\222\24\0\1\223\2\0\1\224\46\0\1\107"+
"\1\110\1\107\1\0\1\107\3\0\1\114\7\0\1\114"+
"\1\0\1\115\2\116\1\0\1\117\61\0\3\110\1\0"+
"\1\110\15\0\1\115\2\116\1\0\1\117\61\0\5\225"+
"\2\0\1\225\4\0\1\225\2\0\1\225\3\0\2\225"+
"\2\0\2\225\12\0\1\225\1\0\1\225\42\0\1\226"+
"\1\0\1\226\1\0\1\226\103\0\1\227\3\0\1\227"+
"\103\0\3\115\1\0\1\115\16\0\2\116\1\0\1\117"+
"\61\0\3\230\1\0\1\230\20\0\1\231\33\0\1\231"+
"\26\0\11\10\2\0\7\10\1\0\2\10\1\0\5\10"+
"\10\0\4\10\1\232\11\10\27\0\6\10\1\233\2\10"+
"\2\0\7\10\1\0\2\10\1\0\5\10\10\0\16\10"+
"\27\0\11\10\2\0\7\10\1\0\2\10\1\0\5\10"+
"\10\0\1\10\1\234\14\10\27\0\7\10\1\235\1\10"+
"\2\0\4\10\1\235\2\10\1\0\2\10\1\0\1\10"+
"\4\235\1\22\1\0\1\24\5\0\4\10\1\235\11\10"+
"\27\0\7\10\1\235\1\10\2\0\4\10\1\235\2\10"+
"\1\0\1\236\1\10\1\0\1\10\4\235\1\22\1\0"+
"\1\24\5\0\4\10\1\235\11\10\27\0\11\10\2\0"+
"\7\10\1\0\2\10\1\0\5\10\10\0\12\10\1\237"+
"\3\10\27\0\11\10\2\0\7\10\1\0\2\10\1\0"+
"\1\10\1\240\3\10\10\0\16\10\27\0\11\10\2\0"+
"\7\10\1\0\2\10\1\0\5\10\10\0\3\10\1\241"+
"\3\10\1\242\6\10\27\0\11\10\2\0\7\10\1\0"+
"\2\10\1\0\5\10\10\0\1\10\1\243\14\10\27\0"+
"\11\10\2\0\7\10\1\0\2\10\1\0\5\10\10\0"+
"\1\244\15\10\26\0\13\134\1\0\20\134\1\245\1\136"+
"\4\134\1\137\45\134\34\0\1\246\1\247\1\0\2\250"+
"\1\0\2\137\44\0\110\134\13\140\1\0\21\140\1\141"+
"\1\245\3\140\1\137\155\140\35\0\1\247\1\251\2\250"+
"\1\0\2\137\45\0\11\10\2\0\7\10\1\0\2\10"+
"\1\0\5\10\10\0\2\10\1\252\13\10\27\0\11\10"+
"\2\0\7\10\1\0\2\10\1\0\5\10\10\0\3\10"+
"\1\253\12\10\27\0\11\10\2\0\7\10\1\0\2\10"+
"\1\0\5\10\10\0\5\10\1\254\10\10\27\0\3\10"+
"\1\255\4\10\1\256\2\0\7\10\1\0\2\10\1\0"+
"\5\10\10\0\16\10\27\0\11\10\2\0\7\10\1\0"+
"\2\10\1\0\5\10\10\0\5\10\1\257\10\10\27\0"+
"\11\10\2\0\7\10\1\0\2\10\1\0\5\10\10\0"+
"\7\10\1\260\6\10\27\0\11\10\2\0\7\10\1\0"+
"\2\10\1\0\5\10\10\0\11\10\1\261\4\10\27\0"+
"\11\10\2\0\7\10\1\0\2\10\1\0\5\10\10\0"+
"\10\10\1\262\5\10\27\0\11\10\2\0\7\10\1\0"+
"\2\10\1\0\5\10\10\0\3\10\1\263\12\10\27\0"+
"\11\10\2\0\7\10\1\0\1\264\1\10\1\0\5\10"+
"\10\0\16\10\27\0\6\10\1\265\2\10\2\0\7\10"+
"\1\0\2\10\1\0\5\10\10\0\16\10\27\0\11\10"+
"\2\0\7\10\1\0\2\10\1\0\5\10\10\0\7\10"+
"\1\266\6\10\111\0\1\267\107\0\1\270\107\0\1\271"+
"\107\0\1\272\34\0\1\273\7\0\1\273\7\0\4\273"+
"\1\75\1\0\1\76\11\0\1\273\37\0\13\203\1\0"+
"\20\203\1\274\1\205\4\203\1\206\45\203\34\0\1\275"+
"\1\276\1\0\2\277\1\0\2\206\44\0\110\203\13\207"+
"\1\0\21\207\1\210\1\274\3\207\1\206\155\207\35\0"+
"\1\276\1\300\2\277\1\0\2\206\45\0\7\10\1\301"+
"\1\10\2\0\4\10\1\301\2\10\1\0\2\10\1\0"+
"\1\10\4\301\1\103\1\0\1\104\5\0\4\10\1\301"+
"\11\10\27\0\7\10\1\301\1\10\2\0\4\10\1\301"+
"\2\10\1\0\1\236\1\10\1\0\1\10\4\301\1\103"+
"\1\0\1\104\5\0\4\10\1\301\11\10\26\0\13\214"+
"\1\0\20\214\1\302\1\216\4\214\1\0\45\214\34\0"+
"\1\303\53\0\110\214\13\217\1\0\21\217\1\220\1\302"+
"\3\217\1\0\155\217\36\0\1\304\51\0\13\222\1\0"+
"\26\222\1\224\45\222\1\0\5\225\2\0\1\225\1\114"+
"\3\0\1\225\2\0\1\225\1\114\2\0\2\225\2\0"+
"\2\225\12\0\1\225\1\0\1\225\42\0\1\226\1\0"+
"\1\226\1\0\1\226\3\0\1\114\7\0\1\114\67\0"+
"\1\227\3\0\1\227\3\0\1\114\7\0\1\114\67\0"+
"\3\230\1\0\1\230\21\0\1\117\61\0\3\230\1\0"+
"\1\230\103\0\11\10\2\0\7\10\1\0\2\10\1\0"+
"\5\10\10\0\12\10\1\305\3\10\27\0\11\10\2\0"+
"\7\10\1\0\2\10\1\0\5\10\10\0\1\306\15\10"+
"\27\0\11\10\2\0\7\10\1\0\2\10\1\0\5\10"+
"\1\307\1\0\1\310\5\0\16\10\27\0\11\10\2\0"+
"\7\10\1\0\2\10\1\0\5\10\10\0\1\311\15\10"+
"\27\0\7\10\1\312\1\10\2\0\7\10\1\0\2\10"+
"\1\0\5\10\10\0\16\10\27\0\11\10\2\0\7\10"+
"\1\0\1\313\1\10\1\0\5\10\10\0\16\10\27\0"+
"\11\10\2\0\7\10\1\0\1\314\1\10\1\0\5\10"+
"\10\0\16\10\27\0\3\10\1\315\5\10\2\0\7\10"+
"\1\0\2\10\1\0\5\10\10\0\16\10\27\0\11\10"+
"\2\0\7\10\1\0\2\10\1\0\5\10\10\0\5\10"+
"\1\316\10\10\27\0\11\10\2\0\7\10\1\0\2\10"+
"\1\0\5\10\10\0\3\10\1\317\12\10\63\0\1\247"+
"\1\0\2\250\1\0\2\137\44\0\34\246\1\320\1\321"+
"\52\246\35\251\1\322\1\323\51\251\1\0\11\10\2\0"+
"\7\10\1\0\1\324\1\10\1\0\5\10\10\0\16\10"+
"\27\0\11\10\2\0\7\10\1\0\2\10\1\0\4\10"+
"\1\325\10\0\16\10\27\0\11\10\2\0\7\10\1\0"+
"\2\10\1\0\5\10\10\0\3\10\1\326\12\10\27\0"+
"\6\10\1\327\2\10\2\0\7\10\1\0\2\10\1\0"+
"\5\10\10\0\16\10\27\0\11\10\2\0\7\10\1\0"+
"\2\10\1\0\5\10\10\0\3\10\1\330\12\10\27\0"+
"\10\10\1\331\2\0\7\10\1\0\2\10\1\0\5\10"+
"\10\0\16\10\27\0\7\10\1\332\1\10\2\0\7\10"+
"\1\0\2\10\1\0\5\10\10\0\16\10\27\0\10\10"+
"\1\333\2\0\7\10\1\0\2\10\1\0\5\10\10\0"+
"\16\10\62\0\1\334\1\0\1\335\106\0\1\276\1\0"+
"\2\277\1\0\2\206\44\0\34\275\1\336\1\337\52\275"+
"\35\300\1\340\1\341\51\300\1\0\11\10\2\0\7\10"+
"\1\0\2\10\1\0\5\10\1\342\1\0\1\343\5\0"+
"\16\10\26\0\34\303\1\344\1\345\52\303\35\304\1\346"+
"\1\347\51\304\1\0\10\10\1\350\2\0\7\10\1\0"+
"\2\10\1\0\5\10\10\0\16\10\62\0\1\351\111\0"+
"\1\352\52\0\11\10\2\0\7\10\1\0\2\10\1\0"+
"\5\10\10\0\6\10\1\353\7\10\27\0\11\10\2\0"+
"\7\10\1\0\2\10\1\0\5\10\10\0\2\10\1\354"+
"\13\10\27\0\11\10\2\0\7\10\1\0\2\10\1\0"+
"\5\10\10\0\10\10\1\355\5\10\27\0\11\10\2\0"+
"\7\10\1\0\2\10\1\0\5\10\10\0\7\10\1\356"+
"\6\10\27\0\11\10\2\0\7\10\1\0\2\10\1\0"+
"\5\10\10\0\3\10\1\357\12\10\26\0\34\246\1\360"+
"\1\361\162\246\145\251\1\362\1\363\51\251\1\0\11\10"+
"\2\0\7\10\1\0\2\10\1\0\5\10\10\0\4\10"+
"\1\364\11\10\27\0\11\10\2\0\7\10\1\0\2\10"+
"\1\0\5\10\10\0\4\10\1\365\11\10\27\0\11\10"+
"\2\0\7\10\1\0\1\366\1\10\1\0\5\10\10\0"+
"\16\10\27\0\11\10\2\0\7\10\1\0\2\10\1\0"+
"\5\10\10\0\4\10\1\367\11\10\27\0\11\10\2\0"+
"\7\10\1\0\2\10\1\0\5\10\10\0\2\10\1\370"+
"\13\10\27\0\11\10\2\0\7\10\1\0\2\10\1\0"+
"\5\10\10\0\1\371\15\10\27\0\11\10\2\0\7\10"+
"\1\0\1\372\1\10\1\0\5\10\10\0\16\10\62\0"+
"\1\373\111\0\1\374\51\0\34\275\1\375\1\376\162\275"+
"\145\300\1\377\1\u0100\51\300\34\0\1\u0101\111\0\1\u0102"+
"\51\0\34\303\1\u0103\1\u0104\162\303\145\304\1\u0105\1\u0106"+
"\51\304\1\0\10\10\1\u0107\2\0\7\10\1\0\2\10"+
"\1\0\5\10\10\0\16\10\62\0\1\246\111\0\1\251"+
"\52\0\11\10\2\0\7\10\1\0\2\10\1\0\5\10"+
"\10\0\1\u0108\15\10\27\0\11\10\2\0\7\10\1\0"+
"\2\10\1\0\5\10\10\0\5\10\1\u0109\10\10\27\0"+
"\11\10\2\0\7\10\1\0\2\10\1\0\5\10\10\0"+
"\1\10\1\u010a\14\10\26\0\34\246\1\u010b\1\361\106\246"+
"\1\u010c\1\361\52\246\35\251\1\362\1\u010d\106\251\1\362"+
"\1\u010b\51\251\1\0\11\10\2\0\7\10\1\0\2\10"+
"\1\0\5\10\10\0\5\10\1\u010e\10\10\27\0\11\10"+
"\2\0\7\10\1\0\2\10\1\0\5\10\10\0\1\10"+
"\1\u010f\14\10\27\0\11\10\2\0\7\10\1\0\2\10"+
"\1\0\5\10\10\0\5\10\1\u0110\10\10\27\0\10\10"+
"\1\u0111\2\0\7\10\1\0\2\10\1\0\5\10\10\0"+
"\16\10\62\0\1\275\111\0\1\300\51\0\34\275\1\u0112"+
"\1\376\106\275\1\u0113\1\376\52\275\35\300\1\377\1\u0114"+
"\106\300\1\377\1\u0112\51\300\34\303\1\u0115\1\u0104\106\303"+
"\1\u0116\1\u0104\52\303\35\304\1\u0105\1\u0117\106\304\1\u0105"+
"\1\u0115\51\304\1\0\11\10\2\0\7\10\1\0\2\10"+
"\1\0\5\10\10\0\11\10\1\u0118\4\10\27\0\11\10"+
"\2\0\7\10\1\0\2\10\1\0\4\10\1\u0119\10\0"+
"\16\10\63\0\1\u011a\1\0\2\u011b\1\0\2\u011c\44\0"+
"\34\246\1\u011d\1\361\52\246\35\251\1\362\1\u011e\51\251"+
"\34\275\1\u011f\1\376\52\275\35\300\1\377\1\u0120\51\300"+
"\34\303\1\u0121\1\u0104\52\303\35\304\1\u0105\1\u0122\51\304"+
"\1\0\11\10\2\0\7\10\1\0\1\u0123\1\10\1\0"+
"\5\10\10\0\16\10\26\0\34\246\1\u0124\1\361\52\246"+
"\35\251\1\362\1\u0125\51\251\34\275\1\u0126\1\376\52\275"+
"\35\300\1\377\1\u0127\51\300\34\303\1\u0128\1\u0104\52\303"+
"\35\304\1\u0105\1\u0129\51\304";
private static int [] zzUnpackTrans() {
int [] result = new int[15120];
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
/* 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 =
"\3\0\1\11\16\1\1\11\1\1\5\11\25\1\14\11"+
"\4\1\1\11\10\1\4\0\1\11\1\1\1\0\1\11"+
"\11\1\1\11\5\1\1\11\22\1\3\11\1\1\1\11"+
"\1\1\5\11\1\1\2\11\1\1\1\11\1\0\3\1"+
"\1\11\13\1\2\0\1\11\4\1\1\0\15\1\1\11"+
"\1\0\16\1\4\11\1\0\2\1\1\11\1\0\2\1"+
"\1\11\4\1\2\0\7\1\1\0\2\1\1\0\10\1"+
"\3\0\2\1\7\0\1\1\2\0\5\1\1\0\2\1"+
"\1\0\7\1\3\0\2\1\4\0\2\1\1\0\16\1"+
"\1\11\4\1\1\11\1\0\1\11\6\0\7\1";
private static int [] zzUnpackAttribute() {
int [] result = new int[297];
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: */
private int getSpaceLength(CharSequence string) {
String string1 = string.toString();
string1 = StringUtil.trimEnd(string1, "\\");
string1 = StringUtil.trimEnd(string1, ";");
final String s = StringUtil.trimTrailing(string1);
return yylength()-s.length();
}
_PythonLexer(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.
*/
_PythonLexer(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 < 3338) {
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);
zzCurrentPos = zzMarkedPos = zzStartRead = start;
zzPushbackPos = 0;
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 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 89:
{ return PyTokenTypes.YIELD_KEYWORD;
}
case 100: break;
case 84:
{ yypushback(getSpaceLength(yytext())); if (zzCurrentPos != 0) return PyTokenTypes.TRIPLE_QUOTED_STRING;
yybegin(PENDING_DOCSTRING); return PyTokenTypes.DOCSTRING;
}
case 101: break;
case 2:
{ return PyTokenTypes.INTEGER_LITERAL;
}
case 102: break;
case 17:
{ return PyTokenTypes.DIV;
}
case 103: break;
case 18:
{ return PyTokenTypes.PERC;
}
case 104: break;
case 8:
{ return PyTokenTypes.BACKSLASH;
}
case 105: break;
case 26:
{ return PyTokenTypes.RPAR;
}
case 106: break;
case 1:
{ return PyTokenTypes.BAD_CHARACTER;
}
case 107: break;
case 29:
{ return PyTokenTypes.LBRACE;
}
case 108: break;
case 35:
{ yypushback(1); yybegin(YYINITIAL);
}
case 109: break;
case 71:
{ yybegin(IN_DOCSTRING_OWNER); return PyTokenTypes.DEF_KEYWORD;
}
case 110: break;
case 87:
{ yybegin(IN_DOCSTRING_OWNER); return PyTokenTypes.CLASS_KEYWORD;
}
case 111: break;
case 79:
{ yypushback(getSpaceLength(yytext())); return PyTokenTypes.DOCSTRING;
}
case 112: break;
case 6:
{ return PyTokenTypes.MINUS;
}
case 113: break;
case 7:
{ if (zzInput == YYEOF && zzStartRead == 0) return PyTokenTypes.DOCSTRING;
else return PyTokenTypes.SINGLE_QUOTED_STRING;
}
case 114: break;
case 86:
{ return PyTokenTypes.BREAK_KEYWORD;
}
case 115: break;
case 28:
{ return PyTokenTypes.RBRACKET;
}
case 116: break;
case 64:
{ yypushback(getSpaceLength(yytext())); yybegin(YYINITIAL); return PyTokenTypes.DOCSTRING;
}
case 117: break;
case 5:
{ return PyTokenTypes.DOT;
}
case 118: break;
case 3:
{ return PyTokenTypes.IDENTIFIER;
}
case 119: break;
case 25:
{ return PyTokenTypes.LPAR;
}
case 120: break;
case 23:
{ return PyTokenTypes.LT;
}
case 121: break;
case 46:
{ return PyTokenTypes.IN_KEYWORD;
}
case 122: break;
case 88:
{ return PyTokenTypes.RAISE_KEYWORD;
}
case 123: break;
case 76:
{ return PyTokenTypes.GTGTEQ;
}
case 124: break;
case 9:
{ return PyTokenTypes.SPACE;
}
case 125: break;
case 92:
{ return PyTokenTypes.EXCEPT_KEYWORD;
}
case 126: break;
case 41:
{ return PyTokenTypes.IMAGINARY_LITERAL;
}
case 127: break;
case 39:
{ return PyTokenTypes.SINGLE_QUOTED_STRING;
}
case 128: break;
case 11:
{ return PyTokenTypes.FORMFEED;
}
case 129: break;
case 13:
{ return PyTokenTypes.SEMICOLON;
}
case 130: break;
case 22:
{ return PyTokenTypes.GT;
}
case 131: break;
case 27:
{ return PyTokenTypes.LBRACKET;
}
case 132: break;
case 33:
{ return PyTokenTypes.COLON;
}
case 133: break;
case 77:
{ return PyTokenTypes.LTLTEQ;
}
case 134: break;
case 82:
{ return PyTokenTypes.ELSE_KEYWORD;
}
case 135: break;
case 20:
{ return PyTokenTypes.OR;
}
case 136: break;
case 68:
{ yypushback(getSpaceLength(yytext())); if (zzCurrentPos != 0) return PyTokenTypes.SINGLE_QUOTED_STRING;
yybegin(PENDING_DOCSTRING); return PyTokenTypes.DOCSTRING;
}
case 137: break;
case 67:
{ if (zzInput == YYEOF && zzStartRead == 0) return PyTokenTypes.DOCSTRING;
else return PyTokenTypes.TRIPLE_QUOTED_STRING;
}
case 138: break;
case 50:
{ return PyTokenTypes.MULTEQ;
}
case 139: break;
case 97:
{ return PyTokenTypes.FINALLY_KEYWORD;
}
case 140: break;
case 90:
{ return PyTokenTypes.WHILE_KEYWORD;
}
case 141: break;
case 16:
{ return PyTokenTypes.MULT;
}
case 142: break;
case 93:
{ return PyTokenTypes.ASSERT_KEYWORD;
}
case 143: break;
case 53:
{ return PyTokenTypes.FLOORDIV;
}
case 144: break;
case 96:
{ return PyTokenTypes.GLOBAL_KEYWORD;
}
case 145: break;
case 37:
{ if (zzInput == YYEOF) return PyTokenTypes.DOCSTRING;
else yybegin(YYINITIAL); return PyTokenTypes.SINGLE_QUOTED_STRING;
}
case 146: break;
case 91:
{ return PyTokenTypes.LAMBDA_KEYWORD;
}
case 147: break;
case 57:
{ return PyTokenTypes.XOREQ;
}
case 148: break;
case 66:
{ return PyTokenTypes.FOR_KEYWORD;
}
case 149: break;
case 31:
{ return PyTokenTypes.AT;
}
case 150: break;
case 70:
{ return PyTokenTypes.NOT_KEYWORD;
}
case 151: break;
case 14:
{ return PyTokenTypes.PLUS;
}
case 152: break;
case 43:
{ return PyTokenTypes.MINUSEQ;
}
case 153: break;
case 63:
{ return PyTokenTypes.NE;
}
case 154: break;
case 32:
{ return PyTokenTypes.COMMA;
}
case 155: break;
case 49:
{ return PyTokenTypes.EQEQ;
}
case 156: break;
case 34:
{ return PyTokenTypes.TICK;
}
case 157: break;
case 51:
{ return PyTokenTypes.EXP;
}
case 158: break;
case 80:
{ return PyTokenTypes.TRIPLE_QUOTED_STRING;
}
case 159: break;
case 99:
{ return PyTokenTypes.CONTINUE_KEYWORD;
}
case 160: break;
case 62:
{ return PyTokenTypes.LTLT;
}
case 161: break;
case 60:
{ return PyTokenTypes.LE;
}
case 162: break;
case 69:
{ return PyTokenTypes.AND_KEYWORD;
}
case 163: break;
case 42:
{ return PyTokenTypes.OR_KEYWORD;
}
case 164: break;
case 4:
{ if (zzCurrentPos == 0) yybegin(PENDING_DOCSTRING); return PyTokenTypes.END_OF_LINE_COMMENT;
}
case 165: break;
case 44:
{ yypushback(getSpaceLength(yytext())); if (zzCurrentPos != 0) return PyTokenTypes.SINGLE_QUOTED_STRING;
return PyTokenTypes.DOCSTRING;
}
case 166: break;
case 85:
{ return PyTokenTypes.PASS_KEYWORD;
}
case 167: break;
case 65:
{ yypushback(yylength()-1); yybegin(PENDING_DOCSTRING); return PyTokenTypes.COLON;
}
case 168: break;
case 36:
{ return PyTokenTypes.END_OF_LINE_COMMENT;
}
case 169: break;
case 98:
{ yypushback(getSpaceLength(yytext())); if (zzCurrentPos != 0) return PyTokenTypes.TRIPLE_QUOTED_STRING;
return PyTokenTypes.DOCSTRING;
}
case 170: break;
case 56:
{ return PyTokenTypes.OREQ;
}
case 171: break;
case 59:
{ return PyTokenTypes.GTGT;
}
case 172: break;
case 19:
{ return PyTokenTypes.AND;
}
case 173: break;
case 52:
{ return PyTokenTypes.DIVEQ;
}
case 174: break;
case 94:
{ return PyTokenTypes.RETURN_KEYWORD;
}
case 175: break;
case 95:
{ return PyTokenTypes.IMPORT_KEYWORD;
}
case 176: break;
case 58:
{ return PyTokenTypes.GE;
}
case 177: break;
case 48:
{ return PyTokenTypes.PLUSEQ;
}
case 178: break;
case 78:
{ if (zzInput == YYEOF) return PyTokenTypes.DOCSTRING;
else yybegin(YYINITIAL); return PyTokenTypes.TRIPLE_QUOTED_STRING;
}
case 179: break;
case 47:
{ return PyTokenTypes.IS_KEYWORD;
}
case 180: break;
case 75:
{ return PyTokenTypes.FLOORDIVEQ;
}
case 181: break;
case 40:
{ return PyTokenTypes.FLOAT_LITERAL;
}
case 182: break;
case 38:
{ return PyTokenTypes.LINE_BREAK;
}
case 183: break;
case 54:
{ return PyTokenTypes.PERCEQ;
}
case 184: break;
case 73:
{ return PyTokenTypes.TRY_KEYWORD;
}
case 185: break;
case 55:
{ return PyTokenTypes.ANDEQ;
}
case 186: break;
case 15:
{ return PyTokenTypes.EQ;
}
case 187: break;
case 81:
{ return PyTokenTypes.FROM_KEYWORD;
}
case 188: break;
case 12:
{ if (zzCurrentPos == 0) yybegin(PENDING_DOCSTRING); return PyTokenTypes.LINE_BREAK;
}
case 189: break;
case 74:
{ return PyTokenTypes.EXPEQ;
}
case 190: break;
case 83:
{ return PyTokenTypes.ELIF_KEYWORD;
}
case 191: break;
case 30:
{ return PyTokenTypes.RBRACE;
}
case 192: break;
case 45:
{ return PyTokenTypes.IF_KEYWORD;
}
case 193: break;
case 10:
{ return PyTokenTypes.TAB;
}
case 194: break;
case 61:
{ return PyTokenTypes.NE_OLD;
}
case 195: break;
case 24:
{ return PyTokenTypes.TILDE;
}
case 196: break;
case 72:
{ return PyTokenTypes.DEL_KEYWORD;
}
case 197: break;
case 21:
{ return PyTokenTypes.XOR;
}
case 198: break;
default:
if (zzInput == YYEOF && zzStartRead == zzCurrentPos) {
zzAtEOF = true;
zzDoEOF();
return null;
}
else {
zzScanError(ZZ_NO_MATCH);
}
}
}
}
}