Parser
halotukozak.alpaca.internal.parser.Parser
abstract class Parser[Ctx <: ParserCtx](using x$1: withDefault[Ctx, Empty])(using empty: Empty[Ctx], tables: Tables[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 global context type, defaults to EmptyGlobalCtx
Attributes
- Experimental
- true
- Source
- Parser.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article
