DynamicRuleDispatch

org.parboiled2.DynamicRuleDispatch
See theDynamicRuleDispatch companion object
trait DynamicRuleDispatch[P <: Parser, L <: HList]

Runs one of the rules of a parser instance of type P given the rules name. The rule must have type RuleN[L].

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def lookup(ruleName: String): Option[RuleRunner[P, L]]

Concrete methods

def apply(handler: DynamicRuleHandler[P, L], ruleName: String): Result