ParserState

ParserState instances are immutable and keep track of a current lexingState and clientDataMap during parsing.

Author

Mark van Gulik

Parameters

lexingState

The LexingState at this parse position.

clientDataMap

The map of data used by macros while parsing Avail code.

Properties

Link copied to clipboard

true if this state represents the end of the file, false otherwise.

Link copied to clipboard

A map of interesting information used by the compiler.

Link copied to clipboard

The state of the lexer at this parse position.

Link copied to clipboard

The one-based line number.

Link copied to clipboard

The one-based index into the source.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String