59 references to PostSkipAction
Microsoft.CodeAnalysis.CSharp (59)
Parser\LanguageParser.cs (55)
1174
static
PostSkipAction
skipBadAttributeListTokens(
1229
static
PostSkipAction
skipBadAttributeArgumentTokens(
2107
if (skipBadBaseListTokens(ref colon, list, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
2115
PostSkipAction
skipBadBaseListTokens(ref SyntaxToken colon, SeparatedSyntaxListBuilder<BaseTypeSyntax> list, SyntaxKind expected)
2195
else if (skipBadTypeParameterConstraintTokens(bounds, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
2208
PostSkipAction
skipBadTypeParameterConstraintTokens(SeparatedSyntaxListBuilder<TypeParameterConstraintSyntax> list, SyntaxKind expected)
4136
declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected) ==
PostSkipAction
.Abort)
4169
private
PostSkipAction
SkipBadAccessorListTokens(ref SyntaxToken openBrace, SyntaxListBuilder<AccessorDeclarationSyntax> list, ErrorCode error)
4243
private
PostSkipAction
SkipBadSeparatedListTokensWithExpectedKind<T, TNode>(
4256
var
action = this.SkipBadListTokensWithExpectedKindHelper(list.UnderlyingBuilder, isNotExpectedFunction, abortFunction, expected, closeKind, out trailingTrivia);
4264
private
PostSkipAction
SkipBadListTokensWithErrorCode<T, TNode>(
4274
var
action = this.SkipBadListTokensWithErrorCodeHelper(list, isNotExpectedFunction, abortFunction, error, out trailingTrivia);
4286
private
PostSkipAction
SkipBadListTokensWithExpectedKindHelper(
4301
var
action = SkipBadTokensWithExpectedKind(isNotExpectedFunction, abortFunction, expected, closeKind, out lastItemTrailingTrivia);
4311
private
PostSkipAction
SkipBadListTokensWithErrorCodeHelper<TNode>(
4325
var
action = SkipBadTokensWithErrorCode(isNotExpectedFunction, abortFunction, error, out lastItemTrailingTrivia);
4335
private
PostSkipAction
SkipBadTokensWithExpectedKind(
4344
var
action =
PostSkipAction
.Continue;
4349
action =
PostSkipAction
.Abort;
4362
private
PostSkipAction
SkipBadTokensWithErrorCode(
4370
var
action =
PostSkipAction
.Continue;
4375
action =
PostSkipAction
.Abort;
4610
static
PostSkipAction
skipBadParameterListTokens(
5086
else if (!variableDeclarationsExpected || this.SkipBadVariableListTokens(variables, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
5093
private
PostSkipAction
SkipBadVariableListTokens(SeparatedSyntaxListBuilder<VariableDeclaratorSyntax> list, SyntaxKind expected)
5600
static
PostSkipAction
skipBadEnumMemberListTokens(
5803
static
PostSkipAction
skipBadTypeParameterListTokens(
6283
else if (this.SkipBadTypeArgumentListTokens(types, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
6343
private
PostSkipAction
SkipBadTypeArgumentListTokens(SeparatedSyntaxListBuilder<TypeSyntax> list, SyntaxKind expected)
7128
if (skipBadFunctionPointerTokens() ==
PostSkipAction
.Abort)
7171
if (skipBadFunctionPointerTokens() ==
PostSkipAction
.Abort)
7197
PostSkipAction
skipBadFunctionPointerTokens()
7567
else if (this.SkipBadArrayRankSpecifierTokens(ref open, list, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
7643
private
PostSkipAction
SkipBadArrayRankSpecifierTokens(ref SyntaxToken openBracket, SeparatedSyntaxListBuilder<ExpressionSyntax> list, SyntaxKind expected)
7732
if (skipBadFunctionPointerTokens(types) ==
PostSkipAction
.Abort)
7757
PostSkipAction
skipBadFunctionPointerTokens<T>(SeparatedSyntaxListBuilder<T> list) where T : CSharpSyntaxNode
7812
if (skipBadFunctionPointerTokens(callingConventionModifiers) ==
PostSkipAction
.Abort)
8772
var
action = this.SkipBadStatementListTokens(statements, SyntaxKind.CloseBraceToken, out trailingTrivia);
8778
if (action ==
PostSkipAction
.Abort)
8793
private
PostSkipAction
SkipBadStatementListTokens(SyntaxListBuilder<StatementSyntax> statements, SyntaxKind expected, out GreenNode trailingTrivia)
9296
static
PostSkipAction
skipBadForStatementExpressionListTokens(
9300
return
PostSkipAction
.Abort;
11991
static
PostSkipAction
skipBadArgumentListTokens(
11995
return
PostSkipAction
.Abort;
12756
static
PostSkipAction
skipBadCollectionElementTokens(
13013
private static
PostSkipAction
SkipBadInitializerListTokens<T>(
13131
static
PostSkipAction
skipBadArrayInitializerTokens(
13403
static
PostSkipAction
skipBadLambdaParameterListTokens(
13768
else if (skipBadOrderingListTokens(list, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
13778
PostSkipAction
skipBadOrderingListTokens(SeparatedSyntaxListBuilder<OrderingSyntax> list, SyntaxKind expected)
13889
private delegate
PostSkipAction
SkipBadTokens<TNode>(
14006
if (skipBadTokens(this, ref openToken, nodes, separatorTokenKind, closeTokenKind) ==
PostSkipAction
.Abort)
14010
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;