fr.splayce.rel.flavors

EmbedGroupNames

trait EmbedGroupNames extends FlavorLike

Embeds validly-named capturing groups and references, Java 7-style ((?<name>expr) and (\k<name>)).

Keeps Scala-style group names at Regex instanciation.

Valid inline group names are those matching the overridable groupNamingValidator regex (RE.snakeGroupName by default), unique if groupNamingUnicity if left to true. This validation is post-checked, so that an extending Flavor's translator can alter group names beforehand.

See also

GroupNameSimplifier

,

scala.util.matching.Regex

,

java.util.regex.Pattern

Linear Supertypes
FlavorLike, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. EmbedGroupNames
  2. FlavorLike
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def notSupported (feature: String, plural: Boolean = false): Nothing

    Attributes
    protected abstract
    Definition Classes
    FlavorLike
  2. def translator : Rewriter

    Attributes
    abstract
    Definition Classes
    FlavorLike

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 asInstanceOf [T0] : T0

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. lazy val egn : Rewriter

  9. def eq (arg0: AnyRef): Boolean

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  13. val groupNamingStyle : GroupNamingStyle

  14. val groupNamingUnicity : Boolean

  15. val groupNamingValidator : Regex

  16. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  18. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  21. def synchronized [T0] (arg0: ⇒ T0): T0

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

    Definition Classes
    AnyRef → Any
  23. def translate (re: RE): RE

    Definition Classes
    EmbedGroupNamesFlavorLike
  24. val traversal : TraversalOrder

    Definition Classes
    FlavorLike
  25. lazy val uniqueGroupNames : OpRewriter[List[String]]

  26. lazy val validateGroupNames : Rewriter

  27. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from FlavorLike

Inherited from AnyRef

Inherited from Any