com.google.dart.compiler.backend.js.ast
Class JsVisitorWithContextImpl.ListContext<T extends JsNode>

java.lang.Object
  extended by 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


Constructor Summary
JsVisitorWithContextImpl.ListContext()
           
 
Method Summary
 boolean canInsert()
           
 boolean canRemove()
           
 JsNode getCurrentNode()
           
 void insertAfter(JsNode node)
           
 void insertBefore(JsNode node)
           
 boolean isLvalue()
           
 void removeMe()
           
 void replaceMe(JsNode node)
           
protected  void traverse(java.util.List<T> collection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsVisitorWithContextImpl.ListContext

public JsVisitorWithContextImpl.ListContext()
Method Detail

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)