LexerError

halotukozak.alpaca.LexerError
See theLexerError companion class
object LexerError

Attributes

Companion
class
Source
lexer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
LexerError.type

Members list

Type members

Types

type Of[Ctx] = withFields[LexerError, From[Ctx]]

An error carrying the fields of the lexer context Ctx, as an ErrorHandling for Ctx is given it.

An error carrying the fields of the lexer context Ctx, as an ErrorHandling for Ctx is given it.

Attributes

Source
lexer.scala

Extensions

Extensions

extension [Ctx, Value](result: Result[Ctx, Value, LexerError])
def getOrThrow: Value

The value; throws the errors as a LexerException if any input did not match a token.

The value; throws the errors as a LexerException if any input did not match a token.

Attributes

Source
lexer.scala