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

32 lines
830 B
Plaintext
Raw Normal View History

======= AST Display =========================
Package
ClassDeclList [1]
. ClassDecl
. "id" classname
. FieldDeclList [0]
. MethodDeclList [1]
. . (public) MethodDecl
. . VOID BaseType
. . "p" methodname
. . ParameterDeclList [0]
. . StmtList [2]
. . . VarDeclStmt
. . . VarDecl
. . . INT BaseType
. . . "x" varname
. . . UnaryExpr
. . . "-" Operator
. . . RefExpr
. . . IdRef
. . . "b" Identifier
. . . VarDeclStmt
. . . VarDecl
. . . BOOLEAN BaseType
. . . "y" varname
. . . UnaryExpr
. . . "!" Operator
. . . RefExpr
. . . IdRef
. . . "y" Identifier
=============================================