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

27 lines
735 B
Plaintext
Raw Normal View History

======= AST Display =========================
Package
ClassDeclList [1]
. ClassDecl
. "A" classname
. FieldDeclList [0]
. MethodDeclList [1]
. . (public) MethodDecl
. . INT BaseType
. . "f" methodname
. . ParameterDeclList [0]
. . StmtList [1]
. . . AssignStmt
. . . IdRef
. . . "x" Identifier
. . . BinaryExpr
. . . "+" Operator
. . . BinaryExpr
. . . "*" Operator
. . . LiteralExpr
. . . "1" IntLiteral
. . . LiteralExpr
. . . "2" IntLiteral
. . . LiteralExpr
. . . "3" IntLiteral
=============================================