Home
last modified time | relevance | path

Searched refs:LexState (Results 1 – 11 of 11) sorted by relevance

/external/lua/src/
Dllex.h64 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);
Dllex.c54 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 …]
Dlparser.c64 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 …]
Dlparser.h146 struct LexState *ls; /* lexical state */
Dlcode.h101 LUAI_FUNC l_noret luaK_semerror (LexState *ls, const char *msg);
Dlcode.c45 l_noret luaK_semerror (LexState *ls, const char *msg) { in luaK_semerror()
/external/antlr/runtime/Cpp/include/
Dantlr3input.inl378 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 )
Dantlr3input.hpp276 class LexState : public ImplTraits::AllocPolicyType class
304 LexState();
Dantlr3interfaces.hpp126 class LexState;
Dantlr3traits.hpp170 LexState<TraitsType> >::selected LexStateType;
Dantlr3intstream.inl100 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 );