Home
last modified time | relevance | path

Searched refs:ANTLR3_MARKER (Results 1 – 24 of 24) sorted by relevance

/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3commontoken.h148 ANTLR3_MARKER index;
153 ANTLR3_MARKER start;
158 ANTLR3_MARKER stop;
280 ANTLR3_MARKER (*getTokenIndex) (struct ANTLR3_COMMON_TOKEN_struct * token);
285 void (*setTokenIndex) (struct ANTLR3_COMMON_TOKEN_struct * token, ANTLR3_MARKER);
289 ANTLR3_MARKER (*getStartIndex) (struct ANTLR3_COMMON_TOKEN_struct * token);
293 void (*setStartIndex) (struct ANTLR3_COMMON_TOKEN_struct * token, ANTLR3_MARKER index);
297 ANTLR3_MARKER (*getStopIndex) (struct ANTLR3_COMMON_TOKEN_struct * token);
301 void (*setStopIndex) (struct ANTLR3_COMMON_TOKEN_struct * token, ANTLR3_MARKER index);
Dantlr3intstream.h113 ANTLR3_MARKER lastMarker;
132 ANTLR3_MARKER (*mark) (struct ANTLR3_INT_STREAM_struct * intStream);
137 ANTLR3_MARKER (*index) (struct ANTLR3_INT_STREAM_struct * intStream);
147 void (*rewind) (struct ANTLR3_INT_STREAM_struct * intStream, ANTLR3_MARKER marker);
159 void (*release) (struct ANTLR3_INT_STREAM_struct * intStream, ANTLR3_MARKER mark);
177 void (*seek) (struct ANTLR3_INT_STREAM_struct * intStream, ANTLR3_MARKER index);
Dantlr3baserecognizer.h279 ANTLR3_MARKER (*getRuleMemoization) (struct ANTLR3_BASE_RECOGNIZER_struct * recognizer,
281 ANTLR3_MARKER ruleParseStart);
287 ANTLR3_MARKER ruleIndex);
293 ANTLR3_MARKER ruleIndex,
294 ANTLR3_MARKER ruleParseStart);
Dantlr3debugeventlistener.h159 void (*mark) (pANTLR3_DEBUG_EVENT_LISTENER delboy, ANTLR3_MARKER marker);
165 void (*rewind) (pANTLR3_DEBUG_EVENT_LISTENER delboy, ANTLR3_MARKER marker);
384 …LR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE t, ANTLR3_MARKER tokenStartIndex, ANTLR3_MARKER
Dantlr3commontree.h56 ANTLR3_MARKER startIndex;
60 ANTLR3_MARKER stopIndex;
Dantlr3recognizersharedstate.h95 ANTLR3_MARKER lastErrorIndex;
177 ANTLR3_MARKER tokenStartCharIndex;
Dantlr3input.h170 …RING (*substr) (struct ANTLR3_INPUT_STREAM_struct * input, ANTLR3_MARKER start, ANTLR3_MARKER stop…
Dantlr3commontreenodestream.h238 ANTLR3_MARKER absoluteNodeIndex;
321 ANTLR3_MARKER absoluteNodeIndex;
Dantlr3basetreeadaptor.h125ANTLR3_MARKER (*getTokenStartIndex) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, void * t);
127ANTLR3_MARKER (*getTokenStopIndex) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, void * t);
Dantlr3defs.h207 typedef ANTLR3_INT64 ANTLR3_MARKER; typedef
213 typedef ANTLR3_INT32 ANTLR3_MARKER; typedef
420 typedef ANTLR3_INT64 ANTLR3_MARKER; typedef
426 typedef ANTLR3_INT32 ANTLR3_MARKER; typedef
Dantlr3exception.h142 ANTLR3_MARKER index;
Dantlr3lexer.h174 ANTLR3_MARKER (*getCharIndex) (struct ANTLR3_LEXER_struct * lexer);
Dantlr3basetree.h72 ANTLR3_MARKER savedIndex;
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3inputstream.c45 static ANTLR3_MARKER antlr38BitIndex (pANTLR3_INT_STREAM is);
46 static ANTLR3_MARKER antlr38BitMark (pANTLR3_INT_STREAM is);
47 static void antlr38BitRewind (pANTLR3_INT_STREAM is, ANTLR3_MARKER mark);
49 static void antlr38BitRelease (pANTLR3_INT_STREAM is, ANTLR3_MARKER mark);
50 static void antlr38BitSeek (pANTLR3_INT_STREAM is, ANTLR3_MARKER seekPoint);
60 …LR3_STRING antlr38BitSubstr (pANTLR3_INPUT_STREAM input, ANTLR3_MARKER start, ANTLR3_MARKER stop…
80 static ANTLR3_MARKER antlr3UTF16Index (pANTLR3_INT_STREAM is);
81 static void antlr3UTF16Seek (pANTLR3_INT_STREAM is, ANTLR3_MARKER seekPoint);
85 …TLR3_STRING antlr3UTF16Substr (pANTLR3_INPUT_STREAM input, ANTLR3_MARKER start, ANTLR3_MARKER stop…
96 static ANTLR3_MARKER antlr3UTF32Index (pANTLR3_INT_STREAM is);
[all …]
Dantlr3commontoken.c51 static ANTLR3_MARKER getTokenIndex (pANTLR3_COMMON_TOKEN token);
52 static void setTokenIndex (pANTLR3_COMMON_TOKEN token, ANTLR3_MARKER);
53 static ANTLR3_MARKER getStartIndex (pANTLR3_COMMON_TOKEN token);
54 static void setStartIndex (pANTLR3_COMMON_TOKEN token, ANTLR3_MARKER index);
55 static ANTLR3_MARKER getStopIndex (pANTLR3_COMMON_TOKEN token);
56 static void setStopIndex (pANTLR3_COMMON_TOKEN token, ANTLR3_MARKER index);
504 static ANTLR3_MARKER getTokenIndex (pANTLR3_COMMON_TOKEN token) in getTokenIndex()
509 static void setTokenIndex (pANTLR3_COMMON_TOKEN token, ANTLR3_MARKER index) in setTokenIndex()
514 static ANTLR3_MARKER getStartIndex (pANTLR3_COMMON_TOKEN token) in getStartIndex()
516 return token->start == -1 ? (ANTLR3_MARKER)(token->input->data) : token->start; in getStartIndex()
[all …]
Dantlr3tokenstream.c70 static ANTLR3_MARKER mark (pANTLR3_INT_STREAM is);
71 static ANTLR3_MARKER dbgMark (pANTLR3_INT_STREAM is);
72 static void release (pANTLR3_INT_STREAM is, ANTLR3_MARKER mark);
74 static ANTLR3_MARKER tindex (pANTLR3_INT_STREAM is);
75 static void rewindStream (pANTLR3_INT_STREAM is, ANTLR3_MARKER marker);
76 static void dbgRewindStream (pANTLR3_INT_STREAM is, ANTLR3_MARKER marker);
79 static void seek (pANTLR3_INT_STREAM is, ANTLR3_MARKER index);
80 static void dbgSeek (pANTLR3_INT_STREAM is, ANTLR3_MARKER index);
418 ANTLR3_MARKER first; in consumeInitialHiddenTokens()
623 ANTLR3_MARKER a; in dbgConsume()
[all …]
Dantlr3commontreeadaptor.c69 static ANTLR3_MARKER getTokenStartIndex (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t);
70 static ANTLR3_MARKER getTokenStopIndex (pANTLR3_BASE_TREE_ADAPTOR adaptor, pANTLR3_BASE_TREE t);
114 cta->baseAdaptor.getTokenStartIndex = (ANTLR3_MARKER (*) (pANTLR3_BASE_TREE_ADAPTOR, void *)) in ANTLR3_TREE_ADAPTORNew()
116 cta->baseAdaptor.getTokenStopIndex = (ANTLR3_MARKER (*) (pANTLR3_BASE_TREE_ADAPTOR, void *)) in ANTLR3_TREE_ADAPTORNew()
374 ANTLR3_MARKER start; in setTokenBoundaries()
375 ANTLR3_MARKER stop; in setTokenBoundaries()
419 static ANTLR3_MARKER
425 static ANTLR3_MARKER
Dantlr3commontreenodestream.c67 static ANTLR3_MARKER tindex (pANTLR3_INT_STREAM is);
69 static ANTLR3_MARKER mark (pANTLR3_INT_STREAM is);
70 static void release (pANTLR3_INT_STREAM is, ANTLR3_MARKER marker);
71 static void rewindMark (pANTLR3_INT_STREAM is, ANTLR3_MARKER marker);
73 static void seek (pANTLR3_INT_STREAM is, ANTLR3_MARKER index);
655 static ANTLR3_MARKER
677 release (pANTLR3_INT_STREAM is, ANTLR3_MARKER marker) in release()
688 rewindMark (pANTLR3_INT_STREAM is, ANTLR3_MARKER marker) in rewindMark()
703 seek (pANTLR3_INT_STREAM is, ANTLR3_MARKER index) in seek()
714 static ANTLR3_MARKER
[all …]
Dantlr3baserecognizer.c72 static ANTLR3_MARKER getRuleMemoization (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_INTKEY ruleI…
73 static ANTLR3_BOOLEAN alreadyParsedRule (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_MARKER ruleI…
74 …id memoize (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_MARKER ruleIndex, ANTLR3_MARKER ru…
1854 static ANTLR3_MARKER
1855 getRuleMemoization (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_INTKEY ruleIndex, ANTLR3_MARKER in getRuleMemoization()
1860 ANTLR3_MARKER stopIndex; in getRuleMemoization()
1898 stopIndex = (ANTLR3_MARKER)(entry->data.intVal); in getRuleMemoization()
1918 alreadyParsedRule (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_MARKER ruleIndex) in alreadyParsedRule()
1920 ANTLR3_MARKER stopIndex; in alreadyParsedRule()
1989 memoize (pANTLR3_BASE_RECOGNIZER recognizer, ANTLR3_MARKER ruleIndex, ANTLR3_MARKER ruleParseStart) in memoize()
[all …]
Dantlr3debughandlers.c66 static void mark (pANTLR3_DEBUG_EVENT_LISTENER delboy, ANTLR3_MARKER marker);
67 static void rewindMark (pANTLR3_DEBUG_EVENT_LISTENER delboy, ANTLR3_MARKER marker);
86 …LR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE t, ANTLR3_MARKER tokenStartIndex, ANTLR3_MARKER
696 mark (pANTLR3_DEBUG_EVENT_LISTENER delboy, ANTLR3_MARKER marker) in mark()
708 rewindMark (pANTLR3_DEBUG_EVENT_LISTENER delboy, ANTLR3_MARKER marker) in rewindMark()
1036 …LR3_DEBUG_EVENT_LISTENER delboy, pANTLR3_BASE_TREE t, ANTLR3_MARKER tokenStartIndex, ANTLR3_MARKER in setTokenBoundaries()
Dantlr3cyclicdfa.c81 ANTLR3_MARKER mark; in antlr3dfapredict()
Dantlr3lexer.c55 static ANTLR3_MARKER getCharIndex (pANTLR3_LEXER lexer);
247 … state->tokenStartCharIndex = (ANTLR3_MARKER)(((pANTLR3_UINT8)input->nextChar)); in nextTokenStr()
872 static ANTLR3_MARKER getCharIndex (pANTLR3_LEXER lexer) in getCharIndex()
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg1137 ANTLR3_MARKER m;
1540 ANTLR3_MARKER start;
2234 ANTLR3_MARKER <label>Start<elementIndex> = GETCHARINDEX();
2590 ANTLR3_MARKER index<decisionNumber>_<stateNumber>;<\n>
/external/antlr/antlr-3.4/runtime/C/doxygen/
Dinterop.dox304 /// checkpoint. It will return a value type of #ANTLR3_MARKER which you can use as the