59 references to PostSkipAction
Microsoft.CodeAnalysis.CSharp (59)
Parser\LanguageParser.cs (55)
1173
static
PostSkipAction
skipBadAttributeListTokens(
1228
static
PostSkipAction
skipBadAttributeArgumentTokens(
2088
else if (skipBadBaseListTokens(ref colon, list, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
2096
PostSkipAction
skipBadBaseListTokens(ref SyntaxToken colon, SeparatedSyntaxListBuilder<BaseTypeSyntax> list, SyntaxKind expected)
2176
else if (skipBadTypeParameterConstraintTokens(bounds, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
2189
PostSkipAction
skipBadTypeParameterConstraintTokens(SeparatedSyntaxListBuilder<TypeParameterConstraintSyntax> list, SyntaxKind expected)
4117
declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected) ==
PostSkipAction
.Abort)
4150
private
PostSkipAction
SkipBadAccessorListTokens(ref SyntaxToken openBrace, SyntaxListBuilder<AccessorDeclarationSyntax> list, ErrorCode error)
4224
private
PostSkipAction
SkipBadSeparatedListTokensWithExpectedKind<T, TNode>(
4237
var
action = this.SkipBadListTokensWithExpectedKindHelper(list.UnderlyingBuilder, isNotExpectedFunction, abortFunction, expected, closeKind, out trailingTrivia);
4245
private
PostSkipAction
SkipBadListTokensWithErrorCode<T, TNode>(
4255
var
action = this.SkipBadListTokensWithErrorCodeHelper(list, isNotExpectedFunction, abortFunction, error, out trailingTrivia);
4267
private
PostSkipAction
SkipBadListTokensWithExpectedKindHelper(
4282
var
action = SkipBadTokensWithExpectedKind(isNotExpectedFunction, abortFunction, expected, closeKind, out lastItemTrailingTrivia);
4292
private
PostSkipAction
SkipBadListTokensWithErrorCodeHelper<TNode>(
4306
var
action = SkipBadTokensWithErrorCode(isNotExpectedFunction, abortFunction, error, out lastItemTrailingTrivia);
4316
private
PostSkipAction
SkipBadTokensWithExpectedKind(
4325
var
action =
PostSkipAction
.Continue;
4330
action =
PostSkipAction
.Abort;
4343
private
PostSkipAction
SkipBadTokensWithErrorCode(
4351
var
action =
PostSkipAction
.Continue;
4356
action =
PostSkipAction
.Abort;
4591
static
PostSkipAction
skipBadParameterListTokens(
5045
else if (!variableDeclarationsExpected || this.SkipBadVariableListTokens(variables, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
5052
private
PostSkipAction
SkipBadVariableListTokens(SeparatedSyntaxListBuilder<VariableDeclaratorSyntax> list, SyntaxKind expected)
5557
static
PostSkipAction
skipBadEnumMemberListTokens(
5760
static
PostSkipAction
skipBadTypeParameterListTokens(
6231
else if (this.SkipBadTypeArgumentListTokens(types, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
6291
private
PostSkipAction
SkipBadTypeArgumentListTokens(SeparatedSyntaxListBuilder<TypeSyntax> list, SyntaxKind expected)
7076
if (skipBadFunctionPointerTokens() ==
PostSkipAction
.Abort)
7119
if (skipBadFunctionPointerTokens() ==
PostSkipAction
.Abort)
7145
PostSkipAction
skipBadFunctionPointerTokens()
7515
else if (this.SkipBadArrayRankSpecifierTokens(ref open, list, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
7591
private
PostSkipAction
SkipBadArrayRankSpecifierTokens(ref SyntaxToken openBracket, SeparatedSyntaxListBuilder<ExpressionSyntax> list, SyntaxKind expected)
7680
if (skipBadFunctionPointerTokens(types) ==
PostSkipAction
.Abort)
7705
PostSkipAction
skipBadFunctionPointerTokens<T>(SeparatedSyntaxListBuilder<T> list) where T : CSharpSyntaxNode
7760
if (skipBadFunctionPointerTokens(callingConventionModifiers) ==
PostSkipAction
.Abort)
8720
var
action = this.SkipBadStatementListTokens(statements, SyntaxKind.CloseBraceToken, out trailingTrivia);
8726
if (action ==
PostSkipAction
.Abort)
8741
private
PostSkipAction
SkipBadStatementListTokens(SyntaxListBuilder<StatementSyntax> statements, SyntaxKind expected, out GreenNode trailingTrivia)
9249
static
PostSkipAction
skipBadForStatementExpressionListTokens(
9253
return
PostSkipAction
.Abort;
11925
static
PostSkipAction
skipBadArgumentListTokens(
11929
return
PostSkipAction
.Abort;
12690
static
PostSkipAction
skipBadCollectionElementTokens(
12947
private static
PostSkipAction
SkipBadInitializerListTokens<T>(
13065
static
PostSkipAction
skipBadArrayInitializerTokens(
13337
static
PostSkipAction
skipBadLambdaParameterListTokens(
13702
else if (skipBadOrderingListTokens(list, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
13712
PostSkipAction
skipBadOrderingListTokens(SeparatedSyntaxListBuilder<OrderingSyntax> list, SyntaxKind expected)
13823
private delegate
PostSkipAction
SkipBadTokens<TNode>(
13940
if (skipBadTokens(this, ref openToken, nodes, separatorTokenKind, closeTokenKind) ==
PostSkipAction
.Abort)
13944
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;