Trait

io.github.reggert.reb4s.charclass

SelfContained

Related Doc: package charclass

Permalink

trait SelfContained extends CharClass

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SelfContained
  2. CharClass
  3. Quantifiable
  4. Sequenceable
  5. Alternative
  6. Expression
  7. Immutable
  8. Serializable
  9. Serializable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def negated: CharClass

    Permalink

    Returns an expressing matching a single character that is not within the class of characters matched by this expression.

    Returns an expressing matching a single character that is not within the class of characters matched by this expression.

    Definition Classes
    CharClass
  2. abstract def unitableForm: String

    Permalink

    The regular expression string that can be used within square brackets to merge with other character classes.

    The regular expression string that can be used within square brackets to merge with other character classes.

    Attributes
    protected[io.github.reggert.reb4s.charclass]
    Definition Classes
    CharClass

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def &&(right: Intersection): Intersection

    Permalink

    Returns the intersection of this character class with the specified character classes.

    Returns the intersection of this character class with the specified character classes.

    Definition Classes
    CharClass
  4. def &&(right: CharClass): Intersection

    Permalink

    Returns the intersection of this character class with the specified character class.

    Returns the intersection of this character class with the specified character class.

    Definition Classes
    CharClass
  5. final def *: AnyTimes

    Permalink

    Returns an expression that matches the receiver repeated any number of times, using greedy matching.

    Returns an expression that matches the receiver repeated any number of times, using greedy matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#anyTimes

  6. final def *+: AnyTimes

    Permalink

    Returns an expression that matches the receiver repeated any number of times, using possessive matching.

    Returns an expression that matches the receiver repeated any number of times, using possessive matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#anyTimes

  7. final def *?: AnyTimes

    Permalink

    Returns an expression that matches the receiver repeated any number of times, using reluctant matching.

    Returns an expression that matches the receiver repeated any number of times, using reluctant matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#anyTimes

  8. final def +: AtLeastOnce

    Permalink

    Returns an expression that matches the receiver repeated at least once, using greedy matching.

    Returns an expression that matches the receiver repeated at least once, using greedy matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#atLeastOnce

  9. final def ++: AtLeastOnce

    Permalink

    Returns an expression that matches the receiver repeated at least once, using possessive matching.

    Returns an expression that matches the receiver repeated at least once, using possessive matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#atLeastOnce

  10. final def +?: AtLeastOnce

    Permalink

    Returns an expression that matches the receiver repeated at least once, using reluctant matching.

    Returns an expression that matches the receiver repeated at least once, using reluctant matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#atLeast

  11. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def ?: Optional

    Permalink

    Returns an expression that matches the receiver appearing once or not at all, using greedy matching.

    Returns an expression that matches the receiver appearing once or not at all, using greedy matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#optional

  13. final def ?+: Optional

    Permalink

    Returns an expression that matches the receiver appearing once or not at all, using possessive matching.

    Returns an expression that matches the receiver appearing once or not at all, using possessive matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#optional

  14. final def ??: Optional

    Permalink

    Returns an expression that matches the receiver appearing once or not at all, using reluctant matching.

    Returns an expression that matches the receiver appearing once or not at all, using reluctant matching.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#optional

  15. final def andThen(right: Sequence): Sequence

    Permalink

    Concatenates this expression with the argument.

    Concatenates this expression with the argument.

    Definition Classes
    Sequenceable
  16. final def andThen(right: Sequenceable): Sequence

    Permalink

    Concatenates this expression with the argument.

    Concatenates this expression with the argument.

    Definition Classes
    Sequenceable
  17. final def anyTimes(mode: Mode = Greedy): AnyTimes

    Permalink

    Returns an expression that matches the receiver repeated any number of times.

    Returns an expression that matches the receiver repeated any number of times.

    Definition Classes
    Quantifiable
  18. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  19. final def atLeast(n: Int, mode: Mode = Greedy): RepeatRange

    Permalink

    Returns an expression that matches the receiver repeated at least the specified minimum number of times.

    Returns an expression that matches the receiver repeated at least the specified minimum number of times.

    n

    the minimum number of times that the pattern may be repeated; must be be >= 0;

    Definition Classes
    Quantifiable
    Exceptions thrown

    IllegalArgumentException if n < 0.

  20. final def atLeastOnce(mode: Mode = Greedy): AtLeastOnce

    Permalink

    Returns an expression that matches the receiver repeated at least once.

    Returns an expression that matches the receiver repeated at least once.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#+

  21. final def boundedLength: Some[Int]

    Permalink

    If the expression has a computable maximum length, this returns it.

    If the expression has a computable maximum length, this returns it. Otherwise, it returns None.

    This is used for determining whether an expression is suitable for look-behind.

    Attributes
    protected[io.github.reggert.reb4s]
    Definition Classes
    CharClassExpression
  22. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def expression: String

    Permalink

    Returns the regular expression represented by this object, in a form suitable to passing to the java.util.regex.Pattern class.

    Returns the regular expression represented by this object, in a form suitable to passing to the java.util.regex.Pattern class.

    Definition Classes
    CharClassExpression
  26. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def independentForm: String

    Permalink

    The regular expression string that can be used independently of square brackets.

    The regular expression string that can be used independently of square brackets.

    Definition Classes
    SelfContainedCharClass
  30. final def intersect(right: Intersection): Intersection

    Permalink

    Returns the intersection of this character class with the specified character classes.

    Returns the intersection of this character class with the specified character classes.

    Definition Classes
    CharClass
  31. final def intersect(right: CharClass): Intersection

    Permalink

    Returns the intersection of this character class with the specified character class.

    Returns the intersection of this character class with the specified character class.

    Definition Classes
    CharClass
  32. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  33. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  36. final def optional(mode: Mode = Greedy): Optional

    Permalink

    Returns an expression that matches the receiver appearing once or not at all.

    Returns an expression that matches the receiver appearing once or not at all.

    Definition Classes
    Quantifiable
    See also

    Quantifiable#?

  37. final def or(right: CharClass): Union

    Permalink

    Returns the union of this character class with the specified character class.

    Returns the union of this character class with the specified character class.

    Definition Classes
    CharClass
  38. final def or(right: Union): Union

    Permalink

    Returns the union of this character class with the specified character classes.

    Returns the union of this character class with the specified character classes.

    Definition Classes
    CharClass
  39. final def or(right: Alternative): Alternation

    Permalink

    Constructs an expression matching either the receiver or the specified argument expression.

    Constructs an expression matching either the receiver or the specified argument expression.

    Definition Classes
    Alternative
  40. final def or(right: Alternation): Alternation

    Permalink

    Constructs an expression matching either the receiver or the any of the alternatives contained within the specified argument expression.

    Constructs an expression matching either the receiver or the any of the alternatives contained within the specified argument expression.

    Definition Classes
    Alternative
  41. final def possiblyZeroLength: Boolean

    Permalink

    Indicates whether the expression may possibly be zero length.

    Indicates whether the expression may possibly be zero length.

    Used in some cases for determining repetitionInvalidatesBounds.

    Attributes
    protected[io.github.reggert.reb4s]
    Definition Classes
    CharClassExpression
  42. final def repeat(n: Int, mode: Mode = Greedy): RepeatExactly

    Permalink

    Returns an expression that matches the receiver repeated the specified number of times.

    Returns an expression that matches the receiver repeated the specified number of times.

    n

    the exact number of times the pattern must be repeated for the quantified expression to match; must be >= 0.

    Definition Classes
    Quantifiable
    Exceptions thrown

    IllegalArgumentException if n < 0.

  43. final def repeatRange(min: Int, max: Int, mode: Mode = Greedy): RepeatRange

    Permalink

    Returns an expression that matches the receiver repeated a number of times within the specified range.

    Returns an expression that matches the receiver repeated a number of times within the specified range.

    min

    the minimum number of times that the pattern may be repeated; must be >= 0.

    max

    the maximum number of times that the pattern may be repeated; must be >= min.

    Definition Classes
    Quantifiable
    Exceptions thrown

    IllegalArgumentException if min < 0 or max < min.

  44. final def repetitionInvalidatesBounds: Boolean

    Permalink

    Indicates whether applying repetition to the expression invalidates the boundedness computation.

    Indicates whether applying repetition to the expression invalidates the boundedness computation. This generally indicates that the expression may match a zero-repetition ({0, n} or ?).

    This is used to determine boundedness of enclosing expressions.

    Attributes
    protected[io.github.reggert.reb4s]
    Definition Classes
    CharClassExpression
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. final def toPattern: Pattern

    Permalink

    Passes the regular expression represented by this object to java.util.regex.Pattern and returns the result.

    Passes the regular expression represented by this object to java.util.regex.Pattern and returns the result.

    Definition Classes
    Expression
  47. final def toRegex(groupNames: String*): Regex

    Permalink

    Uses the regular expression represented by this object to construct a scala.util.matching.Regex.

    Uses the regular expression represented by this object to construct a scala.util.matching.Regex.

    Definition Classes
    Expression
  48. final def toString(): String

    Permalink

    Always returns the same value as Expression#expression.

    Always returns the same value as Expression#expression.

    Definition Classes
    Expression → AnyRef → Any
  49. final def unary_~: CharClass

    Permalink

    Returns an expressing matching a single character that is not within the class of characters matched by this expression.

    Returns an expressing matching a single character that is not within the class of characters matched by this expression.

    Definition Classes
    CharClass
  50. final def union(right: CharClass): Union

    Permalink

    Returns the union of this character class with the specified character class.

    Returns the union of this character class with the specified character class.

    Definition Classes
    CharClass
  51. final def union(right: Union): Union

    Permalink

    Returns the union of this character class with the specified character classes.

    Returns the union of this character class with the specified character classes.

    Definition Classes
    CharClass
  52. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def ||(right: CharClass): Union

    Permalink

    Returns the union of this character class with the specified character classes.

    Returns the union of this character class with the specified character classes.

    Definition Classes
    CharClass
  56. def ||(right: Union): Union

    Permalink

    Returns the union of this character class with the specified character class.

    Returns the union of this character class with the specified character class.

    Definition Classes
    CharClass
  57. def ||(right: Alternative): Alternation

    Permalink

    Constructs an expression matching either the receiver or the specified argument expression.

    Constructs an expression matching either the receiver or the specified argument expression.

    Definition Classes
    Alternative
  58. def ||(right: Alternation): Alternation

    Permalink

    Constructs an expression matching either the receiver or the any of the alternatives contained within the specified argument expression.

    Constructs an expression matching either the receiver or the any of the alternatives contained within the specified argument expression.

    Definition Classes
    Alternative
  59. def ~~(right: Sequence): Sequence

    Permalink

    Concatenates this expression with the argument.

    Concatenates this expression with the argument.

    Definition Classes
    Sequenceable
  60. def ~~(right: Sequenceable): Sequence

    Permalink

    Concatenates this expression with the argument.

    Concatenates this expression with the argument.

    Definition Classes
    Sequenceable

Inherited from CharClass

Inherited from Quantifiable

Inherited from Sequenceable

Inherited from Alternative

Inherited from Expression

Inherited from Immutable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped