|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.wala.cast.tree.impl.CAstImpl
com.ibm.wala.cast.tree.impl.CAstValueImpl
public class CAstValueImpl
An implementation of CAst, i.e. a simple factory for creating capa ast nodes. This class simply creates generic nodes with a kind field, and either an array of children. Note that there is no easy way to mutate these trees; do not changes this (see CAstNode for the rationale for this rule).
| Nested Class Summary | |
|---|---|
protected static class |
CAstValueImpl.CAstNodeValueImpl
|
protected static class |
CAstValueImpl.CAstValueValueImpl
|
| Nested classes/interfaces inherited from class com.ibm.wala.cast.tree.impl.CAstImpl |
|---|
CAstImpl.CAstNodeImpl, CAstImpl.CAstValueImpl |
| Constructor Summary | |
|---|---|
CAstValueImpl()
|
|
| Method Summary | |
|---|---|
CAstNode |
makeConstant(java.lang.Object value)
Make an arbitrary object constant node. |
CAstNode |
makeNode(int kind,
CAstNode[] cs)
Make a node of type kind specifying an array of children. |
| Methods inherited from class com.ibm.wala.cast.tree.impl.CAstImpl |
|---|
makeConstant, makeConstant, makeConstant, makeConstant, makeConstant, makeConstant, makeConstant, makeNode, makeNode, makeNode, makeNode, makeNode, makeNode, makeNode, makeNode, makeUnique |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CAstValueImpl()
| Method Detail |
|---|
public CAstNode makeNode(int kind,
CAstNode[] cs)
CAst
makeNode in interface CAstmakeNode in class CAstImplpublic CAstNode makeConstant(java.lang.Object value)
CAst
makeConstant in interface CAstmakeConstant in class CAstImpl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||