28 lines
712 B
Plaintext
28 lines
712 B
Plaintext
======= AST Display =========================
|
|
Package
|
|
ClassDeclList [1]
|
|
. ClassDecl
|
|
. "Test" classname
|
|
. FieldDeclList [0]
|
|
. MethodDeclList [1]
|
|
. . (public) MethodDecl
|
|
. . VOID BaseType
|
|
. . "p" methodname
|
|
. . ParameterDeclList [0]
|
|
. . StmtList [2]
|
|
. . . VarDeclStmt
|
|
. . . VarDecl
|
|
. . . ClassType
|
|
. . . "A" classname
|
|
. . . "a" varname
|
|
. . . LiteralExpr
|
|
. . . "23" IntLiteral
|
|
. . . VarDeclStmt
|
|
. . . VarDecl
|
|
. . . BOOLEAN BaseType
|
|
. . . "b" varname
|
|
. . . RefExpr
|
|
. . . IdRef
|
|
. . . "c" Identifier
|
|
=============================================
|