22 lines
557 B
Plaintext
22 lines
557 B
Plaintext
======= AST Display =========================
|
|
Package
|
|
ClassDeclList [1]
|
|
. ClassDecl
|
|
. "A" classname
|
|
. FieldDeclList [0]
|
|
. MethodDeclList [1]
|
|
. . (public) MethodDecl
|
|
. . VOID BaseType
|
|
. . "p" methodname
|
|
. . ParameterDeclList [0]
|
|
. . StmtList [1]
|
|
. . . CallStmt
|
|
. . . QualifiedRef
|
|
. . . "y" Identifier
|
|
. . . IdRef
|
|
. . . "x" Identifier
|
|
. . . ExprList [1]
|
|
. . . . LiteralExpr
|
|
. . . . "3" IntLiteral
|
|
=============================================
|