21 lines
513 B
Plaintext
21 lines
513 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
|
||
|
. . . "x" varname
|
||
|
. . . RefExpr
|
||
|
. . . ThisRef
|
||
|
=============================================
|