Searched refs:LexState (Results 1 – 11 of 11) sorted by relevance
/external/lua/src/ |
D | llex.h | 64 typedef struct LexState { struct 78 } LexState; argument 82 LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, 84 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l); 85 LUAI_FUNC void luaX_next (LexState *ls); 86 LUAI_FUNC int luaX_lookahead (LexState *ls); 87 LUAI_FUNC l_noret luaX_syntaxerror (LexState *ls, const char *s); 88 LUAI_FUNC const char *luaX_token2str (LexState *ls, int token);
|
D | llex.c | 54 static l_noret lexerror (LexState *ls, const char *msg, int token); 57 static void save (LexState *ls, int c) { in save() 82 const char *luaX_token2str (LexState *ls, int token) { in luaX_token2str() 99 static const char *txtToken (LexState *ls, int token) { in txtToken() 111 static l_noret lexerror (LexState *ls, const char *msg, int token) { in lexerror() 119 l_noret luaX_syntaxerror (LexState *ls, const char *msg) { in luaX_syntaxerror() 129 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { in luaX_newstring() 153 static void inclinenumber (LexState *ls) { in inclinenumber() 164 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput() 188 static int check_next1 (LexState *ls, int c) { in check_next1() [all …]
|
D | lparser.c | 64 static void statement (LexState *ls); 65 static void expr (LexState *ls, expdesc *v); 68 static l_noret error_expected (LexState *ls, int token) { in error_expected() 95 static int testnext (LexState *ls, int c) { in testnext() 107 static void check (LexState *ls, int c) { in check() 116 static void checknext (LexState *ls, int c) { in checknext() 130 static void check_match (LexState *ls, int what, int who, int where) { in check_match() 143 static TString *str_checkname (LexState *ls) { in str_checkname() 166 static void codename (LexState *ls, expdesc *e) { in codename() 175 static int registerlocalvar (LexState *ls, FuncState *fs, TString *varname) { in registerlocalvar() [all …]
|
D | lparser.h | 146 struct LexState *ls; /* lexical state */
|
D | lcode.h | 101 LUAI_FUNC l_noret luaK_semerror (LexState *ls, const char *msg);
|
D | lcode.c | 45 l_noret luaK_semerror (LexState *ls, const char *msg) { in luaK_semerror()
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3input.inl | 378 ANTLR_INLINE LexState<ImplTraits>::LexState() function in LexState 387 ANTLR_INLINE const typename LexState<ImplTraits>::DataType* LexState<ImplTraits>::get_nextChar() co… 393 ANTLR_INLINE ANTLR_UINT32 LexState<ImplTraits>::get_line() const 399 ANTLR_INLINE const typename LexState<ImplTraits>::DataType* LexState<ImplTraits>::get_currentLine()… 405 ANTLR_INLINE ANTLR_INT32 LexState<ImplTraits>::get_charPositionInLine() const 411 ANTLR_INLINE void LexState<ImplTraits>::set_nextChar( const DataType* nextChar ) 417 ANTLR_INLINE void LexState<ImplTraits>::set_line( ANTLR_UINT32 line ) 423 ANTLR_INLINE void LexState<ImplTraits>::set_currentLine( const DataType* currentLine ) 429 ANTLR_INLINE void LexState<ImplTraits>::set_charPositionInLine( ANTLR_INT32 charPositionInLine )
|
D | antlr3input.hpp | 276 class LexState : public ImplTraits::AllocPolicyType class 304 LexState();
|
D | antlr3interfaces.hpp | 126 class LexState;
|
D | antlr3traits.hpp | 170 LexState<TraitsType> >::selected LexStateType;
|
D | antlr3intstream.inl | 100 LexState<ImplTraits>* state; 112 input->get_markers().push_back( LexState<ImplTraits>() ); 113 LexState<ImplTraits>& state_r = input->get_markers().back(); 118 LexState<ImplTraits>& state_r = input->get_markers().at( input->get_markDepth() - 1 );
|