Home
last modified time | relevance | path

Searched refs:CommonTokenType (Results 1 – 25 of 41) sorted by relevance

12

/external/antlr/runtime/Cpp/include/
Dantlr3commontreeadaptor.hpp47 typedef typename ImplTraits::CommonTokenType CommonTokenType; typedef in CommonTreeAdaptor
58 void addChildToken( TreeType* t, CommonTokenType* child);
62 …TreeType* errorNode( CommonTokenType* tnstream, CommonTokenType* startToken, CommonTokenType* sto…
68 TreeType* becomeRootToken(CommonTokenType* newRoot, TreeType* oldRoot);
70 TreeType* create( CommonTokenType* payload);
71 TreeType* createTypeToken( ANTLR_UINT32 tokenType, CommonTokenType* fromToken);
72 …TreeType* createTypeTokenText ( ANTLR_UINT32 tokenType, CommonTokenType* fromToken, const ANTL…
88 CommonTokenType* createToken( ANTLR_UINT32 tokenType, const ANTLR_UINT8* text);
89 CommonTokenType* createTokenFromToken( CommonTokenType* fromToken);
90 CommonTokenType* getToken( TreeType* t);
[all …]
Dantlr3parser.hpp56 typedef typename ImplTraits::CommonTokenType CommonTokenType; typedef in Parser
57 typedef CommonTokenType TokenType;
124 const CommonTokenType* matchToken( ANTLR_UINT32 ttype, BitsetListType* follow );
132 const CommonTokenType* LT(ANTLR_INT32 k);
147 CommonTokenType* recoverFromMismatchedSet(BitsetListType* follow);
163 typedef typename ImplTraits::CommonTokenType CommonTokenType; typedef in RuleReturnValue
166 const CommonTokenType* start;
167 const CommonTokenType* stop;
Dantlr3commontreenodestream.inl32 CommonTokenType* token = new CommonTokenType(CommonTokenType::TOKEN_UP);
36 token = new CommonTokenType(CommonTokenType::TOKEN_DOWN);
40 token = new CommonTokenType(CommonTokenType::TOKEN_EOF);
44 token = new CommonTokenType(CommonTokenType::TOKEN_INVALID);
194 buf << CommonTokenType::TOKEN_DOWN;
208 buf << CommonTokenType::TOKEN_UP;
261 if (ttype == CommonTokenType::TOKEN_DOWN)
293 CommonTokenType* token;
295 token = new CommonTokenType(CommonTokenType::TOKEN_DOWN);
305 CommonTokenType* token;
[all …]
Dantlr3debugeventlistener.hpp64 typedef typename ImplTraits::CommonTokenType CommonTokenType; typedef in DebugEventListener
144 virtual void consumeToken( CommonTokenType* t);
150 virtual void consumeHiddenToken( CommonTokenType* t);
159 virtual void LT( int i, CommonTokenType* t);
356 virtual void createNodeTok( TreeType* node, CommonTokenType* token);
Dantlr3lexer.hpp78 typedef typename ImplTraits::CommonTokenType CommonTokenType; typedef in Lexer
114 CommonTokenType* get_ltoken() const;
115 void set_ltoken( const CommonTokenType* ltoken );
125 const CommonTokenType* EOF_Token() const;
183 void emit(const CommonTokenType* token);
187 CommonTokenType* emit();
Dantlr3recognizersharedstate.hpp60 typedef typename ImplTraits::CommonTokenType CommonTokenType; typedef in RecognizerSharedState
163 CommonTokenType m_token;
222 CommonTokenType* get_token();
247 void set_token( const CommonTokenType* tok);
Dantlr3commontree.hpp46 typedef typename ImplTraits::CommonTokenType CommonTokenType; typedef in CommonTree
73 CommonTokenType* m_token;
87 CommonTree( CommonTokenType* token );
Dantlr3commontreeadaptor.inl59 void CommonTreeAdaptor<ImplTraits>::addChildToken( TreeType* t, CommonTokenType* child)
80 …ommonTreeAdaptor<ImplTraits>::errorNode( CommonTokenType* tnstream, CommonTokenType* startToken, C…
87 return this->createTypeText( CommonTokenType::TOKEN_INVALID, "Tree Error Node");
169 …mplTraits>::TreeType* CommonTreeAdaptor<ImplTraits>::becomeRootToken(CommonTokenType* newRoot, Tre…
175 …eeAdaptor<ImplTraits>::TreeType* CommonTreeAdaptor<ImplTraits>::create( CommonTokenType* payload)
182 CommonTokenType* fromToken)
199 …reeAdaptor<ImplTraits>::createTypeTokenText( ANTLR_UINT32 tokenType, CommonTokenType* fromToken, c…
221 CommonTokenType* fromToken;
293 typename CommonTreeAdaptor<ImplTraits>::CommonTokenType*
296 CommonTokenType* newToken = new CommonTokenType;
[all …]
Dantlr3tokenstream.hpp53 typedef typename ImplTraits::CommonTokenType TokenType;
54 typedef TokenType CommonTokenType; typedef in TokenSource
109 CommonTokenType* nextToken( BoolForwarder<true> /*isFiltered*/ );
110 CommonTokenType* nextToken( BoolForwarder<false> /*isFiltered*/ );
145 typedef typename ImplTraits::CommonTokenType TokenType;
243 typedef typename ImplTraits::CommonTokenType TokenType;
Dantlr3intstream.hpp347 typedef typename ImplTraits::CommonTokenType CommonTokenType; typedef in TokenIntStream
385 typedef typename ImplTraits::CommonTokenType CommonTokenType; typedef in TreeNodeIntStream
Dantlr3parser.inl59 if( ex->get_token()->get_type() == CommonTokenType::TOKEN_EOF)
78 if(ex->get_token()->get_type() == CommonTokenType::TOKEN_EOF)
101 const CommonTokenType* theToken = this->get_rec()->get_state()->get_exception()->get_token();
108 if (theToken->get_type() == CommonTokenType::TOKEN_EOF)
197 CommonTokenType* token;
198 const CommonTokenType* current;
209 if (current->get_type() == CommonTokenType::TOKEN_EOF)
214 token = new CommonTokenType;
323 ANTLR_INLINE const typename Parser<ImplTraits>::CommonTokenType* Parser<ImplTraits>::matchToken( AN…
375 ANTLR_INLINE const typename Parser<ImplTraits>::CommonTokenType* Parser<ImplTraits>::LT(ANTLR_INT3…
[all …]
Dantlr3treeparser.hpp56 typedef typename ImplTraits::CommonTokenType CommonTokenType; typedef in TreeParser
Dantlr3lexer.inl182 void Lexer<ImplTraits>::emit(const CommonTokenType* token)
188 typename Lexer<ImplTraits>::CommonTokenType* Lexer<ImplTraits>::emit()
197 CommonTokenType* token = state->get_token();
428 ANTLR_INLINE typename Lexer<ImplTraits>::CommonTokenType* Lexer<ImplTraits>::get_ltoken() const
434 ANTLR_INLINE void Lexer<ImplTraits>::set_ltoken( const CommonTokenType* ltoken )
494 ANTLR_INLINE const typename Lexer<ImplTraits>::CommonTokenType* Lexer<ImplTraits>::EOF_Token() const
496 const CommonTokenType& eof_token = this->get_tokSource()->get_eofToken();
557 CommonTokenType& skipToken = this->get_tokSource()->get_skipToken();
/external/antlr/runtime/Cpp/tests/
Dt003.cpp59 t003lexerTraits::CommonTokenType *token = lxr->nextToken(); in testValid()
84 t003lexerTraits::CommonTokenType const *token0 = tstream->_LT(1); in testIteratorInterface()
85 t003lexerTraits::CommonTokenType const *token1 = tstream->_LT(2); in testIteratorInterface()
86 t003lexerTraits::CommonTokenType const *token2 = tstream->_LT(3); in testIteratorInterface()
87 t003lexerTraits::CommonTokenType const *token3 = tstream->_LT(4); in testIteratorInterface()
113 t003lexerTraits::CommonTokenType *token0 = lxr->nextToken(); in testMalformedInput()
Dt001.cpp40 t001lexerTraits::CommonTokenType *token0 = lxr->nextToken(); in testValid()
41 t001lexerTraits::CommonTokenType *token1 = lxr->nextToken(); in testValid()
65 t001lexerTraits::CommonTokenType const *token0 = tstream->_LT(1); in testIteratorInterface()
66 t001lexerTraits::CommonTokenType const *token1 = tstream->_LT(2); in testIteratorInterface()
90 t001lexerTraits::CommonTokenType *token0 = lxr->nextToken(); in testMalformedInput()
Dt002.cpp49 t002lexerTraits::CommonTokenType *token = lxr->nextToken(); in testValid()
74 t002lexerTraits::CommonTokenType const *token0 = tstream->_LT(1); in testIteratorInterface()
75 t002lexerTraits::CommonTokenType const *token1 = tstream->_LT(2); in testIteratorInterface()
76 t002lexerTraits::CommonTokenType const *token2 = tstream->_LT(3); in testIteratorInterface()
101 t002lexerTraits::CommonTokenType *token0 = lxr->nextToken(); in testMalformedInput()
Dt012.cpp46 t012lexerXMLLexerTraits::CommonTokenType *token = lxr->nextToken(); in testValid()
77 t012lexerXMLLexerTraits::CommonTokenType *token; in testMalformedInput1()
115 t012lexerXMLLexerTraits::CommonTokenType *token; in testMalformedInput2()
153 t012lexerXMLLexerTraits::CommonTokenType *token; in testMalformedInput3()
Dt005.cpp66 t005lexerTraits::CommonTokenType *token = lxr->nextToken(); in testValid()
97 t005lexerTraits::CommonTokenType *token0 = lxr->nextToken(); in testMalformedInput1()
122 t005lexerTraits::CommonTokenType *token0 = lxr->nextToken(); in testMalformedInput2()
Dt039labels.g25 …TokenList(ImplTraits::TokenPtrsListType const& lst, ImplTraits::CommonTokenType *t) : tokens(lst),…
28 ImplTraits::CommonTokenType* token;
Dt007.cpp63 t007lexerTraits::CommonTokenType *token = lxr->nextToken(); in testValid()
94 t007lexerTraits::CommonTokenType *token0 = lxr->nextToken(); in testMalformedInput()
Dt004.cpp63 t004lexerTraits::CommonTokenType *token = lxr->nextToken(); in testValid()
94 t004lexerTraits::CommonTokenType *token0 = lxr->nextToken(); in testMalformedInput()
Dt009.cpp64 t009lexerTraits::CommonTokenType *token = lxr->nextToken(); in testValid()
95 t009lexerTraits::CommonTokenType *token; in testMalformedInput()
Dt011.cpp66 t011lexerTraits::CommonTokenType *token = lxr->nextToken(); in testValid()
97 t011lexerTraits::CommonTokenType *token; in testMalformedInput()
Dt006.cpp63 t006lexerTraits::CommonTokenType *token = lxr->nextToken(); in testValid()
94 t006lexerTraits::CommonTokenType *token; in testMalformedInput()
Dt008.cpp64 t008lexerTraits::CommonTokenType *token = lxr->nextToken(); in testValid()
95 t008lexerTraits::CommonTokenType *token; in testMalformedInput()

12