public static AValueValueImport newAValueValueImport(LexNameToken defname, PType type, LexNameToken renamed) { AValueValueImport result = new AValueValueImport(); result.setLocation(defname.location); result.setName(defname); result.setRenamed(renamed); result.setImportType(type); return result; }
/** * Returns a deep clone of this {@link AModuleExports} node. * @return a deep clone of this {@link AModuleExports} node */ public AModuleExports clone() { return new AModuleExports( cloneListList(_exports) ); }
/** * Forwarding hashCode call to {@link Object#hashCode()}. **/ @Override public int hashCode() { return super.hashCode(); }
public static AFunctionExport newAFunctionExport(ILexLocation location, List<ILexNameToken> nameList, PType type, List<ILexNameToken> typeParams) { AFunctionExport result = new AFunctionExport(); result.setLocation(location); result.setNameList(nameList); result.setExportType(type); result.setTypeParams(typeParams); return result; }
public static AValueExport newAValueExport(ILexLocation location, List<ILexNameToken> nameList, PType type) { AValueExport result = new AValueExport(); result.setLocation(location); result.setNameList(nameList); result.setExportType(type); return result; }
@Override public PType defaultPImport(PImport node, TypeCheckInfo question) throws AnalysisException { return node.apply(tcImports, question); }
/** * Returns a deep clone of this {@link AFromModuleImports} node. * @return a deep clone of this {@link AFromModuleImports} node */ public AFromModuleImports clone() { return new AFromModuleImports( cloneNode(_name), cloneListList(_signatures) ); }
@Override public ILexLocation defaultPImport(PImport node) throws AnalysisException { return node.getLocation(); }
@Override public ILexLocation defaultSValueImport(SValueImport node) throws AnalysisException { return node.getLocation(); }
/** * Forwarding hashCode call to {@link Object#hashCode()}. **/ @Override public int hashCode() { return super.hashCode(); }
/** * Forwarding hashCode call to {@link Object#hashCode()}. **/ @Override public int hashCode() { return super.hashCode(); }
/** * Forwarding hashCode call to {@link Object#hashCode()}. **/ @Override public int hashCode() { return super.hashCode(); }
/** * Creates a new tree field only constructor {@code AFunctionValueImport TAG=function} 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 typeParams_ the {@link NodeList} node for the {@code typeParams} child of this {@link AFunctionValueImport} node */ public AFunctionValueImport(ILexLocation location_, ILexNameToken name_, ILexNameToken renamed_, List<? extends ILexNameToken> typeParams_) { super(location_,name_,renamed_,null,null); this.setTypeParams(typeParams_); }
@Override public ILexLocation defaultPExport(PExport node) throws AnalysisException { return node.getLocation(); }
public static AModuleImports newAModuleImports(ILexIdentifierToken name, List<AFromModuleImports> imports) { return new AModuleImports(name, imports); }
public static AFromModuleImports newAFromModuleImports( ILexIdentifierToken name, List<List<PImport>> signatures) { return new AFromModuleImports(name, signatures); }
/** * Forwarding hashCode call to {@link Object#hashCode()}. **/ @Override public int hashCode() { return super.hashCode(); }
/** * Forwarding hashCode call to {@link Object#hashCode()}. **/ @Override public int hashCode() { return super.hashCode(); }
/** * Forwarding hashCode call to {@link Object#hashCode()}. **/ @Override public int hashCode() { return super.hashCode(); }
/** * Forwarding hashCode call to {@link Object#hashCode()}. **/ @Override public int hashCode() { return super.hashCode(); }