com.google.dart.compiler.backend.js.ast
Class ChameleonJsExpression
java.lang.Object
com.google.dart.compiler.backend.js.ast.ChameleonJsExpression
- All Implemented Interfaces:
- JsExpression, JsNode
public class ChameleonJsExpression
- extends java.lang.Object
- implements JsExpression
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChameleonJsExpression
public ChameleonJsExpression(JsExpression initialExpression)
ChameleonJsExpression
public ChameleonJsExpression()
resolve
public void resolve(JsExpression expression)
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf in interface JsExpression
makeStmt
public JsStatement makeStmt()
- Specified by:
makeStmt in interface JsExpression
accept
public void accept(JsVisitor visitor)
- Description copied from interface:
JsNode
- Causes this object to have the visitor visit itself and its children.
- Specified by:
accept in interface JsNode
- Parameters:
visitor - the visitor that should traverse this node
acceptChildren
public void acceptChildren(JsVisitor visitor)
- Specified by:
acceptChildren in interface JsNode
getSource
public java.lang.Object getSource()
- Description copied from interface:
JsNode
- Return the source info associated with this object.
- Specified by:
getSource in interface JsNode
setSource
public void setSource(java.lang.Object info)
- Description copied from interface:
JsNode
- Set the source info associated with this object.
- Specified by:
setSource in interface JsNode
source
public JsExpression source(java.lang.Object info)
- Specified by:
source in interface JsExpression- Specified by:
source in interface JsNode