case class NumberReference(num: Int, location: Location) extends Leaf[Int] with Product with Serializable
Reference to a numbered capturing group leaf node
- num
The order number of the capturing group being referenced
- location
The weaponregex.model.Location of the node in the regex string
- Alphabetic
- By Inheritance
- NumberReference
- Serializable
- Product
- Equals
- Leaf
- RegexTree
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new NumberReference(num: Int, location: Location)
- num
The order number of the capturing group being referenced
- location
The weaponregex.model.Location of the node in the regex string
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
- lazy val build: String
Builds the leaf node into a String with the defined prefix and postfix
- def buildWhile(pred: (RegexTree) => Boolean): String
Since leaves have no children, this is always equivalent to weaponregex.model.regextree.Leaf.build
Since leaves have no children, this is always equivalent to weaponregex.model.regextree.Leaf.build
- pred
Predicate on a child
- returns
A String representation of the tree
- def buildWith(child: RegexTree, childString: String): String
Since leaves have no children, this is always equivalent to weaponregex.model.regextree.Leaf.build
Since leaves have no children, this is always equivalent to weaponregex.model.regextree.Leaf.build
- child
Child to be replaced
- childString
Replacement String
- returns
A String representation of the tree
- val children: Seq[RegexTree]
Since leaves have no children, this is always empty
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val location: Location
The weaponregex.model.Location of the node in the regex string
The weaponregex.model.Location of the node in the regex string
- Definition Classes
- NumberReference → Leaf → RegexTree
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val num: Int
- val postfix: String
The string that is put after the node's children when building
- val prefix: String
The string that is put in front of the node's children when building
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val value: Int
- Definition Classes
- Leaf
- 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]) @native()
- 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