IndentAwareLexer
Class in Yarn.Compiler
Inherits from Antlr4.Runtime.Lexer
Summary
A Lexer subclass that detects newlines and generates indent and dedent tokens accordingly.
Constructors
Name
Description
Initializes a new instance of the IndentAwareLexer class.
Methods
Name
Description
Returns a value indicating whether the lexer is currently lexing an expression that's part of a 'when' clause.
Sets a value indicating whether the lexer is currently lexing an expression that's part of a 'when' clause.
Properties
Name
Description
Gets the collection of warnings determined during lexing.
Structs
Name
Description
A warning emitted during lexing.
Last updated