Parser
halotukozak.alpaca.internal.parser.Parser
abstract class Parser[Ctx <: ParserCtx](using x$1: withDefault[Ctx, Empty])(using tables: Tables[Ctx], errorHandling: ErrorHandling[Ctx])
Base class for parsers.
Users should extend this class and define their grammar rules as Rule instances. The parser uses an LR parsing algorithm with automatic parse table generation.
Type parameters
- Ctx
-
the parser context type;
Parserwithout a type argument uses ParserCtx.Empty
Attributes
- Source
- Parser.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article
