Home
last modified time | relevance | path

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

/external/lua/src/
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()
97 static const char *txtToken (LexState *ls, int token) { in txtToken()
109 static l_noret lexerror (LexState *ls, const char *msg, int token) { in lexerror()
117 l_noret luaX_syntaxerror (LexState *ls, const char *msg) { in luaX_syntaxerror()
127 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { in luaX_newstring()
151 static void inclinenumber (LexState *ls) { in inclinenumber()
162 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput()
186 static int check_next1 (LexState *ls, int c) { in check_next1()
[all …]
Dllex.h58 typedef struct LexState { struct
72 } LexState; argument
76 LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z,
78 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l);
79 LUAI_FUNC void luaX_next (LexState *ls);
80 LUAI_FUNC int luaX_lookahead (LexState *ls);
81 LUAI_FUNC l_noret luaX_syntaxerror (LexState *ls, const char *s);
82 LUAI_FUNC const char *luaX_token2str (LexState *ls, int token);
Dlparser.c62 static void statement (LexState *ls);
63 static void expr (LexState *ls, expdesc *v);
67 static l_noret semerror (LexState *ls, const char *msg) { in semerror()
73 static l_noret error_expected (LexState *ls, int token) { in error_expected()
97 static int testnext (LexState *ls, int c) { in testnext()
106 static void check (LexState *ls, int c) { in check()
112 static void checknext (LexState *ls, int c) { in checknext()
122 static void check_match (LexState *ls, int what, int who, int where) { in check_match()
135 static TString *str_checkname (LexState *ls) { in str_checkname()
151 static void codestring (LexState *ls, expdesc *e, TString *s) { in codestring()
[all …]
Dlparser.h114 struct LexState *ls; /* lexical state */
/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 );