case class StringTreeConcat(children: Seq[StringTreeNode]) extends CachedSimplifyNode with CachedHashCode with Product with Serializable
- Alphabetic
- By Inheritance
- StringTreeConcat
- Serializable
- CachedHashCode
- Product
- Equals
- CachedSimplifyNode
- StringTreeNode
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new StringTreeConcat(children: Seq[StringTreeNode])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(obj: Any): Boolean
- Definition Classes
- CachedHashCode → Equals
- val children: Seq[StringTreeNode]
- Definition Classes
- StringTreeConcat → StringTreeNode
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- lazy val constancyLevel: StringConstancyLevel
- returns
The constancy level of the string tree.
- Definition Classes
- StringTreeConcat → StringTreeNode
- See also
- def createNew(children: Iterable[StringTreeNode]): StringTreeNode
- returns
A new StringTreeNode (of the same type if applicable) with the given children
- Attributes
- protected
- Definition Classes
- StringTreeConcat → StringTreeNode
- lazy val depth: Int
The depth of the string tree measured by the count of nodes on the longest path from the root to a leaf.
The depth of the string tree measured by the count of nodes on the longest path from the root to a leaf.
- Definition Classes
- StringTreeNode
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- lazy val hashCode: Int
- Definition Classes
- CachedHashCode → AnyRef → Any
- def isEmpty: Boolean
- returns
True if this string tree node represents an empty string, false otherwise.
- Definition Classes
- StringTreeNode
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isInvalid: Boolean
- returns
True if this string tree node represents no string, false otherwise.
- Definition Classes
- StringTreeNode
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- lazy val parameterIndices: Set[Int]
The indices of any method parameter references using StringTreeParameter within the string tree.
The indices of any method parameter references using StringTreeParameter within the string tree.
- Definition Classes
- StringTreeNode
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final lazy val regex: String
- returns
The canonical reduction of the string tree, i.e. a regex representing the same set of string values as the tree itself.
- Definition Classes
- StringTreeNode
- final def replaceAtDepth(targetDepth: Int, replacement: StringTreeNode): StringTreeNode
Replaces string tree nodes at the target depth if they have children.
Replaces string tree nodes at the target depth if they have children. In case a SimpleStringTreeNode is given as a second parameter, this effectively limits the string tree to the given target depth.
- targetDepth
The depth at which nodes should be replaced if they have children.
- replacement
The replacement to set for nodes at the target depth if they have children.
- returns
The modified tree if the target depth is smaller than the current depth or the same instance if it is not.
- Definition Classes
- StringTreeNode
- def replaceInChildren(targetDepth: Int, replacement: StringTreeNode): StringTreeNode
- Attributes
- protected
- Definition Classes
- StringTreeNode
- final def replaceParameters(parameters: Map[Int, StringTreeNode]): StringTreeNode
Replaces all StringTreeParameter instances in the string tree that represent a parameter index defined in the given map with the replacement value for that index.
Replaces all StringTreeParameter instances in the string tree that represent a parameter index defined in the given map with the replacement value for that index. Keeps StringTreeParameter instances whose their index is not defined in the map.
- parameters
A map from parameter indices to replacement values
- returns
The modified string tree if something could be replaced or the same instance otherwise.
- Definition Classes
- StringTreeNode
- def replaceParametersInChildren(parameters: Map[Int, StringTreeNode]): StringTreeNode
- Attributes
- protected
- Definition Classes
- StringTreeNode
- final def simplified: StringTreeNode
Simplifies the string tree by e.g.
Simplifies the string tree by e.g. flattening nested StringTreeOr instances.
- returns
The simplified string tree or the same instance if nothing could be simplified.
- Definition Classes
- CachedSimplifyNode → StringTreeNode
- See also
- def simplify: StringTreeNode
- Attributes
- protected
- Definition Classes
- StringTreeConcat → CachedSimplifyNode
- def sorted: StringTreeNode
- returns
The string tree sorted with a stable ordering over its canonical reduction.
- Definition Classes
- StringTreeConcat → StringTreeNode
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toRegex: String
- Attributes
- protected
- Definition Classes
- StringTreeConcat → StringTreeNode
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
- Deprecated