Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(859)

Unified Diff: pkg/dartino_compiler/lib/src/constructor_codegen.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/dartino_compiler/lib/src/console_print.dart ('k') | pkg/dartino_compiler/lib/src/dartino_backend.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dartino_compiler/lib/src/constructor_codegen.dart
diff --git a/pkg/fletchc/lib/src/constructor_codegen.dart b/pkg/dartino_compiler/lib/src/constructor_codegen.dart
similarity index 94%
rename from pkg/fletchc/lib/src/constructor_codegen.dart
rename to pkg/dartino_compiler/lib/src/constructor_codegen.dart
index 35973e0ae6b1e844cb8c1d02bcbacd04c0565069..951100c7d986803e6df5a8143301639cbdd8cd33 100644
--- a/pkg/fletchc/lib/src/constructor_codegen.dart
+++ b/pkg/dartino_compiler/lib/src/constructor_codegen.dart
@@ -2,7 +2,7 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE.md file.
-library fletchc.constructor_codegen;
+library dartino_compiler.constructor_codegen;
import 'package:compiler/src/elements/elements.dart';
import 'package:compiler/src/resolution/tree_elements.dart' show
@@ -12,13 +12,13 @@ import 'package:compiler/src/universe/call_structure.dart' show
CallStructure;
import 'package:compiler/src/dart_types.dart';
-import 'fletch_context.dart';
+import 'dartino_context.dart';
-import 'fletch_function_builder.dart' show
- FletchFunctionBuilder;
+import 'dartino_function_builder.dart' show
+ DartinoFunctionBuilder;
-import 'fletch_class_builder.dart' show
- FletchClassBuilder;
+import 'dartino_class_builder.dart' show
+ DartinoClassBuilder;
import 'closure_environment.dart';
@@ -26,13 +26,13 @@ import 'lazy_field_initializer_codegen.dart';
import 'codegen_visitor.dart';
-import 'fletch_registry.dart' show
- FletchRegistry;
+import 'dartino_registry.dart' show
+ DartinoRegistry;
-class ConstructorCodegen extends CodegenVisitor with FletchRegistryMixin {
- final FletchRegistry registry;
+class ConstructorCodegen extends CodegenVisitor with DartinoRegistryMixin {
+ final DartinoRegistry registry;
- final FletchClassBuilder classBuilder;
+ final DartinoClassBuilder classBuilder;
final Map<FieldElement, LocalValue> fieldScope = <FieldElement, LocalValue>{};
@@ -40,8 +40,8 @@ class ConstructorCodegen extends CodegenVisitor with FletchRegistryMixin {
ClosureEnvironment initializerClosureEnvironment;
- ConstructorCodegen(FletchFunctionBuilder functionBuilder,
- FletchContext context,
+ ConstructorCodegen(DartinoFunctionBuilder functionBuilder,
+ DartinoContext context,
TreeElements elements,
this.registry,
ClosureEnvironment closureEnvironment,
@@ -80,7 +80,7 @@ class ConstructorCodegen extends CodegenVisitor with FletchRegistryMixin {
}
LazyFieldInitializerCodegen lazyFieldInitializerCodegenFor(
- FletchFunctionBuilder function,
+ DartinoFunctionBuilder function,
FieldElement field) {
TreeElements elements = field.resolvedAst.elements;
return new LazyFieldInitializerCodegen(
@@ -347,7 +347,7 @@ class ConstructorCodegen extends CodegenVisitor with FletchRegistryMixin {
..pop();
}
- void pushInitialFieldValues(FletchClassBuilder classBuilder) {
+ void pushInitialFieldValues(DartinoClassBuilder classBuilder) {
if (classBuilder.hasSuperClass) {
pushInitialFieldValues(classBuilder.superclass);
}
« no previous file with comments | « pkg/dartino_compiler/lib/src/console_print.dart ('k') | pkg/dartino_compiler/lib/src/dartino_backend.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698