Uses of Class
com.google.javascript.jscomp.regex.RegExpTree
-
Packages that use RegExpTree Package Description com.google.javascript.jscomp.regex -
-
Uses of RegExpTree in com.google.javascript.jscomp.regex
Subclasses of RegExpTree in com.google.javascript.jscomp.regex Modifier and Type Class Description static class
RegExpTree.Alternation
Represents the possibilities ["foo", "bar" ] for a RegExp /foo|bar/static class
RegExpTree.Anchor
Represents an anchor, namely ^ or $.static class
RegExpTree.BackReference
Represents a reference to a previous group such as \1 or \2static class
RegExpTree.CapturingGroup
Represents a capturing group such as (asdf)static class
RegExpTree.Charset
Represents a set of possible characters structured as [a-zA-Z] or [^a-zA-Z]static class
RegExpTree.Concatenation
Represents a series of nodes chained one after another such as (?:...)[a-z]*(...)static class
RegExpTree.Empty
Represents an empty portion of a RegExp such as the middle of "||"static class
RegExpTree.LookaheadAssertion
Represents a lookahead assertion such as (?=...) or (?!...)static class
RegExpTree.LookbehindAssertion
Represents a lookbehind assertion such as(?<=...)
or(?<!...)
static class
RegExpTree.NamedBackReference
Represents a reference to a previous named groupstatic class
RegExpTree.NamedCaptureGroup
Represents a named capture groupstatic class
RegExpTree.RegExpTreeAtom
Represents a node that never has children such as an anchor or charset.static class
RegExpTree.Repetition
Represents a repeating item such as ...+, ...*, or ...{0,1}static class
RegExpTree.Text
Represents a run of non-special characters such as "foobar"static class
RegExpTree.UnicodePropertyEscape
Represents a Unicode Property Escape such as in /\p{Script=Greek}/ustatic class
RegExpTree.WordBoundary
Represents \b or \BMethods in com.google.javascript.jscomp.regex that return RegExpTree Modifier and Type Method Description static RegExpTree
RegExpTree. parseRegExp(java.lang.String pattern, java.lang.String flags)
Parses a regular expression to an AST.RegExpTree
RegExpTree.Alternation. simplify(java.lang.String flags)
RegExpTree
RegExpTree.Anchor. simplify(java.lang.String flags)
RegExpTree
RegExpTree.BackReference. simplify(java.lang.String flags)
RegExpTree
RegExpTree.CapturingGroup. simplify(java.lang.String flags)
RegExpTree
RegExpTree.Charset. simplify(java.lang.String flags)
RegExpTree
RegExpTree.Concatenation. simplify(java.lang.String flags)
RegExpTree
RegExpTree.Empty. simplify(java.lang.String flags)
RegExpTree
RegExpTree.LookaheadAssertion. simplify(java.lang.String flags)
RegExpTree
RegExpTree.LookbehindAssertion. simplify(java.lang.String flags)
RegExpTree
RegExpTree.NamedBackReference. simplify(java.lang.String flags)
RegExpTree
RegExpTree.NamedCaptureGroup. simplify(java.lang.String flags)
RegExpTree
RegExpTree.Repetition. simplify(java.lang.String flags)
abstract RegExpTree
RegExpTree. simplify(java.lang.String flags)
Returns a simpler regular expression that is semantically the same assuming the given flags.RegExpTree
RegExpTree.Text. simplify(java.lang.String flags)
RegExpTree
RegExpTree.UnicodePropertyEscape. simplify(java.lang.String flags)
RegExpTree
RegExpTree.WordBoundary. simplify(java.lang.String flags)
Methods in com.google.javascript.jscomp.regex that return types with arguments of type RegExpTree Modifier and Type Method Description com.google.common.collect.ImmutableList<? extends RegExpTree>
RegExpTree.Alternation. children()
com.google.common.collect.ImmutableList<? extends RegExpTree>
RegExpTree.CapturingGroup. children()
abstract java.util.List<? extends RegExpTree>
RegExpTree. children()
The children of this node.com.google.common.collect.ImmutableList<? extends RegExpTree>
RegExpTree.Concatenation. children()
com.google.common.collect.ImmutableList<? extends RegExpTree>
RegExpTree.LookaheadAssertion. children()
com.google.common.collect.ImmutableList<? extends RegExpTree>
RegExpTree.LookbehindAssertion. children()
com.google.common.collect.ImmutableList<? extends RegExpTree>
RegExpTree.NamedCaptureGroup. children()
com.google.common.collect.ImmutableList<? extends RegExpTree>
RegExpTree.RegExpTreeAtom. children()
com.google.common.collect.ImmutableList<? extends RegExpTree>
RegExpTree.Repetition. children()
Methods in com.google.javascript.jscomp.regex with parameters of type RegExpTree Modifier and Type Method Description static boolean
RegExpTree. matchesWholeInput(RegExpTree t, java.lang.String flags)
True if, but not necessarily always when the, given regular expression must match the whole input or none of it.
-