Package sanskrit

Class AstDump

java.lang.Object
sanskrit.AstDump

public final class AstDump extends Object
Text form of a syntax tree. The format is the one written by tools/dump_ast.py for CPython's tree, which lets the two be compared. One node per line when all its fields are scalars, otherwise one field per line; lists in brackets; operators and contexts as bare names; strings escaped as backslash, u and the code point in braces outside printable ASCII; floats as float:<IEEE bits>.
  • Method Details