|
|||||||||
| 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.CAstValueImpl
protected static class CAstImpl.CAstValueImpl
| Field Summary | |
|---|---|
protected java.lang.Object |
value
|
| Fields inherited from interface com.ibm.wala.cast.tree.CAstNode |
|---|
ANDOR_EXPR, ARRAY_LENGTH, ARRAY_LITERAL, ARRAY_REF, ASSERT, ASSIGN, ASSIGN_POST_OP, ASSIGN_PRE_OP, BINARY_EXPR, BLOCK_EXPR, BLOCK_STMT, BREAK, CALL, CAST, CATCH, CHOICE_CASE, CHOICE_EXPR, CONSTANT, CONTINUE, DECL_STMT, EACH_ELEMENT_GET, EACH_ELEMENT_HAS_NEXT, ECHO, EMPTY, EMPTY_LIST_EXPR, ERROR, EXPR_LIST, EXPR_STMT, FUNCTION_EXPR, FUNCTION_STMT, GET_CAUGHT_EXCEPTION, GOTO, IF_EXPR, IF_STMT, IFGOTO, INSTANCEOF, IS_DEFINED_EXPR, LABEL_STMT, LIST_EXPR, LOCAL_SCOPE, LOOP, MONITOR_ENTER, MONITOR_EXIT, NEW, OBJECT_LITERAL, OBJECT_REF, OPERATOR, PRIMITIVE, RETURN, RETURN_WITHOUT_BRANCH, SUB_LANGUAGE_BASE, SUPER, SWITCH, THIS, THROW, TRY, TYPE_LITERAL_EXPR, TYPE_OF, UNARY_EXPR, UNWIND, VAR, VOID |
| Constructor Summary | |
|---|---|
protected |
CAstImpl.CAstValueImpl(java.lang.Object value)
|
| Method Summary | |
|---|---|
CAstNode |
getChild(int n)
Return the nth child of this node. |
int |
getChildCount()
How many children does this node have? |
int |
getKind()
What kind of node is this? Should return some constant from this file. |
java.lang.Object |
getValue()
Returns the constant value represented by this node, if appropriate, and null otherwise. |
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.Object value
| Constructor Detail |
|---|
protected CAstImpl.CAstValueImpl(java.lang.Object value)
| Method Detail |
|---|
public int getKind()
CAstNode
getKind in interface CAstNodepublic java.lang.Object getValue()
CAstNode
getValue in interface CAstNodepublic CAstNode getChild(int n)
CAstNode
getChild in interface CAstNodepublic int getChildCount()
CAstNode
getChildCount in interface CAstNodepublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||