public interface IRegExpLiteralNode extends ILiteralNode
RegExp literal such as /abc/gi.
This node has no children.
| Modifier and Type | Interface and Description |
|---|---|
static class |
IRegExpLiteralNode.RegExpFlag
Represents a flag set on a Regular Expression
|
ILiteralNode.LiteralTypeUNKNOWN| Modifier and Type | Method and Description |
|---|---|
Set<IRegExpLiteralNode.RegExpFlag> |
getFlags()
Returns a set of flags that are set on this regular expression, or an
empty set
|
String |
getFlagString()
Returns a String of flags that are set on this regular expression, or an
empty String
|
boolean |
hasFlag(IRegExpLiteralNode.RegExpFlag flag)
Determines if a specific flag is set on this regular expression
|
getLiteralType, getValue, getValuecopyForInitializer, hasParenthesis, isDynamicExpression, resolve, resolveTypecontains, getAncestorOfType, getChild, getChildCount, getContainingNode, getContainingScope, getFileSpecification, getNodeID, getPackageName, getParent, getSpanningStart, getSucceedingNode, isTerminalgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartSet<IRegExpLiteralNode.RegExpFlag> getFlags()
IRegExpLiteralNode.RegExpFlag optionsString getFlagString()
IRegExpLiteralNode.RegExpFlag optionsboolean hasFlag(IRegExpLiteralNode.RegExpFlag flag)
flag - the IRegExpLiteralNode.RegExpFlag whose existence we are testing forCopyright © 2016 The Apache Software Foundation. All rights reserved.