| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 class TypeCheckerTask extends CompilerTask { | 5 class TypeCheckerTask extends CompilerTask { |
| 6 TypeCheckerTask(Compiler compiler) : super(compiler); | 6 TypeCheckerTask(Compiler compiler) : super(compiler); |
| 7 String get name() => "Type checker"; | 7 String get name() => "Type checker"; |
| 8 | 8 |
| 9 void check(Node tree, TreeElements elements) { | 9 void check(Node tree, TreeElements elements) { |
| 10 measure(() { | 10 measure(() { |
| (...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 | 599 |
| 600 visitNamedArgument(NamedArgument node) { | 600 visitNamedArgument(NamedArgument node) { |
| 601 fail(node, 'named argument not implemented'); | 601 fail(node, 'named argument not implemented'); |
| 602 } | 602 } |
| 603 | 603 |
| 604 visitSwitchStatement(SwitchStatement node) { | 604 visitSwitchStatement(SwitchStatement node) { |
| 605 compiler.unimplemented('visitSwitchStatement', node: node); | 605 compiler.unimplemented('visitSwitchStatement', node: node); |
| 606 } | 606 } |
| 607 | 607 |
| 608 visitTryStatement(TryStatement node) { | 608 visitTryStatement(TryStatement node) { |
| 609 compiler.unimplemented('visitTryStatement', node: node); | 609 fail(node, 'unimplemented'); |
| 610 } | 610 } |
| 611 | 611 |
| 612 visitScriptTag(ScriptTag node) { | 612 visitScriptTag(ScriptTag node) { |
| 613 compiler.unimplemented('visitScriptTag', node: node); | 613 compiler.unimplemented('visitScriptTag', node: node); |
| 614 } | 614 } |
| 615 | 615 |
| 616 visitCatchBlock(CatchBlock node) { | 616 visitCatchBlock(CatchBlock node) { |
| 617 compiler.unimplemented('visitCatchBlock', node: node); | 617 compiler.unimplemented('visitCatchBlock', node: node); |
| 618 } | 618 } |
| 619 | 619 |
| 620 visitTypedef(Typedef node) { | 620 visitTypedef(Typedef node) { |
| 621 compiler.unimplemented('visitTypedef', node: node); | 621 compiler.unimplemented('visitTypedef', node: node); |
| 622 } | 622 } |
| 623 } | 623 } |
| OLD | NEW |