org.parboiled.scala.rules

Rule

class Rule extends AnyRef

The base class of all scala parser rules.

Attributes
abstract
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Rule
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Rule ()

Abstract Value Members

  1. val matcher : Matcher

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

    Attributes
    protected abstract

Concrete Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

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

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def append (other: Matcher): Matcher

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

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

    Attributes
    protected
  9. def append (action: org.parboiled.Action[_]): Matcher

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

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

    Attributes
    protected
  12. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  13. def clone (): AnyRef

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

    Attributes
    final
    Definition Classes
    AnyRef
  15. def equals (arg0: Any): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  18. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  20. def label (label: String): Rule.this.type

  21. def memoMismatches : Rule.this.type

  22. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def skipNode : Rule.this.type

  26. def suppressNode : Rule.this.type

  27. def suppressSubnodes : Rule.this.type

  28. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  29. def toString (): String

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

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

  31. def wait (): Unit

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

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

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

    Connects two rules into a rule a sequence.

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

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

  36. 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.

  37. 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.

  38. 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