mutils ~master (2018-10-28T20:05:58Z)
Dub
Repo
LuaLexer
mutils
serializer
lua
Undocumented in source.
struct
LuaLexer {
enum
Token
;
alias
characterTokens
=
AliasSeq
!(
'['
,
']'
,
'{'
,
'}'
,
'('
,
')'
,
','
,
'='
)
;
string
code
;
string
slice
;
bool
skipUnnecessaryWhiteTokens
;
bool
skipComments
;
uint
line
;
uint
column
;
this
();
this
(string code, bool skipWhite, bool skipComments);
void
clear
();
TokenData
checkNextToken
();
TokenData
getNextToken
();
static
void
toChars
(TokenData token, Vec vec);
}
Constructors
this
this
()
Undocumented in source.
this
this
(string code, bool skipWhite, bool skipComments)
Undocumented in source.
Members
Aliases
characterTokens
alias
characterTokens
=
AliasSeq
!(
'['
,
']'
,
'{'
,
'}'
,
'('
,
')'
,
','
,
'='
)
Undocumented in source.
Enums
Token
enum
Token
Undocumented in source.
Functions
checkNextToken
TokenData
checkNextToken
()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void
clear
()
Undocumented in source. Be warned that the author may not have intended to support it.
getNextToken
TokenData
getNextToken
()
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
toChars
void
toChars
(TokenData token, Vec vec)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
code
string
code
;
Undocumented in source.
column
uint
column
;
Undocumented in source.
line
uint
line
;
Undocumented in source.
skipComments
bool
skipComments
;
Undocumented in source.
skipUnnecessaryWhiteTokens
bool
skipUnnecessaryWhiteTokens
;
Undocumented in source.
slice
string
slice
;
Undocumented in source.
Meta
Source
See Implementation
mutils
serializer
lua
aliases
LuaSerializerToken
classes
LuaSerializer
structs
LuaLexer