📄 ball_syntaxtree.xml
字号:
</tree>
</child>
</tree>
<tree line="45" nodetype="FunDecl" nodestring="main" rettype="void">
<child>
<tree line="47" nodetype="VarDecl" nodestring="ball" vartype="Ball" modifier="" isArray="0" />
<tree line="48" nodetype="AssignStm" nodestring="=">
<child>
<tree line="48" nodetype="VarID" nodestring="ball" isArray="0" />
</child>
<child>
<tree line="48" nodetype="NewStm" nodestring="new">
<child>
<tree line="48" nodetype="FunCall" nodestring="Ball">
<child>
<tree line="48" nodetype="ConstID" nodestring="1" />
<tree line="48" nodetype="ConstID" nodestring="2" />
</child>
</tree>
</child>
</tree>
</child>
</tree>
<tree line="49" nodetype="ObjectVar" nodestring="ball">
<child>
<tree line="49" nodetype="FunCall" nodestring="Increase" />
</child>
</tree>
<tree line="50" nodetype="ObjectVar" nodestring="ball">
<child>
<tree line="50" nodetype="FunCall" nodestring="TestEX" />
</child>
</tree>
<tree line="51" nodetype="VarDecl" nodestring="bb" vartype="basketBall" modifier="" isArray="0" />
<tree line="52" nodetype="AssignStm" nodestring="=">
<child>
<tree line="52" nodetype="VarID" nodestring="bb" isArray="0" />
</child>
<child>
<tree line="52" nodetype="NewStm" nodestring="new">
<child>
<tree line="52" nodetype="FunCall" nodestring="basketBall">
<child>
<tree line="52" nodetype="ConstID" nodestring="2" />
<tree line="52" nodetype="ConstID" nodestring="3" />
</child>
</tree>
</child>
</tree>
</child>
</tree>
<tree line="53" nodetype="VarDecl" nodestring="s" vartype="int" modifier="" isArray="0" />
<tree line="54" nodetype="AssignStm" nodestring="=">
<child>
<tree line="54" nodetype="VarID" nodestring="s" isArray="0" />
</child>
<child>
<tree line="54" nodetype="ObjectVar" nodestring="bb">
<child>
<tree line="54" nodetype="FunCall" nodestring="size" />
</child>
</tree>
</child>
</tree>
<tree line="55" nodetype="FunCall" nodestring="playBall">
<child>
<tree line="55" nodetype="VarID" nodestring="ball" isArray="0" />
</child>
</tree>
</child>
</tree>
<tree line="57" nodetype="FunDecl" nodestring="playBall" rettype="void">
<child>
<tree line="57" nodetype="Para" nodestring="ball" vartype="Ball" isArray="0" />
</child>
<child>
<tree line="59" nodetype="VarDecl" nodestring="i" vartype="int" modifier="" isArray="0" />
<tree line="60" nodetype="AssignStm" nodestring="=">
<child>
<tree line="60" nodetype="VarID" nodestring="i" isArray="0" />
</child>
<child>
<tree line="60" nodetype="ConstID" nodestring="0" />
</child>
</tree>
<tree line="61" nodetype="WhileStm" nodestring="while">
<child>
<tree line="61" nodetype="RLT" nodestring="<">
<child>
<tree line="61" nodetype="VarID" nodestring="i" isArray="0" />
</child>
<child>
<tree line="61" nodetype="ConstID" nodestring="4" />
</child>
</tree>
</child>
<child>
<tree line="62" nodetype="TryStm" nodestring="try">
<child>
<tree line="64" nodetype="IfStm" nodestring="if">
<child>
<tree line="64" nodetype="REQ" nodestring="==">
<child>
<tree line="64" nodetype="VarID" nodestring="i" isArray="0" />
</child>
<child>
<tree line="64" nodetype="ConstID" nodestring="3" />
</child>
</tree>
</child>
<child>
<tree line="65" nodetype="ThrowStm" nodestring="throw">
<child>
<tree line="65" nodetype="VarID" nodestring="ball" />
</child>
</tree>
</child>
</tree>
<tree line="66" nodetype="AssignStm" nodestring="=">
<child>
<tree line="66" nodetype="VarID" nodestring="i" isArray="0" />
</child>
<child>
<tree line="66" nodetype="ADD" nodestring="+">
<child>
<tree line="66" nodetype="VarID" nodestring="i" isArray="0" />
</child>
<child>
<tree line="66" nodetype="ConstID" nodestring="1" />
</child>
</tree>
</child>
</tree>
</child>
<child>
<tree line="68" nodetype="CatchStm" nodestring="catch">
<child>
<tree line="68" nodetype="Para" nodestring="b" vartype="Ball" isArray="0" />
</child>
<child>
<tree line="70" nodetype="AssignStm" nodestring="=">
<child>
<tree line="70" nodetype="VarID" nodestring="i" isArray="0" />
</child>
<child>
<tree line="70" nodetype="ConstID" nodestring="0" />
</child>
</tree>
</child>
</tree>
</child>
</tree>
</child>
</tree>
</child>
</tree>
</root>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -