Home
last modified time | relevance | path

Searched refs:ANTLR_MARKER (Results 1 – 25 of 26) sorted by relevance

12

/external/antlr/runtime/Cpp/include/
Dantlr3intstream.hpp115 ANTLR_MARKER m_lastMarker;
131 ANTLR_MARKER get_lastMarker() const;
155 ANTLR_MARKER mark();
160 ANTLR_MARKER index();
170 void rewind(ANTLR_MARKER marker);
182 void release(ANTLR_MARKER mark);
200 void seek(ANTLR_MARKER index);
207 void rewindMark(ANTLR_MARKER marker);
208 ANTLR_MARKER tindex();
259 ANTLR_MARKER index();
[all …]
Dantlr3commontoken.hpp119 ANTLR_MARKER m_index;
124 ANTLR_MARKER m_startIndex;
129 ANTLR_MARKER m_stopIndex;
142 ANTLR_MARKER get_index() const;
143 void set_index( ANTLR_MARKER index );
212 ANTLR_MARKER get_tokenIndex() const;
217 void set_tokenIndex(ANTLR_MARKER tokenIndex);
221 ANTLR_MARKER get_startIndex() const;
225 void set_startIndex(ANTLR_MARKER index);
229 ANTLR_MARKER get_stopIndex() const;
[all …]
Dantlr3tokenstream.hpp200 StringType toStringSS(ANTLR_MARKER start, ANTLR_MARKER stop);
247 typedef typename AllocPolicyType::template OrderedMapType<ANTLR_MARKER, TokenType> TokensMapType;
325 void discardTokens( ANTLR_MARKER start, ANTLR_MARKER stop );
326 void discardTokens( ANTLR_MARKER start, ANTLR_MARKER stop,
328 void discardTokens( ANTLR_MARKER start, ANTLR_MARKER stop,
342 const TokenType* get(ANTLR_MARKER i);
343 const TokenType* getToken(ANTLR_MARKER i);
344 …const TokenType* getToken( ANTLR_MARKER tok_idx, BoolForwarder<true> tokens_accessed_from_owning_…
345 …const TokenType* getToken( ANTLR_MARKER tok_idx, BoolForwarder<false> tokens_accessed_from_owning…
393 ANTLR_MARKER index_impl();
Dantlr3lexer.hpp123 ANTLR_MARKER index() const;
124 void seek(ANTLR_MARKER index);
130 ANTLR_MARKER mark();
131 void rewind(ANTLR_MARKER marker);
140 void memoize(ANTLR_MARKER ruleIndex, ANTLR_MARKER ruleParseStart);
141 bool haveParsedRule(ANTLR_MARKER ruleIndex);
222 ANTLR_MARKER getCharIndex();
Dantlr3recognizersharedstate.hpp75 typedef IntTrie<ImplTraits, ANTLR_MARKER> RuleListType;
127 ANTLR_MARKER m_lastErrorIndex;
193 ANTLR_MARKER m_tokenStartCharIndex;
216 ANTLR_MARKER get_lastErrorIndex() const;
228 ANTLR_MARKER get_tokenStartCharIndex() const;
238 void set_lastErrorIndex( ANTLR_MARKER lastErrorIndex );
250 void set_tokenStartCharIndex( ANTLR_MARKER tokenStartCharIndex );
Dantlr3parser.hpp119 bool haveParsedRule(ANTLR_MARKER ruleIndex);
120 void memoize(ANTLR_MARKER ruleIndex, ANTLR_MARKER ruleParseStart);
121 ANTLR_MARKER index() const;
135 ANTLR_MARKER mark();
136 void rewind(ANTLR_MARKER marker);
138 void seek(ANTLR_MARKER index);
Dantlr3debugeventlistener.hpp164 virtual void mark( ANTLR_MARKER marker);
170 virtual void rewind( ANTLR_MARKER marker);
390 …virtual void setTokenBoundaries( TreeType* t, ANTLR_MARKER tokenStartIndex, ANTLR_MARKER tokenStop…
Dantlr3baserecognizer.hpp428 ANTLR_MARKER getRuleMemoization( ANTLR_INTKEY ruleIndex,
429 ANTLR_MARKER ruleParseStart);
434 bool alreadyParsedRule(ANTLR_MARKER ruleIndex);
439 void memoize(ANTLR_MARKER ruleIndex,
440 ANTLR_MARKER ruleParseStart);
Dantlr3commontoken.inl104 ANTLR_INLINE ANTLR_MARKER CommonToken<ImplTraits>::get_index() const
110 ANTLR_INLINE void CommonToken<ImplTraits>::set_index( ANTLR_MARKER index )
231 ANTLR_INLINE ANTLR_MARKER CommonToken<ImplTraits>::get_tokenIndex() const
237 ANTLR_INLINE void CommonToken<ImplTraits>::set_tokenIndex(ANTLR_MARKER tokenIndex)
243 ANTLR_INLINE ANTLR_MARKER CommonToken<ImplTraits>::get_startIndex() const
245 return (m_startIndex == -1) ? (ANTLR_MARKER)(m_input->get_data()) : m_startIndex;
249 ANTLR_INLINE void CommonToken<ImplTraits>::set_startIndex(ANTLR_MARKER index)
255 ANTLR_INLINE ANTLR_MARKER CommonToken<ImplTraits>::get_stopIndex() const
261 ANTLR_INLINE void CommonToken<ImplTraits>::set_stopIndex(ANTLR_MARKER index)
Dantlr3defs.hpp204 typedef ANTLR_INT64 ANTLR_MARKER; typedef
209 typedef ANTLR_INT32 ANTLR_MARKER; typedef
282 typedef ANTLR_INT64 ANTLR_MARKER; typedef
288 typedef ANTLR_INT32 ANTLR_MARKER; typedef
Dantlr3commontree.hpp61 ANTLR_MARKER m_savedIndex;
65 ANTLR_MARKER m_startIndex;
69 ANTLR_MARKER m_stopIndex;
Dantlr3exception.hpp83 ANTLR_MARKER m_index;
143 ANTLR_MARKER get_index() const;
158 void set_index( ANTLR_MARKER index );
Dantlr3input.hpp197 StringType substr(ANTLR_MARKER start, ANTLR_MARKER stop);
242 ANTLR_MARKER index_impl();
Dantlr3tokenstream.inl80 state->set_tokenStartCharIndex( (ANTLR_MARKER)input->get_nextChar() );
187 ANTLR_MARKER m;
349 ANTLR_INLINE ANTLR_MARKER CommonTokenStream<ImplTraits>::index_impl()
504 …CommonTokenStream<ImplTraits>::TokenType* CommonTokenStream<ImplTraits>::getToken(ANTLR_MARKER i)
511 …pename CommonTokenStream<ImplTraits>::TokenType* CommonTokenStream<ImplTraits>::get(ANTLR_MARKER i)
513 return this->getToken( static_cast<ANTLR_MARKER>(i),
518 …nTokenStream<ImplTraits>::TokenType* CommonTokenStream<ImplTraits>::getToken( ANTLR_MARKER tok_idx,
532 …ream<ImplTraits>::TokenType* CommonTokenStream<ImplTraits>::getToken( ANTLR_MARKER tok_idx, BoolFo…
565 TokenStream<ImplTraits>::toStringSS(ANTLR_MARKER start, ANTLR_MARKER stop)
591 for (ANTLR_MARKER i = start; i <= stop; i++)
[all …]
Dantlr3intstream.inl29 ANTLR_INLINE ANTLR_MARKER IntStream<ImplTraits, SuperType>::get_lastMarker() const
98 ANTLR_MARKER IntStream<ImplTraits, SuperType>::mark()
142 ANTLR_MARKER IntStream<ImplTraits, SuperType>::index()
149 void IntStream<ImplTraits, SuperType>::rewind(ANTLR_MARKER mark)
165 this->seek( (ANTLR_MARKER)state.get_nextChar() );
185 void IntStream<ImplTraits, SuperType>::release(ANTLR_MARKER mark)
202 void IntStream<ImplTraits, SuperType>::seek(ANTLR_MARKER seekPoint)
207 ANTLR_MARKER nextChar = (ANTLR_MARKER) input->get_nextChar();
310 ANTLR_MARKER UTF16_IntStream<ImplTraits, SuperType>::index()
313 return (ANTLR_MARKER)(input->get_nextChar());
[all …]
Dantlr3parser.inl293 ANTLR_INLINE bool Parser<ImplTraits>::haveParsedRule(ANTLR_MARKER ruleIndex)
299 ANTLR_INLINE void Parser<ImplTraits>::memoize(ANTLR_MARKER ruleIndex, ANTLR_MARKER ruleParseStart)
305 ANTLR_INLINE ANTLR_MARKER Parser<ImplTraits>::index() const
393 ANTLR_INLINE ANTLR_MARKER Parser<ImplTraits>::mark()
399 ANTLR_INLINE void Parser<ImplTraits>::rewind(ANTLR_MARKER marker)
411 ANTLR_INLINE void Parser<ImplTraits>::seek(ANTLR_MARKER index)
576 ANTLR_MARKER start_token_idx = BaseType::start->get_index() + 1;
577 ANTLR_MARKER stop_token_idx = BaseType::stop->get_index() - 1;
Dantlr3commontreenodestream.hpp138 ANTLR_MARKER m_absoluteNodeIndex;
301 ANTLR_MARKER m_absoluteNodeIndex;
Dantlr3lexer.inl358 ANTLR_MARKER Lexer<ImplTraits>::getCharIndex()
482 ANTLR_INLINE ANTLR_MARKER Lexer<ImplTraits>::index() const
488 ANTLR_INLINE void Lexer<ImplTraits>::seek(ANTLR_MARKER index)
519 ANTLR_INLINE ANTLR_MARKER Lexer<ImplTraits>::mark()
525 ANTLR_INLINE void Lexer<ImplTraits>::rewind(ANTLR_MARKER marker)
537 ANTLR_INLINE void Lexer<ImplTraits>::memoize(ANTLR_MARKER ruleIndex, ANTLR_MARKER ruleParseStart)
543 ANTLR_INLINE bool Lexer<ImplTraits>::haveParsedRule(ANTLR_MARKER ruleIndex)
Dantlr3recognizersharedstate.inl64 ANTLR_INLINE ANTLR_MARKER RecognizerSharedState<ImplTraits, StreamType>::get_lastErrorIndex() const
124 ANTLR_INLINE ANTLR_MARKER RecognizerSharedState<ImplTraits, StreamType>::get_tokenStartCharIndex() …
174 ANTLR_INLINE void RecognizerSharedState<ImplTraits, StreamType>::set_lastErrorIndex( ANTLR_MARKER l…
234 …cognizerSharedState<ImplTraits, StreamType>::set_tokenStartCharIndex( ANTLR_MARKER tokenStartCharI…
Dantlr3commontreeadaptor.hpp93 ANTLR_MARKER getTokenStartIndex( TreeType* t);
94 ANTLR_MARKER getTokenStopIndex( TreeType* t);
Dantlr3baserecognizer.inl648 ANTLR_MARKER BaseRecognizer<ImplTraits, StreamType>::getRuleMemoization( ANTLR_INTKEY ruleIndex, AN…
652 typedef IntTrie<ImplTraits, ANTLR_MARKER> RuleListType;
654 typedef TrieEntry<ImplTraits, ANTLR_MARKER> SubEntryType;
655 ANTLR_MARKER stopIndex;
700 bool BaseRecognizer<ImplTraits, StreamType>::alreadyParsedRule(ANTLR_MARKER ruleIndex)
707 ANTLR_MARKER stopIndex = this->getRuleMemoization( ruleIndex, is->index() );
729 void BaseRecognizer<ImplTraits, StreamType>::memoize(ANTLR_MARKER ruleIndex, ANTLR_MARKER ruleParse…
733 typedef IntTrie<ImplTraits, ANTLR_MARKER> RuleListType;
736 ANTLR_MARKER stopIndex;
803 ANTLR_MARKER start;
Dantlr3input.inl333 ANTLR_MARKER InputStream<ImplTraits>::index_impl()
335 return (ANTLR_MARKER)m_nextChar;
340 …ream<ImplTraits>::StringType InputStream<ImplTraits>::substr(ANTLR_MARKER start, ANTLR_MARKER stop)
Dantlr3commontreeadaptor.inl342 ANTLR_MARKER start;
343 ANTLR_MARKER stop;
377 ANTLR_MARKER CommonTreeAdaptor<ImplTraits>::getTokenStartIndex( TreeType* t)
383 ANTLR_MARKER CommonTreeAdaptor<ImplTraits>::getTokenStopIndex( TreeType* t)
Dantlr3exception.inl32 ANTLR_INLINE ANTLR_MARKER ANTLR_ExceptionBase<ImplTraits, StreamType>::get_index() const
107 ANTLR_INLINE void ANTLR_ExceptionBase<ImplTraits, StreamType>::set_index( ANTLR_MARKER index )
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/
DCpp.stg412 void memoize(ANTLR_MARKER ruleIndex, ANTLR_MARKER ruleParseStart);
413 bool alreadyParsedRule(ANTLR_MARKER ruleIndex);
556 void <name>::memoize(ANTLR_MARKER ruleIndex, ANTLR_MARKER ruleParseStart)
564 bool <name>::alreadyParsedRule(ANTLR_MARKER ruleIndex)
773 ANTLR_MARKER m;
1074 ANTLR_MARKER start;
1239 ANTLR_MARKER <ruleDescriptor.name>_StartIndex;
1687 ANTLR_MARKER <label>Start = this->getCharIndex();
1760 ANTLR_MARKER <label>Start<elementIndex> = this->getCharIndex();
2160 ANTLR_MARKER index<decisionNumber>_<stateNumber>;<\n>

12