weaponregex.internal.model.regextree
Members list
Type members
Classlikes
Any dot .
predefined character class leaf node
Any dot .
predefined character class leaf node
Value parameters
- location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Note
-
This is technically a predefined character class, but because it cannot be negated nor has a
\
prefix, it is handled separately here - Supertypes
Atomic (independent, non-capturing) group node
Atomic (independent, non-capturing) group node
Value parameters
- expr
-
The regex inside the group
- location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Supertypes
Beginning of Line (BOL) leaf node
Beginning of Line (BOL) leaf node
Value parameters
- location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Supertypes
Boundary meta character leaf node
Boundary meta character leaf node
Value parameters
- boundary
-
The literal boundary character without the
\
- location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Supertypes
Character class intersection used inside a character class
Character class intersection used inside a character class
Value parameters
- location
-
The weaponregex.model.Location of the node in the regex string
- nodes
-
The nodes that are being "or-ed"
Attributes
- Supertypes
Character literal leaf node
Character literal leaf node
Value parameters
- char
-
The character literal value
- location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Supertypes
Character class node
Character class node
Value parameters
- isPositive
-
true
if the character class is positive,false
otherwise - location
-
The weaponregex.model.Location of the node in the regex string
- nodes
-
The child nodes contained in the character class
Attributes
- Supertypes
Character class node without the surround syntactical symbols, i.e. "naked"
Character class node without the surround syntactical symbols, i.e. "naked"
Value parameters
- location
-
The weaponregex.model.Location of the node in the regex string
- nodes
-
The child nodes contained in the character class
Attributes
- Supertypes
Concatenation node
Concatenation node
Value parameters
- location
-
The weaponregex.model.Location of the node in the regex string
- nodes
-
The nodes that are being concatenated
Attributes
- Supertypes
Control meta-characters leaf node corresponding to a given character
Control meta-characters leaf node corresponding to a given character
Value parameters
- controlChar
-
Any character in a-z or A-Z
- location
-
weaponregex.model.Location of the token in the regex string
Attributes
- Note
-
This is technically a meta-character, but because it has an additional target character and a
\c
prefix, it is handled separately here - Supertypes
End of Line (EOL) leaf node
End of Line (EOL) leaf node
Value parameters
- location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Supertypes
Empty string (nothing, null) leaf
Empty string (nothing, null) leaf
Value parameters
- location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Supertypes
Non-capturing group with flags
Non-capturing group with flags
Value parameters
- expr
-
The regex inside the group
- flagToggle
-
The weaponregex.internal.model.regextree.FlagToggle object associated with the group
- location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Supertypes
Flag toggle node that describes which flags are toggled on and/or off
Flag toggle node that describes which flags are toggled on and/or off
Value parameters
- hasDash
-
true
if there is a dash character-
between theonFlags
andoffFlags
,false
otherwise - location
-
The weaponregex.model.Location of the node in the regex string
- offFlags
-
The flags that are toggled off
- onFlags
-
The flags that are toggled on
Attributes
- Supertypes
Flag toggle group node
Flag toggle group node
Value parameters
- flagToggle
-
The weaponregex.internal.model.regextree.FlagToggle object associated with the group
- location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Supertypes
A sequence of flags for use in weaponregex.internal.model.regextree.FlagToggle
A sequence of flags for use in weaponregex.internal.model.regextree.FlagToggle
Value parameters
- flags
-
The sequence of flag weaponregex.internal.model.regextree.Character s
- location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Supertypes
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass QuantifierTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
GreedyQuantifier.type
(Non-)capturing group node
(Non-)capturing group node
Value parameters
- expr
-
The regex inside the group
- isCapturing
-
true
if group is capturing,false
otherwise - location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Supertypes
The leaf of the weaponregex.internal.model.regextree.RegexTree (terminal node) that have no children node
The leaf of the weaponregex.internal.model.regextree.RegexTree (terminal node) that have no children node
Value parameters
- location
-
The weaponregex.model.Location of the node in the regex string
- postfix
-
The string that is put after the leaf's value when building
- prefix
-
The string that is put in front of the leaf's value when building
- value
-
The value that the leaf holds
Attributes
- Supertypes
- Known subtypes
-
class AnyDotclass BOLclass Boundaryclass Characterclass ControlCharclass EOLclass Emptyclass MetaCharclass NameReferenceclass NumberReferenceclass PredefinedCharClassclass Quoteclass QuoteCharclass UnicodeCharClassShow all
The umbrella node for positive/negative lookahead/lookbehind
The umbrella node for positive/negative lookahead/lookbehind
Value parameters
- expr
-
The regex inside the lookaround
- isLookahead
-
true
if this is a lookahead,false
if this is a lookbehind - isPositive
-
true
if the lookaround is positive,false
otherwise - location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Supertypes
Meta-characters leaf node
Meta-characters leaf node
Value parameters
- location
-
weaponregex.model.Location of the token in the regex string
- metaChar
-
Can be any meta character as defined in the grammar
Attributes
- Supertypes
Reference to a named capturing group leaf node
Reference to a named capturing group leaf node
Value parameters
- location
-
The weaponregex.model.Location of the node in the regex string
- name
-
The name of the capturing group being referenced
Attributes
- Supertypes
Named capturing group node
Named capturing group node
Value parameters
- expr
-
The regex inside the group
- location
-
The weaponregex.model.Location of the node in the regex string
- name
-
The name of the group
Attributes
- Supertypes
The non-terminal node of the weaponregex.internal.model.regextree.RegexTree that have at least one child node
The non-terminal node of the weaponregex.internal.model.regextree.RegexTree that have at least one child node
Value parameters
- children
-
The children that fall under this node
- location
-
The weaponregex.model.Location of the node in the regex string
- postfix
-
The string that is put after the node's children when building
- prefix
-
The string that is put in front of the node's children when building
- sep
-
The string that is put in between the node's children when building
Attributes
- Supertypes
- Known subtypes
-
class AtomicGroupclass CharClassIntersectionclass CharacterClassclass CharacterClassNakedclass Concatclass FlagNCGroupclass FlagToggleclass FlagToggleGroupclass Flagsclass Groupclass Lookaroundclass NamedGroupclass OrShow all
Reference to a numbered capturing group leaf node
Reference to a numbered capturing group leaf node
Value parameters
- location
-
The weaponregex.model.Location of the node in the regex string
- num
-
The order number of the capturing group being referenced
Attributes
- Supertypes
Shorthand notation one or more +
quantifier node
Shorthand notation one or more +
quantifier node
Value parameters
- expr
-
The regex that is being quantified
- location
-
The weaponregex.model.Location of the node in the regex string
- quantifierType
-
The type of the quantifier: greedy, reluctant, or possessive
Attributes
- Supertypes
Or node (e.g. a|b|c
)
Or node (e.g. a|b|c
)
Value parameters
- location
-
The weaponregex.model.Location of the node in the regex string
- nodes
-
The nodes that are being "or-ed"
Attributes
- Supertypes
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass QuantifierTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
PossessiveQuantifier.type
Predefined character class leaf node
Predefined character class leaf node
Value parameters
- charClass
-
The literal class character without the
\
- location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Supertypes
Long quantifier node
Long quantifier node
Value parameters
- expr
-
The regex that is being quantified
- isExact
-
true
if used to represent an exact number of repetitions (e.g. {1}),false
otherwise (e.g. {1,2} or {1,}) - location
-
The weaponregex.model.Location of the node in the regex string
- max
-
The maximum number of repetitions
- min
-
The minimum number of repetition
- quantifierType
-
The type of the quantifier: greedy, reluctant, or possessive
Attributes
- Note
-
This class constructor is private, instances must be created using the companion weaponregex.internal.model.regextree.Quantifier object
- Companion
- object
- Supertypes
Companion object for weaponregex.internal.model.regextree.Quantifier class
Companion object for weaponregex.internal.model.regextree.Quantifier class
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Quantifier.type
The enumeration of the quantifier type
The enumeration of the quantifier type
Value parameters
- syntax
-
The syntax used to represent the quantifier type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Quote from \Q to an optional \E
Quote from \Q to an optional \E
Value parameters
- hasEnd
-
true
if quote has an end symbol\E
,false
otherwise - location
-
The weaponregex.model.Location of the node in the regex string
- quote
-
The string being quoted
Attributes
- Supertypes
Quote for the following single character
Quote for the following single character
Value parameters
- char
-
The character being quoted
- location
-
The weaponregex.model.Location of the node in the regex string
Attributes
- Supertypes
Character range that is used inside of a character class
Character range that is used inside of a character class
Value parameters
- from
-
The left bound of the range
- location
-
The weaponregex.model.Location of the node in the regex string
- to
-
The right bound of the range
Attributes
- Supertypes
The abstraction of a RegexTree node
The abstraction of a RegexTree node
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Leaf[A]class AnyDotclass BOLclass Boundaryclass Characterclass ControlCharclass EOLclass Emptyclass MetaCharclass NameReferenceclass NumberReferenceclass PredefinedCharClassclass Quoteclass QuoteCharclass UnicodeCharClassclass Nodeclass AtomicGroupclass CharClassIntersectionclass CharacterClassclass CharacterClassNakedclass Concatclass FlagNCGroupclass FlagToggleclass FlagToggleGroupclass Flagsclass Groupclass Lookaroundclass NamedGroupclass OrShow all
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass QuantifierTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
ReluctantQuantifier.type
Unicode character class leaf node
Unicode character class leaf node
Value parameters
- location
-
The weaponregex.model.Location of the node in the regex string
- propValue
-
The value of the property
- property
-
The class character property
Attributes
- Supertypes
Shorthand notation zero or more *
quantifier node
Shorthand notation zero or more *
quantifier node
Value parameters
- expr
-
The regex that is being quantified
- location
-
The weaponregex.model.Location of the node in the regex string
- quantifierType
-
The type of the quantifier: greedy, reluctant, or possessive
Attributes
- Supertypes
Shorthand notation zero or one ?
quantifier node
Shorthand notation zero or one ?
quantifier node
Value parameters
- expr
-
The regex that is being quantified
- location
-
The weaponregex.model.Location of the node in the regex string
- quantifierType
-
The type of the quantifier: greedy, reluctant, or possessive
Attributes
- Supertypes