Changeset 3116
- Timestamp:
- 11/27/08 06:28:37 (12 months ago)
- Files:
-
- 1 modified
-
trunk/ProjectFortress/astgen/Fortress.ast (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ProjectFortress/astgen/Fortress.ast
r3115 r3116 89 89 */ 90 90 interface Generic(List<StaticParam> staticParams); 91 interface GenericWithParams() extends HasParams; 92 interface GenericDecl(); 93 interface GenericDeclWithParams() extends GenericWithParams; 94 95 /** 96 * with value parameters 97 * implemented by object declarations and object expressions in components 98 * or APIs 99 */ 100 interface HasParams(Option<List<Param>> params, 101 List<Decl> decls); 102 /** 103 * with a where clause 104 * implemented by trait and object declarations in components or APIs 105 */ 106 interface HasWhere(Option<WhereClause> where); 91 interface GenericWithParams(Option<List<Param>> params, 92 List<Decl> decls); 107 93 /** 108 94 * templates 109 95 */ 110 96 interface TemplateGap(Id gapId, List<Id> templateParams); 111 112 97 /** 113 98 * A syntax transformation … … 116 101 java.util.Map<String,Level> variables, 117 102 java.util.List<String> syntaxParameters); 118 119 103 /** 120 104 * Repeated expression inside a syntax transformation template … … 211 195 = Option.<WhereClause>none(), 212 196 List<Decl> decls) 213 implements HasWhere, GenericDecl;197 implements Generic; 214 198 /** 215 199 * trait declaration in components or APIs … … 257 241 TraitDecl(List<BaseType> excludes = Collections.<BaseType>emptyList(), 258 242 Option<List<BaseType>> comprises 259 = Option.<List<BaseType>>none()) implements Generic Decl;243 = Option.<List<BaseType>>none()) implements Generic; 260 244 /** 261 245 * object declaration in components or APIs … … 301 285 = Option.<List<BaseType>>none(), 302 286 Option<Contract> contract = Option.<Contract>none()) 303 implements Generic DeclWithParams;287 implements GenericWithParams; 304 288 /** 305 289 * variable declaration in components or APIs … … 361 345 Option<Expr> body, 362 346 Option<Id> implementsUnambiguousName = Option.<Id>none()) 363 implements Applicable, Generic Decl;347 implements Applicable, Generic; 364 348 /** 365 349 * Overloading specification

