59 references to PostSkipAction
Microsoft.CodeAnalysis.CSharp (59)
Parser\LanguageParser.cs (55)
1181
static
PostSkipAction
skipBadAttributeListTokens(
1236
static
PostSkipAction
skipBadAttributeArgumentTokens(
2143
if (skipBadBaseListTokens(ref colon, list, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
2151
PostSkipAction
skipBadBaseListTokens(ref SyntaxToken colon, SeparatedSyntaxListBuilder<BaseTypeSyntax> list, SyntaxKind expected)
2231
else if (skipBadTypeParameterConstraintTokens(bounds, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
2244
PostSkipAction
skipBadTypeParameterConstraintTokens(SeparatedSyntaxListBuilder<TypeParameterConstraintSyntax> list, SyntaxKind expected)
4329
declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected) ==
PostSkipAction
.Abort)
4362
private
PostSkipAction
SkipBadAccessorListTokens(ref SyntaxToken openBrace, SyntaxListBuilder<AccessorDeclarationSyntax> list, ErrorCode error)
4436
private
PostSkipAction
SkipBadSeparatedListTokensWithExpectedKind<T, TNode>(
4449
var
action = this.SkipBadListTokensWithExpectedKindHelper(list.UnderlyingBuilder, isNotExpectedFunction, abortFunction, expected, closeKind, out trailingTrivia);
4457
private
PostSkipAction
SkipBadListTokensWithErrorCode<T, TNode>(
4467
var
action = this.SkipBadListTokensWithErrorCodeHelper(list, isNotExpectedFunction, abortFunction, error, out trailingTrivia);
4479
private
PostSkipAction
SkipBadListTokensWithExpectedKindHelper(
4494
var
action = SkipBadTokensWithExpectedKind(isNotExpectedFunction, abortFunction, expected, closeKind, out lastItemTrailingTrivia);
4504
private
PostSkipAction
SkipBadListTokensWithErrorCodeHelper<TNode>(
4518
var
action = SkipBadTokensWithErrorCode(isNotExpectedFunction, abortFunction, error, out lastItemTrailingTrivia);
4528
private
PostSkipAction
SkipBadTokensWithExpectedKind(
4537
var
action =
PostSkipAction
.Continue;
4542
action =
PostSkipAction
.Abort;
4555
private
PostSkipAction
SkipBadTokensWithErrorCode(
4563
var
action =
PostSkipAction
.Continue;
4568
action =
PostSkipAction
.Abort;
4808
static
PostSkipAction
skipBadParameterListTokens(
5299
else if (!variableDeclarationsExpected || this.SkipBadVariableListTokens(variables, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
5306
private
PostSkipAction
SkipBadVariableListTokens(SeparatedSyntaxListBuilder<VariableDeclaratorSyntax> list, SyntaxKind expected)
5813
static
PostSkipAction
skipBadEnumMemberListTokens(
6016
static
PostSkipAction
skipBadTypeParameterListTokens(
6494
else if (this.SkipBadTypeArgumentListTokens(types, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
6554
private
PostSkipAction
SkipBadTypeArgumentListTokens(SeparatedSyntaxListBuilder<TypeSyntax> list, SyntaxKind expected)
7339
if (skipBadFunctionPointerTokens() ==
PostSkipAction
.Abort)
7382
if (skipBadFunctionPointerTokens() ==
PostSkipAction
.Abort)
7408
PostSkipAction
skipBadFunctionPointerTokens()
7778
else if (this.SkipBadArrayRankSpecifierTokens(ref open, list, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
7850
private
PostSkipAction
SkipBadArrayRankSpecifierTokens(ref SyntaxToken openBracket, SeparatedSyntaxListBuilder<ExpressionSyntax> list, SyntaxKind expected)
7939
if (skipBadFunctionPointerTokens(types) ==
PostSkipAction
.Abort)
7964
PostSkipAction
skipBadFunctionPointerTokens<T>(SeparatedSyntaxListBuilder<T> list) where T : CSharpSyntaxNode
8019
if (skipBadFunctionPointerTokens(callingConventionModifiers) ==
PostSkipAction
.Abort)
9045
var
action = this.SkipBadStatementListTokens(statements, SyntaxKind.CloseBraceToken, out trailingTrivia);
9051
if (action ==
PostSkipAction
.Abort)
9066
private
PostSkipAction
SkipBadStatementListTokens(SyntaxListBuilder<StatementSyntax> statements, SyntaxKind expected, out GreenNode trailingTrivia)
9587
static
PostSkipAction
skipBadForStatementExpressionListTokens(
9591
return
PostSkipAction
.Abort;
12364
static
PostSkipAction
skipBadArgumentListTokens(
12368
return
PostSkipAction
.Abort;
13076
static
PostSkipAction
skipBadCollectionElementTokens(
13338
private static
PostSkipAction
SkipBadInitializerListTokens<T>(
13458
static
PostSkipAction
skipBadArrayInitializerTokens(
13710
static
PostSkipAction
skipBadLambdaParameterListTokens(
14074
else if (skipBadOrderingListTokens(list, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
14084
PostSkipAction
skipBadOrderingListTokens(SeparatedSyntaxListBuilder<OrderingSyntax> list, SyntaxKind expected)
14195
private delegate
PostSkipAction
SkipBadTokens<TNode>(
14317
if (skipBadTokens(this, ref openToken, nodes, separatorTokenKind, closeTokenKind) ==
PostSkipAction
.Abort)
14321
else if (skipBadTokens(this, ref openToken, nodes, SyntaxKind.IdentifierToken, closeTokenKind) ==
PostSkipAction
.Continue)
Parser\LanguageParser_Patterns.cs (4)
539
private static
PostSkipAction
SkipBadPatternListTokens<T>(
544
return
PostSkipAction
.Abort;
551
return
PostSkipAction
.Abort;
560
return
PostSkipAction
.Abort;