
public class JsVars extends JsStatement implements Iterable<JsVars.JsVar>
var statement.| Modifier and Type | Class and Description |
|---|---|
static class |
JsVars.JsVar
A var declared using the JavaScript
var statement. |
| Constructor and Description |
|---|
JsVars(SourceInfo sourceInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(JsVars.JsVar var) |
NodeKind |
getKind() |
int |
getNumVars() |
boolean |
isEmpty() |
Iterator<JsVars.JsVar> |
iterator() |
void |
traverse(JsVisitor v,
JsContext ctx)
Causes this object to have the visitor visit itself and its children.
|
unconditionalControlBreakgetSourceInfo, setSourceInfo, toSource, toSource, toStringpublic JsVars(SourceInfo sourceInfo)
public void add(JsVars.JsVar var)
public int getNumVars()
public boolean isEmpty()
public Iterator<JsVars.JsVar> iterator()
iterator in interface Iterable<JsVars.JsVar>public void traverse(JsVisitor v, JsContext ctx)
JsVisitabletraverse in interface JsVisitablev - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.