36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
|
======= AST Display =========================
|
||
|
Package
|
||
|
ClassDeclList [1]
|
||
|
. ClassDecl
|
||
|
. "A" classname
|
||
|
. FieldDeclList [0]
|
||
|
. MethodDeclList [1]
|
||
|
. . (public) MethodDecl
|
||
|
. . INT BaseType
|
||
|
. . "f" methodname
|
||
|
. . ParameterDeclList [0]
|
||
|
. . StmtList [1]
|
||
|
. . . VarDeclStmt
|
||
|
. . . VarDecl
|
||
|
. . . BOOLEAN BaseType
|
||
|
. . . "x" varname
|
||
|
. . . BinaryExpr
|
||
|
. . . "||" Operator
|
||
|
. . . BinaryExpr
|
||
|
. . . "||" Operator
|
||
|
. . . LiteralExpr
|
||
|
. . . "true" BooleanLiteral
|
||
|
. . . BinaryExpr
|
||
|
. . . "&&" Operator
|
||
|
. . . LiteralExpr
|
||
|
. . . "false" BooleanLiteral
|
||
|
. . . LiteralExpr
|
||
|
. . . "false" BooleanLiteral
|
||
|
. . . BinaryExpr
|
||
|
. . . "==" Operator
|
||
|
. . . LiteralExpr
|
||
|
. . . "true" BooleanLiteral
|
||
|
. . . LiteralExpr
|
||
|
. . . "false" BooleanLiteral
|
||
|
=============================================
|