- Timestamp:
- 07/28/08 19:59:00 (16 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/ProjectFortress/src/com/sun/fortress/compiler/AnalyzeResult.java
r2399 r2404 44 44 45 45 public AnalyzeResult(Iterable<? extends StaticError> errors) { 46 this(new HashMap<APIName, ApiIndex>(), new HashMap<APIName, ComponentIndex>(), errors); 47 } 48 49 public AnalyzeResult(Map<APIName, ApiIndex> apis, 50 Map<APIName, ComponentIndex> components, 51 Iterable<? extends StaticError> errors) { 52 super(errors); 53 _apis = apis; 54 _components = components; 55 _typeEnvAtNode = Option.none(); 46 this(new HashMap<APIName, ApiIndex>(), new HashMap<APIName, ComponentIndex>(), 47 errors, Option.<Map<Pair<Node,Span>, TypeEnv>>none()); 56 48 } 57 49 58 50 public AnalyzeResult(Map<APIName, ApiIndex> apis, 59 51 Map<APIName, ComponentIndex> components, 60 Iterable<? extends StaticError> errors, Map<Pair<Node,Span>, TypeEnv> typeEnvAtNode) {52 Iterable<? extends StaticError> errors, Option<Map<Pair<Node,Span>, TypeEnv>> typeEnvAtNode) { 61 53 super(errors); 62 54 _apis = apis; 63 55 _components = components; 64 _typeEnvAtNode = Option.some(typeEnvAtNode);56 _typeEnvAtNode = typeEnvAtNode; 65 57 } 66 58

