com.google.dart.compiler.backend.js.ast
Interface JsContext
- All Known Implementing Classes:
- JsVisitorWithContextImpl.ListContext
public interface JsContext
The context in which a JsNode visitation occurs. This represents the set of
possible operations a JsVisitor subclass can perform on the currently visited
node.
canInsert
boolean canInsert()
canRemove
boolean canRemove()
insertAfter
void insertAfter(JsNode node)
insertBefore
void insertBefore(JsNode node)
isLvalue
boolean isLvalue()
removeMe
void removeMe()
replaceMe
void replaceMe(JsNode node)
getCurrentNode
@Nullable
JsNode getCurrentNode()