Package team.unnamed.mocha.lexer
package team.unnamed.mocha.lexer
Package containing classes related to lexicographical
analysis of Molang code.
This means converting simple text, to a stream of tokens, e.g. (1 + 2 + 3) -> (double plus double plus double), or ('hello'.length()) -> (string dot identifier lparen rparen)
- Since:
- 3.0.0
-
ClassDescriptionMutable class that tracks the position of characters when performing lexical analysisLexical analyzer for the Molang language.Class representing a Molang token.An enum of token kinds.An enum of tags for token kinds.