Package org.joni.ast
Class Node
java.lang.Object
org.joni.ast.Node
- All Implemented Interfaces:
NodeType
- Direct Known Subclasses:
AnchorNode
,AnyCharNode
,CClassNode
,ConsAltNode
,CTypeNode
,StateNode
,StringNode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Node
getChild()
abstract String
getName()
abstract int
getType()
final int
final boolean
final boolean
final boolean
isSimple()
protected static String
protected void
void
final String
toString()
protected abstract String
toString
(int level) void
verifyTree
(Set<Node> set, WarnCallback warnings)
-
Field Details
-
parent
-
-
Constructor Details
-
Node
public Node()
-
-
Method Details
-
getType
public abstract int getType() -
getType2Bit
public final int getType2Bit() -
setChild
-
getChild
-
swap
-
verifyTree
-
getName
-
toString
-
getAddressName
-
toString
-
pad
-
isInvalidQuantifier
public final boolean isInvalidQuantifier() -
isAllowedInLookBehind
public final boolean isAllowedInLookBehind() -
isSimple
public final boolean isSimple()
-