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

Unified Diff: pkg/dartino_compiler/lib/src/dartino_constants.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
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;
« no previous file with comments | « pkg/dartino_compiler/lib/src/dartino_compiler_implementation.dart ('k') | pkg/dartino_compiler/lib/src/dartino_context.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698