public final class JsPostfixOperation extends JsUnaryOperation
Constructor and Description |
---|
JsPostfixOperation(SourceInfo sourceInfo,
JsUnaryOperator op) |
JsPostfixOperation(SourceInfo sourceInfo,
JsUnaryOperator op,
JsExpression arg) |
Modifier and Type | Method and Description |
---|---|
NodeKind |
getKind() |
boolean |
isDefinitelyNotNull()
True if the target expression is definitely not null.
|
boolean |
isDefinitelyNull()
True if the target expression is definitely null.
|
void |
traverse(JsVisitor v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
getArg, getOperator, hasSideEffects, setArg
isLeaf, makeStmt
getSourceInfo, setSourceInfo, toSource, toSource, toString
public JsPostfixOperation(SourceInfo sourceInfo, JsUnaryOperator op)
public JsPostfixOperation(SourceInfo sourceInfo, JsUnaryOperator op, JsExpression arg)
public boolean isDefinitelyNotNull()
JsExpression
isDefinitelyNotNull
in class JsExpression
public boolean isDefinitelyNull()
JsExpression
isDefinitelyNull
in class JsExpression
public void traverse(JsVisitor v, JsContext ctx)
JsVisitable
traverse
in interface JsVisitable
traverse
in class JsUnaryOperation
v
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.