public interface CAst
Modifier and Type | Method and Description |
---|---|
CAstNode |
makeConstant(boolean value)
Make a boolean constant node.
|
CAstNode |
makeConstant(char value)
Make a char constant node.
|
CAstNode |
makeConstant(double value)
Make a double-precision floating point constant node.
|
CAstNode |
makeConstant(float value)
Make a single-precision floating point constant node.
|
CAstNode |
makeConstant(int value)
Make an integer constant node.
|
CAstNode |
makeConstant(long value)
Make a long integer constant node.
|
CAstNode |
makeConstant(Object value)
Make an arbitrary object constant node.
|
CAstNode |
makeConstant(short value)
Make a short integer constant node.
|
CAstNode |
makeNode(int kind)
Make a node of type kind with no children.
|
CAstNode |
makeNode(int kind,
CAstNode c1)
Make a node of type kind with one child.
|
CAstNode |
makeNode(int kind,
CAstNode[] cs)
Make a node of type kind specifying an array of children.
|
CAstNode |
makeNode(int kind,
CAstNode c1,
CAstNode c2)
Make a node of type kind with two children.
|
CAstNode |
makeNode(int kind,
CAstNode firstChild,
CAstNode[] otherChildren)
Make a node of type kind giving a first child and array of the rest.
|
CAstNode |
makeNode(int kind,
CAstNode c1,
CAstNode c2,
CAstNode c3)
Make a node of type kind with three children.
|
CAstNode |
makeNode(int kind,
CAstNode c1,
CAstNode c2,
CAstNode c3,
CAstNode c4)
Make a node of type kind with four children.
|
CAstNode |
makeNode(int kind,
CAstNode c1,
CAstNode c2,
CAstNode c3,
CAstNode c4,
CAstNode c5)
Make a node of type kind with five children.
|
CAstNode |
makeNode(int kind,
CAstNode c1,
CAstNode c2,
CAstNode c3,
CAstNode c4,
CAstNode c5,
CAstNode c6)
Make a node of type kind with six children.
|
String |
makeUnique()
Make a new identifier, unqiue to this CAst instance.
|
CAstNode makeNode(int kind)
CAstNode makeNode(int kind, CAstNode c1, CAstNode c2)
CAstNode makeNode(int kind, CAstNode c1, CAstNode c2, CAstNode c3)
CAstNode makeNode(int kind, CAstNode c1, CAstNode c2, CAstNode c3, CAstNode c4)
CAstNode makeNode(int kind, CAstNode c1, CAstNode c2, CAstNode c3, CAstNode c4, CAstNode c5)
CAstNode makeNode(int kind, CAstNode c1, CAstNode c2, CAstNode c3, CAstNode c4, CAstNode c5, CAstNode c6)
CAstNode makeNode(int kind, CAstNode[] cs)
CAstNode makeNode(int kind, CAstNode firstChild, CAstNode[] otherChildren)
CAstNode makeConstant(boolean value)
CAstNode makeConstant(char value)
CAstNode makeConstant(short value)
CAstNode makeConstant(int value)
CAstNode makeConstant(long value)
CAstNode makeConstant(double value)
CAstNode makeConstant(float value)
String makeUnique()