org.jetbrains.kotlin.js.backend.ast
Class JsVisitorWithContextImpl.ListContext<T extends JsNode>

java.lang.Object
  extended by org.jetbrains.kotlin.js.backend.ast.JsContext<T>
      extended by org.jetbrains.kotlin.js.backend.ast.JsVisitorWithContextImpl.ListContext<T>
Enclosing class:
JsVisitorWithContextImpl

public class JsVisitorWithContextImpl.ListContext<T extends JsNode>
extends JsContext<T>


Constructor Summary
JsVisitorWithContextImpl.ListContext()
           
 
Method Summary
<R extends T>
void
addNext(R node)
           
<R extends T>
void
addPrevious(R node)
           
 T getCurrentNode()
           
 void removeMe()
           
<R extends T>
void
replaceMe(R node)
           
protected  void traverse(java.util.List<T> nodes)
           
 
Methods inherited from class org.jetbrains.kotlin.js.backend.ast.JsContext
addPrevious
 
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

addPrevious

public <R extends T> void addPrevious(R node)
Overrides:
addPrevious in class JsContext<T extends JsNode>

addNext

public <R extends T> void addNext(R node)
Overrides:
addNext in class JsContext<T extends JsNode>

removeMe

public void removeMe()
Specified by:
removeMe in class JsContext<T extends JsNode>

replaceMe

public <R extends T> void replaceMe(R node)
Specified by:
replaceMe in class JsContext<T extends JsNode>

getCurrentNode

@Nullable
public T getCurrentNode()
Specified by:
getCurrentNode in class JsContext<T extends JsNode>

traverse

protected void traverse(java.util.List<T> nodes)