Class

org.parboiled.scala.rules

CharRule

Related Doc: package rules

Permalink

class CharRule extends Rule0

A rule matching one single character.

Linear Supertypes
Rule0, Rule, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CharRule
  2. Rule0
  3. Rule
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CharRule(c: Char)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def -(upperBound: String): Rule0

    Permalink

    Creates a rule matching the range of characters between the character of this rule and the given character (inclusively).

    Creates a rule matching the range of characters between the character of this rule and the given character (inclusively).

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Rule
  6. def append(other: Rule): Matcher

    Permalink
    Attributes
    protected
    Definition Classes
    Rule
  7. def append(f: (Context[Any]) ⇒ Boolean): Matcher

    Permalink
    Attributes
    protected
    Definition Classes
    Rule
  8. def append(action: Action[_]): Matcher

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

    Permalink
    Attributes
    protected
    Definition Classes
    Rule
  10. def appendChoice(other: Rule): Matcher

    Permalink
    Attributes
    protected
    Definition Classes
    Rule
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. val c: Char

    Permalink
  13. def clone(): AnyRef

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  20. def label(label: String): CharRule.this.type

    Permalink
    Definition Classes
    Rule
  21. val matcher: Matcher

    Permalink
    Definition Classes
    Rule0Rule
  22. def memoMismatches: CharRule.this.type

    Permalink
    Definition Classes
    Rule
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def skipNode: CharRule.this.type

    Permalink
    Definition Classes
    Rule
  27. def suppressNode: CharRule.this.type

    Permalink
    Definition Classes
    Rule
  28. def suppressSubnodes: CharRule.this.type

    Permalink
    Definition Classes
    Rule
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

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

    Permalink

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

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

    Definition Classes
    Rule
  32. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withMatcher(matcher: Matcher): CharRule.this.type

    Permalink
    Attributes
    protected
    Definition Classes
    Rule0Rule
  36. def |(other: Rule0): Rule0

    Permalink
    Definition Classes
    Rule0
  37. def ~[A, B, C, D, E, F, G](other: Rule7[A, B, C, D, E, F, G]): Rule7[A, B, C, D, E, F, G]

    Permalink
    Definition Classes
    Rule0
  38. def ~[A, B, C, D, E, F](other: Rule6[A, B, C, D, E, F]): Rule6[A, B, C, D, E, F]

    Permalink
    Definition Classes
    Rule0
  39. def ~[A, B, C, D, E](other: Rule5[A, B, C, D, E]): Rule5[A, B, C, D, E]

    Permalink
    Definition Classes
    Rule0
  40. def ~[A, B, C, D](other: Rule4[A, B, C, D]): Rule4[A, B, C, D]

    Permalink
    Definition Classes
    Rule0
  41. def ~[A, B, C](other: Rule3[A, B, C]): Rule3[A, B, C]

    Permalink
    Definition Classes
    Rule0
  42. def ~[A, B](other: Rule2[A, B]): Rule2[A, B]

    Permalink
    Definition Classes
    Rule0
  43. def ~[A](other: Rule1[A]): Rule1[A]

    Permalink
    Definition Classes
    Rule0
  44. def ~[Z, R](other: ReductionRule1[Z, R]): ReductionRule1[Z, R]

    Permalink
    Definition Classes
    Rule0
  45. def ~[Y, Z, R](other: ReductionRule2[Y, Z, R]): ReductionRule2[Y, Z, R]

    Permalink
    Definition Classes
    Rule0
  46. def ~[X, Y, Z, R](other: ReductionRule3[X, Y, Z, R]): ReductionRule3[X, Y, Z, R]

    Permalink
    Definition Classes
    Rule0
  47. def ~[Z](other: PopRule1[Z]): PopRule1[Z]

    Permalink
    Definition Classes
    Rule0
  48. def ~[Y, Z](other: PopRule2[Y, Z]): PopRule2[Y, Z]

    Permalink
    Definition Classes
    Rule0
  49. def ~[X, Y, Z](other: PopRule3[X, Y, Z]): PopRule3[X, Y, Z]

    Permalink
    Definition Classes
    Rule0
  50. def ~(other: Rule0): CharRule.this.type

    Permalink

    Connects two rules into a rule a sequence.

    Connects two rules into a rule a sequence.

    Definition Classes
    Rule
  51. def ~%(f: (String) ⇒ Unit): CharRule.this.type

    Permalink

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

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

    Definition Classes
    Rule
  52. def ~:%(f: (Char) ⇒ Unit): CharRule.this.type

    Permalink

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

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

    Definition Classes
    Rule
  53. def ~:>[R](f: (Char) ⇒ R): Rule1[R]

    Permalink
    Definition Classes
    Rule0
  54. def ~:?(f: (Char) ⇒ Boolean): CharRule.this.type

    Permalink

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

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

    Definition Classes
    Rule
  55. def ~>[R](f: (String) ⇒ R): Rule1[R]

    Permalink
    Definition Classes
    Rule0
  56. def ~>>[R](f: (IndexRange) ⇒ R): Rule1[R]

    Permalink
    Definition Classes
    Rule0
  57. def ~?(f: (String) ⇒ Boolean): CharRule.this.type

    Permalink

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

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

    Definition Classes
    Rule
  58. def ~~%[X, Y, Z](f: (X, Y, Z) ⇒ Unit): PopRule3[X, Y, Z]

    Permalink
    Definition Classes
    Rule0
  59. def ~~%[Y, Z](f: (Y, Z) ⇒ Unit): PopRule2[Y, Z]

    Permalink
    Definition Classes
    Rule0
  60. def ~~%[Z](f: (Z) ⇒ Unit): PopRule1[Z]

    Permalink
    Definition Classes
    Rule0
  61. def ~~>[X, Y, Z, R](f: (X, Y, Z) ⇒ R): ReductionRule3[X, Y, Z, R]

    Permalink
    Definition Classes
    Rule0
  62. def ~~>[Y, Z, R](f: (Y, Z) ⇒ R): ReductionRule2[Y, Z, R]

    Permalink
    Definition Classes
    Rule0
  63. def ~~>[Z, R](f: (Z) ⇒ R): ReductionRule1[Z, R]

    Permalink
    Definition Classes
    Rule0
  64. def ~~?[X, Y, Z](f: (X, Y, Z) ⇒ Boolean): PopRule3[X, Y, Z]

    Permalink
    Definition Classes
    Rule0
  65. def ~~?[Y, Z](f: (Y, Z) ⇒ Boolean): PopRule2[Y, Z]

    Permalink
    Definition Classes
    Rule0
  66. def ~~?[Z](f: (Z) ⇒ Boolean): PopRule1[Any]

    Permalink
    Definition Classes
    Rule0

Inherited from Rule0

Inherited from Rule

Inherited from AnyRef

Inherited from Any

Ungrouped