com.google.dart.compiler.backend.js.ast
Class JsVisitorWithContextImpl.ListContext<T extends JsNode>
java.lang.Object
com.google.dart.compiler.backend.js.ast.JsVisitorWithContextImpl.ListContext<T>
- All Implemented Interfaces:
- JsContext
- Enclosing class:
- JsVisitorWithContextImpl
public class JsVisitorWithContextImpl.ListContext<T extends JsNode>
- extends java.lang.Object
- implements JsContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsVisitorWithContextImpl.ListContext
public JsVisitorWithContextImpl.ListContext()
canInsert
public boolean canInsert()
- Specified by:
canInsert in interface JsContext
canRemove
public boolean canRemove()
- Specified by:
canRemove in interface JsContext
insertAfter
public void insertAfter(JsNode node)
- Specified by:
insertAfter in interface JsContext
insertBefore
public void insertBefore(JsNode node)
- Specified by:
insertBefore in interface JsContext
isLvalue
public boolean isLvalue()
- Specified by:
isLvalue in interface JsContext
removeMe
public void removeMe()
- Specified by:
removeMe in interface JsContext
replaceMe
public void replaceMe(JsNode node)
- Specified by:
replaceMe in interface JsContext
getCurrentNode
@Nullable
public JsNode getCurrentNode()
- Specified by:
getCurrentNode in interface JsContext
traverse
protected void traverse(java.util.List<T> collection)