5b0def4a87
These were part of the macros experiments which has been cancelled. Change-Id: I14071bc8e86025f273a533c313a3194c8eae5190 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/495341 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
86 lines
5.3 KiB
Plaintext
86 lines
5.3 KiB
Plaintext
parseUnit(class)
|
|
skipErrorTokens(class)
|
|
listener: beginCompilationUnit(class)
|
|
syntheticPreviousToken(class)
|
|
parseTopLevelDeclarationImpl(, DirectiveContext(DirectiveState.Unknown))
|
|
parseMetadataStar()
|
|
listener: beginMetadataStar(class)
|
|
listener: endMetadataStar(0)
|
|
parseTopLevelKeywordDeclaration(class, , class, null, null, null, DirectiveContext(DirectiveState.Unknown))
|
|
parseClassOrNamedMixinApplication(class, null, 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, null, null, C)
|
|
parseClass(C, class, class, null, C)
|
|
parsePrimaryConstructorOpt(DeclarationKind.Class, C, null)
|
|
listener: handleNoPrimaryConstructor(DeclarationKind.Class, C, null)
|
|
parseClassHeaderOpt(C, class, class)
|
|
parseClassExtendsOpt(C, DeclarationHeaderKind.Class)
|
|
listener: handleNoType(C)
|
|
listener: handleClassExtends(null, 1)
|
|
parseClassWithClauseOpt(C)
|
|
listener: handleClassNoWithClause()
|
|
parseClassOrMixinOrEnumImplementsOpt(C)
|
|
listener: handleImplements(null, 0)
|
|
listener: handleClassHeader(class, class, null)
|
|
parseClassOrMixinOrExtensionBody(C, DeclarationKind.Class, C)
|
|
listener: beginClassOrMixinOrExtensionBody(DeclarationKind.Class, {)
|
|
notEofOrType(CLOSE_CURLY_BRACKET, var)
|
|
parseClassOrMixinOrExtensionOrEnumMemberImpl({, DeclarationKind.Class, C)
|
|
parseMetadataStar({)
|
|
listener: beginMetadataStar(var)
|
|
listener: endMetadataStar(0)
|
|
listener: beginMember()
|
|
skipOuterPattern(var)
|
|
reportRecoverableErrorWithEnd((, ), PatternVariableDeclarationOutsideFunctionOrMethod)
|
|
listener: handleRecoverableError(PatternVariableDeclarationOutsideFunctionOrMethod, (, ))
|
|
rewriter()
|
|
rewriter()
|
|
parseFields({, null, null, null, null, null, null, var, var, NoType(), , DeclarationKind.Class, C, true)
|
|
listener: beginFields(DeclarationKind.Class, null, null, null, null, null, null, var, {)
|
|
listener: handleNoType(var)
|
|
ensureIdentifierPotentiallyRecovered(var, fieldDeclaration, true)
|
|
listener: handleIdentifier(, fieldDeclaration)
|
|
parseFieldInitializerOpt(, , null, null, null, null, var, DeclarationKind.Class, C)
|
|
listener: beginFieldInitializer(=)
|
|
parseExpression(=)
|
|
looksLikeOuterPatternEquals(=)
|
|
skipOuterPattern(=)
|
|
parsePrecedenceExpression(=, 1, true, ConstantPatternContext.none)
|
|
parseUnaryExpression(=, true, ConstantPatternContext.none)
|
|
parsePrimary(=, expression, ConstantPatternContext.none)
|
|
parseParenthesizedExpressionFunctionLiteralOrRecordLiteral(=, ConstantPatternContext.none)
|
|
parseParenthesizedExpressionOrRecordLiteral(=, null, ConstantPatternContext.none)
|
|
listener: beginParenthesizedExpressionOrRecordLiteral(()
|
|
parseExpression(()
|
|
looksLikeOuterPatternEquals(()
|
|
skipOuterPattern(()
|
|
parsePrecedenceExpression((, 1, true, ConstantPatternContext.none)
|
|
parseUnaryExpression((, true, ConstantPatternContext.none)
|
|
parsePrimary((, expression, ConstantPatternContext.none)
|
|
parseLiteralInt(()
|
|
listener: handleLiteralInt(0)
|
|
listener: handlePositionalRecordField(0)
|
|
parseExpression(,)
|
|
looksLikeOuterPatternEquals(,)
|
|
skipOuterPattern(,)
|
|
parsePrecedenceExpression(,, 1, true, ConstantPatternContext.none)
|
|
parseUnaryExpression(,, true, ConstantPatternContext.none)
|
|
parsePrimary(,, expression, ConstantPatternContext.none)
|
|
parseLiteralInt(,)
|
|
listener: handleLiteralInt(1)
|
|
listener: handlePositionalRecordField(1)
|
|
ensureCloseParen(1, ()
|
|
listener: endRecordLiteral((, 2, null)
|
|
listener: endFieldInitializer(=, ))
|
|
listener: endFields(DeclarationKind.Class, null, null, null, null, null, null, var, 1, var, ;)
|
|
listener: endMember()
|
|
notEofOrType(CLOSE_CURLY_BRACKET, })
|
|
listener: endClassOrMixinOrExtensionBody(DeclarationKind.Class, 1, {, })
|
|
listener: endClassDeclaration(class, })
|
|
listener: endTopLevelDeclaration(})
|
|
reportAllErrorTokens(class)
|
|
listener: endCompilationUnit(1, )
|