59 references to PostSkipAction
Microsoft.CodeAnalysis.CSharp (59)
Parser\LanguageParser.cs (55)
1173
static
PostSkipAction
skipBadAttributeListTokens(
1228
static
PostSkipAction
skipBadAttributeArgumentTokens(
2141
if (skipBadBaseListTokens(ref colon, list, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
2149
PostSkipAction
skipBadBaseListTokens(ref SyntaxToken colon, SeparatedSyntaxListBuilder<BaseTypeSyntax> list, SyntaxKind expected)
2229
else if (skipBadTypeParameterConstraintTokens(bounds, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
2242
PostSkipAction
skipBadTypeParameterConstraintTokens(SeparatedSyntaxListBuilder<TypeParameterConstraintSyntax> list, SyntaxKind expected)
4186
declaringKind == AccessorDeclaringKind.Event ? ErrorCode.ERR_AddOrRemoveExpected : ErrorCode.ERR_GetOrSetExpected) ==
PostSkipAction
.Abort)
4219
private
PostSkipAction
SkipBadAccessorListTokens(ref SyntaxToken openBrace, SyntaxListBuilder<AccessorDeclarationSyntax> list, ErrorCode error)
4293
private
PostSkipAction
SkipBadSeparatedListTokensWithExpectedKind<T, TNode>(
4306
var
action = this.SkipBadListTokensWithExpectedKindHelper(list.UnderlyingBuilder, isNotExpectedFunction, abortFunction, expected, closeKind, out trailingTrivia);
4314
private
PostSkipAction
SkipBadListTokensWithErrorCode<T, TNode>(
4324
var
action = this.SkipBadListTokensWithErrorCodeHelper(list, isNotExpectedFunction, abortFunction, error, out trailingTrivia);
4336
private
PostSkipAction
SkipBadListTokensWithExpectedKindHelper(
4351
var
action = SkipBadTokensWithExpectedKind(isNotExpectedFunction, abortFunction, expected, closeKind, out lastItemTrailingTrivia);
4361
private
PostSkipAction
SkipBadListTokensWithErrorCodeHelper<TNode>(
4375
var
action = SkipBadTokensWithErrorCode(isNotExpectedFunction, abortFunction, error, out lastItemTrailingTrivia);
4385
private
PostSkipAction
SkipBadTokensWithExpectedKind(
4394
var
action =
PostSkipAction
.Continue;
4399
action =
PostSkipAction
.Abort;
4412
private
PostSkipAction
SkipBadTokensWithErrorCode(
4420
var
action =
PostSkipAction
.Continue;
4425
action =
PostSkipAction
.Abort;
4666
static
PostSkipAction
skipBadParameterListTokens(
5157
else if (!variableDeclarationsExpected || this.SkipBadVariableListTokens(variables, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
5164
private
PostSkipAction
SkipBadVariableListTokens(SeparatedSyntaxListBuilder<VariableDeclaratorSyntax> list, SyntaxKind expected)
5671
static
PostSkipAction
skipBadEnumMemberListTokens(
5874
static
PostSkipAction
skipBadTypeParameterListTokens(
6354
else if (this.SkipBadTypeArgumentListTokens(types, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
6414
private
PostSkipAction
SkipBadTypeArgumentListTokens(SeparatedSyntaxListBuilder<TypeSyntax> list, SyntaxKind expected)
7199
if (skipBadFunctionPointerTokens() ==
PostSkipAction
.Abort)
7242
if (skipBadFunctionPointerTokens() ==
PostSkipAction
.Abort)
7268
PostSkipAction
skipBadFunctionPointerTokens()
7638
else if (this.SkipBadArrayRankSpecifierTokens(ref open, list, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
7714
private
PostSkipAction
SkipBadArrayRankSpecifierTokens(ref SyntaxToken openBracket, SeparatedSyntaxListBuilder<ExpressionSyntax> list, SyntaxKind expected)
7803
if (skipBadFunctionPointerTokens(types) ==
PostSkipAction
.Abort)
7828
PostSkipAction
skipBadFunctionPointerTokens<T>(SeparatedSyntaxListBuilder<T> list) where T : CSharpSyntaxNode
7883
if (skipBadFunctionPointerTokens(callingConventionModifiers) ==
PostSkipAction
.Abort)
8843
var
action = this.SkipBadStatementListTokens(statements, SyntaxKind.CloseBraceToken, out trailingTrivia);
8849
if (action ==
PostSkipAction
.Abort)
8864
private
PostSkipAction
SkipBadStatementListTokens(SyntaxListBuilder<StatementSyntax> statements, SyntaxKind expected, out GreenNode trailingTrivia)
9367
static
PostSkipAction
skipBadForStatementExpressionListTokens(
9371
return
PostSkipAction
.Abort;
12141
static
PostSkipAction
skipBadArgumentListTokens(
12145
return
PostSkipAction
.Abort;
12853
static
PostSkipAction
skipBadCollectionElementTokens(
13110
private static
PostSkipAction
SkipBadInitializerListTokens<T>(
13228
static
PostSkipAction
skipBadArrayInitializerTokens(
13500
static
PostSkipAction
skipBadLambdaParameterListTokens(
13865
else if (skipBadOrderingListTokens(list, SyntaxKind.CommaToken) ==
PostSkipAction
.Abort)
13875
PostSkipAction
skipBadOrderingListTokens(SeparatedSyntaxListBuilder<OrderingSyntax> list, SyntaxKind expected)
13986
private delegate
PostSkipAction
SkipBadTokens<TNode>(
14103
if (skipBadTokens(this, ref openToken, nodes, separatorTokenKind, closeTokenKind) ==
PostSkipAction
.Abort)
14107
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;