mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
[analyzer/cfe] Parse 'mixin class' behind sealed flag.
Allow 'mixin class' modifier which allows a class to be used as a mixin. https://github.com/dart-lang/language/blob/master/working/base-interface-final/feature-specification.md Change-Id: I6b4dac75f2ff09b7ef833c5e015b1baf7fa3883b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275144 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Kallen Tu <kallentu@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
This commit is contained in:
parent
9b294b846b
commit
120bfdc076
|
@ -74,9 +74,10 @@ class ForwardingListener implements Listener {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {
|
||||
listener?.beginClassDeclaration(begin, abstractToken, macroToken,
|
||||
inlineToken, sealedToken, augmentToken, name);
|
||||
inlineToken, sealedToken, augmentToken, mixinToken, name);
|
||||
}
|
||||
|
||||
@override
|
||||
|
@ -404,9 +405,10 @@ class ForwardingListener implements Listener {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {
|
||||
listener?.beginNamedMixinApplication(begin, abstractToken, macroToken,
|
||||
inlineToken, sealedToken, augmentToken, name);
|
||||
inlineToken, sealedToken, augmentToken, mixinToken, name);
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
|
@ -140,6 +140,7 @@ class Listener implements UnescapeErrorListener {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {}
|
||||
|
||||
/// Handle an extends clause in a class declaration. Substructures:
|
||||
|
@ -785,6 +786,7 @@ class Listener implements UnescapeErrorListener {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {}
|
||||
|
||||
/// Handle a named mixin application with clause (e.g. "A with B, C").
|
||||
|
|
|
@ -619,13 +619,8 @@ class Parser {
|
|||
assert(keyword.isTopLevelKeyword);
|
||||
final String? value = keyword.stringValue;
|
||||
if (identical(value, 'class')) {
|
||||
directiveState?.checkDeclaration();
|
||||
ModifierContext context = new ModifierContext(this);
|
||||
context.parseClassModifiers(start, keyword);
|
||||
Token? abstractToken = context.abstractToken;
|
||||
Token? augmentToken = context.augmentToken;
|
||||
return parseClassOrNamedMixinApplication(abstractToken, macroToken,
|
||||
inlineToken, sealedToken, augmentToken, keyword);
|
||||
return _handleModifiersForClassDeclaration(start, keyword, macroToken,
|
||||
inlineToken, sealedToken, null, directiveState);
|
||||
} else if (identical(value, 'enum')) {
|
||||
directiveState?.checkDeclaration();
|
||||
ModifierContext context = new ModifierContext(this);
|
||||
|
@ -683,6 +678,10 @@ class Parser {
|
|||
directiveState?.checkDeclaration();
|
||||
return parseTypedef(keyword);
|
||||
} else if (identical(value, 'mixin')) {
|
||||
if (identical(nextValue, 'class')) {
|
||||
return _handleModifiersForClassDeclaration(start, keyword.next!,
|
||||
macroToken, inlineToken, sealedToken, keyword, directiveState);
|
||||
}
|
||||
context.parseMixinModifiers(start, keyword);
|
||||
directiveState?.checkDeclaration();
|
||||
return parseMixin(context.augmentToken, sealedToken, keyword);
|
||||
|
@ -710,6 +709,27 @@ class Parser {
|
|||
throw "Internal error: Unhandled top level keyword '$value'.";
|
||||
}
|
||||
|
||||
Token _handleModifiersForClassDeclaration(
|
||||
Token start,
|
||||
Token classKeyword,
|
||||
Token? macroToken,
|
||||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? mixinToken,
|
||||
DirectiveContext? directiveState) {
|
||||
directiveState?.checkDeclaration();
|
||||
ModifierContext context = new ModifierContext(this);
|
||||
if (mixinToken != null) {
|
||||
context.parseClassModifiers(start, mixinToken);
|
||||
} else {
|
||||
context.parseClassModifiers(start, classKeyword);
|
||||
}
|
||||
Token? abstractToken = context.abstractToken;
|
||||
Token? augmentToken = context.augmentToken;
|
||||
return parseClassOrNamedMixinApplication(abstractToken, macroToken,
|
||||
inlineToken, sealedToken, augmentToken, mixinToken, classKeyword);
|
||||
}
|
||||
|
||||
bool _isIdentifierOrQuestionIdentifier(Token token) {
|
||||
if (token.isIdentifier) return true;
|
||||
if (optional("?", token)) {
|
||||
|
@ -2467,6 +2487,7 @@ class Parser {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token classKeyword) {
|
||||
assert(optional('class', classKeyword));
|
||||
Token begin = abstractToken ?? classKeyword;
|
||||
|
@ -2481,11 +2502,11 @@ class Parser {
|
|||
}
|
||||
if (optional('=', token.next!)) {
|
||||
listener.beginNamedMixinApplication(begin, abstractToken, macroToken,
|
||||
inlineToken, sealedToken, augmentToken, name);
|
||||
inlineToken, sealedToken, augmentToken, mixinToken, name);
|
||||
return parseNamedMixinApplication(token, begin, classKeyword);
|
||||
} else {
|
||||
listener.beginClassDeclaration(begin, abstractToken, macroToken,
|
||||
inlineToken, sealedToken, augmentToken, name);
|
||||
inlineToken, sealedToken, augmentToken, mixinToken, name);
|
||||
return parseClass(token, begin, classKeyword, name.lexeme);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1913,6 +1913,9 @@ class ClassDeclarationImpl extends NamedCompilationUnitMemberImpl
|
|||
/// The 'augment' keyword, or `null` if the keyword was absent.
|
||||
final Token? augmentKeyword;
|
||||
|
||||
/// The 'mixin' keyword, or `null` if the keyword was absent.
|
||||
final Token? mixinKeyword;
|
||||
|
||||
/// The token representing the 'class' keyword.
|
||||
@override
|
||||
final Token classKeyword;
|
||||
|
@ -1967,6 +1970,7 @@ class ClassDeclarationImpl extends NamedCompilationUnitMemberImpl
|
|||
required this.inlineKeyword,
|
||||
required this.sealedKeyword,
|
||||
required this.augmentKeyword,
|
||||
required this.mixinKeyword,
|
||||
required this.classKeyword,
|
||||
required super.name,
|
||||
required TypeParameterListImpl? typeParameters,
|
||||
|
@ -2011,6 +2015,7 @@ class ClassDeclarationImpl extends NamedCompilationUnitMemberImpl
|
|||
inlineKeyword ??
|
||||
sealedKeyword ??
|
||||
augmentKeyword ??
|
||||
mixinKeyword ??
|
||||
classKeyword;
|
||||
}
|
||||
|
||||
|
@ -2052,6 +2057,7 @@ class ClassDeclarationImpl extends NamedCompilationUnitMemberImpl
|
|||
..addToken('inlineKeyword', inlineKeyword)
|
||||
..addToken('sealedKeyword', sealedKeyword)
|
||||
..addToken('augmentKeyword', augmentKeyword)
|
||||
..addToken('mixinKeyword', mixinKeyword)
|
||||
..addToken('classKeyword', classKeyword)
|
||||
..addToken('name', name)
|
||||
..addNode('typeParameters', typeParameters)
|
||||
|
@ -2127,6 +2133,10 @@ class ClassTypeAliasImpl extends TypeAliasImpl implements ClassTypeAlias {
|
|||
/// augmentation class.
|
||||
final Token? augmentKeyword;
|
||||
|
||||
/// The token for the 'mixin' keyword, or `null` if this is not defining a
|
||||
/// mixin class.
|
||||
final Token? mixinKeyword;
|
||||
|
||||
/// The name of the superclass of the class being declared.
|
||||
NamedTypeImpl _superclass;
|
||||
|
||||
|
@ -2158,6 +2168,7 @@ class ClassTypeAliasImpl extends TypeAliasImpl implements ClassTypeAlias {
|
|||
required this.inlineKeyword,
|
||||
required this.sealedKeyword,
|
||||
required this.augmentKeyword,
|
||||
required this.mixinKeyword,
|
||||
required NamedTypeImpl superclass,
|
||||
required WithClauseImpl withClause,
|
||||
required ImplementsClauseImpl? implementsClause,
|
||||
|
@ -2183,6 +2194,7 @@ class ClassTypeAliasImpl extends TypeAliasImpl implements ClassTypeAlias {
|
|||
inlineKeyword ??
|
||||
sealedKeyword ??
|
||||
augmentKeyword ??
|
||||
mixinKeyword ??
|
||||
typedefKeyword;
|
||||
}
|
||||
|
||||
|
@ -2225,6 +2237,7 @@ class ClassTypeAliasImpl extends TypeAliasImpl implements ClassTypeAlias {
|
|||
..addToken('macroKeyword', macroKeyword)
|
||||
..addToken('sealedKeyword', sealedKeyword)
|
||||
..addToken('augmentKeyword', augmentKeyword)
|
||||
..addToken('mixinKeyword', mixinKeyword)
|
||||
..addNode('superclass', superclass)
|
||||
..addNode('withClause', withClause)
|
||||
..addNode('implementsClause', implementsClause)
|
||||
|
|
|
@ -223,6 +223,7 @@ class AstBuilder extends StackListener {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {
|
||||
assert(_classLikeBuilder == null);
|
||||
push(_Modifiers()..abstractKeyword = abstractToken);
|
||||
|
@ -255,11 +256,20 @@ class AstBuilder extends StackListener {
|
|||
// Pretend that 'sealed' didn't occur while this feature is incomplete.
|
||||
sealedToken = null;
|
||||
}
|
||||
if (mixinToken != null) {
|
||||
_reportFeatureNotEnabled(
|
||||
feature: ExperimentalFeatures.sealed_class,
|
||||
startToken: mixinToken,
|
||||
);
|
||||
// Pretend that 'mixin' didn't occur while this feature is incomplete.
|
||||
mixinToken = null;
|
||||
}
|
||||
}
|
||||
push(macroToken ?? NullValue.Token);
|
||||
push(inlineToken ?? NullValue.Token);
|
||||
push(sealedToken ?? NullValue.Token);
|
||||
push(augmentToken ?? NullValue.Token);
|
||||
push(mixinToken ?? NullValue.Token);
|
||||
}
|
||||
|
||||
@override
|
||||
|
@ -405,6 +415,7 @@ class AstBuilder extends StackListener {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {
|
||||
push(_Modifiers()..abstractKeyword = abstractToken);
|
||||
if (!enableMacros) {
|
||||
|
@ -436,11 +447,20 @@ class AstBuilder extends StackListener {
|
|||
// Pretend that 'sealed' didn't occur while this feature is incomplete.
|
||||
sealedToken = null;
|
||||
}
|
||||
if (mixinToken != null) {
|
||||
_reportFeatureNotEnabled(
|
||||
feature: ExperimentalFeatures.sealed_class,
|
||||
startToken: mixinToken,
|
||||
);
|
||||
// Pretend that 'mixin' didn't occur while this feature is incomplete.
|
||||
mixinToken = null;
|
||||
}
|
||||
}
|
||||
push(macroToken ?? NullValue.Token);
|
||||
push(inlineToken ?? NullValue.Token);
|
||||
push(sealedToken ?? NullValue.Token);
|
||||
push(augmentToken ?? NullValue.Token);
|
||||
push(mixinToken ?? NullValue.Token);
|
||||
}
|
||||
|
||||
@override
|
||||
|
@ -650,6 +670,7 @@ class AstBuilder extends StackListener {
|
|||
inlineKeyword: null,
|
||||
sealedKeyword: null,
|
||||
augmentKeyword: null,
|
||||
mixinKeyword: null,
|
||||
classKeyword: Token(Keyword.CLASS, 0),
|
||||
name: StringToken(TokenType.STRING, className, -1),
|
||||
typeParameters: null,
|
||||
|
@ -2644,6 +2665,7 @@ class AstBuilder extends StackListener {
|
|||
typeArguments: null,
|
||||
question: null);
|
||||
}
|
||||
var mixinKeyword = pop(NullValue.Token) as Token?;
|
||||
var augmentKeyword = pop(NullValue.Token) as Token?;
|
||||
var sealedKeyword = pop(NullValue.Token) as Token?;
|
||||
var inlineKeyword = pop(NullValue.Token) as Token?;
|
||||
|
@ -2667,6 +2689,7 @@ class AstBuilder extends StackListener {
|
|||
inlineKeyword: inlineKeyword,
|
||||
sealedKeyword: sealedKeyword,
|
||||
augmentKeyword: augmentKeyword,
|
||||
mixinKeyword: mixinKeyword,
|
||||
superclass: superclass,
|
||||
withClause: withClause,
|
||||
implementsClause: implementsClause,
|
||||
|
@ -3627,6 +3650,7 @@ class AstBuilder extends StackListener {
|
|||
pop(NullValue.IdentifierList) as ImplementsClauseImpl?;
|
||||
var withClause = pop(NullValue.WithClause) as WithClauseImpl?;
|
||||
var extendsClause = pop(NullValue.ExtendsClause) as ExtendsClauseImpl?;
|
||||
var mixinKeyword = pop(NullValue.Token) as Token?;
|
||||
var augmentKeyword = pop(NullValue.Token) as Token?;
|
||||
var sealedKeyword = pop(NullValue.Token) as Token?;
|
||||
var inlineKeyword = pop(NullValue.Token) as Token?;
|
||||
|
@ -3647,6 +3671,7 @@ class AstBuilder extends StackListener {
|
|||
inlineKeyword: inlineKeyword,
|
||||
sealedKeyword: sealedKeyword,
|
||||
augmentKeyword: augmentKeyword,
|
||||
mixinKeyword: mixinKeyword,
|
||||
classKeyword: classKeyword,
|
||||
name: name.token,
|
||||
typeParameters: typeParameters,
|
||||
|
@ -5547,6 +5572,7 @@ class _ClassDeclarationBuilder extends _ClassLikeDeclarationBuilder {
|
|||
final Token? inlineKeyword;
|
||||
final Token? sealedKeyword;
|
||||
final Token? augmentKeyword;
|
||||
final Token? mixinKeyword;
|
||||
final Token classKeyword;
|
||||
final Token name;
|
||||
ExtendsClauseImpl? extendsClause;
|
||||
|
@ -5565,6 +5591,7 @@ class _ClassDeclarationBuilder extends _ClassLikeDeclarationBuilder {
|
|||
required this.inlineKeyword,
|
||||
required this.sealedKeyword,
|
||||
required this.augmentKeyword,
|
||||
required this.mixinKeyword,
|
||||
required this.classKeyword,
|
||||
required this.name,
|
||||
required this.extendsClause,
|
||||
|
@ -5582,6 +5609,7 @@ class _ClassDeclarationBuilder extends _ClassLikeDeclarationBuilder {
|
|||
inlineKeyword: inlineKeyword,
|
||||
sealedKeyword: sealedKeyword,
|
||||
augmentKeyword: augmentKeyword,
|
||||
mixinKeyword: mixinKeyword,
|
||||
classKeyword: classKeyword,
|
||||
name: name,
|
||||
typeParameters: typeParameters,
|
||||
|
|
|
@ -93,9 +93,10 @@ class ForwardingTestListener extends ForwardingListener {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {
|
||||
super.beginClassDeclaration(beginToken, abstractToken, macroToken,
|
||||
inlineToken, sealedToken, augmentToken, name);
|
||||
inlineToken, sealedToken, augmentToken, mixinToken, name);
|
||||
begin('ClassDeclaration');
|
||||
}
|
||||
|
||||
|
@ -407,9 +408,10 @@ class ForwardingTestListener extends ForwardingListener {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {
|
||||
super.beginNamedMixinApplication(beginToken, abstractToken, macroToken,
|
||||
inlineToken, sealedToken, augmentToken, name);
|
||||
inlineToken, sealedToken, augmentToken, mixinToken, name);
|
||||
begin('NamedMixinApplication');
|
||||
}
|
||||
|
||||
|
|
|
@ -314,6 +314,23 @@ ClassDeclaration
|
|||
''');
|
||||
}
|
||||
|
||||
void test_class_mixin() {
|
||||
var parseResult = parseStringWithErrors(r'''
|
||||
mixin class A {}
|
||||
''');
|
||||
parseResult.assertNoErrors();
|
||||
|
||||
var node = parseResult.findNode.classDeclaration('class A {}');
|
||||
assertParsedNodeText(node, r'''
|
||||
ClassDeclaration
|
||||
mixinKeyword: mixin
|
||||
classKeyword: class
|
||||
name: A
|
||||
leftBracket: {
|
||||
rightBracket: }
|
||||
''');
|
||||
}
|
||||
|
||||
void test_class_sealed() {
|
||||
var parseResult = parseStringWithErrors(r'''
|
||||
sealed class A {}
|
||||
|
@ -405,6 +422,33 @@ ClassTypeAlias
|
|||
''');
|
||||
}
|
||||
|
||||
void test_classAlias_mixin() {
|
||||
var parseResult = parseStringWithErrors(r'''
|
||||
mixin M {}
|
||||
mixin class A = Object with M;
|
||||
''');
|
||||
parseResult.assertNoErrors();
|
||||
|
||||
var node = parseResult.findNode.classTypeAlias('class A');
|
||||
assertParsedNodeText(node, r'''
|
||||
ClassTypeAlias
|
||||
typedefKeyword: class
|
||||
name: A
|
||||
equals: =
|
||||
mixinKeyword: mixin
|
||||
superclass: NamedType
|
||||
name: SimpleIdentifier
|
||||
token: Object
|
||||
withClause: WithClause
|
||||
withKeyword: with
|
||||
mixinTypes
|
||||
NamedType
|
||||
name: SimpleIdentifier
|
||||
token: M
|
||||
semicolon: ;
|
||||
''');
|
||||
}
|
||||
|
||||
void test_classAlias_notNamedType() {
|
||||
var parseResult = parseStringWithErrors(r'''
|
||||
class C = A Function() with M;
|
||||
|
|
|
@ -23,7 +23,7 @@ class MixinDeclarationTest extends PartialCodeTest {
|
|||
ParserErrorCode.EXPECTED_BODY
|
||||
],
|
||||
'mixin _s_ {}',
|
||||
failing: ['functionNonVoid', 'getter']),
|
||||
failing: ['class', 'functionNonVoid', 'getter']),
|
||||
TestDescriptor('named', 'mixin A', [ParserErrorCode.EXPECTED_BODY],
|
||||
'mixin A {}'),
|
||||
TestDescriptor(
|
||||
|
|
|
@ -495,6 +495,7 @@ class _MacroListener implements Listener {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {
|
||||
_unexpected();
|
||||
}
|
||||
|
@ -819,6 +820,7 @@ class _MacroListener implements Listener {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {
|
||||
_unexpected();
|
||||
}
|
||||
|
|
|
@ -941,6 +941,7 @@ class DietListener extends StackListenerImpl {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {
|
||||
debugEvent("beginClassDeclaration");
|
||||
push(begin);
|
||||
|
|
|
@ -868,6 +868,7 @@ class OutlineBuilder extends StackListenerImpl {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {
|
||||
debugEvent("beginClassDeclaration");
|
||||
popDeclarationContext(
|
||||
|
@ -894,6 +895,12 @@ class OutlineBuilder extends StackListenerImpl {
|
|||
sealedToken = null;
|
||||
}
|
||||
}
|
||||
if (mixinToken != null) {
|
||||
if (reportIfNotEnabled(libraryFeatures.sealedClass, mixinToken.charOffset,
|
||||
mixinToken.length)) {
|
||||
mixinToken = null;
|
||||
}
|
||||
}
|
||||
if (inlineToken != null) {
|
||||
libraryBuilder.currentTypeParameterScopeBuilder
|
||||
.markAsInlineClassDeclaration(
|
||||
|
@ -909,6 +916,7 @@ class OutlineBuilder extends StackListenerImpl {
|
|||
push(inlineToken ?? NullValue.Token);
|
||||
push(sealedToken ?? NullValue.Token);
|
||||
push(augmentToken ?? NullValue.Token);
|
||||
push(mixinToken ?? NullValue.Token);
|
||||
}
|
||||
|
||||
@override
|
||||
|
@ -996,6 +1004,7 @@ class OutlineBuilder extends StackListenerImpl {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {
|
||||
debugEvent("beginNamedMixinApplication");
|
||||
popDeclarationContext(
|
||||
|
@ -1025,10 +1034,17 @@ class OutlineBuilder extends StackListenerImpl {
|
|||
sealedToken = null;
|
||||
}
|
||||
}
|
||||
if (mixinToken != null) {
|
||||
if (reportIfNotEnabled(libraryFeatures.sealedClass, mixinToken.charOffset,
|
||||
mixinToken.length)) {
|
||||
mixinToken = null;
|
||||
}
|
||||
}
|
||||
push(macroToken ?? NullValue.Token);
|
||||
push(inlineToken ?? NullValue.Token);
|
||||
push(sealedToken ?? NullValue.Token);
|
||||
push(augmentToken ?? NullValue.Token);
|
||||
push(mixinToken ?? NullValue.Token);
|
||||
}
|
||||
|
||||
@override
|
||||
|
@ -1181,6 +1197,7 @@ class OutlineBuilder extends StackListenerImpl {
|
|||
ValueKinds.TypeBuilderOrNull,
|
||||
ValueKinds.ParserRecovery,
|
||||
]),
|
||||
/* mixin token */ ValueKinds.TokenOrNull,
|
||||
/* augment token */ ValueKinds.TokenOrNull,
|
||||
/* sealed token */ ValueKinds.TokenOrNull,
|
||||
/* inline token */ ValueKinds.TokenOrNull,
|
||||
|
@ -1199,6 +1216,7 @@ class OutlineBuilder extends StackListenerImpl {
|
|||
as MixinApplicationBuilder?;
|
||||
int supertypeOffset = popCharOffset();
|
||||
TypeBuilder? supertype = nullIfParserRecovery(pop()) as TypeBuilder?;
|
||||
Token? mixinToken = pop(NullValue.Token) as Token?;
|
||||
Token? augmentToken = pop(NullValue.Token) as Token?;
|
||||
Token? sealedToken = pop(NullValue.Token) as Token?;
|
||||
// TODO(johnniwinther): Create builder for inline.
|
||||
|
@ -1299,7 +1317,8 @@ class OutlineBuilder extends StackListenerImpl {
|
|||
supertypeOffset,
|
||||
isMacro: macroToken != null,
|
||||
isSealed: sealedToken != null,
|
||||
isAugmentation: augmentToken != null);
|
||||
isAugmentation: augmentToken != null,
|
||||
isMixinClass: mixinToken != null);
|
||||
}
|
||||
}
|
||||
libraryBuilder.setCurrentClassName(null);
|
||||
|
@ -2153,6 +2172,7 @@ class OutlineBuilder extends StackListenerImpl {
|
|||
ValueKinds.ParserRecovery,
|
||||
ValueKinds.TypeBuilder,
|
||||
]),
|
||||
/* mixin token */ ValueKinds.TokenOrNull,
|
||||
/* augment token */ ValueKinds.TokenOrNull,
|
||||
/* sealed token */ ValueKinds.TokenOrNull,
|
||||
/* inline token */ ValueKinds.TokenOrNull,
|
||||
|
@ -2169,6 +2189,7 @@ class OutlineBuilder extends StackListenerImpl {
|
|||
as List<TypeBuilder>?;
|
||||
Object? mixinApplication = pop();
|
||||
Object? supertype = pop();
|
||||
Token? mixinToken = pop(NullValue.Token) as Token?;
|
||||
Token? augmentToken = pop(NullValue.Token) as Token?;
|
||||
Token? sealedToken = pop(NullValue.Token) as Token?;
|
||||
// TODO(johnniwinther): Report error on 'inline' here; it can't be used on
|
||||
|
@ -2251,7 +2272,8 @@ class OutlineBuilder extends StackListenerImpl {
|
|||
charEndOffset,
|
||||
isMacro: macroToken != null,
|
||||
isSealed: sealedToken != null,
|
||||
isAugmentation: augmentToken != null);
|
||||
isAugmentation: augmentToken != null,
|
||||
isMixinClass: mixinToken != null);
|
||||
}
|
||||
popDeclarationContext(DeclarationContext.NamedMixinApplication);
|
||||
}
|
||||
|
|
|
@ -112,6 +112,9 @@ class SourceClassBuilder extends ClassBuilderImpl
|
|||
@override
|
||||
final bool isAugmentation;
|
||||
|
||||
// TODO(kallentu): Finish AST implementation for mixin classes.
|
||||
final bool isMixinClass;
|
||||
|
||||
@override
|
||||
bool isMixinDeclaration;
|
||||
|
||||
|
@ -154,7 +157,8 @@ class SourceClassBuilder extends ClassBuilderImpl
|
|||
this.isMixinDeclaration = false,
|
||||
this.isMacro = false,
|
||||
this.isSealed = false,
|
||||
this.isAugmentation = false})
|
||||
this.isAugmentation = false,
|
||||
this.isMixinClass = false})
|
||||
: actualCls = initializeClass(cls, typeVariables, name, parent,
|
||||
startCharOffset, nameOffset, charEndOffset, referencesFromIndexed,
|
||||
isAugmentation: isAugmentation),
|
||||
|
|
|
@ -1789,7 +1789,8 @@ class SourceLibraryBuilder extends LibraryBuilderImpl {
|
|||
int supertypeOffset,
|
||||
{required bool isMacro,
|
||||
required bool isSealed,
|
||||
required bool isAugmentation}) {
|
||||
required bool isAugmentation,
|
||||
required bool isMixinClass}) {
|
||||
_addClass(
|
||||
TypeParameterScopeKind.classDeclaration,
|
||||
metadata,
|
||||
|
@ -1805,7 +1806,8 @@ class SourceLibraryBuilder extends LibraryBuilderImpl {
|
|||
supertypeOffset,
|
||||
isMacro: isMacro,
|
||||
isSealed: isSealed,
|
||||
isAugmentation: isAugmentation);
|
||||
isAugmentation: isAugmentation,
|
||||
isMixinClass: isMixinClass);
|
||||
}
|
||||
|
||||
void addMixinDeclaration(
|
||||
|
@ -1847,7 +1849,8 @@ class SourceLibraryBuilder extends LibraryBuilderImpl {
|
|||
supertypeOffset,
|
||||
isMacro: false,
|
||||
isSealed: isSealed,
|
||||
isAugmentation: isAugmentation);
|
||||
isAugmentation: isAugmentation,
|
||||
isMixinClass: false);
|
||||
}
|
||||
|
||||
void _addClass(
|
||||
|
@ -1865,7 +1868,8 @@ class SourceLibraryBuilder extends LibraryBuilderImpl {
|
|||
int supertypeOffset,
|
||||
{required bool isMacro,
|
||||
required bool isSealed,
|
||||
required bool isAugmentation}) {
|
||||
required bool isAugmentation,
|
||||
required bool isMixinClass}) {
|
||||
// Nested declaration began in `OutlineBuilder.beginClassDeclaration`.
|
||||
TypeParameterScopeBuilder declaration =
|
||||
endNestedDeclaration(kind, className)
|
||||
|
@ -1905,7 +1909,8 @@ class SourceLibraryBuilder extends LibraryBuilderImpl {
|
|||
isMacro: false,
|
||||
isSealed: false,
|
||||
// TODO(johnniwinther): How can we support class with mixins?
|
||||
isAugmentation: false),
|
||||
isAugmentation: false,
|
||||
isMixinClass: false),
|
||||
interfaces,
|
||||
// TODO(johnniwinther): Add the `on` clause types of a mixin declaration
|
||||
// here.
|
||||
|
@ -1921,7 +1926,8 @@ class SourceLibraryBuilder extends LibraryBuilderImpl {
|
|||
isMixinDeclaration: isMixinDeclaration,
|
||||
isMacro: isMacro,
|
||||
isSealed: isSealed,
|
||||
isAugmentation: isAugmentation);
|
||||
isAugmentation: isAugmentation,
|
||||
isMixinClass: isMixinClass);
|
||||
|
||||
constructorReferences.clear();
|
||||
Map<String, TypeVariableBuilder>? typeVariablesByName =
|
||||
|
@ -2274,7 +2280,8 @@ class SourceLibraryBuilder extends LibraryBuilderImpl {
|
|||
List<TypeBuilder>? interfaces,
|
||||
required bool isMacro,
|
||||
required bool isSealed,
|
||||
required bool isAugmentation}) {
|
||||
required bool isAugmentation,
|
||||
required bool isMixinClass}) {
|
||||
if (name == null) {
|
||||
// The following parameters should only be used when building a named
|
||||
// mixin application.
|
||||
|
@ -2510,7 +2517,8 @@ class SourceLibraryBuilder extends LibraryBuilderImpl {
|
|||
mixedInTypeBuilder: isMixinDeclaration ? null : mixin,
|
||||
isMacro: isNamedMixinApplication && isMacro,
|
||||
isSealed: isNamedMixinApplication && isSealed,
|
||||
isAugmentation: isNamedMixinApplication && isAugmentation);
|
||||
isAugmentation: isNamedMixinApplication && isAugmentation,
|
||||
isMixinClass: isNamedMixinApplication && isMixinClass);
|
||||
// TODO(ahe, kmillikin): Should always be true?
|
||||
// pkg/analyzer/test/src/summary/resynthesize_kernel_test.dart can't
|
||||
// handle that :(
|
||||
|
@ -2570,7 +2578,8 @@ class SourceLibraryBuilder extends LibraryBuilderImpl {
|
|||
int charEndOffset,
|
||||
{required bool isMacro,
|
||||
required bool isSealed,
|
||||
required bool isAugmentation}) {
|
||||
required bool isAugmentation,
|
||||
required bool isMixinClass}) {
|
||||
// Nested declaration began in `OutlineBuilder.beginNamedMixinApplication`.
|
||||
endNestedDeclaration(TypeParameterScopeKind.namedMixinApplication, name)
|
||||
.resolveNamedTypes(typeVariables, this);
|
||||
|
@ -2583,7 +2592,8 @@ class SourceLibraryBuilder extends LibraryBuilderImpl {
|
|||
interfaces: interfaces,
|
||||
isMacro: isMacro,
|
||||
isSealed: isSealed,
|
||||
isAugmentation: isAugmentation)!;
|
||||
isAugmentation: isAugmentation,
|
||||
isMixinClass: isMixinClass)!;
|
||||
checkTypeVariables(typeVariables, supertype.declaration);
|
||||
}
|
||||
|
||||
|
@ -3084,7 +3094,8 @@ class SourceLibraryBuilder extends LibraryBuilderImpl {
|
|||
typeVariables: typeVariables,
|
||||
isMacro: false,
|
||||
isSealed: false,
|
||||
isAugmentation: false),
|
||||
isAugmentation: false,
|
||||
isMixinClass: false),
|
||||
interfaceBuilders,
|
||||
enumConstantInfos,
|
||||
this,
|
||||
|
|
|
@ -183,6 +183,7 @@ abstract class AbstractParserAstListener implements Listener {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {
|
||||
ClassDeclarationBegin data = new ClassDeclarationBegin(ParserAstType.BEGIN,
|
||||
begin: begin,
|
||||
|
@ -191,6 +192,7 @@ abstract class AbstractParserAstListener implements Listener {
|
|||
inlineToken: inlineToken,
|
||||
sealedToken: sealedToken,
|
||||
augmentToken: augmentToken,
|
||||
mixinToken: mixinToken,
|
||||
name: name);
|
||||
seen(data);
|
||||
}
|
||||
|
@ -969,6 +971,7 @@ abstract class AbstractParserAstListener implements Listener {
|
|||
Token? inlineToken,
|
||||
Token? sealedToken,
|
||||
Token? augmentToken,
|
||||
Token? mixinToken,
|
||||
Token name) {
|
||||
NamedMixinApplicationBegin data = new NamedMixinApplicationBegin(
|
||||
ParserAstType.BEGIN,
|
||||
|
@ -978,6 +981,7 @@ abstract class AbstractParserAstListener implements Listener {
|
|||
inlineToken: inlineToken,
|
||||
sealedToken: sealedToken,
|
||||
augmentToken: augmentToken,
|
||||
mixinToken: mixinToken,
|
||||
name: name);
|
||||
seen(data);
|
||||
}
|
||||
|
@ -3205,6 +3209,7 @@ class ClassDeclarationBegin extends ParserAstNode {
|
|||
final Token? inlineToken;
|
||||
final Token? sealedToken;
|
||||
final Token? augmentToken;
|
||||
final Token? mixinToken;
|
||||
final Token name;
|
||||
|
||||
ClassDeclarationBegin(ParserAstType type,
|
||||
|
@ -3214,6 +3219,7 @@ class ClassDeclarationBegin extends ParserAstNode {
|
|||
this.inlineToken,
|
||||
this.sealedToken,
|
||||
this.augmentToken,
|
||||
this.mixinToken,
|
||||
required this.name})
|
||||
: super("ClassDeclaration", type);
|
||||
|
||||
|
@ -3225,6 +3231,7 @@ class ClassDeclarationBegin extends ParserAstNode {
|
|||
"inlineToken": inlineToken,
|
||||
"sealedToken": sealedToken,
|
||||
"augmentToken": augmentToken,
|
||||
"mixinToken": mixinToken,
|
||||
"name": name,
|
||||
};
|
||||
}
|
||||
|
@ -4619,6 +4626,7 @@ class NamedMixinApplicationBegin extends ParserAstNode {
|
|||
final Token? inlineToken;
|
||||
final Token? sealedToken;
|
||||
final Token? augmentToken;
|
||||
final Token? mixinToken;
|
||||
final Token name;
|
||||
|
||||
NamedMixinApplicationBegin(ParserAstType type,
|
||||
|
@ -4628,6 +4636,7 @@ class NamedMixinApplicationBegin extends ParserAstNode {
|
|||
this.inlineToken,
|
||||
this.sealedToken,
|
||||
this.augmentToken,
|
||||
this.mixinToken,
|
||||
required this.name})
|
||||
: super("NamedMixinApplication", type);
|
||||
|
||||
|
@ -4639,6 +4648,7 @@ class NamedMixinApplicationBegin extends ParserAstNode {
|
|||
"inlineToken": inlineToken,
|
||||
"sealedToken": sealedToken,
|
||||
"augmentToken": augmentToken,
|
||||
"mixinToken": mixinToken,
|
||||
"name": name,
|
||||
};
|
||||
}
|
||||
|
|
|
@ -185,7 +185,7 @@ beginCompilationUnit(augment)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Class, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, augment, Class)
|
||||
beginClassDeclaration(class, null, null, null, null, augment, null, Class)
|
||||
handleNoType(Class)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -412,12 +412,12 @@ parseUnit(augment)
|
|||
listener: beginMetadataStar(augment)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, augment, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, augment, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Class, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, augment, Class)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, augment, null, Class)
|
||||
parseClass(Class, class, class, Class)
|
||||
parseClassHeaderOpt(Class, class, class)
|
||||
parseClassExtendsOpt(Class)
|
||||
|
|
|
@ -4,7 +4,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Class, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Class)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Class)
|
||||
handleNoType(Class)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Class, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Class)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Class)
|
||||
parseClass(Class, class, class, Class)
|
||||
parseClassHeaderOpt(Class, class, class)
|
||||
parseClassExtendsOpt(Class)
|
||||
|
|
|
@ -250,7 +250,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Class, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Class)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Class)
|
||||
handleNoType(Class)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Class, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Class)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Class)
|
||||
parseClass(Class, class, class, Class)
|
||||
parseClassHeaderOpt(Class, class, class)
|
||||
parseClassExtendsOpt(Class)
|
||||
|
|
|
@ -173,7 +173,7 @@ beginCompilationUnit(augment)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Class, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, augment, Class)
|
||||
beginClassDeclaration(class, null, null, null, null, augment, null, Class)
|
||||
handleNoType(Class)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -188,7 +188,7 @@ beginCompilationUnit(augment)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
handleIdentifier(Class, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(abstract, abstract, null, null, null, augment, Class)
|
||||
beginClassDeclaration(abstract, abstract, null, null, null, augment, null, Class)
|
||||
handleNoType(Class)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -203,7 +203,7 @@ beginCompilationUnit(augment)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Class, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, augment, Class)
|
||||
beginNamedMixinApplication(class, null, null, null, null, augment, null, Class)
|
||||
handleIdentifier(Object, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(Object, null)
|
||||
|
@ -220,7 +220,7 @@ beginCompilationUnit(augment)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
handleIdentifier(Class, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(abstract, abstract, null, null, null, augment, Class)
|
||||
beginNamedMixinApplication(abstract, abstract, null, null, null, augment, null, Class)
|
||||
handleIdentifier(Object, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(Object, null)
|
||||
|
|
|
@ -325,12 +325,12 @@ parseUnit(augment)
|
|||
listener: beginMetadataStar(augment)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(;, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, augment, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, augment, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Class, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, augment, Class)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, augment, null, Class)
|
||||
parseClass(Class, class, class, Class)
|
||||
parseClassHeaderOpt(Class, class, class)
|
||||
parseClassExtendsOpt(Class)
|
||||
|
@ -352,12 +352,12 @@ parseUnit(augment)
|
|||
listener: beginMetadataStar(augment)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, augment, class)
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, augment, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Class, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(abstract, abstract, null, null, null, augment, Class)
|
||||
listener: beginClassDeclaration(abstract, abstract, null, null, null, augment, null, Class)
|
||||
parseClass(Class, abstract, class, Class)
|
||||
parseClassHeaderOpt(Class, abstract, class)
|
||||
parseClassExtendsOpt(Class)
|
||||
|
@ -379,12 +379,12 @@ parseUnit(augment)
|
|||
listener: beginMetadataStar(augment)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, augment, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, augment, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Class, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables(=)
|
||||
listener: beginNamedMixinApplication(class, null, null, null, null, augment, Class)
|
||||
listener: beginNamedMixinApplication(class, null, null, null, null, augment, null, Class)
|
||||
parseNamedMixinApplication(Class, class, class)
|
||||
listener: handleIdentifier(Object, typeReference)
|
||||
listener: handleNoTypeArguments(with)
|
||||
|
@ -405,12 +405,12 @@ parseUnit(augment)
|
|||
listener: beginMetadataStar(augment)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(;, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, augment, class)
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, augment, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Class, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables(=)
|
||||
listener: beginNamedMixinApplication(abstract, abstract, null, null, null, augment, Class)
|
||||
listener: beginNamedMixinApplication(abstract, abstract, null, null, null, augment, null, Class)
|
||||
parseNamedMixinApplication(Class, abstract, class)
|
||||
listener: handleIdentifier(Object, typeReference)
|
||||
listener: handleNoTypeArguments(with)
|
||||
|
|
|
@ -491,7 +491,7 @@ beginCompilationUnit(augment)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Class, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, augment, Class)
|
||||
beginClassDeclaration(class, null, null, null, null, augment, null, Class)
|
||||
handleNoType(Class)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -507,7 +507,7 @@ beginCompilationUnit(augment)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
handleIdentifier(Class, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(abstract, abstract, null, null, null, augment, Class)
|
||||
beginClassDeclaration(abstract, abstract, null, null, null, augment, null, Class)
|
||||
handleNoType(Class)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -523,7 +523,7 @@ beginCompilationUnit(augment)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Class, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, augment, Class)
|
||||
beginNamedMixinApplication(class, null, null, null, null, augment, null, Class)
|
||||
handleIdentifier(Object, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(Object, null)
|
||||
|
@ -541,7 +541,7 @@ beginCompilationUnit(augment)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
handleIdentifier(Class, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(abstract, abstract, null, null, null, augment, Class)
|
||||
beginNamedMixinApplication(abstract, abstract, null, null, null, augment, null, Class)
|
||||
handleIdentifier(Object, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(Object, null)
|
||||
|
|
|
@ -693,12 +693,12 @@ parseUnit(augment)
|
|||
parseTopLevelKeywordDeclaration(;, class, null, null, null, Instance of 'DirectiveContext')
|
||||
reportRecoverableErrorWithToken(augment, Instance of 'Template<(Token) => Message>')
|
||||
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, augment, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, augment, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Class, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, augment, Class)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, augment, null, Class)
|
||||
parseClass(Class, class, class, Class)
|
||||
parseClassHeaderOpt(Class, class, class)
|
||||
parseClassExtendsOpt(Class)
|
||||
|
@ -722,12 +722,12 @@ parseUnit(augment)
|
|||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
reportRecoverableError(augment, Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'abstract'., Try re-ordering the modifiers., {string: augment, string2: abstract}])
|
||||
listener: handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'abstract'., Try re-ordering the modifiers., {string: augment, string2: abstract}], augment, augment)
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, augment, class)
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, augment, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Class, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(abstract, abstract, null, null, null, augment, Class)
|
||||
listener: beginClassDeclaration(abstract, abstract, null, null, null, augment, null, Class)
|
||||
parseClass(Class, abstract, class, Class)
|
||||
parseClassHeaderOpt(Class, abstract, class)
|
||||
parseClassExtendsOpt(Class)
|
||||
|
@ -751,12 +751,12 @@ parseUnit(augment)
|
|||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
reportRecoverableErrorWithToken(augment, Instance of 'Template<(Token) => Message>')
|
||||
listener: handleRecoverableError(Message[DuplicatedModifier, The modifier 'augment' was already specified., Try removing all but one occurrence of the modifier., {lexeme: augment}], augment, augment)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, augment, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, augment, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Class, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables(=)
|
||||
listener: beginNamedMixinApplication(class, null, null, null, null, augment, Class)
|
||||
listener: beginNamedMixinApplication(class, null, null, null, null, augment, null, Class)
|
||||
parseNamedMixinApplication(Class, class, class)
|
||||
listener: handleIdentifier(Object, typeReference)
|
||||
listener: handleNoTypeArguments(with)
|
||||
|
@ -779,12 +779,12 @@ parseUnit(augment)
|
|||
parseTopLevelKeywordDeclaration(;, class, null, null, null, Instance of 'DirectiveContext')
|
||||
reportRecoverableError(augment, Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'abstract'., Try re-ordering the modifiers., {string: augment, string2: abstract}])
|
||||
listener: handleRecoverableError(Message[ModifierOutOfOrder, The modifier 'augment' should be before the modifier 'abstract'., Try re-ordering the modifiers., {string: augment, string2: abstract}], augment, augment)
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, augment, class)
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, augment, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Class, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables(=)
|
||||
listener: beginNamedMixinApplication(abstract, abstract, null, null, null, augment, Class)
|
||||
listener: beginNamedMixinApplication(abstract, abstract, null, null, null, augment, null, Class)
|
||||
parseNamedMixinApplication(Class, abstract, class)
|
||||
listener: handleIdentifier(Object, typeReference)
|
||||
listener: handleNoTypeArguments(with)
|
||||
|
|
|
@ -14,7 +14,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(C, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, C)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, C)
|
||||
handleNoType(C)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -114,7 +114,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(D, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, D)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, D)
|
||||
handleNoType(D)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(C, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, C)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, C)
|
||||
parseClass(C, class, class, C)
|
||||
parseClassHeaderOpt(C, class, class)
|
||||
parseClassExtendsOpt(C)
|
||||
|
@ -258,12 +258,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(D, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, D)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, D)
|
||||
parseClass(D, class, class, D)
|
||||
parseClassHeaderOpt(D, class, class)
|
||||
parseClassExtendsOpt(D)
|
||||
|
|
|
@ -126,7 +126,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
handleNoType(Foo)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
parseClass(Foo, class, class, Foo)
|
||||
parseClassHeaderOpt(Foo, class, class)
|
||||
parseClassExtendsOpt(Foo)
|
||||
|
|
|
@ -34,7 +34,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
handleNoType(Foo)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
parseClass(Foo, class, class, Foo)
|
||||
parseClassHeaderOpt(Foo, class, class)
|
||||
parseClassExtendsOpt(Foo)
|
||||
|
|
|
@ -30,7 +30,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
handleNoType(Foo)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
parseClass(Foo, class, class, Foo)
|
||||
parseClassHeaderOpt(Foo, class, class)
|
||||
parseClassExtendsOpt(Foo)
|
||||
|
|
|
@ -30,7 +30,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
handleNoType(Foo)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
parseClass(Foo, class, class, Foo)
|
||||
parseClassHeaderOpt(Foo, class, class)
|
||||
parseClassExtendsOpt(Foo)
|
||||
|
|
|
@ -30,7 +30,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
handleNoType(Foo)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
parseClass(Foo, class, class, Foo)
|
||||
parseClassHeaderOpt(Foo, class, class)
|
||||
parseClassExtendsOpt(Foo)
|
||||
|
|
|
@ -4,7 +4,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
handleNoType(Foo)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
parseClass(Foo, class, class, Foo)
|
||||
parseClassHeaderOpt(Foo, class, class)
|
||||
parseClassExtendsOpt(Foo)
|
||||
|
|
|
@ -78,7 +78,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
handleNoType(Foo)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
parseClass(Foo, class, class, Foo)
|
||||
parseClassHeaderOpt(Foo, class, class)
|
||||
parseClassExtendsOpt(Foo)
|
||||
|
|
|
@ -22,7 +22,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
handleNoType(Foo)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
parseClass(Foo, class, class, Foo)
|
||||
parseClassHeaderOpt(Foo, class, class)
|
||||
parseClassExtendsOpt(Foo)
|
||||
|
|
|
@ -22,7 +22,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
handleNoType(Foo)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
parseClass(Foo, class, class, Foo)
|
||||
parseClassHeaderOpt(Foo, class, class)
|
||||
parseClassExtendsOpt(Foo)
|
||||
|
|
|
@ -26,7 +26,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(C, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, C)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, C)
|
||||
handleNoType(C)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(C, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, C)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, C)
|
||||
parseClass(C, class, class, C)
|
||||
parseClassHeaderOpt(C, class, class)
|
||||
parseClassExtendsOpt(C)
|
||||
|
|
|
@ -26,7 +26,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(A, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
handleNoType(A)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -41,7 +41,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(B, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, B)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, B)
|
||||
handleNoType(B)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -56,7 +56,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(extends)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(,)
|
||||
handleType(A, null)
|
||||
|
@ -92,7 +92,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Bar, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(extend)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Bar)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Bar)
|
||||
handleNoType(Bar)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -134,7 +134,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Baz, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(on)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Baz)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Baz)
|
||||
handleNoType(Baz)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(A, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
parseClass(A, class, class, A)
|
||||
parseClassHeaderOpt(A, class, class)
|
||||
parseClassExtendsOpt(A)
|
||||
|
@ -34,12 +34,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(B, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, B)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, B)
|
||||
parseClass(B, class, class, B)
|
||||
parseClassHeaderOpt(B, class, class)
|
||||
parseClassExtendsOpt(B)
|
||||
|
@ -61,12 +61,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables(extends)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
parseClass(Foo, class, class, Foo)
|
||||
parseClassHeaderOpt(Foo, class, class)
|
||||
parseClassExtendsOpt(Foo)
|
||||
|
@ -128,12 +128,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Bar, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables(extend)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Bar)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Bar)
|
||||
parseClass(Bar, class, class, Bar)
|
||||
parseClassHeaderOpt(Bar, class, class)
|
||||
parseClassExtendsOpt(Bar)
|
||||
|
@ -211,12 +211,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Baz, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables(on)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Baz)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Baz)
|
||||
parseClass(Baz, class, class, Baz)
|
||||
parseClassHeaderOpt(Baz, class, class)
|
||||
parseClassExtendsOpt(Baz)
|
||||
|
|
|
@ -25,7 +25,7 @@ beginCompilationUnit(const)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(Annotation, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Annotation)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Annotation)
|
||||
handleNoType(Annotation)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -80,7 +80,7 @@ beginCompilationUnit(const)
|
|||
handleNoType(E)
|
||||
endTypeVariable(>, 0, null, null)
|
||||
endTypeVariables(<, >)
|
||||
beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
handleNoType(>)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -95,7 +95,7 @@ beginCompilationUnit(const)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(C, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, C)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, C)
|
||||
handleNoType(C)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -29,12 +29,12 @@ parseUnit(const)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(;, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Annotation, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Annotation)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Annotation)
|
||||
parseClass(Annotation, class, class, Annotation)
|
||||
parseClassHeaderOpt(Annotation, class, class)
|
||||
parseClassExtendsOpt(Annotation)
|
||||
|
@ -112,7 +112,7 @@ parseUnit(const)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(A, classOrMixinDeclaration)
|
||||
|
@ -125,7 +125,7 @@ parseUnit(const)
|
|||
listener: handleNoType(E)
|
||||
listener: endTypeVariable(>, 0, null, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
parseClass(>, class, class, A)
|
||||
parseClassHeaderOpt(>, class, class)
|
||||
parseClassExtendsOpt(>)
|
||||
|
@ -147,12 +147,12 @@ parseUnit(const)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(C, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, C)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, C)
|
||||
parseClass(C, class, class, C)
|
||||
parseClassHeaderOpt(C, class, class)
|
||||
parseClassExtendsOpt(C)
|
||||
|
|
|
@ -66,7 +66,7 @@ beginCompilationUnit(abstract)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
handleIdentifier(Key, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(abstract, abstract, null, null, null, null, Key)
|
||||
beginClassDeclaration(abstract, abstract, null, null, null, null, null, Key)
|
||||
handleNoType(Key)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(abstract)
|
|||
listener: beginMetadataStar(abstract)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Key, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(abstract, abstract, null, null, null, null, Key)
|
||||
listener: beginClassDeclaration(abstract, abstract, null, null, null, null, null, Key)
|
||||
parseClass(Key, abstract, class, Key)
|
||||
parseClassHeaderOpt(Key, abstract, class)
|
||||
parseClassExtendsOpt(Key)
|
||||
|
|
|
@ -66,7 +66,7 @@ beginCompilationUnit(abstract)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
handleIdentifier(Key, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(abstract, abstract, null, null, null, null, Key)
|
||||
beginClassDeclaration(abstract, abstract, null, null, null, null, null, Key)
|
||||
handleNoType(Key)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(abstract)
|
|||
listener: beginMetadataStar(abstract)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Key, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(abstract, abstract, null, null, null, null, Key)
|
||||
listener: beginClassDeclaration(abstract, abstract, null, null, null, null, null, Key)
|
||||
parseClass(Key, abstract, class, Key)
|
||||
parseClassHeaderOpt(Key, abstract, class)
|
||||
parseClassExtendsOpt(Key)
|
||||
|
|
|
@ -66,7 +66,7 @@ beginCompilationUnit(abstract)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
handleIdentifier(Key, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(abstract, abstract, null, null, null, null, Key)
|
||||
beginClassDeclaration(abstract, abstract, null, null, null, null, null, Key)
|
||||
handleNoType(Key)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(abstract)
|
|||
listener: beginMetadataStar(abstract)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(abstract, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(abstract)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Key, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(abstract, abstract, null, null, null, null, Key)
|
||||
listener: beginClassDeclaration(abstract, abstract, null, null, null, null, null, Key)
|
||||
parseClass(Key, abstract, class, Key)
|
||||
parseClassHeaderOpt(Key, abstract, class)
|
||||
parseClassExtendsOpt(Key)
|
||||
|
|
|
@ -14,7 +14,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(A, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
handleNoType(A)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(A, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
parseClass(A, class, class, A)
|
||||
parseClassHeaderOpt(A, class, class)
|
||||
parseClassExtendsOpt(A)
|
||||
|
|
|
@ -10,7 +10,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(A, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
handleNoType(A)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(A, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
parseClass(A, class, class, A)
|
||||
parseClassHeaderOpt(A, class, class)
|
||||
parseClassExtendsOpt(A)
|
||||
|
|
|
@ -22,7 +22,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(C, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, C)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, C)
|
||||
handleNoType(C)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(C, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, C)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, C)
|
||||
parseClass(C, class, class, C)
|
||||
parseClassHeaderOpt(C, class, class)
|
||||
parseClassExtendsOpt(C)
|
||||
|
|
|
@ -18,7 +18,7 @@ beginCompilationUnit(class)
|
|||
handleNoType(T)
|
||||
endTypeVariable(>, 0, null, null)
|
||||
endTypeVariables(<, >)
|
||||
beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
handleNoType(>)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -54,7 +54,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(DND1, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(extends)
|
||||
beginClassDeclaration(class, null, null, null, null, null, DND1)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, DND1)
|
||||
handleIdentifier(Object, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(Object, null)
|
||||
|
|
|
@ -7,7 +7,7 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(A, classOrMixinDeclaration)
|
||||
|
@ -20,7 +20,7 @@ parseUnit(class)
|
|||
listener: handleNoType(T)
|
||||
listener: endTypeVariable(>, 0, null, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
parseClass(>, class, class, A)
|
||||
parseClassHeaderOpt(>, class, class)
|
||||
parseClassExtendsOpt(>)
|
||||
|
@ -73,12 +73,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(DND1, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables(extends)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, DND1)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, DND1)
|
||||
parseClass(DND1, class, class, DND1)
|
||||
parseClassHeaderOpt(DND1, class, class)
|
||||
parseClassExtendsOpt(DND1)
|
||||
|
|
|
@ -22,7 +22,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(F, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
handleNoType(F)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(F, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
parseClass(F, class, class, F)
|
||||
parseClassHeaderOpt(F, class, class)
|
||||
parseClassExtendsOpt(F)
|
||||
|
|
|
@ -22,7 +22,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(F, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
handleNoType(F)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(F, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
parseClass(F, class, class, F)
|
||||
parseClassHeaderOpt(F, class, class)
|
||||
parseClassExtendsOpt(F)
|
||||
|
|
|
@ -18,7 +18,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(F, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
handleNoType(F)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(F, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
parseClass(F, class, class, F)
|
||||
parseClassHeaderOpt(F, class, class)
|
||||
parseClassExtendsOpt(F)
|
||||
|
|
|
@ -22,7 +22,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(F, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
handleNoType(F)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(F, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
parseClass(F, class, class, F)
|
||||
parseClassHeaderOpt(F, class, class)
|
||||
parseClassExtendsOpt(F)
|
||||
|
|
|
@ -34,7 +34,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(F, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
handleNoType(F)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(F, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
parseClass(F, class, class, F)
|
||||
parseClassHeaderOpt(F, class, class)
|
||||
parseClassExtendsOpt(F)
|
||||
|
|
|
@ -34,7 +34,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(F, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
handleNoType(F)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(F, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
parseClass(F, class, class, F)
|
||||
parseClassHeaderOpt(F, class, class)
|
||||
parseClassExtendsOpt(F)
|
||||
|
|
|
@ -22,7 +22,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(F, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
handleNoType(F)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(F, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
parseClass(F, class, class, F)
|
||||
parseClassHeaderOpt(F, class, class)
|
||||
parseClassExtendsOpt(F)
|
||||
|
|
|
@ -22,7 +22,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(F, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
handleNoType(F)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(F, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
parseClass(F, class, class, F)
|
||||
parseClassHeaderOpt(F, class, class)
|
||||
parseClassExtendsOpt(F)
|
||||
|
|
|
@ -34,7 +34,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(F, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
handleNoType(F)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(F, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, F)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, F)
|
||||
parseClass(F, class, class, F)
|
||||
parseClassHeaderOpt(F, class, class)
|
||||
parseClassExtendsOpt(F)
|
||||
|
|
|
@ -22,7 +22,7 @@ beginCompilationUnit(class)
|
|||
handleNoType(T)
|
||||
endTypeVariable(>, 0, null, null)
|
||||
endTypeVariables(<, >)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
handleNoType(>)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,7 +7,7 @@ parseUnit(UnmatchedToken(())
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(UnmatchedToken((), class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(Foo, classOrMixinDeclaration)
|
||||
|
@ -20,7 +20,7 @@ parseUnit(UnmatchedToken(())
|
|||
listener: handleNoType(T)
|
||||
listener: endTypeVariable(>, 0, null, null)
|
||||
listener: endTypeVariables(<, >)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, Foo)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, Foo)
|
||||
parseClass(>, class, class, Foo)
|
||||
parseClassHeaderOpt(>, class, class)
|
||||
parseClassExtendsOpt(>)
|
||||
|
|
|
@ -231,7 +231,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'abstract' as a name here., null, {lexeme: abstract}], abstract, abstract)
|
||||
handleIdentifier(abstract, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, abstract)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, abstract)
|
||||
handleNoType(abstract)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -247,7 +247,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'as' as a name here., null, {lexeme: as}], as, as)
|
||||
handleIdentifier(as, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, as)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, as)
|
||||
handleNoType(as)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -263,7 +263,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'assert' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: assert}], assert, assert)
|
||||
handleIdentifier(assert, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, assert)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, assert)
|
||||
handleNoType(assert)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -278,7 +278,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(async, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, async)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, async)
|
||||
handleNoType(async)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -293,7 +293,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(await, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, await)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, await)
|
||||
handleNoType(await)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -309,7 +309,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'break' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: break}], break, break)
|
||||
handleIdentifier(break, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, break)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, break)
|
||||
handleNoType(break)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -325,7 +325,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'case' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: case}], case, case)
|
||||
handleIdentifier(case, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, case)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, case)
|
||||
handleNoType(case)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -341,7 +341,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'catch' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: catch}], catch, catch)
|
||||
handleIdentifier(catch, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, catch)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, catch)
|
||||
handleNoType(catch)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -357,7 +357,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'class' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: class}], class, class)
|
||||
handleIdentifier(class, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, class)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, class)
|
||||
handleNoType(class)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -373,7 +373,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'const' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: const}], const, const)
|
||||
handleIdentifier(const, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, const)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, const)
|
||||
handleNoType(const)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -389,7 +389,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'continue' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: continue}], continue, continue)
|
||||
handleIdentifier(continue, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, continue)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, continue)
|
||||
handleNoType(continue)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -405,7 +405,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'covariant' as a name here., null, {lexeme: covariant}], covariant, covariant)
|
||||
handleIdentifier(covariant, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, covariant)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, covariant)
|
||||
handleNoType(covariant)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -421,7 +421,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'default' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: default}], default, default)
|
||||
handleIdentifier(default, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, default)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, default)
|
||||
handleNoType(default)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -437,7 +437,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'deferred' as a name here., null, {lexeme: deferred}], deferred, deferred)
|
||||
handleIdentifier(deferred, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, deferred)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, deferred)
|
||||
handleNoType(deferred)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -453,7 +453,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'do' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: do}], do, do)
|
||||
handleIdentifier(do, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, do)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, do)
|
||||
handleNoType(do)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -469,7 +469,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'dynamic' as a name here., null, {lexeme: dynamic}], dynamic, dynamic)
|
||||
handleIdentifier(dynamic, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, dynamic)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, dynamic)
|
||||
handleNoType(dynamic)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -485,7 +485,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'else' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: else}], else, else)
|
||||
handleIdentifier(else, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, else)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, else)
|
||||
handleNoType(else)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -501,7 +501,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'enum' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: enum}], enum, enum)
|
||||
handleIdentifier(enum, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, enum)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, enum)
|
||||
handleNoType(enum)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -517,7 +517,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'export' as a name here., null, {lexeme: export}], export, export)
|
||||
handleIdentifier(export, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, export)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, export)
|
||||
handleNoType(export)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -533,7 +533,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'extends' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: extends}], extends, extends)
|
||||
handleIdentifier(extends, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, extends)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, extends)
|
||||
handleNoType(extends)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -549,7 +549,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'extension' as a name here., null, {lexeme: extension}], extension, extension)
|
||||
handleIdentifier(extension, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, extension)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, extension)
|
||||
handleNoType(extension)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -565,7 +565,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'external' as a name here., null, {lexeme: external}], external, external)
|
||||
handleIdentifier(external, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, external)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, external)
|
||||
handleNoType(external)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -581,7 +581,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'factory' as a name here., null, {lexeme: factory}], factory, factory)
|
||||
handleIdentifier(factory, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, factory)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, factory)
|
||||
handleNoType(factory)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -597,7 +597,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'false' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: false}], false, false)
|
||||
handleIdentifier(false, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, false)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, false)
|
||||
handleNoType(false)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -613,7 +613,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'final' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: final}], final, final)
|
||||
handleIdentifier(final, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, final)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, final)
|
||||
handleNoType(final)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -629,7 +629,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'finally' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: finally}], finally, finally)
|
||||
handleIdentifier(finally, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, finally)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, finally)
|
||||
handleNoType(finally)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -645,7 +645,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'for' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: for}], for, for)
|
||||
handleIdentifier(for, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, for)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, for)
|
||||
handleNoType(for)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -661,7 +661,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'Function' as a name here., null, {lexeme: Function}], Function, Function)
|
||||
handleIdentifier(Function, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, Function)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, Function)
|
||||
handleNoType(Function)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -677,7 +677,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'get' as a name here., null, {lexeme: get}], get, get)
|
||||
handleIdentifier(get, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, get)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, get)
|
||||
handleNoType(get)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -692,7 +692,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(hide, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, hide)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, hide)
|
||||
handleNoType(hide)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -708,7 +708,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'if' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: if}], if, if)
|
||||
handleIdentifier(if, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, if)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, if)
|
||||
handleNoType(if)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -724,7 +724,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'implements' as a name here., null, {lexeme: implements}], implements, implements)
|
||||
handleIdentifier(implements, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, implements)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, implements)
|
||||
handleNoType(implements)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -740,7 +740,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'import' as a name here., null, {lexeme: import}], import, import)
|
||||
handleIdentifier(import, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, import)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, import)
|
||||
handleNoType(import)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -756,7 +756,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'in' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: in}], in, in)
|
||||
handleIdentifier(in, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, in)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, in)
|
||||
handleNoType(in)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -771,7 +771,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(inout, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, inout)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, inout)
|
||||
handleNoType(inout)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -787,7 +787,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'interface' as a name here., null, {lexeme: interface}], interface, interface)
|
||||
handleIdentifier(interface, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, interface)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, interface)
|
||||
handleNoType(interface)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -803,7 +803,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'is' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: is}], is, is)
|
||||
handleIdentifier(is, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, is)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, is)
|
||||
handleNoType(is)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -819,7 +819,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'late' as a name here., null, {lexeme: late}], late, late)
|
||||
handleIdentifier(late, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, late)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, late)
|
||||
handleNoType(late)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -835,7 +835,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'library' as a name here., null, {lexeme: library}], library, library)
|
||||
handleIdentifier(library, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, library)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, library)
|
||||
handleNoType(library)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -851,7 +851,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'mixin' as a name here., null, {lexeme: mixin}], mixin, mixin)
|
||||
handleIdentifier(mixin, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, mixin)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, mixin)
|
||||
handleNoType(mixin)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -866,7 +866,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(native, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, native)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, native)
|
||||
handleNoType(native)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -882,7 +882,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'new' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: new}], new, new)
|
||||
handleIdentifier(new, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, new)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, new)
|
||||
handleNoType(new)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -898,7 +898,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'null' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: null}], null, null)
|
||||
handleIdentifier(null, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, null)
|
||||
handleNoType(null)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -913,7 +913,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(of, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, of)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, of)
|
||||
handleNoType(of)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -928,7 +928,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(on, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, on)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, on)
|
||||
handleNoType(on)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -944,7 +944,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'operator' as a name here., null, {lexeme: operator}], operator, operator)
|
||||
handleIdentifier(operator, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, operator)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, operator)
|
||||
handleNoType(operator)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -959,7 +959,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(out, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, out)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, out)
|
||||
handleNoType(out)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -975,7 +975,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'part' as a name here., null, {lexeme: part}], part, part)
|
||||
handleIdentifier(part, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, part)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, part)
|
||||
handleNoType(part)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -990,7 +990,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(patch, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, patch)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, patch)
|
||||
handleNoType(patch)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1006,7 +1006,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'required' as a name here., null, {lexeme: required}], required, required)
|
||||
handleIdentifier(required, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, required)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, required)
|
||||
handleNoType(required)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1022,7 +1022,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'rethrow' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: rethrow}], rethrow, rethrow)
|
||||
handleIdentifier(rethrow, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, rethrow)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, rethrow)
|
||||
handleNoType(rethrow)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1038,7 +1038,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'return' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: return}], return, return)
|
||||
handleIdentifier(return, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, return)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, return)
|
||||
handleNoType(return)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1054,7 +1054,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'set' as a name here., null, {lexeme: set}], set, set)
|
||||
handleIdentifier(set, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, set)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, set)
|
||||
handleNoType(set)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1069,7 +1069,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(show, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, show)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, show)
|
||||
handleNoType(show)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1084,7 +1084,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(source, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, source)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, source)
|
||||
handleNoType(source)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1100,7 +1100,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'static' as a name here., null, {lexeme: static}], static, static)
|
||||
handleIdentifier(static, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, static)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, static)
|
||||
handleNoType(static)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1116,7 +1116,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'super' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: super}], super, super)
|
||||
handleIdentifier(super, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, super)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, super)
|
||||
handleNoType(super)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1132,7 +1132,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'switch' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: switch}], switch, switch)
|
||||
handleIdentifier(switch, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, switch)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, switch)
|
||||
handleNoType(switch)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1147,7 +1147,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(sync, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, sync)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, sync)
|
||||
handleNoType(sync)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1163,7 +1163,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'this' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: this}], this, this)
|
||||
handleIdentifier(this, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, this)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, this)
|
||||
handleNoType(this)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1179,7 +1179,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'throw' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: throw}], throw, throw)
|
||||
handleIdentifier(throw, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, throw)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, throw)
|
||||
handleNoType(throw)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1195,7 +1195,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'true' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: true}], true, true)
|
||||
handleIdentifier(true, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, true)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, true)
|
||||
handleNoType(true)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1211,7 +1211,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'try' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: try}], try, try)
|
||||
handleIdentifier(try, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, try)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, try)
|
||||
handleNoType(try)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1227,7 +1227,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'typedef' as a name here., null, {lexeme: typedef}], typedef, typedef)
|
||||
handleIdentifier(typedef, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, typedef)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, typedef)
|
||||
handleNoType(typedef)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1243,7 +1243,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'var' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: var}], var, var)
|
||||
handleIdentifier(var, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, var)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, var)
|
||||
handleNoType(var)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1259,7 +1259,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'void' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: void}], void, void)
|
||||
handleIdentifier(void, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, void)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, void)
|
||||
handleNoType(void)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1275,7 +1275,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'while' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: while}], while, while)
|
||||
handleIdentifier(while, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, while)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, while)
|
||||
handleNoType(while)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1291,7 +1291,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'with' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: with}], with, with)
|
||||
handleIdentifier(with, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, with)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, with)
|
||||
handleNoType(with)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -1306,7 +1306,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(yield, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, yield)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, yield)
|
||||
handleNoType(yield)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -231,7 +231,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'abstract' as a name here., null, {lexeme: abstract}], abstract, abstract)
|
||||
handleIdentifier(abstract, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, abstract)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, abstract)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -249,7 +249,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'as' as a name here., null, {lexeme: as}], as, as)
|
||||
handleIdentifier(as, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, as)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, as)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -267,7 +267,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'assert' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: assert}], assert, assert)
|
||||
handleIdentifier(assert, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, assert)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, assert)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -284,7 +284,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(async, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, async)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, async)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -301,7 +301,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(await, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, await)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, await)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -319,7 +319,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'break' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: break}], break, break)
|
||||
handleIdentifier(break, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, break)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, break)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -337,7 +337,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'case' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: case}], case, case)
|
||||
handleIdentifier(case, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, case)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, case)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -355,7 +355,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'catch' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: catch}], catch, catch)
|
||||
handleIdentifier(catch, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, catch)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, catch)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -373,7 +373,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'class' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: class}], class, class)
|
||||
handleIdentifier(class, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, class)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, class)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -391,7 +391,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'const' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: const}], const, const)
|
||||
handleIdentifier(const, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, const)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, const)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -409,7 +409,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'continue' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: continue}], continue, continue)
|
||||
handleIdentifier(continue, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, continue)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, continue)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -427,7 +427,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'covariant' as a name here., null, {lexeme: covariant}], covariant, covariant)
|
||||
handleIdentifier(covariant, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, covariant)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, covariant)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -445,7 +445,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'default' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: default}], default, default)
|
||||
handleIdentifier(default, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, default)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, default)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -463,7 +463,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'deferred' as a name here., null, {lexeme: deferred}], deferred, deferred)
|
||||
handleIdentifier(deferred, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, deferred)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, deferred)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -481,7 +481,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'do' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: do}], do, do)
|
||||
handleIdentifier(do, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, do)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, do)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -499,7 +499,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'dynamic' as a name here., null, {lexeme: dynamic}], dynamic, dynamic)
|
||||
handleIdentifier(dynamic, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, dynamic)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, dynamic)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -517,7 +517,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'else' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: else}], else, else)
|
||||
handleIdentifier(else, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, else)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, else)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -535,7 +535,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'enum' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: enum}], enum, enum)
|
||||
handleIdentifier(enum, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, enum)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, enum)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -553,7 +553,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'export' as a name here., null, {lexeme: export}], export, export)
|
||||
handleIdentifier(export, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, export)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, export)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -571,7 +571,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'extends' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: extends}], extends, extends)
|
||||
handleIdentifier(extends, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, extends)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, extends)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -589,7 +589,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'extension' as a name here., null, {lexeme: extension}], extension, extension)
|
||||
handleIdentifier(extension, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, extension)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, extension)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -607,7 +607,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'external' as a name here., null, {lexeme: external}], external, external)
|
||||
handleIdentifier(external, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, external)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, external)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -625,7 +625,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'factory' as a name here., null, {lexeme: factory}], factory, factory)
|
||||
handleIdentifier(factory, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, factory)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, factory)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -643,7 +643,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'false' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: false}], false, false)
|
||||
handleIdentifier(false, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, false)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, false)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -661,7 +661,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'final' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: final}], final, final)
|
||||
handleIdentifier(final, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, final)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, final)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -679,7 +679,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'finally' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: finally}], finally, finally)
|
||||
handleIdentifier(finally, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, finally)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, finally)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -697,7 +697,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'for' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: for}], for, for)
|
||||
handleIdentifier(for, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, for)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, for)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -715,7 +715,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'Function' as a name here., null, {lexeme: Function}], Function, Function)
|
||||
handleIdentifier(Function, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, Function)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, Function)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -733,7 +733,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'get' as a name here., null, {lexeme: get}], get, get)
|
||||
handleIdentifier(get, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, get)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, get)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -750,7 +750,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(hide, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, hide)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, hide)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -768,7 +768,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'if' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: if}], if, if)
|
||||
handleIdentifier(if, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, if)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, if)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -786,7 +786,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'implements' as a name here., null, {lexeme: implements}], implements, implements)
|
||||
handleIdentifier(implements, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, implements)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, implements)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -804,7 +804,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'import' as a name here., null, {lexeme: import}], import, import)
|
||||
handleIdentifier(import, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, import)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, import)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -822,7 +822,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'in' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: in}], in, in)
|
||||
handleIdentifier(in, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, in)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, in)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -839,7 +839,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(inout, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, inout)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, inout)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -857,7 +857,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'interface' as a name here., null, {lexeme: interface}], interface, interface)
|
||||
handleIdentifier(interface, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, interface)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, interface)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -875,7 +875,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'is' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: is}], is, is)
|
||||
handleIdentifier(is, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, is)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, is)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -893,7 +893,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'late' as a name here., null, {lexeme: late}], late, late)
|
||||
handleIdentifier(late, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, late)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, late)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -911,7 +911,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'library' as a name here., null, {lexeme: library}], library, library)
|
||||
handleIdentifier(library, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, library)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, library)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -929,7 +929,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'mixin' as a name here., null, {lexeme: mixin}], mixin, mixin)
|
||||
handleIdentifier(mixin, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, mixin)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, mixin)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -946,7 +946,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(native, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, native)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, native)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -964,7 +964,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'new' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: new}], new, new)
|
||||
handleIdentifier(new, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, new)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, new)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -982,7 +982,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'null' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: null}], null, null)
|
||||
handleIdentifier(null, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, null)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -999,7 +999,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(of, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, of)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, of)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1016,7 +1016,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(on, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, on)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, on)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1034,7 +1034,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'operator' as a name here., null, {lexeme: operator}], operator, operator)
|
||||
handleIdentifier(operator, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, operator)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, operator)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1051,7 +1051,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(out, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, out)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, out)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1069,7 +1069,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'part' as a name here., null, {lexeme: part}], part, part)
|
||||
handleIdentifier(part, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, part)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, part)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1086,7 +1086,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(patch, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, patch)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, patch)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1104,7 +1104,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'required' as a name here., null, {lexeme: required}], required, required)
|
||||
handleIdentifier(required, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, required)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, required)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1122,7 +1122,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'rethrow' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: rethrow}], rethrow, rethrow)
|
||||
handleIdentifier(rethrow, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, rethrow)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, rethrow)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1140,7 +1140,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'return' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: return}], return, return)
|
||||
handleIdentifier(return, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, return)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, return)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1158,7 +1158,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'set' as a name here., null, {lexeme: set}], set, set)
|
||||
handleIdentifier(set, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, set)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, set)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1175,7 +1175,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(show, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, show)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, show)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1192,7 +1192,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(source, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, source)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, source)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1210,7 +1210,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'static' as a name here., null, {lexeme: static}], static, static)
|
||||
handleIdentifier(static, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, static)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, static)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1228,7 +1228,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'super' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: super}], super, super)
|
||||
handleIdentifier(super, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, super)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, super)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1246,7 +1246,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'switch' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: switch}], switch, switch)
|
||||
handleIdentifier(switch, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, switch)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, switch)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1263,7 +1263,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(sync, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, sync)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, sync)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1281,7 +1281,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'this' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: this}], this, this)
|
||||
handleIdentifier(this, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, this)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, this)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1299,7 +1299,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'throw' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: throw}], throw, throw)
|
||||
handleIdentifier(throw, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, throw)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, throw)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1317,7 +1317,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'true' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: true}], true, true)
|
||||
handleIdentifier(true, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, true)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, true)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1335,7 +1335,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'try' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: try}], try, try)
|
||||
handleIdentifier(try, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, try)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, try)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1353,7 +1353,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[BuiltInIdentifierInDeclaration, Can't use 'typedef' as a name here., null, {lexeme: typedef}], typedef, typedef)
|
||||
handleIdentifier(typedef, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, typedef)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, typedef)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1371,7 +1371,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'var' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: var}], var, var)
|
||||
handleIdentifier(var, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, var)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, var)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1389,7 +1389,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'void' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: void}], void, void)
|
||||
handleIdentifier(void, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, void)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, void)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1407,7 +1407,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'while' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: while}], while, while)
|
||||
handleIdentifier(while, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, while)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, while)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1425,7 +1425,7 @@ beginCompilationUnit(class)
|
|||
handleRecoverableError(Message[ExpectedIdentifierButGotKeyword, 'with' can't be used as an identifier because it's a keyword., Try renaming this to be an identifier that isn't a keyword., {lexeme: with}], with, with)
|
||||
handleIdentifier(with, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, with)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, with)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
@ -1442,7 +1442,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(yield, classOrMixinDeclaration)
|
||||
handleNoTypeVariables(=)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, yield)
|
||||
beginNamedMixinApplication(class, null, null, null, null, null, null, yield)
|
||||
handleIdentifier(A, typeReference)
|
||||
handleNoTypeArguments(with)
|
||||
handleType(A, null)
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -20,7 +20,7 @@ beginCompilationUnit(class)
|
|||
// WARNING: Reporting at eof for .
|
||||
handleIdentifier(, classOrMixinDeclaration)
|
||||
handleNoTypeVariables()
|
||||
beginClassDeclaration(class, null, null, null, null, null, )
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, )
|
||||
handleNoType()
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,7 +7,7 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
insertSyntheticIdentifier(class, classOrMixinDeclaration, message: Message[ExpectedIdentifier, Expected an identifier, but got ''., Try inserting an identifier before ''., {lexeme: }], messageOnToken: null)
|
||||
|
@ -17,7 +17,7 @@ parseUnit(class)
|
|||
rewriter()
|
||||
listener: handleIdentifier(, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables()
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, )
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, )
|
||||
parseClass(, class, class, )
|
||||
parseClassHeaderOpt(, class, class)
|
||||
parseClassExtendsOpt()
|
||||
|
|
|
@ -30,7 +30,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(A, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
handleNoType(A)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
@ -67,7 +67,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(B, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, B)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, B)
|
||||
handleNoType(B)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(A, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
parseClass(A, class, class, A)
|
||||
parseClassHeaderOpt(A, class, class)
|
||||
parseClassExtendsOpt(A)
|
||||
|
@ -73,12 +73,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(}, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(B, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, B)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, B)
|
||||
parseClass(B, class, class, B)
|
||||
parseClassHeaderOpt(B, class, class)
|
||||
parseClassExtendsOpt(B)
|
||||
|
|
|
@ -10,7 +10,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(A, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
handleNoType(A)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(A, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
parseClass(A, class, class, A)
|
||||
parseClassHeaderOpt(A, class, class)
|
||||
parseClassExtendsOpt(A)
|
||||
|
|
|
@ -4,7 +4,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(A, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
handleNoType(A)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(A, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
parseClass(A, class, class, A)
|
||||
parseClassHeaderOpt(A, class, class)
|
||||
parseClassExtendsOpt(A)
|
||||
|
|
|
@ -18,7 +18,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(A, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
handleNoType(A)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(A, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
parseClass(A, class, class, A)
|
||||
parseClassHeaderOpt(A, class, class)
|
||||
parseClassExtendsOpt(A)
|
||||
|
|
|
@ -18,7 +18,7 @@ beginCompilationUnit(class)
|
|||
beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
handleIdentifier(A, classOrMixinDeclaration)
|
||||
handleNoTypeVariables({)
|
||||
beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
handleNoType(A)
|
||||
handleClassExtends(null, 1)
|
||||
handleClassNoWithClause()
|
||||
|
|
|
@ -7,12 +7,12 @@ parseUnit(class)
|
|||
listener: beginMetadataStar(class)
|
||||
listener: endMetadataStar(0)
|
||||
parseTopLevelKeywordDeclaration(, class, null, null, null, Instance of 'DirectiveContext')
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, class)
|
||||
parseClassOrNamedMixinApplication(null, null, null, null, null, null, class)
|
||||
listener: beginClassOrMixinOrNamedMixinApplicationPrelude(class)
|
||||
ensureIdentifier(class, classOrMixinDeclaration)
|
||||
listener: handleIdentifier(A, classOrMixinDeclaration)
|
||||
listener: handleNoTypeVariables({)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, A)
|
||||
listener: beginClassDeclaration(class, null, null, null, null, null, null, A)
|
||||
parseClass(A, class, class, A)
|
||||
parseClassHeaderOpt(A, class, class)
|
||||
parseClassExtendsOpt(A)
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue