public class TreeBackedLighterAST extends LighterAST
Constructor and Description |
---|
TreeBackedLighterAST(FileASTNode root) |
Modifier and Type | Method and Description |
---|---|
java.util.List<LighterASTNode> |
getChildren(LighterASTNode parent) |
LighterASTNode |
getParent(LighterASTNode node) |
LighterASTNode |
getRoot() |
ASTNode |
unwrap(LighterASTNode node) |
static LighterASTNode |
wrap(ASTNode node) |
getCharTable
public TreeBackedLighterAST(FileASTNode root)
public LighterASTNode getRoot()
getRoot
in class LighterAST
public LighterASTNode getParent(LighterASTNode node)
getParent
in class LighterAST
public java.util.List<LighterASTNode> getChildren(LighterASTNode parent)
getChildren
in class LighterAST
public static LighterASTNode wrap(ASTNode node)
public ASTNode unwrap(LighterASTNode node)