org.parboiled.scala.rules

Rule

abstract class Rule extends AnyRef

The base class of all scala parser rules.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Rule
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Rule()

Abstract Value Members

  1. abstract val matcher: Matcher

  2. abstract def withMatcher(matcher: Matcher): Rule.this.type

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def append(other: Matcher): Matcher

    Attributes
    protected
  5. def append(other: Rule): Matcher

    Attributes
    protected
  6. def append(f: (Context[Any]) ⇒ Boolean): Matcher

    Attributes
    protected
  7. def append(action: Action[_]): Matcher

    Attributes
    protected
  8. def appendChoice(other: Matcher): Matcher

    Attributes
    protected
  9. def appendChoice(other: Rule): Matcher

    Attributes
    protected
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. def label(label: String): Rule.this.type

  19. def memoMismatches: Rule.this.type

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def skipNode: Rule.this.type

  24. def suppressNode: Rule.this.type

  25. def suppressSubnodes: Rule.this.type

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    Rule → AnyRef → Any
  28. def unary_!: Rule0

    Creates a "NOT" syntactic predicate according to the PEG formalism.

  29. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def ~(other: Rule0): Rule.this.type

    Connects two rules into a rule a sequence.

  33. def ~%(f: (String) ⇒ Unit): Rule.this.type

    Creates a simple parser action with the input text matched by the immediately preceding rule as parameter.

  34. def ~:%(f: (Char) ⇒ Unit): Rule.this.type

    Creates a simple parser action with the first char of the input text matched by the immediately preceding rule as parameter.

  35. def ~:?(f: (Char) ⇒ Boolean): Rule.this.type

    Creates a semantic predicate on the first char of the input text matched by the immediately preceding rule.

  36. def ~?(f: (String) ⇒ Boolean): Rule.this.type

    Creates a semantic predicate on the input text matched by the immediately preceding rule.

Inherited from AnyRef

Inherited from Any

Ungrouped