Index: pkg/analyzer/lib/src/generated/testing/token_factory.dart |
diff --git a/pkg/analyzer/lib/src/generated/testing/token_factory.dart b/pkg/analyzer/lib/src/generated/testing/token_factory.dart |
index 7902b7ce298c4587836a073e832a4387d4b092e6..eeafab61bf6efbd567af8734eef8cc5ac63916ab 100644 |
--- a/pkg/analyzer/lib/src/generated/testing/token_factory.dart |
+++ b/pkg/analyzer/lib/src/generated/testing/token_factory.dart |
@@ -13,11 +13,14 @@ import 'package:analyzer/src/generated/scanner.dart'; |
* The class `TokenFactory` defines utility methods that can be used to create tokens. |
*/ |
class TokenFactory { |
- static Token tokenFromKeyword(Keyword keyword) => new KeywordToken(keyword, 0); |
+ static Token tokenFromKeyword(Keyword keyword) => |
+ new KeywordToken(keyword, 0); |
- static Token tokenFromString(String lexeme) => new StringToken(TokenType.STRING, lexeme, 0); |
+ static Token tokenFromString(String lexeme) => |
+ new StringToken(TokenType.STRING, lexeme, 0); |
static Token tokenFromType(TokenType type) => new Token(type, 0); |
- static Token tokenFromTypeAndString(TokenType type, String lexeme) => new StringToken(type, lexeme, 0); |
-} |
+ static Token tokenFromTypeAndString(TokenType type, String lexeme) => |
+ new StringToken(type, lexeme, 0); |
+} |