exam1_syntaxtree.xml
来自「这是一个用java语言编写的小型C语言的语法分析器。」· XML 代码 · 共 39 行
XML
39 行
<?xml version="1.0"?>
<root>
<tree line="1" nodetype="FunDecl" nodestring="f1" rettype="void">
<child>
<tree line="1" nodetype="Para" nodestring="a" vartype="int" isArray="0" />
<tree line="1" nodetype="Para" nodestring="b" vartype="int" isArray="0" />
</child>
<child>
<tree line="2" nodetype="AssignStm" nodestring="=">
<child>
<tree line="2" nodetype="VarID" nodestring="a" isArray="0" />
</child>
<child>
<tree line="2" nodetype="ConstID" nodestring="1" />
</child>
</tree>
<tree line="3" nodetype="AssignStm" nodestring="=">
<child>
<tree line="3" nodetype="VarID" nodestring="b" isArray="0" />
</child>
<child>
<tree line="3" nodetype="ConstID" nodestring="2" />
</child>
</tree>
</child>
</tree>
<tree line="5" nodetype="FunDecl" nodestring="main" rettype="void">
<child>
<tree line="7" nodetype="VarDecl" nodestring="a" vartype="int" modifier="" isArray="0" />
<tree line="8" nodetype="VarDecl" nodestring="b" vartype="int" modifier="" isArray="0" />
<tree line="9" nodetype="FunCall" nodestring="f1">
<child>
<tree line="9" nodetype="VarID" nodestring="a" isArray="0" />
<tree line="9" nodetype="VarID" nodestring="b" isArray="0" />
</child>
</tree>
</child>
</tree>
</root>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?