OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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 service PerformanceService { | 5 service PerformanceService { |
6 int32 echo(int32 n); | 6 int32 echo(int32 n); |
7 | 7 |
8 int32 countTreeNodes(TreeNode* node); | 8 int32 countTreeNodes(TreeNode* node); |
9 TreeNode* buildTree(int32 n); | 9 TreeNode* buildTree(int32 n); |
10 } | 10 } |
11 | 11 |
12 struct TreeNode { | 12 struct TreeNode { |
13 List<TreeNode> children; | 13 List<TreeNode> children; |
14 } | 14 } |
OLD | NEW |