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

Side by Side Diff: pkg/compiler/lib/src/kernel/kernel_visitor.dart

Issue 2930293002: Parameterize and move JumpTarget/LabelDefition to elements/jumps.dart (Closed)
Patch Set: Fix Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 import 'package:kernel/ast.dart' as ir; 5 import 'package:kernel/ast.dart' as ir;
6 import 'package:kernel/frontend/accessors.dart' 6 import 'package:kernel/frontend/accessors.dart'
7 show 7 show
8 Accessor, 8 Accessor,
9 IndexAccessor, 9 IndexAccessor,
10 NullAwarePropertyAccessor, 10 NullAwarePropertyAccessor,
(...skipping 25 matching lines...) Expand all
36 show 36 show
37 AstElement, 37 AstElement,
38 ClassElement, 38 ClassElement,
39 ConstructorElement, 39 ConstructorElement,
40 Element, 40 Element,
41 FieldElement, 41 FieldElement,
42 FunctionElement, 42 FunctionElement,
43 FunctionSignature, 43 FunctionSignature,
44 GetterElement, 44 GetterElement,
45 InitializingFormalElement, 45 InitializingFormalElement,
46 JumpTarget,
47 LibraryElement, 46 LibraryElement,
48 LocalElement, 47 LocalElement,
49 LocalFunctionElement, 48 LocalFunctionElement,
50 LocalVariableElement, 49 LocalVariableElement,
51 MethodElement, 50 MethodElement,
52 ParameterElement, 51 ParameterElement,
53 PrefixElement, 52 PrefixElement,
54 TypeVariableElement; 53 TypeVariableElement;
55 import '../elements/entities.dart' show AsyncMarker; 54 import '../elements/entities.dart' show AsyncMarker;
55 import '../elements/jumps.dart';
56 import '../elements/names.dart' show Name; 56 import '../elements/names.dart' show Name;
57 import '../elements/operators.dart' 57 import '../elements/operators.dart'
58 show AssignmentOperator, BinaryOperator, IncDecOperator, UnaryOperator; 58 show AssignmentOperator, BinaryOperator, IncDecOperator, UnaryOperator;
59 import '../elements/resolution_types.dart' 59 import '../elements/resolution_types.dart'
60 show ResolutionDartType, ResolutionInterfaceType; 60 show ResolutionDartType, ResolutionInterfaceType;
61 import '../resolution/semantic_visitor.dart' 61 import '../resolution/semantic_visitor.dart'
62 show 62 show
63 BaseImplementationOfCompoundsMixin, 63 BaseImplementationOfCompoundsMixin,
64 BaseImplementationOfLocalsMixin, 64 BaseImplementationOfLocalsMixin,
65 BaseImplementationOfSetIfNullsMixin, 65 BaseImplementationOfSetIfNullsMixin,
(...skipping 2901 matching lines...) Expand 10 before | Expand all | Expand 10 after
2967 : this(null, true, node, initializers); 2967 : this(null, true, node, initializers);
2968 2968
2969 accept(ir.Visitor v) => throw "unsupported"; 2969 accept(ir.Visitor v) => throw "unsupported";
2970 2970
2971 visitChildren(ir.Visitor v) => throw "unsupported"; 2971 visitChildren(ir.Visitor v) => throw "unsupported";
2972 2972
2973 String toString() { 2973 String toString() {
2974 return "IrFunction($kind, $isConstructor, $node, $initializers)"; 2974 return "IrFunction($kind, $isConstructor, $node, $initializers)";
2975 } 2975 }
2976 } 2976 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/kernel/kernel_backend_strategy.dart ('k') | pkg/compiler/lib/src/resolution/label_scope.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698