|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectHasMetadata
com.google.dart.compiler.backend.js.ast.JsExpressionStatement
public final class JsExpressionStatement
| Constructor Summary | |
|---|---|
JsExpressionStatement(JsExpression expression)
|
|
| Method Summary | ||
|---|---|---|
void |
accept(JsVisitor v)
Causes this object to have the visitor visit itself and its children. |
|
void |
acceptChildren(JsVisitor visitor)
|
|
JsExpressionStatement |
deepCopy()
|
|
JsExpression |
getExpression()
|
|
java.lang.Object |
getSource()
Return the source info associated with this object. |
|
void |
setSource(java.lang.Object info)
Set the source info associated with this object. |
|
JsNode |
source(java.lang.Object info)
|
|
java.lang.String |
toString()
|
|
void |
traverse(JsVisitorWithContext v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children. |
|
protected
|
withMetadataFrom(T other)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JsExpressionStatement(@NotNull
JsExpression expression)
| Method Detail |
|---|
@NotNull public JsExpression getExpression()
public void accept(JsVisitor v)
JsNode
accept in interface JsNodev - the visitor that should traverse this nodepublic void acceptChildren(JsVisitor visitor)
acceptChildren in interface JsNodepublic java.lang.Object getSource()
JsNode
getSource in interface JsNodepublic void setSource(java.lang.Object info)
JsNode
setSource in interface JsNodepublic JsNode source(java.lang.Object info)
source in interface JsNode
public void traverse(JsVisitorWithContext v,
JsContext ctx)
JsNode
traverse in interface JsNodev - the visitor that should traverse this nodectx - the context of an existing traversal@NotNull public JsExpressionStatement deepCopy()
deepCopy in interface JsNodedeepCopy in interface JsStatementpublic java.lang.String toString()
protected <T extends HasMetadata> T withMetadataFrom(T other)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||