Class CAstOperator
java.lang.Object
com.ibm.wala.cast.tree.impl.CAstOperator
- All Implemented Interfaces:
CAstLeafNode, CAstNode
Various operators that are built in to many languages, and hence perhaps deserve special notice
in WALA CAst interface. There is no strong notion of what should be in here, so feel free to add
other common operators.
- Author:
- Julian Dolby (dolby@us.ibm.com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorstatic final CAstOperatorFields inherited from interface 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, CLASS_STMT, COMPREHENSION_EXPR, CONSTANT, CONTINUE, DECL_STMT, EACH_ELEMENT_GET, EACH_ELEMENT_HAS_NEXT, ECHO, EMPTY, EMPTY_LIST_EXPR, ERROR, EXPR_LIST, EXPR_STMT, FORIN_LOOP, FUNCTION_EXPR, FUNCTION_STMT, GET_CAUGHT_EXCEPTION, GLOBAL_DECL, GOTO, IF_EXPR, IF_STMT, IFGOTO, INCLUDE, INSTANCEOF, IS_DEFINED_EXPR, LABEL_STMT, LIST_EXPR, LOCAL_SCOPE, LOOP, MACRO_VAR, MONITOR_ENTER, MONITOR_EXIT, NAMED_ENTITY_REF, NARY_EXPR, NEW, NEW_ENCLOSING, OBJECT_LITERAL, OBJECT_REF, OPERATOR, PRIMITIVE, RETURN, RETURN_WITHOUT_BRANCH, SPECIAL_PARENT_SCOPE, SUB_LANGUAGE_BASE, SUPER, SWITCH, THIS, THROW, TRY, TYPE_LITERAL_EXPR, TYPE_OF, UNARY_EXPR, UNWIND, VAR, VOID, YIELD_STMTModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intRepresents a block of sequentially-executed nodes, the last of which produces the value for the entire block (like progn from lisp).static final intRepresents a block of sequential statements.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intRepresents an expression statement (e.g.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intRepresents a standard while loop.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intRepresents a standard case statement.static final intstatic final intstatic final intRepresents a standard try/catch statement.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface CAstLeafNode
getChildrenMethods inherited from interface CAstNode
getChild, getChildCount
-
Field Details
-
OP_EQ
-
OP_STRICT_EQ
-
OP_NE
-
OP_STRICT_NE
-
OP_ADD
-
OP_CONCAT
-
OP_DIV
-
OP_LSH
-
OP_MOD
-
OP_MUL
-
OP_POW
-
OP_RSH
-
OP_URSH
-
OP_SUB
-
OP_GE
-
OP_GT
-
OP_LE
-
OP_LT
-
OP_NOT
-
OP_BITNOT
-
OP_BIT_AND
-
OP_REL_AND
-
OP_BIT_OR
-
OP_REL_OR
-
OP_BIT_XOR
-
OP_REL_XOR
-
OP_IN
-
OP_NOT_IN
-
-
Constructor Details
-
CAstOperator
-
-
Method Details
-
toString
-
getKind
-
getValue
-