com.google.dart.compiler.backend.js.ast
Class ChameleonJsExpression

java.lang.Object
  extended by com.google.dart.compiler.backend.js.ast.ChameleonJsExpression
All Implemented Interfaces:
JsExpression, JsNode

public class ChameleonJsExpression
extends java.lang.Object
implements JsExpression


Constructor Summary
ChameleonJsExpression()
           
ChameleonJsExpression(JsExpression initialExpression)
           
 
Method Summary
 void accept(JsVisitor visitor)
          Causes this object to have the visitor visit itself and its children.
 void acceptChildren(JsVisitor visitor)
           
 java.lang.Object getSource()
          Return the source info associated with this object.
 boolean isLeaf()
           
 JsStatement makeStmt()
           
 void resolve(JsExpression expression)
           
 void setSource(java.lang.Object info)
          Set the source info associated with this object.
 JsExpression source(java.lang.Object info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChameleonJsExpression

public ChameleonJsExpression(JsExpression initialExpression)

ChameleonJsExpression

public ChameleonJsExpression()
Method Detail

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