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

📄 example01_syntaxtree.xml

📁 这是一个用java语言编写的小型C语言的语法分析器。
💻 XML
字号:
<?xml version="1.0"?>
<root>
    <tree line="2" nodetype="ClassDecl" nodestring="MyError">
        <child>
            <tree line="3" nodetype="VarDecl" nodestring="data" vartype="int" modifier="private" isArray="0" />
            <tree line="4" nodetype="FunDecl" nodestring="MyError" rettype="void" modifier="constructor">
                <child>
                    <tree line="4" nodetype="Para" nodestring="msg" vartype="int" isArray="0" />
                </child>
                <child>
                    <tree line="6" nodetype="AssignStm" nodestring="=">
                        <child>
                            <tree line="6" nodetype="VarID" nodestring="data" isArray="0" />
                        </child>
                        <child>
                            <tree line="6" nodetype="VarID" nodestring="msg" isArray="0" />
                        </child>
                    </tree>
                </child>
            </tree>
        </child>
    </tree>
    <tree line="10" nodetype="FunDecl" nodestring="f" rettype="void">
        <child>
            <tree line="12" nodetype="ThrowStm" nodestring="throw">
                <child>
                    <tree line="12" nodetype="VarID" nodestring="MyError">
                        <child>
                            <tree line="12" nodetype="ConstID" nodestring="0" />
                        </child>
                    </tree>
                </child>
            </tree>
        </child>
    </tree>
    <tree line="15" nodetype="FunDecl" nodestring="main" rettype="int">
        <child>
            <tree line="17" nodetype="FunCall" nodestring="f" />
        </child>
    </tree>
</root>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -