code generations for unary operators
This commit is contained in:
parent
07079366b8
commit
e6b20b5aa9
7 changed files with 202 additions and 153 deletions
|
|
@ -7,8 +7,10 @@
|
|||
<e p="Compiler.cs" t="Include" />
|
||||
<e p="Compiler.csproj" t="IncludeRecursive" />
|
||||
<e p="Compiler.sln" t="IncludeFlat" />
|
||||
<e p="DevFunctions.cs" t="Include" />
|
||||
<e p="Generator" t="Include">
|
||||
<e p="Generator.cs" t="Include" />
|
||||
<e p="NotSpecifiedException.cs" t="Include" />
|
||||
</e>
|
||||
<e p="Lexer" t="Include">
|
||||
<e p="Lexer.cs" t="Include" />
|
||||
|
|
|
|||
63
Compiler/.idea/.idea.Compiler/.idea/workspace.xml
generated
63
Compiler/.idea/.idea.Compiler/.idea/workspace.xml
generated
|
|
@ -20,12 +20,13 @@
|
|||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="a54bb6de-191c-4bd1-91ab-3953adfc5dfb" name="Default Changelist" comment="">
|
||||
<change afterPath="$PROJECT_DIR$/DevFunctions.cs" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/Generator/NotSpecifiedException.cs" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/../test" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/.idea.Compiler/.idea/contentModel.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.Compiler/.idea/contentModel.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/.idea.Compiler/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.Compiler/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Compiler.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Compiler.cs" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Parser/Nodes/ConstantNode.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Parser/Nodes/ConstantNode.cs" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Parser/Nodes/NodeType.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Parser/Nodes/NodeType.cs" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Parser/Nodes/UnaryOperatorNode.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Parser/Nodes/UnaryOperatorNode.cs" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Parser/Parser.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Parser/Parser.cs" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Generator/Generator.cs" beforeDir="false" afterPath="$PROJECT_DIR$/Generator/Generator.cs" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
|
|
@ -95,7 +96,6 @@
|
|||
<option value="$PROJECT_DIR$/Parser/Exceptions/UnexpectedTokenException.cs" />
|
||||
<option value="$PROJECT_DIR$/t.tt" />
|
||||
<option value="$PROJECT_DIR$/Parser/Nodes/ReturnNode.cs" />
|
||||
<option value="$PROJECT_DIR$/Generator/Generator.cs" />
|
||||
<option value="$PROJECT_DIR$/Lexer/TokenType.cs" />
|
||||
<option value="$PROJECT_DIR$/Lexer/Lexer.cs" />
|
||||
<option value="$PROJECT_DIR$/../grammar" />
|
||||
|
|
@ -106,6 +106,10 @@
|
|||
<option value="$PROJECT_DIR$/Parser/Nodes/ConstantNode.cs" />
|
||||
<option value="$PROJECT_DIR$/Parser/Parser.cs" />
|
||||
<option value="$PROJECT_DIR$/Compiler.cs" />
|
||||
<option value="$PROJECT_DIR$/Generator/NotSpecifiedException.cs" />
|
||||
<option value="$PROJECT_DIR$/../test.s" />
|
||||
<option value="$PROJECT_DIR$/DevFunctions.cs" />
|
||||
<option value="$PROJECT_DIR$/Generator/Generator.cs" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
|
|
@ -169,7 +173,7 @@
|
|||
<workItem from="1597695400525" duration="4873000" />
|
||||
<workItem from="1597863017034" duration="9651000" />
|
||||
<workItem from="1597932102881" duration="4296000" />
|
||||
<workItem from="1597952695048" duration="3054000" />
|
||||
<workItem from="1597952695048" duration="9189000" />
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
|
|
@ -227,22 +231,22 @@
|
|||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="383" key="GridCell.Tab.-1.right/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597955238557" />
|
||||
<state width="1868" height="512" key="GridCell.Tab.0.bottom" timestamp="1597955691042">
|
||||
<state width="908" height="298" key="GridCell.Tab.0.bottom" timestamp="1597956915348">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="512" key="GridCell.Tab.0.bottom/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597955691042" />
|
||||
<state width="1868" height="512" key="GridCell.Tab.0.center" timestamp="1597955691042">
|
||||
<state width="908" height="298" key="GridCell.Tab.0.bottom/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597956915348" />
|
||||
<state width="908" height="298" key="GridCell.Tab.0.center" timestamp="1597956915348">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="512" key="GridCell.Tab.0.center/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597955691042" />
|
||||
<state width="1868" height="512" key="GridCell.Tab.0.left" timestamp="1597955691042">
|
||||
<state width="908" height="298" key="GridCell.Tab.0.center/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597956915348" />
|
||||
<state width="908" height="298" key="GridCell.Tab.0.left" timestamp="1597956915348">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="512" key="GridCell.Tab.0.left/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597955691042" />
|
||||
<state width="1868" height="512" key="GridCell.Tab.0.right" timestamp="1597955691042">
|
||||
<state width="908" height="298" key="GridCell.Tab.0.left/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597956915348" />
|
||||
<state width="908" height="298" key="GridCell.Tab.0.right" timestamp="1597956915348">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state width="1868" height="512" key="GridCell.Tab.0.right/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597955691042" />
|
||||
<state width="908" height="298" key="GridCell.Tab.0.right/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597956915348" />
|
||||
<state width="1868" height="383" key="GridCell.Tab.1.bottom" timestamp="1597955439042">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
|
|
@ -311,10 +315,10 @@
|
|||
<screen x="0" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state x="631" y="291" width="806" height="524" key="Rider.ProjectTemplateDialog.Size/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597872082099" />
|
||||
<state x="2333" y="20" width="709" height="485" key="RiderGenerateDialog" timestamp="1597935008077">
|
||||
<state x="2321" y="-64" width="709" height="485" key="RiderGenerateDialog" timestamp="1597956793201">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state x="2333" y="20" width="709" height="485" key="RiderGenerateDialog/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597935008077" />
|
||||
<state x="2321" y="-64" width="709" height="485" key="RiderGenerateDialog/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597956793201" />
|
||||
<state x="2525" y="135" width="1031" height="724" key="SettingsEditor" timestamp="1597932248704">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
|
|
@ -331,14 +335,14 @@
|
|||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state x="2182" y="199" width="432" height="650" key="com.intellij.openapi.editor.actions.MultiplePasteAction$ClipboardContentChooser/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597510086756" />
|
||||
<state x="0" y="557" width="960" height="523" key="dock-window-1" timestamp="1597952828875">
|
||||
<state x="0" y="557" width="1920" height="523" key="dock-window-1" timestamp="1597960555163">
|
||||
<screen x="0" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state x="0" y="557" width="960" height="523" key="dock-window-1/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597952828875" />
|
||||
<state x="2880" y="0" width="960" height="1080" key="dock-window-2" timestamp="1597934748776">
|
||||
<state x="0" y="557" width="1920" height="523" key="dock-window-1/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597960555163" />
|
||||
<state x="3200" y="0" width="640" height="1080" key="dock-window-2" timestamp="1597959520918">
|
||||
<screen x="1920" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
<state x="2880" y="0" width="960" height="1080" key="dock-window-2/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597934748776" />
|
||||
<state x="3200" y="0" width="640" height="1080" key="dock-window-2/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597959520918" />
|
||||
<state x="0" y="557" width="1920" height="523" key="dock-window-3" timestamp="1597934748776">
|
||||
<screen x="0" y="0" width="1920" height="1080" />
|
||||
</state>
|
||||
|
|
@ -348,23 +352,4 @@
|
|||
</state>
|
||||
<state x="2543" y="239" width="672" height="678" key="search.everywhere.popup/1920.0.1920.1080/0.0.1920.1080@1920.0.1920.1080" timestamp="1597698616567" />
|
||||
</component>
|
||||
<component name="XDebuggerManager">
|
||||
<breakpoint-manager>
|
||||
<breakpoints>
|
||||
<line-breakpoint enabled="true" type="DotNet Breakpoints">
|
||||
<url>file://$PROJECT_DIR$/Compiler.cs</url>
|
||||
<line>138</line>
|
||||
<properties documentPath="$PROJECT_DIR$/Compiler.cs" initialLine="138">
|
||||
<startOffsets>
|
||||
<option value="4241" />
|
||||
</startOffsets>
|
||||
<endOffsets>
|
||||
<option value="4242" />
|
||||
</endOffsets>
|
||||
</properties>
|
||||
<option name="timeStamp" value="3" />
|
||||
</line-breakpoint>
|
||||
</breakpoints>
|
||||
</breakpoint-manager>
|
||||
</component>
|
||||
</project>
|
||||
Loading…
Add table
Add a link
Reference in a new issue