1
Fork 0
mini-java/miniJava/tests/pa2_tests/pass159.java.out

30 lines
739 B
Plaintext
Raw Normal View History

======= AST Display =========================
Package
ClassDeclList [1]
. ClassDecl
. "Test" classname
. FieldDeclList [2]
. . (public) FieldDecl
. . ArrayType
. . INT BaseType
. . "a" fieldname
. . (public) FieldDecl
. . ArrayType
. . ClassType
. . "Test" classname
. . "t" fieldname
. MethodDeclList [1]
. . (public) MethodDecl
. . VOID BaseType
. . "p" methodname
. . ParameterDeclList [0]
. . StmtList [1]
. . . VarDeclStmt
. . . VarDecl
. . . VOID BaseType
. . . "x" varname
. . . RefExpr
. . . IdRef
. . . "y" Identifier
=============================================