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

📄 classi_tiger.xmi

📁 编译原理大作业---tiger编译器 包括semant,translate,mipsframe,regalloc等所有phase 懂的人自会知道
💻 XMI
📖 第 1 页 / 共 5 页
字号:
      <codecomment tag="" text="/************************************************************************&amp;#010;  			Frame/Access.java - Copyright gabriele&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.java&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010;   i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010;   files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010;   java code.&amp;#010;   If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010;   choose this file even if there are other files with the same extension in the&amp;#010;   directory. If you name the file something else, it must be the only one with that&amp;#010;   extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Jun 6 2005 at 23:34:18&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />     </header>     <classfields/>    </classifiercodedocument>    <classifiercodedocument writeOutCode="true" package="" id="12" parent_class="12" fileExt=".java" fileName="Mips/InFrame" >     <textblocks>      <codeblockwithcomments tag="packages" writeOutText="false" >       <header>        <codecomment tag="" writeOutText="false" />       </header>      </codeblockwithcomments>      <codeblockwithcomments tag="imports" text="&amp;#010;import Frame/Access;" >       <header>        <codecomment tag="" writeOutText="false" />       </header>      </codeblockwithcomments>      <javaclassdeclarationblock parent_id="12" tag="ClassDeclBlock" canDelete="false" role_id="-1" >       <header>        <javacodedocumentation tag="" text="Class Mips/InFrame&amp;#010;" />       </header>       <textblocks>        <hierarchicalcodeblock tag="fieldsDecl" canDelete="false" indentLevel="1" >         <header>          <codecomment tag="" indentLevel="1" text="Fields" />         </header>         <textblocks>          <ccfdeclarationcodeblock parent_id="124" tag="tblock_0" canDelete="false" indentLevel="1" role_id="-1" text="public int offset;" >           <header>            <codecomment tag="" indentLevel="1" />           </header>          </ccfdeclarationcodeblock>         </textblocks>        </hierarchicalcodeblock>        <hierarchicalcodeblock tag="methodsBlock" canDelete="false" indentLevel="1" >         <header>          <codecomment tag="" indentLevel="1" text="Methods" />         </header>         <textblocks>          <hierarchicalcodeblock tag="constructorMethods" canDelete="false" indentLevel="1" >           <header>            <codecomment tag="" indentLevel="1" text="Constructors" />           </header>           <textblocks>            <codeblockwithcomments tag="emptyconstructor" writeOutText="false" indentLevel="1" text="public Mips/InFrame ( ) { }" >             <header>              <codecomment tag="" indentLevel="1" text="Empty Constructor" />             </header>            </codeblockwithcomments>           </textblocks>          </hierarchicalcodeblock>          <hierarchicalcodeblock tag="accessorMethods" canDelete="false" indentLevel="1" >           <header>            <codecomment tag="" indentLevel="1" text="Accessor Methods" />           </header>           <textblocks>            <hierarchicalcodeblock tag="staticAccessorMethods" canDelete="false" indentLevel="1" >             <header>              <codecomment tag="" writeOutText="false" indentLevel="1" />             </header>             <textblocks>              <codeaccessormethod accessType="0" parent_id="124" tag="hblock_tag_0" canDelete="false" indentLevel="1" classfield_id="124" role_id="-1" text="return offset;" >               <header>                <javacodedocumentation tag="" indentLevel="1" text="Get the value of offset&amp;#010;&amp;#010;@return the value of offset" />               </header>              </codeaccessormethod>              <codeaccessormethod accessType="1" parent_id="124" tag="hblock_tag_1" canDelete="false" indentLevel="1" classfield_id="124" role_id="-1" text="offset = value;" >               <header>                <javacodedocumentation tag="" indentLevel="1" text="Set the value of offset&amp;#010;&amp;#010;" />               </header>              </codeaccessormethod>             </textblocks>            </hierarchicalcodeblock>            <hierarchicalcodeblock tag="regularAccessorMethods" canDelete="false" indentLevel="1" >             <header>              <codecomment tag="" writeOutText="false" indentLevel="1" />             </header>             <textblocks/>            </hierarchicalcodeblock>           </textblocks>          </hierarchicalcodeblock>          <hierarchicalcodeblock tag="operationMethods" canDelete="false" indentLevel="1" >           <header>            <codecomment tag="" indentLevel="1" text="Operations" />           </header>           <textblocks/>          </hierarchicalcodeblock>         </textblocks>        </hierarchicalcodeblock>       </textblocks>      </javaclassdeclarationblock>     </textblocks>     <header>      <codecomment tag="" text="/************************************************************************&amp;#010;  			Mips/InFrame.java - Copyright gabriele&amp;#010;&amp;#010;Here you can write a license for your code, some comments or any other&amp;#010;information you want to have in your generated code. To to this simply&amp;#010;configure the &quot;headings&quot; directory in uml to point to a directory&amp;#010;where you have your heading files.&amp;#010;&amp;#010;or you can just replace the contents of this file with your own.&amp;#010;If you want to do this, this file is located at&amp;#010;&amp;#010;/usr/share/apps/umbrello/headings/heading.java&amp;#010;&amp;#010;-->Code Generators searches for heading files based on the file extension&amp;#010;   i.e. it will look for a file name ending in &quot;.h&quot; to include in C++ header&amp;#010;   files, and for a file name ending in &quot;.java&quot; to include in all generated&amp;#010;   java code.&amp;#010;   If you name the file &quot;heading.&lt;extension>&quot;, Code Generator will always&amp;#010;   choose this file even if there are other files with the same extension in the&amp;#010;   directory. If you name the file something else, it must be the only one with that&amp;#010;   extension in the directory to guarantee that Code Generator will choose it.&amp;#010;&amp;#010;you can use variables in your heading files which are replaced at generation&amp;#010;time. possible variables are : author, date, time, filename and filepath.&amp;#010;just write %variable_name%&amp;#010;&amp;#010;This file was generated on Mon Jun 6 2005 at 23:34:18&amp;#010;The original location of this file is &amp;#010;**************************************************************************/&amp;#010;" />     </header>     <classfields>      <codeclassfield parent_id="124" field_type="0" initialValue="" role_id="-1" writeOutMethods="true" listClassName="" >       <header>        <codecomment tag="" />       </header>       <ccfdeclarationcodeblock parent_id="124" tag="tblock_0" canDelete="false" indentLevel="1" role_id="-1" text="public int offset;" >        <header>         <codecomment tag="" indentLevel="1" />        </header>       </ccfdeclarationcodeblock>       <codeaccessormethod accessType="0" parent_id="124" tag="hblock_tag_0" canDelete="false" indentLevel="1" classfield_id="124" role_id="-1" text="return offset;" >        <header>         <javacodedocumentation tag="" indentLevel="1" text="Get the value of offset&amp;#010;&amp;#010;@return the value of offset" />        </header>       </codeaccessormethod>       <codeaccessormethod accessType="1" parent_id="124" tag="hblock_tag_1" canDelete="false" indentLevel="1" classfield_id="124" role_id="-1" text="offset = value;" >        <header>         <javacodedocumentation tag="" indentLevel="1" text="Set the value of offset&amp;#010;&amp;#010;" />        </header>       </codeaccessormethod>      </codeclassfield>     </classfields>    </classifiercodedocument>    <classifiercodedocument writeOutCode="true" package="" id="13" parent_class="13" fileExt=".java" fileName="Mips/InReg" >     <textblocks>      <codeblockwithcomments tag="packages" writeOutText="false" >       <header>        <codecomment tag="" writeOutText="false" />       </header>      </codeblockwithcomments>      <codeblockwithcomments tag="imports" text="&amp;#010;import Frame/Access;&amp;#010;import Tree/Exp;&amp;#010;import Temp/Temp;" >       <header>        <codecomment tag="" writeOutText="false" />       </header>      </codeblockwithcomments>      <javaclassdeclarationblock parent_id="13" tag="ClassDeclBlock" canDelete="false" role_id="-1" >       <header>        <javacodedocumentation tag="" text="Class Mips/InReg&amp;#010;" />       </header>       <textblocks>        <hierarchicalcodeblock tag="fieldsDecl" canDelete="false" indentLevel="1" >         <header>          <codecomment tag="" indentLevel="1" text="Fields" />         </header>         <textblocks>          <ccfdeclarationcodeblock parent_id="125" tag="tblock_0" canDelete="false" indentLevel="1" role_id="-1" text="protected Temp/Temp temp;" >           <header>            <codecomment tag="" indentLevel="1" />           </header>          </ccfdeclarationcodeblock>         </textblocks>        </hierarchicalcodeblock>        <hierarchicalcodeblock tag="methodsBlock" canDelete="false" indentLevel="1" >         <header>          <codecomment tag="" indentLevel="1" text="Methods" />         </header>         <textblocks>          <hierarchicalcodeblock tag="constructorMethods" canDelete="false" indentLevel="1" >           <header>            <codecomment tag="" indentLevel="1" text="Constructors" />           </header>           <textblocks>            <codeblockwithcomments tag="emptyconstructor" writeOutText="false" indentLevel="1" text="public Mips/InReg ( ) { }" >             <header>              <codecomment tag="" indentLevel="1" text="Empty Constructor" />             </header>            </codeblockwithcomments>           </textblocks>          </hierarchicalcodeblock>          <hierarchicalcodeblock tag="accessorMethods" canDelete="false" indentLevel="1" >           <header>            <codecomment tag="" indentLevel="1" text="Accessor Methods" />           </header>           <textblocks>            <hierarchicalcodeblock tag="staticAccessorMethods" canDelete="false" indentLevel="1" >             <header>              <codecomment tag="" writeOutText="false" indentLevel="1" />             </header>             <textblocks>              <codeaccessormethod accessType="0" parent_id="125" tag="hblock_tag_0" canDelete="false" indentLevel="1" classfield_id="125" role_id="-1" text="return temp;" >               <header>                <javacodedocumentation tag="" indentLevel="1" text="Get the value of temp&amp;#010;&amp;#010;@return the value

⌨️ 快捷键说明

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