The congress.datalog.Python2.CongressLexer
Module¶
-
class
congress.datalog.Python2.CongressLexer.
CongressLexer
(input=None, state=None)¶ Bases:
antlr3.recognizers.Lexer
-
class
DFA23
(recognizer, decisionNumber, eot, eof, min, max, accept, special, transition)¶ Bases:
antlr3.dfa.DFA
-
CongressLexer.
DFA23_accept
= [-1, -1, 1, -1, 2]¶
-
CongressLexer.
DFA23_eof
= [-1, -1, -1, -1, -1]¶
-
CongressLexer.
DFA23_eot
= [-1, -1, -1, 4, -1]¶
-
CongressLexer.
DFA23_max
= [57, 57, -1, 57, -1]¶
-
CongressLexer.
DFA23_min
= [46, 46, -1, 48, -1]¶
-
CongressLexer.
DFA23_special
= [-1, -1, -1, -1, -1]¶
-
CongressLexer.
DFA23_transition
= [[2, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [3, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [], [2, 2, 2, 2, 2, 2, 2, 2, 2, 2], []]¶
-
class
CongressLexer.
DFA24
(recognizer, decisionNumber, eot, eof, min, max, accept, special, transition)¶ Bases:
antlr3.dfa.DFA
-
CongressLexer.
DFA24_accept
= [-1, -1, 2, 1]¶
-
CongressLexer.
DFA24_eof
= [-1, -1, -1, -1]¶
-
CongressLexer.
DFA24_eot
= [-1, -1, -1, -1]¶
-
CongressLexer.
DFA24_max
= [57, 101, -1, -1]¶
-
CongressLexer.
DFA24_min
= [46, 46, -1, -1]¶
-
CongressLexer.
DFA24_special
= [-1, -1, -1, -1]¶
-
CongressLexer.
DFA24_transition
= [[2, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [2, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3], [], []]¶
-
class
CongressLexer.
DFA38
(recognizer, decisionNumber, eot, eof, min, max, accept, special, transition)¶ Bases:
antlr3.dfa.DFA
-
CongressLexer.
DFA38_accept
= [-1, -1, 2, 3, 4, 5, 6, -1, 9, -1, -1, -1, -1, -1, 13, 14, 15, -1, -1, -1, 18, -1, -1, -1, -1, 19, 20, 21, 1, 8, 7, -1, -1, -1, -1, -1, -1, -1, 16, 17, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 10, -1, 12, 11]¶
-
CongressLexer.
DFA38_eof
= [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]¶
-
CongressLexer.
DFA38_eot
= [-1, 29, -1, -1, -1, -1, -1, 30, -1, 25, 25, 25, 25, 25, -1, -1, -1, 38, 38, 25, -1, 25, 25, 25, 25, -1, -1, -1, -1, -1, -1, 39, 25, 25, 25, 25, 25, 38, -1, -1, 38, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 14, 14, 39, 25, 25, 25, 25, 25, 25, 65, 25, 67, -1, 68, -1, -1]¶
-
CongressLexer.
DFA38_max
= [122, 45, -1, -1, -1, -1, -1, 122, -1, 101, 120, 110, 111, 79, -1, -1, -1, 101, 101, 98, -1, 114, 114, 98, 39, -1, -1, -1, -1, -1, -1, 122, 108, 101, 115, 116, 84, 101, -1, -1, 101, 39, 39, 39, 39, 39, 39, 39, 39, 57, 101, 99, 101, 122, 122, 122, 116, 117, 114, 101, 116, 116, 122, 101, 122, -1, 122, -1, -1]¶
-
CongressLexer.
DFA38_min
= [9, 45, -1, -1, -1, -1, -1, 46, -1, 101, 120, 110, 111, 79, -1, -1, -1, 46, 46, 34, -1, 34, 34, 34, 34, -1, -1, -1, -1, -1, -1, 46, 108, 101, 115, 116, 84, 46, -1, -1, 46, 34, 34, 34, 34, 34, 34, 34, 34, 43, 101, 99, 101, 46, 46, 46, 116, 117, 114, 101, 116, 116, 46, 101, 46, -1, 46, -1, -1]¶
-
CongressLexer.
DFA38_special
= [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]¶
-
CongressLexer.
DFA38_transition
= [[27, 27, -1, -1, 27, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 27, 14, 20, 26, -1, -1, -1, 20, 4, 6, -1, 16, 2, 16, 7, 26, 18, 17, 17, 17, 17, 17, 17, 17, 17, 17, 1, 8, -1, 15, -1, -1, -1, 25, 22, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 13, 25, 25, 25, 23, 25, 25, 24, 25, 25, 25, 25, 25, 3, -1, 5, -1, 25, -1, 25, 21, 25, 9, 10, 25, 25, 25, 11, 25, 25, 25, 25, 12, 25, 25, 25, 19, 25, 25, 24, 25, 25, 25, 25, 25], [28], [], [], [], [], [], [25, -1, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, -1, -1, -1, -1, -1, -1, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, -1, -1, -1, -1, 25, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25], [], [32], [33], [34], [35], [36], [], [], [], [39, -1, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39], [39, -1, 40, 39, 39, 39, 39, 39, 39, 39, 39, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39], [20, -1, -1, -1, -1, 20, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 42, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 41], [], [20, -1, -1, -1, -1, 20, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 44, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 43], [20, -1, -1, -1, -1, 20, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 46, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 45], [20, -1, -1, -1, -1, 20, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 48, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 47], [20, -1, -1, -1, -1, 20], [], [], [], [], [], [], [25, -1, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, -1, -1, -1, -1, -1, -1, -1, 25, 25, 25, 25, 49, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, -1, -1, -1, -1, 25, -1, 25, 25, 25, 25, 49, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25], [50], [51], [52], [53], [54], [39, -1, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39], [], [], [39, -1, 40, 39, 39, 39, 39, 39, 39, 39, 39, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 39], [20, -1, -1, -1, -1, 20], [20, -1, -1, -1, -1, 20], [20, -1, -1, -1, -1, 20], [20, -1, -1, -1, -1, 20], [20, -1, -1, -1, -1, 20], [20, -1, -1, -1, -1, 20], [20, -1, -1, -1, -1, 20], [20, -1, -1, -1, -1, 20], [39, -1, 39, -1, -1, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55], [56], [57], [58], [25, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, -1, -1, -1, -1, -1, -1, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, -1, -1, -1, -1, 25, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25], [25, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, -1, -1, -1, -1, -1, -1, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, -1, -1, -1, -1, 25, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25], [25, -1, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, -1, -1, -1, -1, -1, -1, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, -1, -1, -1, -1, 25, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25], [59], [60], [61], [62], [63], [64], [25, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, -1, -1, -1, -1, -1, -1, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, -1, -1, -1, -1, 25, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25], [66], [25, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, -1, -1, -1, -1, -1, -1, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, -1, -1, -1, -1, 25, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25], [], [25, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, -1, -1, -1, -1, -1, -1, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, -1, -1, -1, -1, 25, -1, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25], [], []]¶
-
class
CongressLexer.
DFA8
(recognizer, decisionNumber, eot, eof, min, max, accept, special, transition)¶ Bases:
antlr3.dfa.DFA
-
CongressLexer.
DFA8_accept
= [-1, -1, -1, -1, 2, -1, 1]¶
-
CongressLexer.
DFA8_eof
= [-1, -1, -1, -1, -1, -1, -1]¶
-
CongressLexer.
DFA8_eot
= [-1, -1, -1, 6, -1, 6, -1]¶
-
CongressLexer.
DFA8_max
= [57, 101, 57, 101, -1, 101, -1]¶
-
CongressLexer.
DFA8_min
= [46, 46, 48, 48, -1, 48, -1]¶
-
CongressLexer.
DFA8_special
= [-1, -1, -1, -1, -1, -1, -1]¶
-
CongressLexer.
DFA8_transition
= [[2, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [3, -1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4], [], [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4], []]¶
-
CongressLexer.
api_version
= 1¶
-
CongressLexer.
grammarFileName
= '/Users/tim/opencode/congress/congress/datalog/Congress.g'¶
-
CongressLexer.
mBYTESTRPREFIX
()¶
-
CongressLexer.
mBYTES_CHAR_DQ
()¶
-
CongressLexer.
mBYTES_CHAR_SQ
()¶
-
CongressLexer.
mBYTES_ESC
()¶
-
CongressLexer.
mBYTES_TESC
()¶
-
CongressLexer.
mCOLONMINUS
()¶
-
CongressLexer.
mCOMMA
()¶
-
CongressLexer.
mCOMMENT
()¶
-
CongressLexer.
mDIGIT
()¶
-
CongressLexer.
mEQUAL
()¶
-
CongressLexer.
mEXPONENT
()¶
-
CongressLexer.
mFLOAT
()¶
-
CongressLexer.
mFLOAT_EXP
()¶
-
CongressLexer.
mFLOAT_NO_EXP
()¶
-
CongressLexer.
mFRAC_PART
()¶
-
CongressLexer.
mHEX_DIGIT
()¶
-
CongressLexer.
mID
()¶
-
CongressLexer.
mINT
()¶
-
CongressLexer.
mINT_PART
()¶
-
CongressLexer.
mLBRACKET
()¶
-
CongressLexer.
mLPAREN
()¶
-
CongressLexer.
mNEGATION
()¶
-
CongressLexer.
mRBRACKET
()¶
-
CongressLexer.
mRPAREN
()¶
-
CongressLexer.
mSIGN
()¶
-
CongressLexer.
mSLBYTESTRING
()¶
-
CongressLexer.
mSLSTRING
()¶
-
CongressLexer.
mSTRING
()¶
-
CongressLexer.
mSTRING_ESC
()¶
-
CongressLexer.
mSTRPREFIX
()¶
-
CongressLexer.
mT__53
()¶
-
CongressLexer.
mT__54
()¶
-
CongressLexer.
mT__55
()¶
-
CongressLexer.
mT__56
()¶
-
CongressLexer.
mT__57
()¶
-
CongressLexer.
mT__58
()¶
-
CongressLexer.
mTokens
()¶
-
CongressLexer.
mWS
()¶
-
class
-
congress.datalog.Python2.CongressLexer.
main
(argv, stdin=<open file '<stdin>', mode 'r'>, stdout=<open file '<stdout>', mode 'w'>, stderr=<open file '<stderr>', mode 'w'>)¶