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 classRegExpTree.AlternationRepresents the possibilities ["foo", "bar" ] for a RegExp /foo|bar/static classRegExpTree.AnchorRepresents an anchor, namely ^ or $.static classRegExpTree.BackReferenceRepresents a reference to a previous group such as \1 or \2static classRegExpTree.CapturingGroupRepresents a capturing group such as (asdf)static classRegExpTree.CharsetRepresents a set of possible characters structured as [a-zA-Z] or [^a-zA-Z]static classRegExpTree.ConcatenationRepresents a series of nodes chained one after another such as (?:...)[a-z]*(...)static classRegExpTree.EmptyRepresents an empty portion of a RegExp such as the middle of "||"static classRegExpTree.LookaheadAssertionRepresents a lookahead assertion such as (?=...) or (?!...)static classRegExpTree.LookbehindAssertionRepresents a lookbehind assertion such as(?<=...)or(?<!...)static classRegExpTree.NamedBackReferenceRepresents a reference to a previous named groupstatic classRegExpTree.NamedCaptureGroupRepresents a named capture groupstatic classRegExpTree.RegExpTreeAtomRepresents a node that never has children such as an anchor or charset.static classRegExpTree.RepetitionRepresents a repeating item such as ...+, ...*, or ...{0,1}static classRegExpTree.TextRepresents a run of non-special characters such as "foobar"static classRegExpTree.UnicodePropertyEscapeRepresents a Unicode Property Escape such as in /\p{Script=Greek}/ustatic classRegExpTree.WordBoundaryRepresents \b or \BMethods in com.google.javascript.jscomp.regex that return RegExpTree Modifier and Type Method Description static RegExpTreeRegExpTree. parseRegExp(java.lang.String pattern, java.lang.String flags)Parses a regular expression to an AST.RegExpTreeRegExpTree.Alternation. simplify(java.lang.String flags)RegExpTreeRegExpTree.Anchor. simplify(java.lang.String flags)RegExpTreeRegExpTree.BackReference. simplify(java.lang.String flags)RegExpTreeRegExpTree.CapturingGroup. simplify(java.lang.String flags)RegExpTreeRegExpTree.Charset. simplify(java.lang.String flags)RegExpTreeRegExpTree.Concatenation. simplify(java.lang.String flags)RegExpTreeRegExpTree.Empty. simplify(java.lang.String flags)RegExpTreeRegExpTree.LookaheadAssertion. simplify(java.lang.String flags)RegExpTreeRegExpTree.LookbehindAssertion. simplify(java.lang.String flags)RegExpTreeRegExpTree.NamedBackReference. simplify(java.lang.String flags)RegExpTreeRegExpTree.NamedCaptureGroup. simplify(java.lang.String flags)RegExpTreeRegExpTree.Repetition. simplify(java.lang.String flags)abstract RegExpTreeRegExpTree. simplify(java.lang.String flags)Returns a simpler regular expression that is semantically the same assuming the given flags.RegExpTreeRegExpTree.Text. simplify(java.lang.String flags)RegExpTreeRegExpTree.UnicodePropertyEscape. simplify(java.lang.String flags)RegExpTreeRegExpTree.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 booleanRegExpTree. 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.
-