Uses of Class
com.google.javascript.jscomp.regex.RegExpTree
Packages that use RegExpTree
-
Uses of RegExpTree in com.google.javascript.jscomp.regex
Subclasses of RegExpTree in com.google.javascript.jscomp.regexModifier and TypeClassDescriptionstatic final classRepresents the possibilities ["foo", "bar" ] for a RegExp /foo|bar/static final classRepresents an anchor, namely ^ or $.static final classRepresents a reference to a previous group such as \1 or \2static final classRepresents a capturing group such as (asdf)static final classRepresents a set of possible characters structured as [a-zA-Z] or [^a-zA-Z]static final classRepresents a series of nodes chained one after another such as (?:...)[a-z]*(...)static final classRepresents an empty portion of a RegExp such as the middle of "||"static final classRepresents a lookahead assertion such as (?=...) or (?!...)static final classRepresents a lookbehind assertion such as(?<=...)or(?<!...)static final classRepresents a reference to a previous named groupstatic final classRepresents a named capture groupstatic classRepresents a node that never has children such as an anchor or charset.static final classRepresents a repeating item such as ...+, ...*, or ...{0,1}static final classRepresents a run of non-special characters such as "foobar"static final classRepresents a Unicode Property Escape such as in /\p{Script=Greek}/ustatic final classRepresents \b or \BMethods in com.google.javascript.jscomp.regex that return RegExpTreeModifier and TypeMethodDescriptionstatic RegExpTreeRegExpTree.parseRegExp(String pattern, String flags) Parses a regular expression to an AST.abstract RegExpTreeReturns a simpler regular expression that is semantically the same assuming the given flags.Methods in com.google.javascript.jscomp.regex that return types with arguments of type RegExpTreeModifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<? extends RegExpTree> RegExpTree.Alternation.children()com.google.common.collect.ImmutableList<? extends RegExpTree> RegExpTree.CapturingGroup.children()abstract 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()final 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 RegExpTreeModifier and TypeMethodDescriptionstatic booleanRegExpTree.matchesWholeInput(RegExpTree t, String flags) True if, but not necessarily always when the, given regular expression must match the whole input or none of it.