/** * Creates a new tree field only constructor {@code ACallObjectStmIR TAG=callObject} 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 type_ the {@link STypeIR} node for the {@code type} child of this {@link ACallObjectStmIR} node * @param designator_ the {@link SObjectDesignatorIR} node for the {@code designator} child of this {@link ACallObjectStmIR} node * @param fieldName_ the {@link String} node for the {@code fieldName} child of this {@link ACallObjectStmIR} node * @param args_ the {@link NodeList} node for the {@code args} child of this {@link ACallObjectStmIR} node */ public ACallObjectStmIR(STypeIR type_, SObjectDesignatorIR designator_, String fieldName_, List<? extends SExpIR> args_) { super(null,null,null); this.setType(type_); this.setDesignator(designator_); this.setFieldName(fieldName_); this.setArgs(args_); }
/** * Creates a new complete constructor {@code ACallObjectStmIR} 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 type_ the {@link STypeIR} node for the {@code type} child of this {@link ACallObjectStmIR} node * @param designator_ the {@link SObjectDesignatorIR} node for the {@code designator} child of this {@link ACallObjectStmIR} node * @param fieldName_ the {@link String} node for the {@code fieldName} child of this {@link ACallObjectStmIR} node * @param args_ the {@link NodeList} node for the {@code args} child of this {@link ACallObjectStmIR} node */ public ACallObjectStmIR(SourceNode sourceNode_, Object tag_, List<? extends ClonableString> metaData_, STypeIR type_, SObjectDesignatorIR designator_, String fieldName_, List<? extends SExpIR> args_) { super(sourceNode_,tag_,metaData_); this.setType(type_); this.setDesignator(designator_); this.setFieldName(fieldName_); this.setArgs(args_); }
callObject.setType(typeCg); callObject.setDesignator(objectDesignatorCg); callObject.setFieldName(fieldNameCg);