mirror of
https://github.com/dart-lang/sdk
synced 2024-10-05 00:35:01 +00:00
Augment. Parse 'augment' for extension declaration.
Change-Id: I66bff906ed990a84b4c48bd1c32ef6ac7f1c21b3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/360121 Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
This commit is contained in:
parent
c9474ebaaa
commit
919d405617
|
@ -279,7 +279,8 @@ class _Listener extends Listener {
|
|||
}
|
||||
|
||||
@override
|
||||
void beginExtensionTypeDeclaration(Token extensionKeyword, Token name) {
|
||||
void beginExtensionTypeDeclaration(
|
||||
Token? augmentToken, Token extensionKeyword, Token name) {
|
||||
declaredNames.add(name.lexeme);
|
||||
}
|
||||
|
||||
|
|
|
@ -2088,8 +2088,10 @@ class ForwardingListener implements Listener {
|
|||
}
|
||||
|
||||
@override
|
||||
void beginExtensionTypeDeclaration(Token extensionKeyword, Token name) {
|
||||
listener?.beginExtensionTypeDeclaration(extensionKeyword, name);
|
||||
void beginExtensionTypeDeclaration(
|
||||
Token? augmentToken, Token extensionKeyword, Token name) {
|
||||
listener?.beginExtensionTypeDeclaration(
|
||||
augmentToken, extensionKeyword, name);
|
||||
}
|
||||
|
||||
@override
|
||||
|
@ -2100,10 +2102,10 @@ class ForwardingListener implements Listener {
|
|||
}
|
||||
|
||||
@override
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token extensionKeyword,
|
||||
Token typeKeyword, Token endToken) {
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token? augmentToken,
|
||||
Token extensionKeyword, Token typeKeyword, Token endToken) {
|
||||
listener?.endExtensionTypeDeclaration(
|
||||
beginToken, extensionKeyword, typeKeyword, endToken);
|
||||
beginToken, augmentToken, extensionKeyword, typeKeyword, endToken);
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
|
@ -267,15 +267,16 @@ class Listener implements UnescapeErrorListener {
|
|||
/// - type variables
|
||||
///
|
||||
/// At this point we have parsed the name and type parameter declarations.
|
||||
void beginExtensionTypeDeclaration(Token extensionKeyword, Token name) {}
|
||||
void beginExtensionTypeDeclaration(
|
||||
Token? augmentKeyword, Token extensionKeyword, Token name) {}
|
||||
|
||||
/// Handle the end of an extension methods declaration. Substructures:
|
||||
/// - substructures from [beginExtensionTypeDeclaration]
|
||||
/// - primary constructor formals
|
||||
/// - implements clause
|
||||
/// - body
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token extensionKeyword,
|
||||
Token typeKeyword, Token endToken) {
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token? augmentToken,
|
||||
Token extensionKeyword, Token typeKeyword, Token endToken) {
|
||||
logEvent('ExtensionTypeDeclaration');
|
||||
}
|
||||
|
||||
|
|
|
@ -3068,7 +3068,7 @@ class Parser {
|
|||
// 'extension' 'type'
|
||||
Token typeKeyword = token.next!;
|
||||
return parseExtensionTypeDeclaration(
|
||||
beginToken, token.next!, extensionKeyword, typeKeyword);
|
||||
beginToken, token.next!, augmentToken, extensionKeyword, typeKeyword);
|
||||
} else {
|
||||
return parseExtensionDeclaration(
|
||||
beginToken, token, augmentToken, extensionKeyword);
|
||||
|
@ -3178,7 +3178,7 @@ class Parser {
|
|||
/// ('.' <identifier>)? <formals> '{' <memberDeclaration>* '}'
|
||||
///
|
||||
Token parseExtensionTypeDeclaration(Token beginToken, Token token,
|
||||
Token extensionKeyword, Token typeKeyword) {
|
||||
Token? augmentToken, Token extensionKeyword, Token typeKeyword) {
|
||||
assert(token.isIdentifier && token.lexeme == 'type');
|
||||
Token? constKeyword = null;
|
||||
if (optional('const', token.next!)) {
|
||||
|
@ -3199,7 +3199,8 @@ class Parser {
|
|||
token = name;
|
||||
token = computeTypeParamOrArg(token, /* inDeclaration = */ true)
|
||||
.parseVariables(token, this);
|
||||
listener.beginExtensionTypeDeclaration(extensionKeyword, name);
|
||||
listener.beginExtensionTypeDeclaration(
|
||||
augmentToken, extensionKeyword, name);
|
||||
if (optional('(', token.next!) || optional('.', token.next!)) {
|
||||
Token beginPrimaryConstructor = token.next!;
|
||||
listener.beginPrimaryConstructor(beginPrimaryConstructor);
|
||||
|
@ -3234,7 +3235,7 @@ class Parser {
|
|||
token = parseClassOrMixinOrExtensionBody(
|
||||
token, DeclarationKind.ExtensionType, name.lexeme);
|
||||
listener.endExtensionTypeDeclaration(
|
||||
beginToken, extensionKeyword, typeKeyword, token);
|
||||
beginToken, augmentToken, extensionKeyword, typeKeyword, token);
|
||||
return token;
|
||||
}
|
||||
|
||||
|
|
|
@ -6797,6 +6797,10 @@ final class ExtensionOverrideImpl extends ExpressionImpl
|
|||
@experimental
|
||||
abstract final class ExtensionTypeDeclaration
|
||||
implements NamedCompilationUnitMember {
|
||||
/// The 'augment' keyword, or `null` if the keyword was absent.
|
||||
@experimental
|
||||
Token? get augmentKeyword;
|
||||
|
||||
/// The 'const' keyword.
|
||||
Token? get constKeyword;
|
||||
|
||||
|
@ -6830,6 +6834,9 @@ abstract final class ExtensionTypeDeclaration
|
|||
|
||||
final class ExtensionTypeDeclarationImpl extends NamedCompilationUnitMemberImpl
|
||||
implements ExtensionTypeDeclaration {
|
||||
@override
|
||||
final Token? augmentKeyword;
|
||||
|
||||
@override
|
||||
final Token extensionKeyword;
|
||||
|
||||
|
@ -6863,6 +6870,7 @@ final class ExtensionTypeDeclarationImpl extends NamedCompilationUnitMemberImpl
|
|||
ExtensionTypeDeclarationImpl({
|
||||
required super.comment,
|
||||
required super.metadata,
|
||||
required this.augmentKeyword,
|
||||
required this.extensionKeyword,
|
||||
required this.typeKeyword,
|
||||
required this.constKeyword,
|
||||
|
@ -6884,10 +6892,12 @@ final class ExtensionTypeDeclarationImpl extends NamedCompilationUnitMemberImpl
|
|||
Token get endToken => rightBracket;
|
||||
|
||||
@override
|
||||
Token get firstTokenAfterCommentAndMetadata => extensionKeyword;
|
||||
Token get firstTokenAfterCommentAndMetadata =>
|
||||
augmentKeyword ?? extensionKeyword;
|
||||
|
||||
@override
|
||||
ChildEntities get _childEntities => super._childEntities
|
||||
..addToken('augmentKeyword', augmentKeyword)
|
||||
..addToken('extensionKeyword', extensionKeyword)
|
||||
..addToken('typeKeyword', typeKeyword)
|
||||
..addToken('constKeyword', constKeyword)
|
||||
|
|
|
@ -332,7 +332,8 @@ class AstBuilder extends StackListener {
|
|||
}
|
||||
|
||||
@override
|
||||
void beginExtensionTypeDeclaration(Token extensionKeyword, Token name) {
|
||||
void beginExtensionTypeDeclaration(
|
||||
Token? augmentKeyword, Token extensionKeyword, Token name) {
|
||||
assert(optional('extension', extensionKeyword));
|
||||
assert(_classLikeBuilder == null);
|
||||
|
||||
|
@ -343,6 +344,7 @@ class AstBuilder extends StackListener {
|
|||
_classLikeBuilder = _ExtensionTypeDeclarationBuilder(
|
||||
comment: comment,
|
||||
metadata: metadata,
|
||||
augmentKeyword: augmentKeyword,
|
||||
extensionKeyword: extensionKeyword,
|
||||
name: name,
|
||||
typeParameters: typeParameters,
|
||||
|
@ -1635,8 +1637,8 @@ class AstBuilder extends StackListener {
|
|||
}
|
||||
|
||||
@override
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token extensionKeyword,
|
||||
Token typeKeyword, Token endToken) {
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token? augmentToken,
|
||||
Token extensionKeyword, Token typeKeyword, Token endToken) {
|
||||
final implementsClause =
|
||||
pop(NullValues.IdentifierList) as ImplementsClauseImpl?;
|
||||
var representation = pop(const NullValue<RepresentationDeclarationImpl>())
|
||||
|
@ -6143,6 +6145,7 @@ class _ExtensionDeclarationBuilder extends _ClassLikeDeclarationBuilder {
|
|||
}
|
||||
|
||||
class _ExtensionTypeDeclarationBuilder extends _ClassLikeDeclarationBuilder {
|
||||
final Token? augmentKeyword;
|
||||
final Token extensionKeyword;
|
||||
final Token name;
|
||||
|
||||
|
@ -6152,6 +6155,7 @@ class _ExtensionTypeDeclarationBuilder extends _ClassLikeDeclarationBuilder {
|
|||
required super.typeParameters,
|
||||
required super.leftBracket,
|
||||
required super.rightBracket,
|
||||
required this.augmentKeyword,
|
||||
required this.extensionKeyword,
|
||||
required this.name,
|
||||
});
|
||||
|
@ -6165,6 +6169,7 @@ class _ExtensionTypeDeclarationBuilder extends _ClassLikeDeclarationBuilder {
|
|||
return ExtensionTypeDeclarationImpl(
|
||||
comment: comment,
|
||||
metadata: metadata,
|
||||
augmentKeyword: augmentKeyword,
|
||||
extensionKeyword: extensionKeyword,
|
||||
typeKeyword: typeKeyword,
|
||||
constKeyword: constKeyword,
|
||||
|
|
|
@ -15,6 +15,32 @@ main() {
|
|||
|
||||
@reflectiveTest
|
||||
class ExtensionTypeDeclarationParserTest extends ParserDiagnosticsTest {
|
||||
test_augment() {
|
||||
final parseResult = parseStringWithErrors(r'''
|
||||
library augment 'a.dart';
|
||||
|
||||
augment extension type A(int it) {}
|
||||
''');
|
||||
parseResult.assertNoErrors();
|
||||
|
||||
final node = parseResult.findNode.singleExtensionTypeDeclaration;
|
||||
assertParsedNodeText(node, r'''
|
||||
ExtensionTypeDeclaration
|
||||
augmentKeyword: augment
|
||||
extensionKeyword: extension
|
||||
typeKeyword: type
|
||||
name: A
|
||||
representation: RepresentationDeclaration
|
||||
leftParenthesis: (
|
||||
fieldType: NamedType
|
||||
name: int
|
||||
fieldName: it
|
||||
rightParenthesis: )
|
||||
leftBracket: {
|
||||
rightBracket: }
|
||||
''');
|
||||
}
|
||||
|
||||
test_error_fieldModifier_const() {
|
||||
final parseResult = parseStringWithErrors(r'''
|
||||
extension type A(const int it) {}
|
||||
|
|
|
@ -2358,7 +2358,8 @@ class _MacroListener implements Listener {
|
|||
}
|
||||
|
||||
@override
|
||||
void beginExtensionTypeDeclaration(Token extensionKeyword, Token name) {
|
||||
void beginExtensionTypeDeclaration(
|
||||
Token? augmentToken, Token extensionKeyword, Token name) {
|
||||
_unsupported();
|
||||
}
|
||||
|
||||
|
@ -2369,8 +2370,8 @@ class _MacroListener implements Listener {
|
|||
}
|
||||
|
||||
@override
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token extensionKeyword,
|
||||
Token? typeKeyword, Token endToken) {
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token? augmentToken,
|
||||
Token extensionKeyword, Token? typeKeyword, Token endToken) {
|
||||
_unsupported();
|
||||
}
|
||||
|
||||
|
|
|
@ -1019,7 +1019,8 @@ class DietListener extends StackListenerImpl {
|
|||
}
|
||||
|
||||
@override
|
||||
void beginExtensionTypeDeclaration(Token extensionKeyword, Token nameToken) {
|
||||
void beginExtensionTypeDeclaration(
|
||||
Token? augmentToken, Token extensionKeyword, Token nameToken) {
|
||||
debugEvent("beginExtensionTypeDeclaration");
|
||||
push(new SimpleIdentifier(nameToken));
|
||||
push(extensionKeyword);
|
||||
|
@ -1081,8 +1082,8 @@ class DietListener extends StackListenerImpl {
|
|||
}
|
||||
|
||||
@override
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token extensionKeyword,
|
||||
Token typeKeyword, Token endToken) {
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token? augmentToken,
|
||||
Token extensionKeyword, Token typeKeyword, Token endToken) {
|
||||
debugEvent("endExtensionTypeDeclaration");
|
||||
checkEmpty(extensionKeyword.charOffset);
|
||||
}
|
||||
|
|
|
@ -1555,7 +1555,8 @@ class OutlineBuilder extends StackListenerImpl {
|
|||
}
|
||||
|
||||
@override
|
||||
void beginExtensionTypeDeclaration(Token extensionKeyword, Token nameToken) {
|
||||
void beginExtensionTypeDeclaration(
|
||||
Token? augmentToken, Token extensionKeyword, Token nameToken) {
|
||||
assert(checkState(extensionKeyword,
|
||||
[ValueKinds.NominalVariableListOrNull, ValueKinds.MetadataListOrNull]));
|
||||
debugEvent("beginExtensionTypeDeclaration");
|
||||
|
@ -1575,8 +1576,8 @@ class OutlineBuilder extends StackListenerImpl {
|
|||
}
|
||||
|
||||
@override
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token extensionKeyword,
|
||||
Token typeKeyword, Token endToken) {
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token? augmentToken,
|
||||
Token extensionKeyword, Token typeKeyword, Token endToken) {
|
||||
assert(checkState(extensionKeyword, [
|
||||
ValueKinds.TypeBuilderListOrNull,
|
||||
ValueKinds.NominalVariableListOrNull,
|
||||
|
|
|
@ -316,20 +316,23 @@ abstract class AbstractParserAstListener implements Listener {
|
|||
}
|
||||
|
||||
@override
|
||||
void beginExtensionTypeDeclaration(Token extensionKeyword, Token name) {
|
||||
void beginExtensionTypeDeclaration(
|
||||
Token? augmentKeyword, Token extensionKeyword, Token name) {
|
||||
ExtensionTypeDeclarationBegin data = new ExtensionTypeDeclarationBegin(
|
||||
ParserAstType.BEGIN,
|
||||
augmentKeyword: augmentKeyword,
|
||||
extensionKeyword: extensionKeyword,
|
||||
name: name);
|
||||
seen(data);
|
||||
}
|
||||
|
||||
@override
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token extensionKeyword,
|
||||
Token typeKeyword, Token endToken) {
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token? augmentToken,
|
||||
Token extensionKeyword, Token typeKeyword, Token endToken) {
|
||||
ExtensionTypeDeclarationEnd data = new ExtensionTypeDeclarationEnd(
|
||||
ParserAstType.END,
|
||||
beginToken: beginToken,
|
||||
augmentToken: augmentToken,
|
||||
extensionKeyword: extensionKeyword,
|
||||
typeKeyword: typeKeyword,
|
||||
endToken: endToken);
|
||||
|
@ -3610,15 +3613,17 @@ class ExtensionDeclarationEnd extends ParserAstNode {
|
|||
}
|
||||
|
||||
class ExtensionTypeDeclarationBegin extends ParserAstNode {
|
||||
final Token? augmentKeyword;
|
||||
final Token extensionKeyword;
|
||||
final Token name;
|
||||
|
||||
ExtensionTypeDeclarationBegin(ParserAstType type,
|
||||
{required this.extensionKeyword, required this.name})
|
||||
{this.augmentKeyword, required this.extensionKeyword, required this.name})
|
||||
: super("ExtensionTypeDeclaration", type);
|
||||
|
||||
@override
|
||||
Map<String, Object?> get deprecatedArguments => {
|
||||
"augmentKeyword": augmentKeyword,
|
||||
"extensionKeyword": extensionKeyword,
|
||||
"name": name,
|
||||
};
|
||||
|
@ -3626,12 +3631,14 @@ class ExtensionTypeDeclarationBegin extends ParserAstNode {
|
|||
|
||||
class ExtensionTypeDeclarationEnd extends ParserAstNode {
|
||||
final Token beginToken;
|
||||
final Token? augmentToken;
|
||||
final Token extensionKeyword;
|
||||
final Token typeKeyword;
|
||||
final Token endToken;
|
||||
|
||||
ExtensionTypeDeclarationEnd(ParserAstType type,
|
||||
{required this.beginToken,
|
||||
this.augmentToken,
|
||||
required this.extensionKeyword,
|
||||
required this.typeKeyword,
|
||||
required this.endToken})
|
||||
|
@ -3640,6 +3647,7 @@ class ExtensionTypeDeclarationEnd extends ParserAstNode {
|
|||
@override
|
||||
Map<String, Object?> get deprecatedArguments => {
|
||||
"beginToken": beginToken,
|
||||
"augmentToken": augmentToken,
|
||||
"extensionKeyword": extensionKeyword,
|
||||
"typeKeyword": typeKeyword,
|
||||
"endToken": endToken,
|
||||
|
|
|
@ -816,8 +816,8 @@ class TextualOutlineListener extends Listener {
|
|||
}
|
||||
|
||||
@override
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token extensionKeyword,
|
||||
Token typeKeyword, Token endToken) {
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token? augmentToken,
|
||||
Token extensionKeyword, Token typeKeyword, Token endToken) {
|
||||
classStartToChunk[beginToken] =
|
||||
new _ExtensionTypeDeclarationChunk(beginToken, endToken);
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ beginCompilationUnit(class)
|
|||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(A)
|
||||
beginExtensionTypeDeclaration(extension, on)
|
||||
beginExtensionTypeDeclaration(null, extension, on)
|
||||
handleRecoverableError(MissingPrimaryConstructor, on, on)
|
||||
handleNoPrimaryConstructor(on, null)
|
||||
handleImplements(null, 0)
|
||||
|
@ -55,7 +55,7 @@ beginCompilationUnit(class)
|
|||
endExtensionTypeMethod(null, method, (, null, })
|
||||
endMember()
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 1, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(test)
|
||||
beginMetadataStar(test)
|
||||
endMetadataStar(0)
|
||||
|
|
|
@ -36,9 +36,9 @@ parseUnit(class)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(A)
|
||||
listener: beginExtensionTypeDeclaration(extension, on)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, on)
|
||||
reportRecoverableError(on, MissingPrimaryConstructor)
|
||||
listener: handleRecoverableError(MissingPrimaryConstructor, on, on)
|
||||
listener: handleNoPrimaryConstructor(on, null)
|
||||
|
@ -95,7 +95,7 @@ parseUnit(class)
|
|||
listener: endMember()
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 1, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(test)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
|
|
@ -32,7 +32,7 @@ beginCompilationUnit(class)
|
|||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(on)
|
||||
beginExtensionTypeDeclaration(extension, E)
|
||||
beginExtensionTypeDeclaration(null, extension, E)
|
||||
handleRecoverableError(MissingPrimaryConstructor, E, E)
|
||||
handleNoPrimaryConstructor(E, null)
|
||||
handleImplements(null, 0)
|
||||
|
@ -47,6 +47,6 @@ beginCompilationUnit(class)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration()
|
||||
endCompilationUnit(2, )
|
||||
|
|
|
@ -36,9 +36,9 @@ parseUnit(class)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(on)
|
||||
listener: beginExtensionTypeDeclaration(extension, E)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, E)
|
||||
reportRecoverableError(E, MissingPrimaryConstructor)
|
||||
listener: handleRecoverableError(MissingPrimaryConstructor, E, E)
|
||||
listener: handleNoPrimaryConstructor(E, null)
|
||||
|
@ -67,7 +67,7 @@ parseUnit(class)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration()
|
||||
reportAllErrorTokens(class)
|
||||
listener: endCompilationUnit(2, )
|
||||
|
|
|
@ -153,7 +153,7 @@ beginCompilationUnit(extension)
|
|||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET1)
|
||||
beginExtensionTypeDeclaration(null, extension, ET1)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -178,13 +178,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET2)
|
||||
beginExtensionTypeDeclaration(null, extension, ET2)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -212,13 +212,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET3)
|
||||
beginExtensionTypeDeclaration(null, extension, ET3)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -249,13 +249,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET4)
|
||||
beginExtensionTypeDeclaration(null, extension, ET4)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -286,13 +286,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET5)
|
||||
beginExtensionTypeDeclaration(null, extension, ET5)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -326,13 +326,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET6)
|
||||
beginExtensionTypeDeclaration(null, extension, ET6)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -360,13 +360,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET7)
|
||||
beginExtensionTypeDeclaration(null, extension, ET7)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -397,13 +397,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET8)
|
||||
beginExtensionTypeDeclaration(null, extension, ET8)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -437,13 +437,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET9)
|
||||
beginExtensionTypeDeclaration(null, extension, ET9)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -477,13 +477,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET10)
|
||||
beginExtensionTypeDeclaration(null, extension, ET10)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -520,13 +520,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET11)
|
||||
beginExtensionTypeDeclaration(null, extension, ET11)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -554,13 +554,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET12)
|
||||
beginExtensionTypeDeclaration(null, extension, ET12)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -591,13 +591,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET13)
|
||||
beginExtensionTypeDeclaration(null, extension, ET13)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -631,13 +631,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET14)
|
||||
beginExtensionTypeDeclaration(null, extension, ET14)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -671,13 +671,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET15)
|
||||
beginExtensionTypeDeclaration(null, extension, ET15)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -714,13 +714,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET16)
|
||||
beginExtensionTypeDeclaration(null, extension, ET16)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -752,13 +752,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET17)
|
||||
beginExtensionTypeDeclaration(null, extension, ET17)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -793,13 +793,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET18)
|
||||
beginExtensionTypeDeclaration(null, extension, ET18)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -837,13 +837,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET19)
|
||||
beginExtensionTypeDeclaration(null, extension, ET19)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -881,13 +881,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET20)
|
||||
beginExtensionTypeDeclaration(null, extension, ET20)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -928,13 +928,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET21)
|
||||
beginExtensionTypeDeclaration(null, extension, ET21)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -963,13 +963,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET22)
|
||||
beginExtensionTypeDeclaration(null, extension, ET22)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -1002,13 +1002,13 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET23)
|
||||
beginExtensionTypeDeclaration(null, extension, ET23)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -1036,6 +1036,6 @@ beginCompilationUnit(extension)
|
|||
handleRecoverDeclarationHeader(DeclarationHeaderKind.ExtensionType)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration()
|
||||
endCompilationUnit(23, )
|
||||
|
|
|
@ -9,9 +9,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, , extension, null, null, null, null, DirectiveContext(DirectiveState.Unknown))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET1)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET1)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET1, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -54,7 +54,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -63,9 +63,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET2)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET2)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET2, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -111,7 +111,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -120,9 +120,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET3)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET3)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET3, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -171,7 +171,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -180,9 +180,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET4)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET4)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET4, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -233,7 +233,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -242,9 +242,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET5)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET5)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET5, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -298,7 +298,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -307,9 +307,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET6)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET6)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET6, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -355,7 +355,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -364,9 +364,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET7)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET7)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET7, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -415,7 +415,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -424,9 +424,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET8)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET8)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET8, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -478,7 +478,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -487,9 +487,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET9)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET9)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET9, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -543,7 +543,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -552,9 +552,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET10)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET10)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET10, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -611,7 +611,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -620,9 +620,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET11)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET11)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET11, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -668,7 +668,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -677,9 +677,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET12)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET12)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET12, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -728,7 +728,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -737,9 +737,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET13)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET13)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET13, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -791,7 +791,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -800,9 +800,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET14)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET14)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET14, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -856,7 +856,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -865,9 +865,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET15)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET15)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET15, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -924,7 +924,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -933,9 +933,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET16)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET16)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET16, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -986,7 +986,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -995,9 +995,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET17)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET17)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET17, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -1051,7 +1051,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -1060,9 +1060,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET18)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET18)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET18, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -1119,7 +1119,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -1128,9 +1128,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET19)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET19)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET19, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -1189,7 +1189,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -1198,9 +1198,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET20)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET20)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET20, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -1262,7 +1262,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -1271,9 +1271,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET21)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET21)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET21, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -1319,7 +1319,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -1328,9 +1328,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET22)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET22)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET22, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -1387,7 +1387,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -1396,9 +1396,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET23)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET23)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET23, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -1444,7 +1444,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration()
|
||||
reportAllErrorTokens(extension)
|
||||
listener: endCompilationUnit(23, )
|
||||
|
|
|
@ -9,7 +9,7 @@ beginCompilationUnit(extension)
|
|||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType1)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType1)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -26,13 +26,13 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType2)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType2)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -55,7 +55,7 @@ beginCompilationUnit(extension)
|
|||
handleImplements(implements, 2)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -71,7 +71,7 @@ beginCompilationUnit(extension)
|
|||
handleType(num, null)
|
||||
endTypeVariable(>, 0, extends, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType3)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType3)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(T)
|
||||
|
@ -88,13 +88,13 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType4)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType4)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -441,13 +441,13 @@ beginCompilationUnit(extension)
|
|||
endExtensionTypeMethod(null, static, (, null, ;)
|
||||
endMember()
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 14, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(.)
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType5)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType5)
|
||||
beginPrimaryConstructor(.)
|
||||
handleNewAsIdentifier(new)
|
||||
handleIdentifier(new, primaryConstructorDeclaration)
|
||||
|
@ -466,13 +466,13 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(.)
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType6)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType6)
|
||||
beginPrimaryConstructor(.)
|
||||
handleIdentifier(id, primaryConstructorDeclaration)
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
|
@ -490,7 +490,7 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -506,7 +506,7 @@ beginCompilationUnit(extension)
|
|||
handleType(num, null)
|
||||
endTypeVariable(>, 0, extends, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType7)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType7)
|
||||
beginPrimaryConstructor(.)
|
||||
handleIdentifier(id, primaryConstructorDeclaration)
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
|
@ -524,6 +524,6 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration()
|
||||
endCompilationUnit(7, )
|
||||
|
|
|
@ -9,9 +9,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, , extension, null, null, null, null, DirectiveContext(DirectiveState.Unknown))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType1)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType1)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ExtensionType1, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -36,7 +36,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -45,9 +45,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType2)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType2)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ExtensionType2, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -78,7 +78,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -87,7 +87,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: beginTypeVariables(<)
|
||||
parseMetadataStar(<)
|
||||
listener: beginMetadataStar(T)
|
||||
|
@ -101,7 +101,7 @@ parseUnit(extension)
|
|||
listener: handleType(num, null)
|
||||
listener: endTypeVariable(>, 0, extends, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType3)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType3)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(>, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -126,7 +126,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -135,9 +135,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType4)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType4)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ExtensionType4, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -821,7 +821,7 @@ parseUnit(extension)
|
|||
listener: endMember()
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 14, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -830,9 +830,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(.)
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType5)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType5)
|
||||
listener: beginPrimaryConstructor(.)
|
||||
ensureIdentifier(., primaryConstructorDeclaration)
|
||||
rewriter()
|
||||
|
@ -861,7 +861,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -870,9 +870,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(.)
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType6)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType6)
|
||||
listener: beginPrimaryConstructor(.)
|
||||
ensureIdentifier(., primaryConstructorDeclaration)
|
||||
listener: handleIdentifier(id, primaryConstructorDeclaration)
|
||||
|
@ -899,7 +899,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -908,7 +908,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: beginTypeVariables(<)
|
||||
parseMetadataStar(<)
|
||||
listener: beginMetadataStar(T)
|
||||
|
@ -922,7 +922,7 @@ parseUnit(extension)
|
|||
listener: handleType(num, null)
|
||||
listener: endTypeVariable(>, 0, extends, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType7)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType7)
|
||||
listener: beginPrimaryConstructor(.)
|
||||
ensureIdentifier(., primaryConstructorDeclaration)
|
||||
listener: handleIdentifier(id, primaryConstructorDeclaration)
|
||||
|
@ -949,7 +949,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration()
|
||||
reportAllErrorTokens(extension)
|
||||
listener: endCompilationUnit(7, )
|
||||
|
|
|
@ -9,7 +9,7 @@ beginCompilationUnit(extension)
|
|||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType1)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType1)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -26,13 +26,13 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType2)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType2)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -55,7 +55,7 @@ beginCompilationUnit(extension)
|
|||
handleImplements(implements, 2)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -71,7 +71,7 @@ beginCompilationUnit(extension)
|
|||
handleType(num, null)
|
||||
endTypeVariable(>, 0, extends, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType3)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType3)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(T)
|
||||
|
@ -88,13 +88,13 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType4)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType4)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -441,13 +441,13 @@ beginCompilationUnit(extension)
|
|||
endExtensionTypeMethod(null, static, (, null, ;)
|
||||
endMember()
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 14, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(.)
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType5)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType5)
|
||||
beginPrimaryConstructor(.)
|
||||
handleNewAsIdentifier(new)
|
||||
handleIdentifier(new, primaryConstructorDeclaration)
|
||||
|
@ -466,13 +466,13 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(.)
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType6)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType6)
|
||||
beginPrimaryConstructor(.)
|
||||
handleIdentifier(id, primaryConstructorDeclaration)
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
|
@ -490,7 +490,7 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -506,7 +506,7 @@ beginCompilationUnit(extension)
|
|||
handleType(num, null)
|
||||
endTypeVariable(>, 0, extends, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, ExtensionType7)
|
||||
beginExtensionTypeDeclaration(null, extension, ExtensionType7)
|
||||
beginPrimaryConstructor(.)
|
||||
handleIdentifier(id, primaryConstructorDeclaration)
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
|
@ -524,6 +524,6 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration()
|
||||
endCompilationUnit(7, )
|
||||
|
|
|
@ -9,9 +9,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, , extension, null, null, null, null, DirectiveContext(DirectiveState.Unknown))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType1)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType1)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ExtensionType1, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -36,7 +36,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -45,9 +45,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType2)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType2)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ExtensionType2, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -78,7 +78,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -87,7 +87,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: beginTypeVariables(<)
|
||||
parseMetadataStar(<)
|
||||
listener: beginMetadataStar(T)
|
||||
|
@ -101,7 +101,7 @@ parseUnit(extension)
|
|||
listener: handleType(num, null)
|
||||
listener: endTypeVariable(>, 0, extends, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType3)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType3)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(>, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -126,7 +126,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -135,9 +135,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType4)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType4)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ExtensionType4, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -825,7 +825,7 @@ parseUnit(extension)
|
|||
listener: endMember()
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 14, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -834,9 +834,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(.)
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType5)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType5)
|
||||
listener: beginPrimaryConstructor(.)
|
||||
ensureIdentifier(., primaryConstructorDeclaration)
|
||||
rewriter()
|
||||
|
@ -865,7 +865,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -874,9 +874,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(.)
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType6)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType6)
|
||||
listener: beginPrimaryConstructor(.)
|
||||
ensureIdentifier(., primaryConstructorDeclaration)
|
||||
listener: handleIdentifier(id, primaryConstructorDeclaration)
|
||||
|
@ -903,7 +903,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -912,7 +912,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: beginTypeVariables(<)
|
||||
parseMetadataStar(<)
|
||||
listener: beginMetadataStar(T)
|
||||
|
@ -926,7 +926,7 @@ parseUnit(extension)
|
|||
listener: handleType(num, null)
|
||||
listener: endTypeVariable(>, 0, extends, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, ExtensionType7)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ExtensionType7)
|
||||
listener: beginPrimaryConstructor(.)
|
||||
ensureIdentifier(., primaryConstructorDeclaration)
|
||||
listener: handleIdentifier(id, primaryConstructorDeclaration)
|
||||
|
@ -953,7 +953,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration()
|
||||
reportAllErrorTokens(extension)
|
||||
listener: endCompilationUnit(7, )
|
||||
|
|
|
@ -38,7 +38,7 @@ beginCompilationUnit(extension)
|
|||
beginExtensionDeclarationPrelude(extension)
|
||||
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '('., Try inserting an identifier before '('., {lexeme: (}], (, ()
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, )
|
||||
beginExtensionTypeDeclaration(null, extension, )
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -55,14 +55,14 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '('., Try inserting an identifier before '('., {lexeme: (}], (, ()
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, )
|
||||
beginExtensionTypeDeclaration(null, extension, )
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -79,14 +79,14 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '.'., Try inserting an identifier before '.'., {lexeme: .}], ., .)
|
||||
handleNoTypeVariables(.)
|
||||
beginExtensionTypeDeclaration(extension, )
|
||||
beginExtensionTypeDeclaration(null, extension, )
|
||||
beginPrimaryConstructor(.)
|
||||
handleIdentifier(name, primaryConstructorDeclaration)
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
|
@ -104,14 +104,14 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '.'., Try inserting an identifier before '.'., {lexeme: .}], ., .)
|
||||
handleNoTypeVariables(.)
|
||||
beginExtensionTypeDeclaration(extension, )
|
||||
beginExtensionTypeDeclaration(null, extension, )
|
||||
beginPrimaryConstructor(.)
|
||||
handleIdentifier(name, primaryConstructorDeclaration)
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
|
@ -129,7 +129,7 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -144,7 +144,7 @@ beginCompilationUnit(extension)
|
|||
handleNoType(T)
|
||||
endTypeVariable(>, 0, null, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, )
|
||||
beginExtensionTypeDeclaration(null, extension, )
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -161,7 +161,7 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -176,7 +176,7 @@ beginCompilationUnit(extension)
|
|||
handleNoType(T)
|
||||
endTypeVariable(>, 0, null, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, )
|
||||
beginExtensionTypeDeclaration(null, extension, )
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -193,7 +193,7 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -208,7 +208,7 @@ beginCompilationUnit(extension)
|
|||
handleNoType(T)
|
||||
endTypeVariable(>, 0, null, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, )
|
||||
beginExtensionTypeDeclaration(null, extension, )
|
||||
beginPrimaryConstructor(.)
|
||||
handleIdentifier(name, primaryConstructorDeclaration)
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
|
@ -226,7 +226,7 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -241,7 +241,7 @@ beginCompilationUnit(extension)
|
|||
handleNoType(T)
|
||||
endTypeVariable(>, 0, null, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, )
|
||||
beginExtensionTypeDeclaration(null, extension, )
|
||||
beginPrimaryConstructor(.)
|
||||
handleIdentifier(name, primaryConstructorDeclaration)
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
|
@ -259,6 +259,6 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration()
|
||||
endCompilationUnit(8, )
|
||||
|
|
|
@ -9,13 +9,13 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, , extension, null, null, null, null, DirectiveContext(DirectiveState.Unknown))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
insertSyntheticIdentifier(type, classOrMixinDeclaration, message: Message[ExpectedIdentifier, Expected an identifier, but got '('., Try inserting an identifier before '('., {lexeme: (}], messageOnToken: null)
|
||||
reportRecoverableError((, Message[ExpectedIdentifier, Expected an identifier, but got '('., Try inserting an identifier before '('., {lexeme: (}])
|
||||
listener: handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '('., Try inserting an identifier before '('., {lexeme: (}], (, ()
|
||||
rewriter()
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, )
|
||||
listener: beginExtensionTypeDeclaration(null, extension, )
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -40,7 +40,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -49,13 +49,13 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
insertSyntheticIdentifier(const, classOrMixinDeclaration, message: Message[ExpectedIdentifier, Expected an identifier, but got '('., Try inserting an identifier before '('., {lexeme: (}], messageOnToken: null)
|
||||
reportRecoverableError((, Message[ExpectedIdentifier, Expected an identifier, but got '('., Try inserting an identifier before '('., {lexeme: (}])
|
||||
listener: handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '('., Try inserting an identifier before '('., {lexeme: (}], (, ()
|
||||
rewriter()
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, )
|
||||
listener: beginExtensionTypeDeclaration(null, extension, )
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -80,7 +80,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -89,13 +89,13 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
insertSyntheticIdentifier(type, classOrMixinDeclaration, message: Message[ExpectedIdentifier, Expected an identifier, but got '.'., Try inserting an identifier before '.'., {lexeme: .}], messageOnToken: null)
|
||||
reportRecoverableError(., Message[ExpectedIdentifier, Expected an identifier, but got '.'., Try inserting an identifier before '.'., {lexeme: .}])
|
||||
listener: handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '.'., Try inserting an identifier before '.'., {lexeme: .}], ., .)
|
||||
rewriter()
|
||||
listener: handleNoTypeVariables(.)
|
||||
listener: beginExtensionTypeDeclaration(extension, )
|
||||
listener: beginExtensionTypeDeclaration(null, extension, )
|
||||
listener: beginPrimaryConstructor(.)
|
||||
ensureIdentifier(., primaryConstructorDeclaration)
|
||||
listener: handleIdentifier(name, primaryConstructorDeclaration)
|
||||
|
@ -122,7 +122,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -131,13 +131,13 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
insertSyntheticIdentifier(const, classOrMixinDeclaration, message: Message[ExpectedIdentifier, Expected an identifier, but got '.'., Try inserting an identifier before '.'., {lexeme: .}], messageOnToken: null)
|
||||
reportRecoverableError(., Message[ExpectedIdentifier, Expected an identifier, but got '.'., Try inserting an identifier before '.'., {lexeme: .}])
|
||||
listener: handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '.'., Try inserting an identifier before '.'., {lexeme: .}], ., .)
|
||||
rewriter()
|
||||
listener: handleNoTypeVariables(.)
|
||||
listener: beginExtensionTypeDeclaration(extension, )
|
||||
listener: beginExtensionTypeDeclaration(null, extension, )
|
||||
listener: beginPrimaryConstructor(.)
|
||||
ensureIdentifier(., primaryConstructorDeclaration)
|
||||
listener: handleIdentifier(name, primaryConstructorDeclaration)
|
||||
|
@ -164,7 +164,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -173,7 +173,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
insertSyntheticIdentifier(type, classOrMixinDeclaration, message: Message[ExpectedIdentifier, Expected an identifier, but got '<'., Try inserting an identifier before '<'., {lexeme: <}], messageOnToken: null)
|
||||
reportRecoverableError(<, Message[ExpectedIdentifier, Expected an identifier, but got '<'., Try inserting an identifier before '<'., {lexeme: <}])
|
||||
listener: handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '<'., Try inserting an identifier before '<'., {lexeme: <}], <, <)
|
||||
|
@ -187,7 +187,7 @@ parseUnit(extension)
|
|||
listener: handleNoType(T)
|
||||
listener: endTypeVariable(>, 0, null, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, )
|
||||
listener: beginExtensionTypeDeclaration(null, extension, )
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(>, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -212,7 +212,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -221,7 +221,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
insertSyntheticIdentifier(const, classOrMixinDeclaration, message: Message[ExpectedIdentifier, Expected an identifier, but got '<'., Try inserting an identifier before '<'., {lexeme: <}], messageOnToken: null)
|
||||
reportRecoverableError(<, Message[ExpectedIdentifier, Expected an identifier, but got '<'., Try inserting an identifier before '<'., {lexeme: <}])
|
||||
listener: handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '<'., Try inserting an identifier before '<'., {lexeme: <}], <, <)
|
||||
|
@ -235,7 +235,7 @@ parseUnit(extension)
|
|||
listener: handleNoType(T)
|
||||
listener: endTypeVariable(>, 0, null, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, )
|
||||
listener: beginExtensionTypeDeclaration(null, extension, )
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(>, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -260,7 +260,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -269,7 +269,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
insertSyntheticIdentifier(type, classOrMixinDeclaration, message: Message[ExpectedIdentifier, Expected an identifier, but got '<'., Try inserting an identifier before '<'., {lexeme: <}], messageOnToken: null)
|
||||
reportRecoverableError(<, Message[ExpectedIdentifier, Expected an identifier, but got '<'., Try inserting an identifier before '<'., {lexeme: <}])
|
||||
listener: handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '<'., Try inserting an identifier before '<'., {lexeme: <}], <, <)
|
||||
|
@ -283,7 +283,7 @@ parseUnit(extension)
|
|||
listener: handleNoType(T)
|
||||
listener: endTypeVariable(>, 0, null, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, )
|
||||
listener: beginExtensionTypeDeclaration(null, extension, )
|
||||
listener: beginPrimaryConstructor(.)
|
||||
ensureIdentifier(., primaryConstructorDeclaration)
|
||||
listener: handleIdentifier(name, primaryConstructorDeclaration)
|
||||
|
@ -310,7 +310,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -319,7 +319,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
insertSyntheticIdentifier(const, classOrMixinDeclaration, message: Message[ExpectedIdentifier, Expected an identifier, but got '<'., Try inserting an identifier before '<'., {lexeme: <}], messageOnToken: null)
|
||||
reportRecoverableError(<, Message[ExpectedIdentifier, Expected an identifier, but got '<'., Try inserting an identifier before '<'., {lexeme: <}])
|
||||
listener: handleRecoverableError(Message[ExpectedIdentifier, Expected an identifier, but got '<'., Try inserting an identifier before '<'., {lexeme: <}], <, <)
|
||||
|
@ -333,7 +333,7 @@ parseUnit(extension)
|
|||
listener: handleNoType(T)
|
||||
listener: endTypeVariable(>, 0, null, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, )
|
||||
listener: beginExtensionTypeDeclaration(null, extension, )
|
||||
listener: beginPrimaryConstructor(.)
|
||||
ensureIdentifier(., primaryConstructorDeclaration)
|
||||
listener: handleIdentifier(name, primaryConstructorDeclaration)
|
||||
|
@ -360,7 +360,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration()
|
||||
reportAllErrorTokens(extension)
|
||||
listener: endCompilationUnit(8, )
|
||||
|
|
|
@ -3,7 +3,7 @@ beginCompilationUnit(extension)
|
|||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, on)
|
||||
beginExtensionTypeDeclaration(null, extension, on)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -20,13 +20,13 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, on)
|
||||
beginExtensionTypeDeclaration(null, extension, on)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -43,13 +43,13 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, on)
|
||||
beginExtensionTypeDeclaration(null, extension, on)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -75,13 +75,13 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, on)
|
||||
beginExtensionTypeDeclaration(null, extension, on)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(i)
|
||||
|
@ -103,6 +103,6 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration()
|
||||
endCompilationUnit(4, )
|
||||
|
|
|
@ -9,9 +9,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, , extension, null, null, null, null, DirectiveContext(DirectiveState.Unknown))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, on)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, on)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(on, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -36,7 +36,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -45,9 +45,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, on)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, on)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(on, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -72,7 +72,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -81,9 +81,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, on)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, on)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(on, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -120,7 +120,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -129,9 +129,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, on)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, on)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(on, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -164,7 +164,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration()
|
||||
reportAllErrorTokens(extension)
|
||||
listener: endCompilationUnit(4, )
|
||||
|
|
|
@ -122,7 +122,7 @@ beginCompilationUnit(class)
|
|||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET1)
|
||||
beginExtensionTypeDeclaration(null, extension, ET1)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -145,7 +145,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(ExpectedExtensionTypeBody, ), ))
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(;)
|
||||
beginMetadataStar(;)
|
||||
endMetadataStar(0)
|
||||
|
@ -157,7 +157,7 @@ beginCompilationUnit(class)
|
|||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET2)
|
||||
beginExtensionTypeDeclaration(null, extension, ET2)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -183,7 +183,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(ExpectedExtensionTypeBody, Foo, Foo)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(;)
|
||||
beginMetadataStar(;)
|
||||
endMetadataStar(0)
|
||||
|
@ -195,7 +195,7 @@ beginCompilationUnit(class)
|
|||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(()
|
||||
beginExtensionTypeDeclaration(extension, ET3)
|
||||
beginExtensionTypeDeclaration(null, extension, ET3)
|
||||
beginPrimaryConstructor(()
|
||||
beginFormalParameters((, MemberKind.PrimaryConstructor)
|
||||
beginMetadataStar(int)
|
||||
|
@ -224,7 +224,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(ExpectedExtensionTypeBody, Bar, Bar)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(;)
|
||||
beginMetadataStar(;)
|
||||
endMetadataStar(0)
|
||||
|
|
|
@ -151,9 +151,9 @@ parseUnit(class)
|
|||
parseTopLevelKeywordDeclaration(extension, ;, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET1)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET1)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET1, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -196,7 +196,7 @@ parseUnit(class)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(;)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -215,9 +215,9 @@ parseUnit(class)
|
|||
parseTopLevelKeywordDeclaration(extension, ;, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET2)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET2)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET2, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -263,7 +263,7 @@ parseUnit(class)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(;)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -282,9 +282,9 @@ parseUnit(class)
|
|||
parseTopLevelKeywordDeclaration(extension, ;, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(()
|
||||
listener: beginExtensionTypeDeclaration(extension, ET3)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET3)
|
||||
listener: beginPrimaryConstructor(()
|
||||
parseFormalParameters(ET3, MemberKind.PrimaryConstructor)
|
||||
parseFormalParametersRest((, MemberKind.PrimaryConstructor)
|
||||
|
@ -333,7 +333,7 @@ parseUnit(class)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(;)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
|
|
@ -41,19 +41,19 @@ beginCompilationUnit(extension)
|
|||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables({)
|
||||
beginExtensionTypeDeclaration(extension, ET1)
|
||||
beginExtensionTypeDeclaration(null, extension, ET1)
|
||||
handleRecoverableError(MissingPrimaryConstructor, ET1, ET1)
|
||||
handleNoPrimaryConstructor(ET1, null)
|
||||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(implements)
|
||||
beginExtensionTypeDeclaration(extension, ET2)
|
||||
beginExtensionTypeDeclaration(null, extension, ET2)
|
||||
handleRecoverableError(MissingPrimaryConstructor, ET2, ET2)
|
||||
handleNoPrimaryConstructor(ET2, null)
|
||||
handleIdentifier(Foo, typeReference)
|
||||
|
@ -62,13 +62,13 @@ beginCompilationUnit(extension)
|
|||
handleImplements(implements, 1)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
beginExtensionDeclarationPrelude(extension)
|
||||
handleNoTypeVariables(implements)
|
||||
beginExtensionTypeDeclaration(extension, ET3)
|
||||
beginExtensionTypeDeclaration(null, extension, ET3)
|
||||
handleRecoverableError(MissingPrimaryConstructor, ET3, ET3)
|
||||
handleNoPrimaryConstructor(ET3, null)
|
||||
handleIdentifier(Foo, typeReference)
|
||||
|
@ -80,7 +80,7 @@ beginCompilationUnit(extension)
|
|||
handleImplements(implements, 2)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -94,13 +94,13 @@ beginCompilationUnit(extension)
|
|||
handleNoType(T)
|
||||
endTypeVariable(>, 0, null, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, ET4)
|
||||
beginExtensionTypeDeclaration(null, extension, ET4)
|
||||
handleRecoverableError(MissingPrimaryConstructor, >, >)
|
||||
handleNoPrimaryConstructor(>, null)
|
||||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -114,7 +114,7 @@ beginCompilationUnit(extension)
|
|||
handleNoType(T)
|
||||
endTypeVariable(>, 0, null, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, ET5)
|
||||
beginExtensionTypeDeclaration(null, extension, ET5)
|
||||
handleRecoverableError(MissingPrimaryConstructor, >, >)
|
||||
handleNoPrimaryConstructor(>, null)
|
||||
handleIdentifier(Foo, typeReference)
|
||||
|
@ -123,7 +123,7 @@ beginCompilationUnit(extension)
|
|||
handleImplements(implements, 1)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -137,7 +137,7 @@ beginCompilationUnit(extension)
|
|||
handleNoType(T)
|
||||
endTypeVariable(>, 0, null, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, ET6)
|
||||
beginExtensionTypeDeclaration(null, extension, ET6)
|
||||
handleRecoverableError(MissingPrimaryConstructor, >, >)
|
||||
handleNoPrimaryConstructor(>, null)
|
||||
handleIdentifier(Foo, typeReference)
|
||||
|
@ -149,7 +149,7 @@ beginCompilationUnit(extension)
|
|||
handleImplements(implements, 2)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -163,7 +163,7 @@ beginCompilationUnit(extension)
|
|||
handleNoType(T)
|
||||
endTypeVariable(>, 0, null, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, ET7)
|
||||
beginExtensionTypeDeclaration(null, extension, ET7)
|
||||
beginPrimaryConstructor(.)
|
||||
handleIdentifier(name, primaryConstructorDeclaration)
|
||||
handleRecoverableError(MissingPrimaryConstructorParameters, name, name)
|
||||
|
@ -172,7 +172,7 @@ beginCompilationUnit(extension)
|
|||
handleImplements(null, 0)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -186,7 +186,7 @@ beginCompilationUnit(extension)
|
|||
handleNoType(T)
|
||||
endTypeVariable(>, 0, null, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, ET8)
|
||||
beginExtensionTypeDeclaration(null, extension, ET8)
|
||||
beginPrimaryConstructor(.)
|
||||
handleIdentifier(name, primaryConstructorDeclaration)
|
||||
handleRecoverableError(MissingPrimaryConstructorParameters, name, name)
|
||||
|
@ -198,7 +198,7 @@ beginCompilationUnit(extension)
|
|||
handleImplements(implements, 1)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration(extension)
|
||||
beginMetadataStar(extension)
|
||||
endMetadataStar(0)
|
||||
|
@ -212,7 +212,7 @@ beginCompilationUnit(extension)
|
|||
handleNoType(T)
|
||||
endTypeVariable(>, 0, null, null)
|
||||
endTypeVariables(<, >)
|
||||
beginExtensionTypeDeclaration(extension, ET9)
|
||||
beginExtensionTypeDeclaration(null, extension, ET9)
|
||||
beginPrimaryConstructor(.)
|
||||
handleIdentifier(name, primaryConstructorDeclaration)
|
||||
handleRecoverableError(MissingPrimaryConstructorParameters, name, name)
|
||||
|
@ -227,6 +227,6 @@ beginCompilationUnit(extension)
|
|||
handleImplements(implements, 2)
|
||||
beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
endExtensionTypeDeclaration(extension, extension, type, })
|
||||
endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
endTopLevelDeclaration()
|
||||
endCompilationUnit(9, )
|
||||
|
|
|
@ -9,9 +9,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, , extension, null, null, null, null, DirectiveContext(DirectiveState.Unknown))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginExtensionTypeDeclaration(extension, ET1)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET1)
|
||||
reportRecoverableError(ET1, MissingPrimaryConstructor)
|
||||
listener: handleRecoverableError(MissingPrimaryConstructor, ET1, ET1)
|
||||
listener: handleNoPrimaryConstructor(ET1, null)
|
||||
|
@ -21,7 +21,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -30,9 +30,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(implements)
|
||||
listener: beginExtensionTypeDeclaration(extension, ET2)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET2)
|
||||
reportRecoverableError(ET2, MissingPrimaryConstructor)
|
||||
listener: handleRecoverableError(MissingPrimaryConstructor, ET2, ET2)
|
||||
listener: handleNoPrimaryConstructor(ET2, null)
|
||||
|
@ -45,7 +45,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -54,9 +54,9 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: handleNoTypeVariables(implements)
|
||||
listener: beginExtensionTypeDeclaration(extension, ET3)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET3)
|
||||
reportRecoverableError(ET3, MissingPrimaryConstructor)
|
||||
listener: handleRecoverableError(MissingPrimaryConstructor, ET3, ET3)
|
||||
listener: handleNoPrimaryConstructor(ET3, null)
|
||||
|
@ -72,7 +72,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -81,7 +81,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: beginTypeVariables(<)
|
||||
listener: beginMetadataStar(T)
|
||||
listener: endMetadataStar(0)
|
||||
|
@ -91,7 +91,7 @@ parseUnit(extension)
|
|||
listener: handleNoType(T)
|
||||
listener: endTypeVariable(>, 0, null, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, ET4)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET4)
|
||||
reportRecoverableError(>, MissingPrimaryConstructor)
|
||||
listener: handleRecoverableError(MissingPrimaryConstructor, >, >)
|
||||
listener: handleNoPrimaryConstructor(>, null)
|
||||
|
@ -101,7 +101,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -110,7 +110,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: beginTypeVariables(<)
|
||||
listener: beginMetadataStar(T)
|
||||
listener: endMetadataStar(0)
|
||||
|
@ -120,7 +120,7 @@ parseUnit(extension)
|
|||
listener: handleNoType(T)
|
||||
listener: endTypeVariable(>, 0, null, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, ET5)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET5)
|
||||
reportRecoverableError(>, MissingPrimaryConstructor)
|
||||
listener: handleRecoverableError(MissingPrimaryConstructor, >, >)
|
||||
listener: handleNoPrimaryConstructor(>, null)
|
||||
|
@ -133,7 +133,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -142,7 +142,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: beginTypeVariables(<)
|
||||
listener: beginMetadataStar(T)
|
||||
listener: endMetadataStar(0)
|
||||
|
@ -152,7 +152,7 @@ parseUnit(extension)
|
|||
listener: handleNoType(T)
|
||||
listener: endTypeVariable(>, 0, null, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, ET6)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET6)
|
||||
reportRecoverableError(>, MissingPrimaryConstructor)
|
||||
listener: handleRecoverableError(MissingPrimaryConstructor, >, >)
|
||||
listener: handleNoPrimaryConstructor(>, null)
|
||||
|
@ -168,7 +168,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -177,7 +177,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: beginTypeVariables(<)
|
||||
listener: beginMetadataStar(T)
|
||||
listener: endMetadataStar(0)
|
||||
|
@ -187,7 +187,7 @@ parseUnit(extension)
|
|||
listener: handleNoType(T)
|
||||
listener: endTypeVariable(>, 0, null, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, ET7)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET7)
|
||||
listener: beginPrimaryConstructor(.)
|
||||
ensureIdentifier(., primaryConstructorDeclaration)
|
||||
listener: handleIdentifier(name, primaryConstructorDeclaration)
|
||||
|
@ -201,7 +201,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -210,7 +210,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: beginTypeVariables(<)
|
||||
listener: beginMetadataStar(T)
|
||||
listener: endMetadataStar(0)
|
||||
|
@ -220,7 +220,7 @@ parseUnit(extension)
|
|||
listener: handleNoType(T)
|
||||
listener: endTypeVariable(>, 0, null, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, ET8)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET8)
|
||||
listener: beginPrimaryConstructor(.)
|
||||
ensureIdentifier(., primaryConstructorDeclaration)
|
||||
listener: handleIdentifier(name, primaryConstructorDeclaration)
|
||||
|
@ -237,7 +237,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration(extension)
|
||||
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations))
|
||||
parseMetadataStar(})
|
||||
|
@ -246,7 +246,7 @@ parseUnit(extension)
|
|||
parseTopLevelKeywordDeclaration(extension, }, extension, null, null, null, null, DirectiveContext(DirectiveState.Declarations))
|
||||
parseExtension(extension, null, extension)
|
||||
listener: beginExtensionDeclarationPrelude(extension)
|
||||
parseExtensionTypeDeclaration(extension, type, extension, type)
|
||||
parseExtensionTypeDeclaration(extension, type, null, extension, type)
|
||||
listener: beginTypeVariables(<)
|
||||
listener: beginMetadataStar(T)
|
||||
listener: endMetadataStar(0)
|
||||
|
@ -256,7 +256,7 @@ parseUnit(extension)
|
|||
listener: handleNoType(T)
|
||||
listener: endTypeVariable(>, 0, null, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginExtensionTypeDeclaration(extension, ET9)
|
||||
listener: beginExtensionTypeDeclaration(null, extension, ET9)
|
||||
listener: beginPrimaryConstructor(.)
|
||||
ensureIdentifier(., primaryConstructorDeclaration)
|
||||
listener: handleIdentifier(name, primaryConstructorDeclaration)
|
||||
|
@ -276,7 +276,7 @@ parseUnit(extension)
|
|||
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, {)
|
||||
notEofOrValue(}, })
|
||||
listener: endClassOrMixinOrExtensionBody(DeclarationKind.ExtensionType, 0, {, })
|
||||
listener: endExtensionTypeDeclaration(extension, extension, type, })
|
||||
listener: endExtensionTypeDeclaration(extension, null, extension, type, })
|
||||
listener: endTopLevelDeclaration()
|
||||
reportAllErrorTokens(extension)
|
||||
listener: endCompilationUnit(9, )
|
||||
|
|
|
@ -365,23 +365,30 @@ class ParserTestListener implements Listener {
|
|||
}
|
||||
|
||||
@override
|
||||
void beginExtensionTypeDeclaration(Token extensionKeyword, Token name) {
|
||||
void beginExtensionTypeDeclaration(
|
||||
Token? augmentKeyword, Token extensionKeyword, Token name) {
|
||||
seen(augmentKeyword);
|
||||
seen(extensionKeyword);
|
||||
seen(name);
|
||||
doPrint('beginExtensionTypeDeclaration(' '$extensionKeyword, ' '$name)');
|
||||
doPrint('beginExtensionTypeDeclaration('
|
||||
'$augmentKeyword, '
|
||||
'$extensionKeyword, '
|
||||
'$name)');
|
||||
indent++;
|
||||
}
|
||||
|
||||
@override
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token extensionKeyword,
|
||||
Token typeKeyword, Token endToken) {
|
||||
void endExtensionTypeDeclaration(Token beginToken, Token? augmentToken,
|
||||
Token extensionKeyword, Token typeKeyword, Token endToken) {
|
||||
indent--;
|
||||
seen(beginToken);
|
||||
seen(augmentToken);
|
||||
seen(extensionKeyword);
|
||||
seen(typeKeyword);
|
||||
seen(endToken);
|
||||
doPrint('endExtensionTypeDeclaration('
|
||||
'$beginToken, '
|
||||
'$augmentToken, '
|
||||
'$extensionKeyword, '
|
||||
'$typeKeyword, '
|
||||
'$endToken)');
|
||||
|
|
|
@ -890,15 +890,16 @@ class TestParser extends Parser {
|
|||
|
||||
@override
|
||||
Token parseExtensionTypeDeclaration(Token beginToken, Token token,
|
||||
Token extensionKeyword, Token typeKeyword) {
|
||||
Token? augmentToken, Token extensionKeyword, Token typeKeyword) {
|
||||
doPrint('parseExtensionTypeDeclaration('
|
||||
'$beginToken, '
|
||||
'$token, '
|
||||
'$augmentToken, '
|
||||
'$extensionKeyword, '
|
||||
'$typeKeyword)');
|
||||
indent++;
|
||||
var result = super.parseExtensionTypeDeclaration(
|
||||
beginToken, token, extensionKeyword, typeKeyword);
|
||||
beginToken, token, augmentToken, extensionKeyword, typeKeyword);
|
||||
indent--;
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue