typedecl.java
来自「JDK1.4编译器前端」· Java 代码 · 共 1,493 行 · 第 1/5 页
JAVA
1,493 行
" not supported for type " + getClass().getName()); } protected java.util.Map minus_Constant_visited; // Declared in ConstantExpression.jrag at line 313 @SuppressWarnings({"unchecked", "cast"}) public Constant minus(Constant c) { Object _parameters = c;if(minus_Constant_visited == null) minus_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(minus_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: minus in class: "); minus_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant minus_Constant_value = minus_compute(c); minus_Constant_visited.remove(_parameters); return minus_Constant_value; } private Constant minus_compute(Constant c) { throw new UnsupportedOperationException("ConstantExpression operation minus" + " not supported for type " + getClass().getName()); } protected java.util.Map bitNot_Constant_visited; // Declared in ConstantExpression.jrag at line 322 @SuppressWarnings({"unchecked", "cast"}) public Constant bitNot(Constant c) { Object _parameters = c;if(bitNot_Constant_visited == null) bitNot_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(bitNot_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: bitNot in class: "); bitNot_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant bitNot_Constant_value = bitNot_compute(c); bitNot_Constant_visited.remove(_parameters); return bitNot_Constant_value; } private Constant bitNot_compute(Constant c) { throw new UnsupportedOperationException("ConstantExpression operation bitNot" + " not supported for type " + getClass().getName()); } protected java.util.Map mul_Constant_Constant_visited; // Declared in ConstantExpression.jrag at line 329 @SuppressWarnings({"unchecked", "cast"}) public Constant mul(Constant c1, Constant c2) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(c1); _parameters.add(c2);if(mul_Constant_Constant_visited == null) mul_Constant_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(mul_Constant_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: mul in class: "); mul_Constant_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant mul_Constant_Constant_value = mul_compute(c1, c2); mul_Constant_Constant_visited.remove(_parameters); return mul_Constant_Constant_value; } private Constant mul_compute(Constant c1, Constant c2) { throw new UnsupportedOperationException("ConstantExpression operation mul" + " not supported for type " + getClass().getName()); } protected java.util.Map div_Constant_Constant_visited; // Declared in ConstantExpression.jrag at line 338 @SuppressWarnings({"unchecked", "cast"}) public Constant div(Constant c1, Constant c2) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(c1); _parameters.add(c2);if(div_Constant_Constant_visited == null) div_Constant_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(div_Constant_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: div in class: "); div_Constant_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant div_Constant_Constant_value = div_compute(c1, c2); div_Constant_Constant_visited.remove(_parameters); return div_Constant_Constant_value; } private Constant div_compute(Constant c1, Constant c2) { throw new UnsupportedOperationException("ConstantExpression operation div" + " not supported for type " + getClass().getName()); } protected java.util.Map mod_Constant_Constant_visited; // Declared in ConstantExpression.jrag at line 347 @SuppressWarnings({"unchecked", "cast"}) public Constant mod(Constant c1, Constant c2) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(c1); _parameters.add(c2);if(mod_Constant_Constant_visited == null) mod_Constant_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(mod_Constant_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: mod in class: "); mod_Constant_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant mod_Constant_Constant_value = mod_compute(c1, c2); mod_Constant_Constant_visited.remove(_parameters); return mod_Constant_Constant_value; } private Constant mod_compute(Constant c1, Constant c2) { throw new UnsupportedOperationException("ConstantExpression operation mod" + " not supported for type " + getClass().getName()); } protected java.util.Map add_Constant_Constant_visited; // Declared in ConstantExpression.jrag at line 356 @SuppressWarnings({"unchecked", "cast"}) public Constant add(Constant c1, Constant c2) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(c1); _parameters.add(c2);if(add_Constant_Constant_visited == null) add_Constant_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(add_Constant_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: add in class: "); add_Constant_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant add_Constant_Constant_value = add_compute(c1, c2); add_Constant_Constant_visited.remove(_parameters); return add_Constant_Constant_value; } private Constant add_compute(Constant c1, Constant c2) { throw new UnsupportedOperationException("ConstantExpression operation add" + " not supported for type " + getClass().getName()); } protected java.util.Map sub_Constant_Constant_visited; // Declared in ConstantExpression.jrag at line 366 @SuppressWarnings({"unchecked", "cast"}) public Constant sub(Constant c1, Constant c2) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(c1); _parameters.add(c2);if(sub_Constant_Constant_visited == null) sub_Constant_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(sub_Constant_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: sub in class: "); sub_Constant_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant sub_Constant_Constant_value = sub_compute(c1, c2); sub_Constant_Constant_visited.remove(_parameters); return sub_Constant_Constant_value; } private Constant sub_compute(Constant c1, Constant c2) { throw new UnsupportedOperationException("ConstantExpression operation sub" + " not supported for type " + getClass().getName()); } protected java.util.Map lshift_Constant_Constant_visited; // Declared in ConstantExpression.jrag at line 375 @SuppressWarnings({"unchecked", "cast"}) public Constant lshift(Constant c1, Constant c2) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(c1); _parameters.add(c2);if(lshift_Constant_Constant_visited == null) lshift_Constant_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(lshift_Constant_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: lshift in class: "); lshift_Constant_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant lshift_Constant_Constant_value = lshift_compute(c1, c2); lshift_Constant_Constant_visited.remove(_parameters); return lshift_Constant_Constant_value; } private Constant lshift_compute(Constant c1, Constant c2) { throw new UnsupportedOperationException("ConstantExpression operation lshift" + " not supported for type " + getClass().getName()); } protected java.util.Map rshift_Constant_Constant_visited; // Declared in ConstantExpression.jrag at line 382 @SuppressWarnings({"unchecked", "cast"}) public Constant rshift(Constant c1, Constant c2) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(c1); _parameters.add(c2);if(rshift_Constant_Constant_visited == null) rshift_Constant_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(rshift_Constant_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: rshift in class: "); rshift_Constant_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant rshift_Constant_Constant_value = rshift_compute(c1, c2); rshift_Constant_Constant_visited.remove(_parameters); return rshift_Constant_Constant_value; } private Constant rshift_compute(Constant c1, Constant c2) { throw new UnsupportedOperationException("ConstantExpression operation rshift" + " not supported for type " + getClass().getName()); } protected java.util.Map urshift_Constant_Constant_visited; // Declared in ConstantExpression.jrag at line 389 @SuppressWarnings({"unchecked", "cast"}) public Constant urshift(Constant c1, Constant c2) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(c1); _parameters.add(c2);if(urshift_Constant_Constant_visited == null) urshift_Constant_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(urshift_Constant_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: urshift in class: "); urshift_Constant_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant urshift_Constant_Constant_value = urshift_compute(c1, c2); urshift_Constant_Constant_visited.remove(_parameters); return urshift_Constant_Constant_value; } private Constant urshift_compute(Constant c1, Constant c2) { throw new UnsupportedOperationException("ConstantExpression operation urshift" + " not supported for type " + getClass().getName()); } protected java.util.Map andBitwise_Constant_Constant_visited; // Declared in ConstantExpression.jrag at line 396 @SuppressWarnings({"unchecked", "cast"}) public Constant andBitwise(Constant c1, Constant c2) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(c1); _parameters.add(c2);if(andBitwise_Constant_Constant_visited == null) andBitwise_Constant_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(andBitwise_Constant_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: andBitwise in class: "); andBitwise_Constant_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant andBitwise_Constant_Constant_value = andBitwise_compute(c1, c2); andBitwise_Constant_Constant_visited.remove(_parameters); return andBitwise_Constant_Constant_value; } private Constant andBitwise_compute(Constant c1, Constant c2) { throw new UnsupportedOperationException("ConstantExpression operation andBitwise" + " not supported for type " + getClass().getName()); } protected java.util.Map xorBitwise_Constant_Constant_visited; // Declared in ConstantExpression.jrag at line 404 @SuppressWarnings({"unchecked", "cast"}) public Constant xorBitwise(Constant c1, Constant c2) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(c1); _parameters.add(c2);if(xorBitwise_Constant_Constant_visited == null) xorBitwise_Constant_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(xorBitwise_Constant_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: xorBitwise in class: "); xorBitwise_Constant_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant xorBitwise_Constant_Constant_value = xorBitwise_compute(c1, c2); xorBitwise_Constant_Constant_visited.remove(_parameters); return xorBitwise_Constant_Constant_value; } private Constant xorBitwise_compute(Constant c1, Constant c2) { throw new UnsupportedOperationException("ConstantExpression operation xorBitwise" + " not supported for type " + getClass().getName()); } protected java.util.Map orBitwise_Constant_Constant_visited; // Declared in ConstantExpression.jrag at line 412 @SuppressWarnings({"unchecked", "cast"}) public Constant orBitwise(Constant c1, Constant c2) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(c1); _parameters.add(c2);if(orBitwise_Constant_Constant_visited == null) orBitwise_Constant_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(orBitwise_Constant_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: orBitwise in class: "); orBitwise_Constant_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant orBitwise_Constant_Constant_value = orBitwise_compute(c1, c2); orBitwise_Constant_Constant_visited.remove(_parameters); return orBitwise_Constant_Constant_value; } private Constant orBitwise_compute(Constant c1, Constant c2) { throw new UnsupportedOperationException("ConstantExpression operation orBitwise" + " not supported for type " + getClass().getName()); } protected java.util.Map questionColon_Constant_Constant_Constant_visited; // Declared in ConstantExpression.jrag at line 420 @SuppressWarnings({"unchecked", "cast"}) public Constant questionColon(Constant cond, Constant c1, Constant c2) { java.util.List _parameters = new java.util.ArrayList(3); _parameters.add(cond); _parameters.add(c1); _parameters.add(c2);if(questionColon_Constant_Constant_Constant_visited == null) questionColon_Constant_Constant_Constant_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(questionColon_Constant_Constant_Constant_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: questionColon in class: "); questionColon_Constant_Constant_Constant_visited.put(_parameters, new Integer(boundariesCrossed)); Constant questionColon_Constant_Constant_Constant_value = questionColon_compute(cond, c1, c2); questionColon_Constant_Constant_Constant_visited.remove(_parameters); return questionColon_Constant_Constant_Constant_value; } private Constant questionColon_compute(Constant cond, Constant c1, Constant c2) { throw new UnsupportedOperationException("ConstantExpression operation questionColon" + " not supported for type " + getClass().getName()); } protected java.util.Map eqIsTrue_Expr_Expr_visited; // Declared in ConstantExpression.jrag at line 524 @SuppressWarnings({"unchecked", "cast"}) public boolean eqIsTrue(Expr left, Expr right) { java.util.List _parameters = new java.util.ArrayList(2); _parameters.add(left); _parameters.add(right);if(eqIsTrue_Expr_Expr_visited == null) eqIsTrue_Expr_Expr_visited = new java.util.HashMap(4); if(new Integer(boundariesCrossed).equals(eqIsTrue_Expr_Expr_visited.get(_parameters))) throw new RuntimeException("Circular definition of attr: eqIsTrue in class: "); eqIsTrue_Expr_Expr_visited.put(_parameters, new Integer(boundariesCrossed)); boolean eqIsTrue_Expr_Expr_value = eqIsTrue_compute(left, right); eqIsTrue_Expr_Expr_visited.remove(_parameters); return eqIsTrue_Expr_Expr_value; } private boolean eqIsTrue_compute(Expr left, Expr right) { System.err.p
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?