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

35 lines
959 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]
. . . AssignStmt
. . . IndexedRef
. . . BinaryExpr
. . . "+" Operator
. . . RefExpr
. . . IdRef
. . . "a" Identifier
. . . LiteralExpr
. . . "1" IntLiteral
. . . IdRef
. . . "Test" Identifier
. . . BinaryExpr
. . . "*" Operator
. . . RefExpr
. . . IdRef
. . . "a" Identifier
. . . LiteralExpr
. . . "3" IntLiteral
=============================================