26 lines
665 B
Plaintext
26 lines
665 B
Plaintext
======= AST Display =========================
|
|
Package
|
|
ClassDeclList [1]
|
|
. ClassDecl
|
|
. "Test" classname
|
|
. FieldDeclList [0]
|
|
. MethodDeclList [1]
|
|
. . (public) MethodDecl
|
|
. . VOID BaseType
|
|
. . "p" methodname
|
|
. . ParameterDeclList [1]
|
|
. . . ParameterDecl
|
|
. . . INT BaseType
|
|
. . . "a"parametername
|
|
. . StmtList [1]
|
|
. . . VarDeclStmt
|
|
. . . VarDecl
|
|
. . . ArrayType
|
|
. . . ClassType
|
|
. . . "Test" classname
|
|
. . . "v" varname
|
|
. . . RefExpr
|
|
. . . IdRef
|
|
. . . "a" Identifier
|
|
=============================================
|