Class CAstValueImpl
java.lang.Object
com.ibm.wala.cast.tree.impl.CAstImpl
com.ibm.wala.cast.tree.impl.CAstValueImpl
- All Implemented Interfaces:
CAst
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).
- Author:
- Julian Dolby (dolby@us.ibm.com)
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
protected static class
Nested classes/interfaces inherited from class com.ibm.wala.cast.tree.impl.CAstImpl
CAstImpl.CAstNodeImpl, CAstImpl.CAstValueImpl
-
Constructor Summary
-
Method Summary
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, makeNode, makeUnique
-
Constructor Details
-
CAstValueImpl
public CAstValueImpl()
-
-
Method Details
-
makeNode
-
makeConstant
Description copied from interface:CAst
Make an arbitrary object constant node.- Specified by:
makeConstant
in interfaceCAst
- Overrides:
makeConstant
in classCAstImpl
-