ParserError

halotukozak.alpaca.ParserError
See theParserError companion class
object ParserError

Attributes

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

Members list

Type members

Classlikes

object EndOfInput

In ParserError.expected, the end of the input.

In ParserError.expected, the end of the input.

Attributes

Source
parser.scala
Supertypes
class Object
trait Matchable
class Any
Self type
EndOfInput.type

Types

type EndOfInput = EndOfInput.type

The type of EndOfInput, for matching on the elements of ParserError.expected.

The type of EndOfInput, for matching on the elements of ParserError.expected.

Attributes

Source
parser.scala

Extensions

Extensions

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

The value; throws the errors as a ParserException if parsing failed.

The value; throws the errors as a ParserException if parsing failed.

Attributes

Source
parser.scala