Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Method in IndentAwareLexer
Returns a value indicating whether the lexer is currently lexing an expression that's part of a 'when' clause.
This value is set by SetInWhenClause(bool) .
Method in IndentAwareLexer
Sets a value indicating whether the lexer is currently lexing an expression that's part of a 'when' clause.
This value can be accessed by calling IsInWhenClause() .
bool
val
The value to set.
Class in Yarn.Compiler
Inherits from Antlr4.Runtime.Lexer
A Lexer subclass that detects newlines and generates indent and dedent tokens accordingly.
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.
Gets the collection of warnings determined during lexing.
A warning emitted during lexing.
Initializes a new instance of the class.
Struct in IndentAwareLexer
Inherits from System.ValueType
A warning emitted during lexing.
The message associated with the warning.
The token associated with the warning.
Antlr4.Runtime.ICharStream
input
The incoming character stream.
System.IO.TextWriter
output
The System.IO.TextWriter
to send output to.
System.IO.TextWriter
errorOutput
The System.IO.TextWriter
to send errors to.