weaponregex.model.regextree
Members list
Type members
Classlikes
Any dot .
predefined character class leaf node
Any dot .
predefined character class leaf node
Attributes
- location
The weaponregex.model.Location of the node in the regex string
- Note:
This is technically a predefined character class, but because it cannot be negated nor has a
\
prefix, it is handled separately here- Graph
- Supertypes
Atomic (independent, non-capturing) group node
Atomic (independent, non-capturing) group node
Attributes
- expr
The regex inside the group
- location
The weaponregex.model.Location of the node in the regex string
- Graph
- Supertypes
Beginning of Line (BOL) leaf node
Beginning of Line (BOL) leaf node
Attributes
- location
The weaponregex.model.Location of the node in the regex string
- Graph
- Supertypes
Boundary meta character leaf node
Boundary meta character leaf node
Attributes
- boundary
The literal boundary character without the
\
- location
The weaponregex.model.Location of the node in the regex string
- Graph
- Supertypes
Character class intersection used inside a character class
Character class intersection used inside a character class
Attributes
- location
The weaponregex.model.Location of the node in the regex string
- nodes
The nodes that are being "or-ed"
- Graph
- Supertypes
Character literal leaf node
Character literal leaf node
Attributes
- char
The character literal value
- location
The weaponregex.model.Location of the node in the regex string
- Graph
- Supertypes
Character class node
Character class node
Attributes
- 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
- Graph
- Supertypes
Character class node without the surround syntactical symbols, i.e. "naked"
Character class node without the surround syntactical symbols, i.e. "naked"
Attributes
- location
The weaponregex.model.Location of the node in the regex string
- nodes
The child nodes contained in the character class
- Graph
- Supertypes
Concatenation node
Concatenation node
Attributes
- location
The weaponregex.model.Location of the node in the regex string
- nodes
The nodes that are being concatenated
- Graph
- Supertypes
Control meta-characters leaf node corresponding to a given character
Control meta-characters leaf node corresponding to a given character
Attributes
- controlChar
Any character in a-z or A-Z
- location
weaponregex.model.Location of the token in the regex string
- Note:
This is technically a meta-character, but because it has an additional target character and a
\c
prefix, it is handled separately here- Graph
- Supertypes
End of Line (EOL) leaf node
End of Line (EOL) leaf node
Attributes
- location
The weaponregex.model.Location of the node in the regex string
- Graph
- Supertypes
Empty string (nothing, null) leaf
Empty string (nothing, null) leaf
Attributes
- location
The weaponregex.model.Location of the node in the regex string
- Graph
- Supertypes
Non-capturing group with flags
Non-capturing group with flags
Attributes
- expr
The regex inside the group
- flagToggle
The weaponregex.model.regextree.FlagToggle object associated with the group
- location
The weaponregex.model.Location of the node in the regex string
- Graph
- 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
Attributes
- 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
- Graph
- Supertypes
Flag toggle group node
Flag toggle group node
Attributes
- flagToggle
The weaponregex.model.regextree.FlagToggle object associated with the group
- location
The weaponregex.model.Location of the node in the regex string
- Graph
- Supertypes
A sequence of flags for use in weaponregex.model.regextree.FlagToggle
A sequence of flags for use in weaponregex.model.regextree.FlagToggle
Attributes
- flags
The sequence of flag weaponregex.model.regextree.Character s
- location
The weaponregex.model.Location of the node in the regex string
- Graph
- Supertypes
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass QuantifierTypeclass Objecttrait Matchableclass Any
- Self type
- GreedyQuantifier.type
(Non-)capturing group node
(Non-)capturing group node
Attributes
- 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
- Graph
- Supertypes
The leaf of the weaponregex.model.regextree.RegexTree (terminal node) that have no children node
The leaf of the weaponregex.model.regextree.RegexTree (terminal node) that have no children node
Attributes
- 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
- Graph
- Supertypes
- Known subtypes
- class AnyDotclass BOLclass Boundaryclass Characterclass ControlCharclass EOLclass Emptyclass MetaCharclass NameReferenceclass NumberReferenceclass POSIXCharClassclass PredefinedCharClassclass Quoteclass QuoteChar
The umbrella node for positive/negative lookahead/lookbehind
The umbrella node for positive/negative lookahead/lookbehind
Attributes
- 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
- Graph
- Supertypes
Meta-characters leaf node
Meta-characters leaf node
Attributes
- location
weaponregex.model.Location of the token in the regex string
- metaChar
Can be any meta character as defined in the grammar
- Graph
- Supertypes
Reference to a named capturing group leaf node
Reference to a named capturing group leaf node
Attributes
- location
The weaponregex.model.Location of the node in the regex string
- name
The name of the capturing group being referenced
- Graph
- Supertypes
Named capturing group node
Named capturing group node
Attributes
- expr
The regex inside the group
- location
The weaponregex.model.Location of the node in the regex string
- name
The name of the group
- Graph
- Supertypes
The non-terminal node of the weaponregex.model.regextree.RegexTree that have at least one child node
The non-terminal node of the weaponregex.model.regextree.RegexTree that have at least one child node
Attributes
- 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
- Graph
- Supertypes
- Known subtypes
- class AtomicGroupclass CharClassIntersectionclass CharacterClassclass CharacterClassNakedclass Concatclass FlagNCGroupclass FlagToggleclass FlagToggleGroupclass Flagsclass Groupclass Lookaroundclass NamedGroupclass Or
Reference to a numbered capturing group leaf node
Reference to a numbered capturing group leaf node
Attributes
- location
The weaponregex.model.Location of the node in the regex string
- num
The order number of the capturing group being referenced
- Graph
- Supertypes
Or node (e.g. a|b|c
)
Or node (e.g. a|b|c
)
Attributes
- location
The weaponregex.model.Location of the node in the regex string
- nodes
The nodes that are being "or-ed"
- Graph
- Supertypes
POSIX character class leaf node
POSIX character class leaf node
Attributes
- location
The weaponregex.model.Location of the node in the regex string
- property
The class character property
- Graph
- Supertypes
Possessive weaponregex.model.regextree.QuantifierType
Possessive weaponregex.model.regextree.QuantifierType
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass QuantifierTypeclass Objecttrait Matchableclass Any
- Self type
- PossessiveQuantifier.type
Predefined character class leaf node
Predefined character class leaf node
Attributes
- charClass
The literal class character without the
\
- location
The weaponregex.model.Location of the node in the regex string
- Graph
- Supertypes
The enumeration of the quantifier type
The enumeration of the quantifier type
Attributes
- syntax
The syntax used to represent the quantifier type
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
Quote from \Q to an optional \E
Quote from \Q to an optional \E
Attributes
- 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
- Graph
- Supertypes
Quote for the following single character
Quote for the following single character
Attributes
- char
The character being quoted
- location
The weaponregex.model.Location of the node in the regex string
- Graph
- Supertypes
The abstraction of a RegexTree node
The abstraction of a RegexTree node
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class Leaf[A]class AnyDotclass BOLclass Boundaryclass Characterclass ControlCharclass EOLclass Emptyclass MetaCharclass NameReferenceclass NumberReferenceclass POSIXCharClassclass PredefinedCharClassclass Quoteclass QuoteCharclass Nodeclass AtomicGroupclass CharClassIntersectionclass CharacterClassclass CharacterClassNakedclass Concatclass FlagNCGroupclass FlagToggleclass FlagToggleGroupclass Flagsclass Groupclass Lookaroundclass NamedGroupclass Or
Attributes
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass QuantifierTypeclass Objecttrait Matchableclass Any
- Self type
- ReluctantQuantifier.type