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

53 lines
1.4 KiB
Plaintext

======= AST Display =========================
Package
ClassDeclList [1]
. ClassDecl
. "Test" classname
. FieldDeclList [0]
. MethodDeclList [1]
. . (public) MethodDecl
. . VOID BaseType
. . "p" methodname
. . ParameterDeclList [0]
. . StmtList [5]
. . . AssignStmt
. . . IdRef
. . . "a" Identifier
. . . LiteralExpr
. . . "true" BooleanLiteral
. . . AssignStmt
. . . IndexedRef
. . . RefExpr
. . . IdRef
. . . "b" Identifier
. . . IdRef
. . . "a" Identifier
. . . RefExpr
. . . IdRef
. . . "c" Identifier
. . . CallStmt
. . . IdRef
. . . "p" Identifier
. . . ExprList [0]
. . . AssignStmt
. . . IndexedRef
. . . LiteralExpr
. . . "3" IntLiteral
. . . QualifiedRef
. . . "b" Identifier
. . . IdRef
. . . "a" Identifier
. . . RefExpr
. . . IdRef
. . . "d" Identifier
. . . CallStmt
. . . QualifiedRef
. . . "p" Identifier
. . . IdRef
. . . "c" Identifier
. . . ExprList [1]
. . . . RefExpr
. . . . IdRef
. . . . "e" Identifier
=============================================