27 lines
710 B
Plaintext
27 lines
710 B
Plaintext
|
======= AST Display =========================
|
||
|
Package
|
||
|
ClassDeclList [1]
|
||
|
. ClassDecl
|
||
|
. "A" classname
|
||
|
. FieldDeclList [0]
|
||
|
. MethodDeclList [1]
|
||
|
. . (public) MethodDecl
|
||
|
. . VOID BaseType
|
||
|
. . "p" methodname
|
||
|
. . ParameterDeclList [0]
|
||
|
. . StmtList [1]
|
||
|
. . . VarDeclStmt
|
||
|
. . . VarDecl
|
||
|
. . . ClassType
|
||
|
. . . "A" classname
|
||
|
. . . "x" varname
|
||
|
. . . RefExpr
|
||
|
. . . IndexedRef
|
||
|
. . . LiteralExpr
|
||
|
. . . "3" IntLiteral
|
||
|
. . . QualifiedRef
|
||
|
. . . "y" Identifier
|
||
|
. . . IdRef
|
||
|
. . . "x" Identifier
|
||
|
=============================================
|