1 4 5 9 10 package org.openlaszlo.sc.parser; 11 12 public class ASTOperator extends SimpleNode { 13 14 private int operatorCode = -1; 16 public ASTOperator(int id) { 17 super(id); 18 } 19 20 public ASTOperator(Parser p, int id) { 21 super(p, id); 22 } 23 24 public static Node jjtCreate(int id) { 25 return new ASTOperator(id); 26 } 27 28 public static Node jjtCreate(Parser p, int id) { 29 return new ASTOperator(p, id); 30 } 31 32 public void setOperator(int operatorCode) { 34 this.operatorCode = operatorCode; 35 } 36 37 public int getOperator() { 38 return operatorCode; 39 } 40 41 45 } 46 | Popular Tags |