25 lines
653 B
Plaintext
25 lines
653 B
Plaintext
======= AST Display =========================
|
|
Package
|
|
ClassDeclList [1]
|
|
. ClassDecl
|
|
. "Test" classname
|
|
. FieldDeclList [0]
|
|
. MethodDeclList [1]
|
|
. . (public) MethodDecl
|
|
. . VOID BaseType
|
|
. . "p" methodname
|
|
. . ParameterDeclList [0]
|
|
. . StmtList [1]
|
|
. . . VarDeclStmt
|
|
. . . VarDecl
|
|
. . . ArrayType
|
|
. . . ClassType
|
|
. . . "Foo" classname
|
|
. . . "foo" varname
|
|
. . . NewArrayExpr
|
|
. . . ClassType
|
|
. . . "Foo" classname
|
|
. . . LiteralExpr
|
|
. . . "10" IntLiteral
|
|
=============================================
|