mutils.serializer.lexer_utils

Undocumented in source.

Members

Aliases

TokenDataVector
alias TokenDataVector = Vector!(TokenData)
Undocumented in source.
whiteTokens
alias whiteTokens = AliasSeq!('\n', '\t', '\r', ' ')
Undocumented in source.

Enums

StandardTokens
enum StandardTokens
Undocumented in source.

Functions

doubleToString
string doubleToString(double num)

Returns string is valid only to next call to any mutils.conv function

isIdentifierFirstChar
bool isIdentifierFirstChar(char ch)
Undocumented in source. Be warned that the author may not have intended to support it.
longToString
string longToString(long num)

Returns string is valid only to next call to any mutils.conv function

printAllTokens
void printAllTokens(Lexer lex)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeCommentLine
void serializeCommentLine(TokenData token, Container con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeCommentMultiline
void serializeCommentMultiline(TokenData token, Container con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeIdentifier
void serializeIdentifier(TokenData token, Container con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeNumberToken
void serializeNumberToken(TokenData token, Container con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeStringToken
void serializeStringToken(TokenData token, Container con)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeWhiteTokens
void serializeWhiteTokens(TokenData token, Container con)
Undocumented in source. Be warned that the author may not have intended to support it.
stringToLong
long stringToLong(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
tokenizeAll
TokenDataVector tokenizeAll(Lexer lex)
Undocumented in source. Be warned that the author may not have intended to support it.
tokensToString
Vector!char tokensToString(Lexer lex, TokenData[] tokens)
Undocumented in source. Be warned that the author may not have intended to support it.
updateLineAndCol
void updateLineAndCol(uint line, uint column, string oldSlice, string newSLice)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

TokenData
struct TokenData
Undocumented in source.

Meta