OLD | NEW |
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 import 'package:analyzer/dart/ast/ast.dart'; | 5 import 'package:analyzer/dart/ast/ast.dart'; |
6 import 'package:analyzer/dart/ast/token.dart'; | 6 import 'package:analyzer/dart/ast/token.dart'; |
7 import 'package:analyzer/src/dart/ast/token.dart'; | 7 import 'package:analyzer/src/dart/ast/token.dart'; |
8 import 'package:analyzer/src/generated/utilities_dart.dart'; | 8 import 'package:analyzer/src/generated/utilities_dart.dart'; |
9 import 'package:logging/logging.dart' as logger; | 9 import 'package:logging/logging.dart' as logger; |
10 | 10 |
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 Label l = new Label(s, new Token(TokenType.COLON, 0)); | 590 Label l = new Label(s, new Token(TokenType.COLON, 0)); |
591 return new NamedExpression(l, e); | 591 return new NamedExpression(l, e); |
592 } | 592 } |
593 | 593 |
594 static VariableDeclarationStatement variableDeclarationStatement( | 594 static VariableDeclarationStatement variableDeclarationStatement( |
595 VariableDeclarationList varDecl) { | 595 VariableDeclarationList varDecl) { |
596 var semi = new Token(TokenType.SEMICOLON, 0); | 596 var semi = new Token(TokenType.SEMICOLON, 0); |
597 return new VariableDeclarationStatement(varDecl, semi); | 597 return new VariableDeclarationStatement(varDecl, semi); |
598 } | 598 } |
599 } | 599 } |
OLD | NEW |