Interface TreeVisitorContext
-
- All Known Implementing Classes:
JavaScriptVisitorContext
@Beta public interface TreeVisitorContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JavaScriptFilegetJavaScriptFile()SymbolModelgetSymbolModel()ScriptTreegetTopTree()
-
-
-
Method Detail
-
getTopTree
ScriptTree getTopTree()
- Returns:
- the top tree node of the current file AST representation.
-
getJavaScriptFile
JavaScriptFile getJavaScriptFile()
- Returns:
- the current file
-
getSymbolModel
SymbolModel getSymbolModel()
- Returns:
- the symbol model that allows to access the symbols declared in the current file
-
-