package ast;

public enum Operator {

    PLUS("+"),
    MINUS("-"),
    MUL("*"),
    DIV("/"),
    PLUS_PLUS("++"),
    MINUS_MINUS("--"),
    MOD("%"),
    LOGIC_AND("and"),
    LOGIC_OR("or"),
    LOGIC_NOT("not"),
    CMP_EQUAL("=="),
    NOT_EQUAL("!="),
    GREATER_OR_EQUAL(">="),
    GREATER(">"),
    LESS_OR_EQUAL("<="),
    LESS("<");

    private String type;

    private Operator(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public String toString() {
        return type;
    }

    public boolean isLogical() {
        return this.equals(Operator.CMP_EQUAL) || this.equals(Operator.NOT_EQUAL) || this.equals(Operator.GREATER) || this.equals(Operator.GREATER_OR_EQUAL)
                || this.equals(Operator.LESS) || this.equals(Operator.LESS_OR_EQUAL) || this.equals(Operator.LOGIC_AND) || this.equals(Operator.LOGIC_OR);
    }

}

@@ -353,23 +353,30 @@
 private 
+final 
 String 
+_
 type;%0A%0A 
@@ -418,21 +418,17 @@
         
-this.
+_
 type = t
@@ -476,32 +476,33 @@
 %0A        return 
+_
 type;%0A    %7D%0A%0A   
@@ -490,32 +490,46 @@
 n _type;%0A    %7D%0A%0A
+    @Override%0A
     public Strin
@@ -558,16 +558,17 @@
  return 
+_
 type;%0A  
@@ -647,24 +647,40 @@
 r.CMP_EQUAL)
+%0A               
  %7C%7C this.equ
@@ -698,24 +698,40 @@
 r.NOT_EQUAL)
+%0A               
  %7C%7C this.equ
@@ -751,16 +751,32 @@
 GREATER)
+%0A               
  %7C%7C this
@@ -855,16 +855,32 @@
 or.LESS)
+%0A               
  %7C%7C this
@@ -910,16 +910,32 @@
 R_EQUAL)
+%0A               
  %7C%7C this
@@ -961,16 +961,32 @@
 GIC_AND)
+%0A               
  %7C%7C this

Use naming conventions and code formatting.