object Pattern extends Serializable
Pattern nodes and utilities.
- Alphabetic
- By Inheritance
- Pattern
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait AtomNode extends HasLocation with Serializable with Product
AtomNode is a node of pattern to match a character.
- final case class BackReference(index: Int) extends Node with Product with Serializable
BackReference is a back-reference pattern.
BackReference is a back-reference pattern. (e.g.
/\1/) - final case class Capture(index: Int, child: Node) extends Node with Product with Serializable
Capture is a capture pattern.
Capture is a capture pattern. (e.g.
/(x)/) - final case class Character(value: UChar) extends Node with ClassNode with Product with Serializable
Character is a single character in pattern.
Character is a single character in pattern. (e.g.
/x/) - final case class CharacterClass(invert: Boolean, children: Seq[ClassNode]) extends Node with AtomNode with Product with Serializable
CharacterClass is a class (set) pattern of characters.
CharacterClass is a class (set) pattern of characters. (e.g.
/[a-z]/or/[^A-Z]/) - sealed trait ClassNode extends AtomNode
ClassNode is a node of pattern AST, but it can appear as a class child.
ClassNode is a node of pattern AST, but it can appear as a class child.
This type does not inherit Node because ClassRange can appear as a class child only.
- final case class ClassRange(begin: UChar, end: UChar) extends ClassNode with Product with Serializable
ClassRange is a character range pattern in a class.
- final case class Disjunction(children: Seq[Node]) extends Node with Product with Serializable
Disjunction is a disjunction of patterns.
Disjunction is a disjunction of patterns. (e.g.
/x|y|z/) - final case class Dot() extends Node with Product with Serializable
Dot is any characters pattern.
Dot is any characters pattern. (e.g.
/./)This does not inherit
AtomNodeintentionally because thistoICharneedsdotAllflag information. - sealed abstract class EscapeClassKind extends Serializable with Product
EscapeClassKind is a kind of SimpleEscapeClass.
- final case class FlagSet(global: Boolean, ignoreCase: Boolean, multiline: Boolean, dotAll: Boolean, unicode: Boolean, sticky: Boolean) extends Product with Serializable
FlagSet is a set of flag of pattern.
FlagSet is a set of flag of pattern.
globalisgflag.ignoreCaseisiflag.multilineismflag.dotAllissflag.unicodeisuflag.stickyisyflag.
- final case class Group(child: Node) extends Node with Product with Serializable
Group is a grouping of a pattern.
Group is a grouping of a pattern. (e.g.
/(?:x)/) - trait HasLocation extends Cloneable
HasLocation is a base class having a location.
- final case class LineBegin() extends Node with Product with Serializable
LineBegin is a begin-of-line assertion pattern.
LineBegin is a begin-of-line assertion pattern. (e.g.
/^/) - final case class LineEnd() extends Node with Product with Serializable
LineEnd is an end-of-line assertion pattern.
LineEnd is an end-of-line assertion pattern. (e.g.
/$/) - final case class Location(start: Int, end: Int) extends Product with Serializable
Location is a location of a node in a source.
- final case class LookAhead(negative: Boolean, child: Node) extends Node with Product with Serializable
LookAhead is a look-ahead assertion of a pattern.
LookAhead is a look-ahead assertion of a pattern. (e.g.
/(?=x)/or/(?!x)/) - final case class LookBehind(negative: Boolean, child: Node) extends Node with Product with Serializable
LookBehind is a look-behind assertion of a pattern.
LookBehind is a look-behind assertion of a pattern. (e.g.
/(?<=x)/or/(?<!x)/) - final case class NamedBackReference(index: Int, name: String) extends Node with Product with Serializable
NamedBackReference is a back-reference pattern.
NamedBackReference is a back-reference pattern. (e.g.
/\k<foo>/) - final case class NamedCapture(index: Int, name: String, child: Node) extends Node with Product with Serializable
NamedCapture is a named capture pattern.
NamedCapture is a named capture pattern. (e.g.
/(?<foo>x)/) - sealed abstract class Node extends HasLocation with Serializable with Product
Node is a node of pattern AST (abstract syntax tree).
- sealed abstract class NormalizedQuantifier extends Quantifier
NormalizedQuantifier is a normalized version of Quantifier.
- sealed abstract class Quantifier extends HasLocation with Serializable with Product
Quantifier is a repetition quantifier.
- final case class Repeat(quantifier: Quantifier, child: Node) extends Node with Product with Serializable
Repeat is a repetition pattern.
- final case class Sequence(children: Seq[Node]) extends Node with Product with Serializable
Sequence is a sequence of patterns.
Sequence is a sequence of patterns. (e.g.
/xyz/) - final case class SimpleEscapeClass(invert: Boolean, kind: EscapeClassKind) extends Node with ClassNode with Product with Serializable
SimpleEscapeClass is an escape class.
SimpleEscapeClass is an escape class. (e.g.
/\w/or/\s/) - final case class UnicodeProperty(invert: Boolean, name: String, contents: IChar) extends Node with ClassNode with Product with Serializable
UnicodeProperty is an escape class of Unicode property.
UnicodeProperty is an escape class of Unicode property. (e.g.
/\p{ASCII}/or/\P{L}/) - final case class UnicodePropertyValue(invert: Boolean, name: String, value: String, contents: IChar) extends Node with ClassNode with Product with Serializable
UnicodePropertyValue is an escape class of Unicode property and value.
UnicodePropertyValue is an escape class of Unicode property and value. (e.g.
/\p{sc=Hira}/or/\P{General_Category=No}/) - final case class WordBoundary(invert: Boolean) extends Node with Product with Serializable
WordBoundary is a word-boundary assertion pattern.
WordBoundary is a word-boundary assertion pattern. (e.g.
/\b/or/\B/)
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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
- object EscapeClassKind extends Serializable
EscapeClassKind values.
- object Quantifier extends Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)