/** * Creates a new complete constructor {@code ACallObjectStm} 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 designator_ the {@link PObjectDesignator} node for the {@code designator} child of this {@link ACallObjectStm} node * @param classname_ the {@link ILexNameToken} node for the {@code classname} child of this {@link ACallObjectStm} node * @param fieldname_ the {@link ILexIdentifierToken} node for the {@code fieldname} child of this {@link ACallObjectStm} node * @param field_ the {@link ILexNameToken} node for the {@code field} child of this {@link ACallObjectStm} node * @param args_ the {@link NodeList} node for the {@code args} child of this {@link ACallObjectStm} node * @param explicit_ the {@link Boolean} node for the {@code explicit} child of this {@link ACallObjectStm} node */ public ACallObjectStm(ILexLocation location_, PType type_, PObjectDesignator designator_, ILexNameToken classname_, ILexIdentifierToken fieldname_, ILexNameToken field_, List<? extends PExp> args_, Boolean explicit_) { super(location_,type_); this.setDesignator(designator_); this.setClassname(classname_); this.setFieldname(fieldname_); this.setField(field_); this.setArgs(args_); this.setExplicit(explicit_); }
/** * Creates a new tree field only constructor {@code ACallObjectStm 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 designator_ the {@link PObjectDesignator} node for the {@code designator} child of this {@link ACallObjectStm} node * @param classname_ the {@link ILexNameToken} node for the {@code classname} child of this {@link ACallObjectStm} node * @param fieldname_ the {@link ILexIdentifierToken} node for the {@code fieldname} child of this {@link ACallObjectStm} node * @param field_ the {@link ILexNameToken} node for the {@code field} child of this {@link ACallObjectStm} node * @param args_ the {@link NodeList} node for the {@code args} child of this {@link ACallObjectStm} node * @param explicit_ the {@link Boolean} node for the {@code explicit} child of this {@link ACallObjectStm} node */ public ACallObjectStm(ILexLocation location_, PObjectDesignator designator_, ILexNameToken classname_, ILexIdentifierToken fieldname_, ILexNameToken field_, List<? extends PExp> args_, Boolean explicit_) { super(location_,null); this.setDesignator(designator_); this.setClassname(classname_); this.setFieldname(fieldname_); this.setField(field_); this.setArgs(args_); this.setExplicit(explicit_); }
public static ACallObjectStm newACallObjectStm( PObjectDesignator designator, ILexIdentifierToken fieldname, List<PExp> args) { ACallObjectStm result = new ACallObjectStm(); initStatement(result, designator.getLocation()); result.setDesignator(designator); result.setClassname(null); result.setFieldname(fieldname); result.setArgs(args); result.setExplicit(false); return result; }
public static ACallObjectStm newACallObjectStm( PObjectDesignator designator, ILexNameToken classname, List<PExp> args) { ACallObjectStm result = new ACallObjectStm(); initStatement(result, designator.getLocation()); result.setDesignator(designator); result.setClassname(classname); result.setFieldname(null); result.setArgs(args); result.setExplicit(classname.getExplicit()); return result; }