Package sanskrit
Class Node
java.lang.Object
sanskrit.Node
- Direct Known Subclasses:
Ast.Alias,Ast.Arg,Ast.Arguments,Ast.Comprehension,Ast.ExceptHandler,Ast.Expr,Ast.Keyword,Ast.Module,Ast.Stmt
A node of the syntax tree. The tree follows the shape of CPython's
ast
module: same node names, same fields in the same order, so that a dump of it
can be compared with the dump of the tree CPython builds for the same source.
Every kind of node is a class of Ast with typed fields; passes
discriminate them with instanceof.
-
Field Summary
Fields -
Method Summary