22 lines
553 B
Plaintext
22 lines
553 B
Plaintext
======= AST Display =========================
|
|
Package
|
|
ClassDeclList [1]
|
|
. ClassDecl
|
|
. "A" classname
|
|
. FieldDeclList [0]
|
|
. MethodDeclList [1]
|
|
. . (public) MethodDecl
|
|
. . VOID BaseType
|
|
. . "p" methodname
|
|
. . ParameterDeclList [0]
|
|
. . StmtList [1]
|
|
. . . VarDeclStmt
|
|
. . . VarDecl
|
|
. . . ClassType
|
|
. . . "A" classname
|
|
. . . "a" varname
|
|
. . . NewObjectExpr
|
|
. . . ClassType
|
|
. . . "A" classname
|
|
=============================================
|