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

Unified Diff: pkg/fletchc/lib/src/function_codegen.dart

Issue 1170123004: Rename CompiledFunction to FletchFunctionBuilder and CompiledClass to FletchClassBuilder. (Closed) Base URL: git@github.com:dart-lang/fletch.git@master
Patch Set: Created 5 years, 6 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/fletchc/lib/src/function_codegen.dart
diff --git a/pkg/fletchc/lib/src/function_codegen.dart b/pkg/fletchc/lib/src/function_codegen.dart
index 7eb84735f9cf01be3ad9a222a35d24698733224f..13b322fe59979179f29c084469cbe8cda9276cd0 100644
--- a/pkg/fletchc/lib/src/function_codegen.dart
+++ b/pkg/fletchc/lib/src/function_codegen.dart
@@ -14,8 +14,8 @@ import 'package:compiler/src/tree/tree.dart';
import 'fletch_context.dart';
-import 'compiled_function.dart' show
- CompiledFunction;
+import 'fletch_function_builder.dart' show
+ FletchFunctionBuilder;
import 'closure_environment.dart';
@@ -25,13 +25,13 @@ class FunctionCodegen extends CodegenVisitor {
int setterResultSlot;
- FunctionCodegen(CompiledFunction compiledFunction,
+ FunctionCodegen(FletchFunctionBuilder functionBuilder,
FletchContext context,
TreeElements elements,
Registry registry,
ClosureEnvironment closureEnvironment,
FunctionElement function)
- : super(compiledFunction, context, elements, registry,
+ : super(functionBuilder, context, elements, registry,
closureEnvironment, function);
FunctionElement get function => element;
@@ -39,7 +39,8 @@ class FunctionCodegen extends CodegenVisitor {
// If the function is a setter, push the argument to later be returned.
// TODO(ajohnsen): If the argument is semantically final, we don't have to
// do this.
- bool get hasAssignmentSemantics => function.isSetter || function.name == '[]=';
+ bool get hasAssignmentSemantics =>
+ function.isSetter || function.name == '[]=';
void compile() {
if (checkCompileError(function)) {
« no previous file with comments | « pkg/fletchc/lib/src/fletch_function_builder.dart ('k') | pkg/fletchc/lib/src/lazy_field_initializer_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698