Skip to content
Snippets Groups Projects
Select Git revision
  • 453dfaba6f4a0819c747f054cd83817f958a5f1c
  • master default protected
  • pk
  • high-order-functions
4 results

Makefile

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);
        }
    }