34 lines
895 B
Plaintext
34 lines
895 B
Plaintext
|
======= AST Display =========================
|
||
|
Package
|
||
|
ClassDeclList [1]
|
||
|
. ClassDecl
|
||
|
. "C" classname
|
||
|
. FieldDeclList [0]
|
||
|
. MethodDeclList [1]
|
||
|
. . (public) MethodDecl
|
||
|
. . VOID BaseType
|
||
|
. . "foo" methodname
|
||
|
. . ParameterDeclList [0]
|
||
|
. . StmtList [2]
|
||
|
. . . CallStmt
|
||
|
. . . QualifiedRef
|
||
|
. . . "foo" Identifier
|
||
|
. . . ThisRef
|
||
|
. . . ExprList [2]
|
||
|
. . . . LiteralExpr
|
||
|
. . . . "3" IntLiteral
|
||
|
. . . . RefExpr
|
||
|
. . . . ThisRef
|
||
|
. . . CallStmt
|
||
|
. . . QualifiedRef
|
||
|
. . . "foo" Identifier
|
||
|
. . . IdRef
|
||
|
. . . "other" Identifier
|
||
|
. . . ExprList [2]
|
||
|
. . . . LiteralExpr
|
||
|
. . . . "4" IntLiteral
|
||
|
. . . . RefExpr
|
||
|
. . . . IdRef
|
||
|
. . . . "other" Identifier
|
||
|
=============================================
|