Interface ILexer
Namespace: OceanApocalypse.RSML.Language.Lexing
Assembly: RSML.Language.Lexing.dll
Represents a lexer for RSML.
public interface ILexer : IToolchainComponent, IDisposable
Implements
IToolchainComponent, IDisposable
Remarks
Avoid starting from scratch
If you want to add content on top of a lexer, without overriding the extra functionality it adds, you might want to take a look at Lexer.
Methods
GetNextToken()
Returns the next token.
Result<Token> GetNextToken()
Returns
The next token.
Lex()
Tokenizes a source passed to the lexer.
IEnumerable<Token> Lex()
Returns
The tokens.