gov.llnl.babel.ast
public class UnaryExpr extends ASTNode
Modifier and Type | Field and Description |
---|---|
static int |
COMPLEMENT |
static int |
IS |
static int |
MINUS |
static int |
NOT |
static int |
PLUS |
ILLEGAL_NODEID
Constructor and Description |
---|
UnaryExpr(ParseTreeNode src,
ASTNode parent) |
UnaryExpr(ParseTreeNode src,
ASTNode parent,
int operator,
ASTNode operand) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(Visitor visitor,
java.lang.Object data)
implements "Visitor Pattern"
|
ASTNode |
getOperand() |
int |
getOperator() |
static java.lang.String |
getOpSIDL(int op) |
void |
setOperand(ASTNode operand) |
void |
setOperator(int op) |
getFilename, getFirstToken, getLastToken, getNodeId, getParent, getParseTreeNode, getSymbolTableEntry, setFirstToken, setLastToken, setNodeId, setParent, setParseTreeNode, setSymbolTableEntry
public static final int PLUS
public static final int MINUS
public static final int COMPLEMENT
public static final int IS
public static final int NOT
public UnaryExpr(ParseTreeNode src, ASTNode parent)
public UnaryExpr(ParseTreeNode src, ASTNode parent, int operator, ASTNode operand)