⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exam1_syntaxtree.xml

📁 这是一个用java语言编写的小型C语言的语法分析器。
💻 XML
字号:
<?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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -