public final class JsExprStmt extends JsStatement
Constructor and Description |
---|
JsExprStmt(SourceInfo sourceInfo,
JsExpression expr) |
Modifier and Type | Method and Description |
---|---|
JsExpression |
getExpression() |
NodeKind |
getKind() |
void |
setExpression(JsExpression expression) |
void |
traverse(JsVisitor v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
shouldRecordPosition, unconditionalControlBreak
getSourceInfo, setSourceInfo, toSource, toSource, toString
public JsExprStmt(SourceInfo sourceInfo, JsExpression expr)
public JsExpression getExpression()
public void traverse(JsVisitor v, JsContext ctx)
JsVisitable
v
- the visitor that should traverse this nodectx
- the context of an existing traversalpublic void setExpression(JsExpression expression)
Copyright © 2018. All rights reserved.