fr.splayce.rel

RE

class RE extends AnyRef

A REL term in the expression tree

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

Instance Constructors

  1. new RE ()

Abstract Value Members

  1. def /: [A] (z: A)(op: OpRewriter[A], order: TraversalOrder): (RE, A)

    Recursively apply an (RE, A) => (RE, A) operation, going left to right.

    Recursively apply an (RE, A) => (RE, A) operation, going left to right.

    In Prefixed and InfixedPre traversals, automatic recursion will only occur on RE2 and RE1 if the result of the operation remains of the same class.

    Attributes
    abstract
  2. def foreach [U] (order: TraversalOrder)(f: (RE) ⇒ U): Unit

    Attributes
    protected[rel] abstract
  3. val groups : List[MatchGroup]

    Corresponding MatchGroup tree, without containing unnamed $0 MatchGroup

    Corresponding MatchGroup tree, without containing unnamed $0 MatchGroup

    Attributes
    abstract
  4. def linear (groupNames: List[String] = Nil): (String, List[String])

    Attributes
    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. lazy val % : Wrapped

    Non-capturing group

  5. lazy val * : KStar

    Zero-or-more quantifier, greedy

  6. lazy val *+ : KStar

    Zero-or-more quantifier, possessive

  7. lazy val *? : KStar

    Zero-or-more quantifier, reluctant

  8. lazy val + : KCross

    One-or-more quantifier, greedy

  9. lazy val ++ : KCross

    One-or-more quantifier, possessive

  10. lazy val +? : KCross

    One-or-more quantifier, reluctant

  11. def - (that: RE): RE

    Unprotected concatenation

  12. def < (n: Int): RE

    At-most-N quantifier, greedy

  13. def <+ (n: Int): RE

    At-most-N quantifier, possessive

  14. def << [A] (extractor: MatchExtractor[A]): Extractor[A]

    Generate an Extractor for this extracting MatchExtractor

  15. def << [A] (extractor: (MatchGroup) ⇒ Option[A])(implicit d: DummyImplicit): Extractor[A]

    Generate an Extractor for this extracting function

  16. def << [A] (extractor: (Match) ⇒ Option[A]): Extractor[A]

    Generate an Extractor for this extracting function

  17. def <? (n: Int): RE

    At-most-N quantifier, reluctant

    At-most-N quantifier, reluctant

    Dotted form expr.<?(n) is mandatory, standalone <? being syntactically significant in Scala (XMLSTART)

  18. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  20. def > (n: Int): RE

    At-least-N quantifier, greedy

  21. def >+ (n: Int): RE

    At-least-N quantifier, possessive

  22. def >? (n: Int): RE

    At-least-N quantifier, reluctant

  23. lazy val ? : Opt

    Zero-or-one quantifier, greedy

  24. lazy val ?! : RE

    Negative look-ahead

  25. lazy val ?+ : Opt

    Zero-or-one quantifier, possessive

  26. def ?: (flags: String): Wrapped

    Non-capturing group with flags (local mode modifiers), infix operator "i" ?: re

  27. lazy val ?<! : RE

    Negative look-behind

  28. lazy val ?<= : RE

    Positive look-behind

  29. lazy val ?= : RE

    Positive look-ahead

  30. lazy val ?> : RE

    Atomic group

  31. lazy val ?? : Opt

    Zero-or-one quantifier, reluctant

  32. def \ (name: String): Group

    Named capturing group

  33. lazy val ag : RE

    Atomic group

  34. def apply (): Group

    Unnamed capturing group (actual unique name is generated)

  35. def apply (n: Int): RE

    Exactely-N quantifier

  36. def apply (rg: (Int, Int)): RE

    N-to-M quantifier

  37. def apply (rg: Range): RE

    N-to-M quantifier

  38. def apply (lb: Int, ub: Int, mode: RepMode = Greedy): RepNToM

    N-to-M quantifier

  39. def asInstanceOf [T0] : T0

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

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

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

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  44. def g (): Group

    Unnamed capturing group (actual unique name is generated)

  45. def g (name: String): Group

    Named capturing group

  46. def getClass (): java.lang.Class[_]

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

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

    Attributes
    final
    Definition Classes
    Any
  49. lazy val lin : (String, List[String])

    Combined linearization: first term is String representation, second is the List of capturing group names

  50. def map (tr: Rewriter, order: TraversalOrder = TraversalOrder.Postfixed): RE

    Recursively replace matching terms in the RE subtree

  51. lazy val matchGroup : MatchGroup

    Corresponding MatchGroup tree, with containing unnamed $0 MatchGroup

  52. def ncg (flags: String): Wrapped

    Non-capturing group with flags (local mode modifiers)

  53. lazy val ncg : Wrapped

    Non-capturing group

  54. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  57. lazy val r : Regex

    Scala Regex linearization

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

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

    String linearization

    String linearization

    Definition Classes
    RE → AnyRef → Any
  60. def traverse (order: TraversalOrder = TraversalOrder.Postfixed): Traversable[RE]

    Return a Traversable for this order

  61. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  64. def | (that: RE): Alt

    Alternative

  65. def ~ (that: RE): RE

    Protected concatenation, both operands are wrapped in non-capturing groups if needed

Inherited from AnyRef

Inherited from Any