/** * Creates a new complete constructor {@code PRelationBase} node with the given nodes as children. * @deprecated This method should not be used, use AstFactory instead. * The basic child nodes are removed from their previous parents. * @param location_ the {@link ILexLocation} node for the {@code location} child of this {@link PRelationBase} node * @param lhsPattern_ the {@link PPattern} node for the {@code lhsPattern} child of this {@link PRelationBase} node * @param rhsPattern_ the {@link PPattern} node for the {@code rhsPattern} child of this {@link PRelationBase} node * @param relExp_ the {@link PExp} node for the {@code relExp} child of this {@link PRelationBase} node * @param relDef_ the {@link AExplicitFunctionDefinition} node for the {@code relDef} child of this {@link PRelationBase} node */ public PRelationBase(ILexLocation location_, PPattern lhsPattern_, PPattern rhsPattern_, PExp relExp_, AExplicitFunctionDefinition relDef_) { super(); this.setLocation(location_); this.setLhsPattern(lhsPattern_); this.setRhsPattern(rhsPattern_); this.setRelExp(relExp_); this.setRelDef(relDef_); }