OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Fletch 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 'dart:_fletch_system' as fletch; | 5 import 'dart:fletch._system' as fletch; |
6 | 6 |
7 const patch = "patch"; | 7 const patch = "patch"; |
8 | 8 |
9 @patch @fletch.native external void printToConsole(String line); | 9 @patch @fletch.native external void printToConsole(String line); |
10 | 10 |
11 @patch class Symbol { | 11 @patch class Symbol { |
12 // TODO(ajohnsen): Decide what to do with 'name'. | 12 // TODO(ajohnsen): Decide what to do with 'name'. |
13 @patch const Symbol(String name) : _name = name; | 13 @patch const Symbol(String name) : _name = name; |
14 } | 14 } |
OLD | NEW |