|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.dart.compiler.backend.js.ast.JsVars.JsVar
public static class JsVars.JsVar
A var declared using the JavaScript var statement.
| Constructor Summary | |
|---|---|
JsVars.JsVar(JsName name)
|
|
JsVars.JsVar(JsName name,
JsExpression initExpression)
|
|
| Method Summary | |
|---|---|
void |
accept(JsVisitor v)
Causes this object to have the visitor visit itself and its children. |
void |
acceptChildren(JsVisitor visitor)
|
JsExpression |
getInitExpression()
|
JsName |
getName()
|
java.lang.Object |
getSource()
Return the source info associated with this object. |
Symbol |
getSymbol()
|
void |
setInitExpression(JsExpression initExpression)
|
void |
setSource(java.lang.Object info)
Set the source info associated with this object. |
JsNode |
source(java.lang.Object info)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JsVars.JsVar(JsName name)
public JsVars.JsVar(JsName name,
@Nullable
JsExpression initExpression)
| Method Detail |
|---|
public JsExpression getInitExpression()
public JsName getName()
getName in interface HasNamepublic Symbol getSymbol()
getSymbol in interface HasSymbolpublic void setInitExpression(JsExpression initExpression)
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
public void setSource(java.lang.Object info)
JsNode
public JsNode source(java.lang.Object info)
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||