Package avail.compiler.scanning

Types

Link copied to clipboard
class LexingState(    val compilationContext: CompilationContext,     val position: Int,     val lineNumber: Int,     val allTokens: List<A_Token>)

LexingState instances represent the lexing state between tokens. They bind together consecutive tokens into a directed acyclic graph, allowing the AvailCompiler to process all possible paths (lexings), typically in aggregate.