io.github.reggert.reb4s

Expression

abstract class Expression extends Serializable with Immutable

Base class extended by all reb4j expression builders.

Annotations
@SerialVersionUID()
Linear Supertypes
Immutable, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Expression
  2. Immutable
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Expression()

Abstract Value Members

  1. abstract def boundedLength: Option[Int]

    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]
  2. abstract def expression: String

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

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

  3. abstract def possiblyZeroLength: Boolean

    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]
  4. abstract def repetitionInvalidatesBounds: Boolean

    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]

Concrete Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  16. final def toPattern: Pattern

    Passes the regular expression represented by this object to java.

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

  17. final def toRegex(groupNames: String*): Regex

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

  18. final def toString(): String

    Always returns the same value as Expression#expression.

    Always returns the same value as Expression#expression.

    Definition Classes
    Expression → AnyRef → Any
  19. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Immutable

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped