Index: pkg/dartino_compiler/lib/src/dartino_constants.dart |
diff --git a/pkg/fletchc/lib/src/fletch_constants.dart b/pkg/dartino_compiler/lib/src/dartino_constants.dart |
similarity index 63% |
rename from pkg/fletchc/lib/src/fletch_constants.dart |
rename to pkg/dartino_compiler/lib/src/dartino_constants.dart |
index fc680ca7f2eb0db43796f6dff476977471dced1d..ab1cb32f724d1a52b728753d2980a8571edc0b58 100644 |
--- a/pkg/fletchc/lib/src/fletch_constants.dart |
+++ b/pkg/dartino_compiler/lib/src/dartino_constants.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.fletch_constants; |
+library dartino_compiler.dartino_constants; |
import 'package:compiler/src/constants/values.dart' show |
ConstantValue; |
@@ -14,67 +14,67 @@ import 'package:compiler/src/dart_types.dart' show |
DartType, |
DynamicType; |
-class FletchFunctionConstant extends ConstantValue { |
+class DartinoFunctionConstant extends ConstantValue { |
final int functionId; |
- FletchFunctionConstant(this.functionId); |
+ DartinoFunctionConstant(this.functionId); |
DartType getType(CoreTypes types) => const DynamicType(); |
List<ConstantValue> getDependencies() => const <ConstantValue>[]; |
accept(visitor, arg) { |
- throw new UnsupportedError("FletchFunctionConstant.accept"); |
+ throw new UnsupportedError("DartinoFunctionConstant.accept"); |
} |
String unparse() => toStructuredString(); |
String toStructuredString() { |
- return 'FletchFunctionConstant($functionId)'; |
+ return 'DartinoFunctionConstant($functionId)'; |
} |
} |
-class FletchClassConstant extends ConstantValue { |
+class DartinoClassConstant extends ConstantValue { |
final int classId; |
- FletchClassConstant(this.classId); |
+ DartinoClassConstant(this.classId); |
DartType getType(CoreTypes types) => const DynamicType(); |
List<ConstantValue> getDependencies() => const <ConstantValue>[]; |
accept(visitor, arg) { |
- throw new UnsupportedError("FletchClassConstant.accept"); |
+ throw new UnsupportedError("DartinoClassConstant.accept"); |
} |
String unparse() => toStructuredString(); |
String toStructuredString() { |
- return 'FletchClassConstant($classId)'; |
+ return 'DartinoClassConstant($classId)'; |
} |
} |
-class FletchClassInstanceConstant extends ConstantValue { |
+class DartinoClassInstanceConstant extends ConstantValue { |
final int classId; |
- FletchClassInstanceConstant(this.classId); |
+ DartinoClassInstanceConstant(this.classId); |
DartType getType(CoreTypes types) => const DynamicType(); |
List<ConstantValue> getDependencies() => const <ConstantValue>[]; |
accept(visitor, arg) { |
- throw new UnsupportedError("FletchClassInstanceConstant.accept"); |
+ throw new UnsupportedError("DartinoClassInstanceConstant.accept"); |
} |
String unparse() => toStructuredString(); |
String toStructuredString() { |
- return 'FletchClassInstanceConstant($classId)'; |
+ return 'DartinoClassInstanceConstant($classId)'; |
} |
bool operator==(other) { |
- return other is FletchClassInstanceConstant && other.classId == classId; |
+ return other is DartinoClassInstanceConstant && other.classId == classId; |
} |
int get hashCode => classId; |