Class Node
java.lang.Object
org.joni.ast.Node
- All Implemented Interfaces:
NodeType
- Direct Known Subclasses:
AnchorNode, AnyCharNode, CClassNode, CTypeNode, ListNode, Node.TopNode, StateNode, StringNode
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected NodegetChild()abstract StringgetName()final intgetType()final intfinal booleanisSimple()static Node.TopNodeprotected static StringvoidreplaceWith(Node with) protected voidfinal StringtoString()protected abstract StringtoString(int level)
-
Field Details
-
parent
-
type
protected int type
-
-
Constructor Details
-
Node
Node(int type)
-
-
Method Details
-
getType
public final int getType() -
getType2Bit
public final int getType2Bit() -
setChild
-
getChild
-
replaceWith
-
getName
-
toString
-
getAddressName
-
toString
-
pad
-
isSimple
public final boolean isSimple() -
newTop
-