public class JsPropertyInitializer extends JsNode
Constructor and Description |
---|
JsPropertyInitializer(SourceInfo sourceInfo) |
JsPropertyInitializer(SourceInfo sourceInfo,
JsExpression labelExpr,
JsExpression valueExpr) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that) |
NodeKind |
getKind() |
JsExpression |
getLabelExpr() |
JsExpression |
getValueExpr() |
int |
hashCode() |
boolean |
hasSideEffects() |
void |
setValueExpr(JsExpression valueExpr) |
void |
traverse(JsVisitor v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
getSourceInfo, setSourceInfo, toSource, toSource, toString
public JsPropertyInitializer(SourceInfo sourceInfo)
public JsPropertyInitializer(SourceInfo sourceInfo, JsExpression labelExpr, JsExpression valueExpr)
public JsExpression getLabelExpr()
public JsExpression getValueExpr()
public boolean hasSideEffects()
public void setValueExpr(JsExpression valueExpr)
public void traverse(JsVisitor v, JsContext ctx)
JsVisitable
v
- the visitor that should traverse this nodectx
- the context of an existing traversalCopyright © 2018. All rights reserved.