Search in sources :

Example 1 with ACartesianProductExpression

use of de.be4.classicalb.core.parser.node.ACartesianProductExpression in project probparsers by bendisposto.

the class PairType method createASTNode.

public PExpression createASTNode(Typechecker typechecker) {
    ACartesianProductExpression node = new ACartesianProductExpression(first.createASTNode(typechecker), second.createASTNode(typechecker));
    typechecker.setType(node, new SetType(this));
    return node;
}
Also used : ACartesianProductExpression(de.be4.classicalb.core.parser.node.ACartesianProductExpression)

Aggregations

ACartesianProductExpression (de.be4.classicalb.core.parser.node.ACartesianProductExpression)1