Skip to content
Snippets Groups Projects
Select Git revision
  • 8363ac04fd9f15efbbedece883e442cc02b71dbb
  • master default protected
2 results

Diff.java

Blame
  • Diff.java 552 B
    /*
     * Represent an equal comparaison expression node inside the AST.
     */
    
    public class Diff extends Relation {
        /**
         * Constructor
         */
        public Diff(Expression operandeGauche, Expression operandeDroite, String fl, int line, int col) {
            super(operandeGauche, operandeDroite, fl, line, col);
        }
    
        /**
         * Get the binary operator
         */
        public String operateur() {
            return "<>";
        }
    
        /**
         * Accepts a AST visitor
         */
        Object accept(ASTVisitor visitor){
            return visitor.visit(this);
        }
    }