public class JPrefixOperation extends JUnaryOperation
Constructor and Description |
---|
JPrefixOperation(SourceInfo info,
JUnaryOperator op,
JExpression arg) |
Modifier and Type | Method and Description |
---|---|
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
getArg, getOp, getType, hasSideEffects
makeStatement
getSourceInfo, setSourceInfo, toSource, toString
public JPrefixOperation(SourceInfo info, JUnaryOperator op, JExpression arg)
public void traverse(JVisitor visitor, Context ctx)
JVisitable
traverse
in interface JVisitable
traverse
in class JUnaryOperation
visitor
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.