Package com.cloudbees.groovy.cps.impl

Examples of com.cloudbees.groovy.cps.impl.AssignmentBlock


    public Block functionCall(int line, Block lhs, Block name, Block... argExps) {
        return new FunctionCallBlock(loc(line),lhs,name,argExps);
    }

    public Block assign(int line, LValueBlock lhs, Block rhs) {
        return new AssignmentBlock(loc(line),lhs,rhs, null);
    }
View Full Code Here


    public Block plus(int line, Block lhs, Block rhs) {
        return functionCall(line,lhs,"plus",rhs);
    }

    public Block plusEqual(int line, LValueBlock lhs, Block rhs) {
        return new AssignmentBlock(loc(line), lhs,rhs, "plus");
    }
View Full Code Here

    public Block functionCall(int line, Block lhs, Block name, Block... argExps) {
        return new FunctionCallBlock(loc(line),lhs,name,argExps);
    }

    public Block assign(int line, LValueBlock lhs, Block rhs) {
        return new AssignmentBlock(loc(line),lhs,rhs, null);
    }
View Full Code Here

    public Block plus(int line, Block lhs, Block rhs) {
        return functionCall(line,lhs,"plus",rhs);
    }

    public Block plusEqual(int line, LValueBlock lhs, Block rhs) {
        return new AssignmentBlock(loc(line), lhs, rhs, "plus");
    }
View Full Code Here

    public Block minus(int line, Block lhs, Block rhs) {
        return functionCall(line, lhs, "minus", rhs);
    }

    public Block minusEqual(int line, LValueBlock lhs, Block rhs) {
        return new AssignmentBlock(loc(line), lhs, rhs, "minus");
    }
View Full Code Here

    public Block multiply(int line, Block lhs, Block rhs) {
        return functionCall(line,lhs,"multiply",rhs);
    }

    public Block multiplyEqual(int line, LValueBlock lhs, Block rhs) {
        return new AssignmentBlock(loc(line), lhs, rhs, "multiply");
    }
View Full Code Here

    public Block div(int line, Block lhs, Block rhs) {
        return functionCall(line,lhs,"div",rhs);
    }

    public Block divEqual(int line, LValueBlock lhs, Block rhs) {
        return new AssignmentBlock(loc(line), lhs, rhs, "div");
    }
View Full Code Here

    public Block intdiv(int line, Block lhs, Block rhs) {
        return functionCall(line,lhs,"intdiv",rhs);
    }

    public Block intdivEqual(int line, LValueBlock lhs, Block rhs) {
        return new AssignmentBlock(loc(line), lhs, rhs, "intdiv");
    }
View Full Code Here

    public Block mod(int line, Block lhs, Block rhs) {
        return functionCall(line, lhs, "mod", rhs);
    }

    public Block modEqual(int line, LValueBlock lhs, Block rhs) {
        return new AssignmentBlock(loc(line), lhs, rhs, "mod");
    }
View Full Code Here

    public Block power(int line, Block lhs, Block rhs) {
        return functionCall(line,lhs, "power", rhs);
    }

    public Block powerEqual(int line, LValueBlock lhs, Block rhs) {
        return new AssignmentBlock(loc(line), lhs, rhs, "power");
    }
View Full Code Here

TOP

Related Classes of com.cloudbees.groovy.cps.impl.AssignmentBlock

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.