?? constant.java
字號:
package inter;import lexer.*; import symbols.*;public class Constant extends Expr { public Constant(Token tok, Type p) { super(tok, p); } public Constant(int i) { super(new Num(i), Type.Int); } public static final Constant True = new Constant(Word.True, Type.Bool), False = new Constant(Word.False, Type.Bool); public void jumping(int t, int f) { if ( this == True && t != 0 ) emit("goto L" + t); else if ( this == False && f != 0) emit("goto L" + f); }}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -