/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3cyclicdfa.h | 65 const ANTLR3_INT32 decisionNumber; 71 ANTLR3_INT32 (*specialStateTransition) (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, struct ANTLR3_CYCLIC_DFA_struct * dfa, ANTLR3_INT32 s); 73 ANTLR3_INT32 (*specialTransition) (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, struct ANTLR3_CYCLIC_DFA_struct * dfa, ANTLR3_INT32 s); 75 ANTLR3_INT32 (*predict) (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, struct ANTLR3_CYCLIC_DFA_struct * dfa); 77 const ANTLR3_INT32 * const eot; 78 const ANTLR3_INT32 * const eof; 79 const ANTLR3_INT32 * const min; 80 const ANTLR3_INT32 * const max [all...] |
antlr3commontreenodestream.h | 78 pANTLR3_BASE_TREE (*_LT) (struct ANTLR3_TREE_NODE_STREAM_struct * tns, ANTLR3_INT32 k); 125 pANTLR3_BASE_TREE (*get) (struct ANTLR3_TREE_NODE_STREAM_struct * tns, ANTLR3_INT32 i); 139 void (*replaceChildren) (struct ANTLR3_TREE_NODE_STREAM_struct * tns, pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildIndex, pANTLR3_BASE_TREE t); 220 ANTLR3_INT32 p; 233 ANTLR3_INT32 currentChildIndex; 268 void (*fill) (struct ANTLR3_COMMON_TREE_NODE_STREAM_struct * ctns, ANTLR3_INT32 k); 293 void (*push) (struct ANTLR3_COMMON_TREE_NODE_STREAM_struct * ctns, ANTLR3_INT32 index); 295 ANTLR3_INT32 (*pop) (struct ANTLR3_COMMON_TREE_NODE_STREAM_struct * ctns);
|
antlr3recognizersharedstate.h | 111 ANTLR3_INT32 backtracking; 166 ANTLR3_INT32 tokenStartLine; 171 ANTLR3_INT32 tokenStartCharPositionInLine;
|
antlr3commontree.h | 74 ANTLR3_INT32 childIndex; 120 ANTLR3_INT32 thisPool;
|
antlr3basetree.h | 91 void (*replaceChildren) (struct ANTLR3_BASE_TREE_struct * parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildIndex, struct ANTLR3_BASE_TREE_struct * t); 101 void (*setChildIndex) (struct ANTLR3_BASE_TREE_struct * tree, ANTLR3_INT32 ); 103 ANTLR3_INT32 (*getChildIndex) (struct ANTLR3_BASE_TREE_struct * tree );
|
antlr3commontoken.h | 136 ANTLR3_INT32 charPosition; 262 ANTLR3_INT32 (*getCharPositionInLine) (struct ANTLR3_COMMON_TOKEN_struct * token); 266 void (*setCharPositionInLine) (struct ANTLR3_COMMON_TOKEN_struct * token, ANTLR3_INT32 pos); 323 ANTLR3_INT32 thisPool; 327 ANTLR3_INT32 maxPool;
|
antlr3input.h | 110 ANTLR3_INT32 charPositionInLine; 158 void * (*_LT) (struct ANTLR3_INPUT_STREAM_struct * input, ANTLR3_INT32 lt); 264 ANTLR3_INT32 charPositionInLine;
|
antlr3bitset.h | 97 void (*add) (struct ANTLR3_BITSET_struct * bitset, ANTLR3_INT32 bit); 98 void (*grow) (struct ANTLR3_BITSET_struct * bitset, ANTLR3_INT32 newSize);
|
antlr3string.h | 141 pANTLR3_UINT8 (*inserti) (struct ANTLR3_STRING_struct * string, ANTLR3_UINT32 point, ANTLR3_INT32 i); 151 pANTLR3_UINT8 (*addi) (struct ANTLR3_STRING_struct * string, ANTLR3_INT32 i); 184 ANTLR3_INT32 (*toInt32) (struct ANTLR3_STRING_struct * string);
|
antlr3tokenstream.h | 130 pANTLR3_COMMON_TOKEN (*_LT) (struct ANTLR3_TOKEN_STREAM_struct * tokenStream, ANTLR3_INT32 k); 239 ANTLR3_INT32 p; 253 void (*discardTokenType) (struct ANTLR3_COMMON_TOKEN_STREAM_struct * tokenStream, ANTLR3_INT32 ttype);
|
antlr3exception.h | 177 ANTLR3_INT32 charPositionInLine;
|
antlr3intstream.h | 125 ANTLR3_UINT32 (*_LA) (struct ANTLR3_INT_STREAM_struct * intStream, ANTLR3_INT32 i);
|
antlr3collections.h | 134 ANTLR3_INT32 (*put) (struct ANTLR3_HASH_TABLE_struct * table, void * key, void * element, void (ANTLR3_CDECL *freeptr)(void *)); 140 ANTLR3_INT32 (*putI) (struct ANTLR3_HASH_TABLE_struct * table, ANTLR3_INTKEY key, void * element, void (ANTLR3_CDECL *freeptr)(void *)); 190 ANTLR3_INT32 (*add) (struct ANTLR3_LIST_struct * list, void * element, void (ANTLR3_CDECL *freeptr)(void *)); 191 ANTLR3_INT32 (*put) (struct ANTLR3_LIST_struct * list, ANTLR3_INTKEY key, void * element, void (ANTLR3_CDECL *freeptr)(void *)); 293 ANTLR3_INT32 thisPool;
|
antlr3basetreeadaptor.h | 113 ANTLR3_INT32 (*getChildIndex) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, void * t); 142 void (*replaceChildren) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, void * parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildIndex, void * t);
|
antlr3defs.h | 162 typedef INT32 ANTLR3_INT32, *pANTLR3_INT32; 181 typedef int32_t ANTLR3_INT32, *pANTLR3_INT32; 213 typedef ANTLR3_INT32 ANTLR3_MARKER; 399 typedef int32_t ANTLR3_INT32, *pANTLR3_INT32; 426 typedef ANTLR3_INT32 ANTLR3_MARKER; 534 ANTLR3_API pANTLR3_BITSET antlr3BitsetOf (ANTLR3_INT32 bit, ...); 593 ANTLR3_API ANTLR3_INT32 antlr3dfaspecialTransition (void * ctx, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_INT_STREAM is, pANTLR3_CYCLIC_DFA dfa, ANTLR3_INT32 s); 594 ANTLR3_API ANTLR3_INT32 antlr3dfaspecialStateTransition (void * ctx, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_INT_STREAM is, pANTLR3_CYCLIC_DFA dfa, ANTLR3_INT32 s) [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3cyclicdfa.c | 78 ANTLR3_API ANTLR3_INT32 82 ANTLR3_INT32 s; 83 ANTLR3_INT32 specialState; 84 ANTLR3_INT32 c; 135 ANTLR3_INT32 snext; 192 ANTLR3_API ANTLR3_INT32 193 antlr3dfaspecialStateTransition (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, pANTLR3_CYCLIC_DFA dfa, ANTLR3_INT32 s) 200 ANTLR3_API ANTLR3_INT32 201 antlr3dfaspecialTransition (void * ctx, pANTLR3_BASE_RECOGNIZER recognizer, pANTLR3_INT_STREAM is, pANTLR3_CYCLIC_DFA dfa, ANTLR3_INT32 s)
|
antlr3bitset.c | 45 static void antlr3BitsetAdd (pANTLR3_BITSET bitset, ANTLR3_INT32 bit); 55 static void growToInclude (pANTLR3_BITSET bitset, ANTLR3_INT32 bit); 56 static void grow (pANTLR3_BITSET bitset, ANTLR3_INT32 newSize); 317 antlr3BitsetOf(ANTLR3_INT32 bit, ...) 379 antlr3BitsetAdd(pANTLR3_BITSET bitset, ANTLR3_INT32 bit) 395 grow(pANTLR3_BITSET bitset, ANTLR3_INT32 newSize) 421 growToInclude(pANTLR3_BITSET bitset, ANTLR3_INT32 bit) 486 ANTLR3_INT32 i; 514 ANTLR3_INT32 minimum; 515 ANTLR3_INT32 i [all...] |
antlr3basetree.c | 46 static void replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildIndex, pANTLR3_BASE_TREE t); 339 replaceChildren (pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildIndex, pANTLR3_BASE_TREE newTree) 341 ANTLR3_INT32 replacingHowMany; // How many nodes will go away 342 ANTLR3_INT32 replacingWithHowMany; // How many nodes will replace them 343 ANTLR3_INT32 numNewChildren; // Tracking variable 344 ANTLR3_INT32 delta; // Difference in new vs existing count 346 ANTLR3_INT32 i; 347 ANTLR3_INT32 j [all...] |
antlr3commontreeadaptor.c | 56 static void replaceChildren (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildIndex, pANTLR3_BASE_TREE t); 58 static void setChildIndex (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, ANTLR3_INT32 i); 59 static ANTLR3_INT32 getChildIndex (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t); 136 cta->baseAdaptor.getChildIndex = (ANTLR3_INT32 (*) (pANTLR3_BASE_TREE_ADAPTOR, void *)) 142 cta->baseAdaptor.replaceChildren = (void (*) (pANTLR3_BASE_TREE_ADAPTOR, void *, ANTLR3_INT32, ANTLR3_INT32, void *)) 445 (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildIndex, pANTLR3_BASE_TREE t) 477 setChildIndex (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t, ANTLR3_INT32 i [all...] |
antlr3tokenstream.c | 43 static void discardTokenType (pANTLR3_COMMON_TOKEN_STREAM cts, ANTLR3_INT32 ttype); 54 static pANTLR3_COMMON_TOKEN tokLT (pANTLR3_TOKEN_STREAM ts, ANTLR3_INT32 k); 55 static pANTLR3_COMMON_TOKEN dbgTokLT (pANTLR3_TOKEN_STREAM ts, ANTLR3_INT32 k); 68 static ANTLR3_UINT32 _LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i); 69 static ANTLR3_UINT32 dbgLA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i); 88 static ANTLR3_UINT32 skipOffTokenChannels (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_INT32 i); 89 static ANTLR3_UINT32 skipOffTokenChannelsReverse (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_INT32 i); 90 static pANTLR3_COMMON_TOKEN LB (pANTLR3_COMMON_TOKEN_STREAM tokenStream, ANTLR3_INT32 i); 352 tokLT (pANTLR3_TOKEN_STREAM ts, ANTLR3_INT32 k) 354 ANTLR3_INT32 i [all...] |
antlr3commontoken.c | 47 static ANTLR3_INT32 getCharPositionInLine (pANTLR3_COMMON_TOKEN token); 48 static void setCharPositionInLine (pANTLR3_COMMON_TOKEN token, ANTLR3_INT32 pos); 245 ANTLR3_INT32 poolCount; 484 static ANTLR3_INT32 getCharPositionInLine (pANTLR3_COMMON_TOKEN token) 489 static void setCharPositionInLine (pANTLR3_COMMON_TOKEN token, ANTLR3_INT32 pos) 560 outtext->addi (outtext, (ANTLR3_INT32)token->getTokenIndex(token)); 562 outtext->addi (outtext, (ANTLR3_INT32)token->getStartIndex(token)); 564 outtext->addi (outtext, (ANTLR3_INT32)token->getStopIndex(token)); 574 outtext->addi (outtext, (ANTLR3_INT32)token->getChannel(token)); 579 outtext->addi (outtext, (ANTLR3_INT32)token->getLine(token)) [all...] |
antlr3inputstream.c | 43 static ANTLR3_UCHAR antlr38BitLA (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 44 static ANTLR3_UCHAR antlr38BitLA_ucase (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 58 static void * antlr38BitLT (pANTLR3_INPUT_STREAM input, ANTLR3_INT32 lt); 75 static ANTLR3_UCHAR antlr3UTF16LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 77 static ANTLR3_UCHAR antlr3UTF16LALE (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 79 static ANTLR3_UCHAR antlr3UTF16LABE (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 93 static ANTLR3_UCHAR antlr3UTF32LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 94 static ANTLR3_UCHAR antlr3UTF32LALE (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 95 static ANTLR3_UCHAR antlr3UTF32LABE (pANTLR3_INT_STREAM is, ANTLR3_INT32 la); 107 static ANTLR3_UCHAR antlr3UTF8LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 la) [all...] |
antlr3commontreenodestream.c | 48 static void push (pANTLR3_COMMON_TREE_NODE_STREAM ctns, ANTLR3_INT32 index); 49 static ANTLR3_INT32 pop (pANTLR3_COMMON_TREE_NODE_STREAM ctns); 50 //static ANTLR3_INT32 index (pANTLR3_COMMON_TREE_NODE_STREAM ctns); 56 static pANTLR3_BASE_TREE _LT (pANTLR3_TREE_NODE_STREAM tns, ANTLR3_INT32 k); 57 static pANTLR3_BASE_TREE get (pANTLR3_TREE_NODE_STREAM tns, ANTLR3_INT32 k); 62 static void replaceChildren (pANTLR3_TREE_NODE_STREAM tns, pANTLR3_BASE_TREE parent, ANTLR3_INT32 startChildIndex, ANTLR3_INT32 stopChildIndex, pANTLR3_BASE_TREE t); 68 static ANTLR3_UINT32 _LA (pANTLR3_INT_STREAM is, ANTLR3_INT32 i); 551 LB(pANTLR3_TREE_NODE_STREAM tns, ANTLR3_INT32 k) 577 _LT (pANTLR3_TREE_NODE_STREAM tns, ANTLR3_INT32 k [all...] |
antlr3string.c | 71 static pANTLR3_UINT8 addi8 (pANTLR3_STRING string, ANTLR3_INT32 i); 72 static pANTLR3_UINT8 addiUTF16 (pANTLR3_STRING string, ANTLR3_INT32 i); 73 static pANTLR3_UINT8 inserti8 (pANTLR3_STRING string, ANTLR3_UINT32 point, ANTLR3_INT32 i); 74 static pANTLR3_UINT8 insertiUTF16 (pANTLR3_STRING string, ANTLR3_UINT32 point, ANTLR3_INT32 i); 84 static ANTLR3_INT32 toInt32_8 (pANTLR3_STRING string); 85 static ANTLR3_INT32 toInt32_UTF16 (pANTLR3_STRING string); 530 ANTLR3_INT32 inSize; 984 addi8 (pANTLR3_STRING string, ANTLR3_INT32 i) 993 addiUTF16 (pANTLR3_STRING string, ANTLR3_INT32 i) 1003 inserti8 (pANTLR3_STRING string, ANTLR3_UINT32 point, ANTLR3_INT32 i [all...] |
antlr3commontree.c | 51 static void setChildIndex (pANTLR3_BASE_TREE tree, ANTLR3_INT32 i); 52 static ANTLR3_INT32 getChildIndex (pANTLR3_BASE_TREE tree); 254 ANTLR3_INT32 poolCount; 516 setChildIndex (pANTLR3_BASE_TREE tree, ANTLR3_INT32 i) 520 static ANTLR3_INT32
|