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: AnyRef): Boolean

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

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

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

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

    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: Action[_]): Matcher

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

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

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

    Definition Classes
    Any
  13. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean

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

  20. def memoMismatches: Rule.this.type

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

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

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. def skipNode: Rule.this.type

  25. def suppressNode: Rule.this.type

  26. def suppressSubnodes: Rule.this.type

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

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

  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. final def wait(): Unit

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

    Connects two rules into a rule a sequence.

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

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

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

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

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

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

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped