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

Side by Side Diff: lib/src/backend/platform_selector/parser.dart

Issue 1053443002: Rename the package to "test". (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 8 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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 library unittest.backend.platform_selector.parser; 5 library test.backend.platform_selector.parser;
6 6
7 import 'package:source_span/source_span.dart'; 7 import 'package:source_span/source_span.dart';
8 8
9 import 'ast.dart'; 9 import 'ast.dart';
10 import 'scanner.dart'; 10 import 'scanner.dart';
11 import 'token.dart'; 11 import 'token.dart';
12 12
13 /// A class for parsing a platform selector. 13 /// A class for parsing a platform selector.
14 /// 14 ///
15 /// Platform selectors use a stripped-down version of the Dart expression 15 /// Platform selectors use a stripped-down version of the Dart expression
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 return child; 98 return child;
99 99
100 case TokenType.identifier: 100 case TokenType.identifier:
101 return new VariableNode(token.name, token.span); 101 return new VariableNode(token.name, token.span);
102 102
103 default: 103 default:
104 throw new SourceSpanFormatException("Expected expression.", token.span); 104 throw new SourceSpanFormatException("Expected expression.", token.span);
105 } 105 }
106 } 106 }
107 } 107 }
OLDNEW
« no previous file with comments | « lib/src/backend/platform_selector/evaluator.dart ('k') | lib/src/backend/platform_selector/scanner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698