Partilhar via


SyntaxKind Enumeração

Definição

public enum class SyntaxKind
public enum SyntaxKind
type SyntaxKind = 
Public Enum SyntaxKind
Herança
SyntaxKind

Campos

AbstractKeyword 8356

Representa abstract.

AccessorList 8895
AddAccessorDeclaration 8898
AddAssignmentExpression 8715
AddExpression 8668
AddKeyword 8419

Representa add.

AddressOfExpression 8737
AliasKeyword 8407

Representa alias.

AliasQualifiedName 8620
AmpersandAmpersandToken 8261

Representa o && token.

AmpersandEqualsToken 8279

Representa o &= token.

AmpersandToken 8198

Representa o & token.

AndAssignmentExpression 8720
AndKeyword 8439

Representa and.

AndPattern 9032
AnnotationsKeyword 8489

Representa annotations.

AnonymousMethodExpression 8641
AnonymousObjectCreationExpression 8650
AnonymousObjectMemberDeclarator 8647
ArgListExpression 8748
ArgListKeyword 8366

Representa __arglist.

Argument 8638
ArgumentList 8636
ArrayCreationExpression 8651
ArrayInitializerExpression 8646
ArrayRankSpecifier 8623
ArrayType 8622
ArrowExpressionClause 8917
AscendingKeyword 8432

Representa ascending.

AscendingOrdering 8782
AsExpression 8687
AsKeyword 8364

Representa as.

AssemblyKeyword 8409

Representa assembly.

AsteriskEqualsToken 8277

Representa o *= token.

AsteriskToken 8199

Representa o * token.

AsyncKeyword 8435

Representa async.

Attribute 8849
AttributeArgument 8851
AttributeArgumentList 8850
AttributeList 8847
AttributeTargetSpecifier 8848
AwaitExpression 8740
AwaitKeyword 8436

Representa await.

BackslashToken 8210

Representa </code> token.

BadDirectiveTrivia 8562
BadToken 8507
BarBarToken 8260

Representa o || token.

BarEqualsToken 8278

Representa o |= token.

BarToken 8209

Representa o | token.

BaseConstructorInitializer 8889
BaseExpression 8747
BaseExpressionTypeClause 8659
BaseKeyword 8371

Representa base.

BaseList 8864
BitwiseAndExpression 8678
BitwiseNotExpression 8732
BitwiseOrExpression 8677
Block 8792
BoolKeyword 8304

Representa bool.

BracketedArgumentList 8637
BracketedParameterList 8907
BreakKeyword 8339

Representa break.

BreakStatement 8803
ByKeyword 8427

Representa by.

ByteKeyword 8305

Representa byte.

CaretEqualsToken 8282

Representa o ^= token.

CaretToken 8197

Representa o ^ token.

CaseKeyword 8332

Representa case.

CasePatternSwitchLabel 9009
CaseSwitchLabel 8823
CastExpression 8640
CatchClause 8826
CatchDeclaration 8827
CatchFilterClause 8828
CatchKeyword 8335

Representa catch.

CharacterLiteralExpression 8751
CharacterLiteralToken 8510
CharKeyword 8317

Representa char.

CheckedExpression 8762
CheckedKeyword 8379

Representa checked.

CheckedStatement 8815
ChecksumKeyword 8478

Representa checksum.

ClassConstraint 8868
ClassDeclaration 8855
ClassKeyword 8374

Representa class.

CloseBraceToken 8206

Representa o } token.

CloseBracketToken 8208

Representa o ] token.

CloseParenToken 8201

Representa o ) token.

CoalesceAssignmentExpression 8725
CoalesceExpression 8688
CollectionExpression 9076
CollectionInitializerExpression 8645
ColonColonToken 8264

Representa o :: token.

ColonToken 8211

Representa o : token.

CommaToken 8216

Representa o , token.

CompilationUnit 8840
ComplexElementInitializerExpression 8648
ConditionalAccessExpression 8691
ConditionalExpression 8633
ConflictMarkerTrivia 8564
ConstantPattern 9002
ConstKeyword 8350

Representa const.

ConstructorConstraint 8867
ConstructorDeclaration 8878
ContinueKeyword 8340

Representa continue.

ContinueStatement 8804
ConversionOperatorDeclaration 8877
ConversionOperatorMemberCref 8602
CrefBracketedParameterList 8604
CrefParameter 8605
CrefParameterList 8603
DataKeyword 8441

Representa data.

DecimalKeyword 8315

Representa decimal.

DeclarationExpression 9040
DeclarationPattern 9000
DefaultConstraint 9064
DefaultExpression 8764
DefaultKeyword 8333

Representa default.

DefaultLiteralExpression 8755
DefaultSwitchLabel 8824
DefineDirectiveTrivia 8554
DefineKeyword 8471

Representa define.

DelegateDeclaration 8859
DelegateKeyword 8378

Representa delegate.

DescendingKeyword 8433

Representa descending.

DescendingOrdering 8783
DestructorDeclaration 8891
DisabledTextTrivia 8546
DisableKeyword 8479

Representa disable.

DiscardDesignation 9014
DiscardPattern 9024
DivideAssignmentExpression 8718
DivideExpression 8671
DocumentationCommentExteriorTrivia 8543
DoKeyword 8330

Representa do.

DollarToken 8195

Representa o $ token.

Essa é uma pontuação especial do depurador e não está relacionada à interpolação de cadeia de caracteres.

DoStatement 8810
DotDotToken 8222

Representa o .. token.

DotToken 8218

Representa o . token.

DoubleKeyword 8313

Representa double.

DoubleQuoteToken 8213

Representa o " token.

ElementAccessExpression 8635
ElementBindingExpression 8708
ElifDirectiveTrivia 8549
ElifKeyword 8467

Representa elif.

ElseClause 8820
ElseDirectiveTrivia 8550
ElseKeyword 8326

Representa else.

EmptyStatement 8798
EnableKeyword 8487

Representa enable.

EndIfDirectiveTrivia 8551
EndIfKeyword 8468

Representa endif.

EndOfDirectiveToken 8494

Representa um token que vem após o fim de uma diretiva como #endif.

EndOfDocumentationCommentToken 8495

Representa o fim de um comentário de documentação de barra tripla.

EndOfFileToken 8496

Representa o final de um arquivo.

EndOfLineTrivia 8539
EndRegionDirectiveTrivia 8553
EndRegionKeyword 8470

Representa endregion.

EnumDeclaration 8858
EnumKeyword 8377

Representa enum.

EnumMemberDeclaration 8872
EqualsEqualsToken 8268

Representa o == token.

EqualsExpression 8680
EqualsGreaterThanToken 8269

Representa o => token.

EqualsKeyword 8431

Representa equals.

EqualsToken 8204

Representa o = token.

EqualsValueClause 8796
ErrorDirectiveTrivia 8556
ErrorKeyword 8474

Representa error.

EventDeclaration 8893
EventFieldDeclaration 8874
EventKeyword 8358

Representa event.

ExclamationEqualsToken 8267

Representa o != token.

ExclamationExclamationToken 8285

Representa o !! token.

ExclamationToken 8194

Representa o ! token.

ExclusiveOrAssignmentExpression 8721
ExclusiveOrExpression 8679
ExplicitInterfaceSpecifier 8871
ExplicitKeyword 8383

Representa explicit.

ExpressionColon 9069
ExpressionElement 9077
ExpressionStatement 8797
ExternAliasDirective 8844
ExternKeyword 8359

Representa extern.

FalseKeyword 8324

Representa false.

FalseLiteralExpression 8753
FieldDeclaration 8873
FieldKeyword 8412

Representa field.

FileKeyword 8449

Representa file.

FileScopedNamespaceDeclaration 8845
FinallyClause 8829
FinallyKeyword 8336

Representa finally.

FixedKeyword 8351

Representa fixed.

FixedStatement 8814
FloatKeyword 8314

Representa float.

ForEachKeyword 8329

Representa foreach.

ForEachStatement 8812
ForEachVariableStatement 8929
ForKeyword 8328

Representa for.

ForStatement 8811
FromClause 8776
FromKeyword 8422

Representa from.

FunctionPointerCallingConvention 9059
FunctionPointerParameter 9057
FunctionPointerParameterList 9058
FunctionPointerType 9056
FunctionPointerUnmanagedCallingConvention 9067
FunctionPointerUnmanagedCallingConventionList 9066
GenericName 8618
GetAccessorDeclaration 8896
GetKeyword 8417

Representa get.

GlobalKeyword 8408

Representa global.

GlobalStatement 8841
GotoCaseStatement 8801
GotoDefaultStatement 8802
GotoKeyword 8338

Representa goto.

GotoStatement 8800
GreaterThanEqualsToken 8273

Representa o >= token.

GreaterThanExpression 8684
GreaterThanGreaterThanEqualsToken 8275

Representa o >>= token.

GreaterThanGreaterThanGreaterThanEqualsToken 8287

Representa o >>>= token.

GreaterThanGreaterThanGreaterThanToken 8286

Representa o >>> token.

GreaterThanGreaterThanToken 8274

Representa o >> token.

GreaterThanOrEqualExpression 8685
GreaterThanToken 8217

Representa o > token.

GroupClause 8785
GroupKeyword 8423

Representa group.

HashToken 8220

Representa o # token.

HiddenKeyword 8477

Representa hidden.

IdentifierName 8616
IdentifierToken 8508
IfDirectiveTrivia 8548
IfKeyword 8325

Representa if.

IfStatement 8819
ImplicitArrayCreationExpression 8652
ImplicitElementAccess 8656
ImplicitKeyword 8384

Representa implicit.

ImplicitObjectCreationExpression 8659
ImplicitStackAllocArrayCreationExpression 9053
IncompleteMember 8916
IndexerDeclaration 8894
IndexerMemberCref 8600
IndexExpression 8741
InitAccessorDeclaration 9060
InitKeyword 8443

Representa init.

InKeyword 8362

Representa in.

InterfaceDeclaration 8857
InterfaceKeyword 8376

Representa interface.

InternalKeyword 8345

Representa internal.

InterpolatedMultiLineRawStringStartToken 9073
InterpolatedRawStringEndToken 9074
InterpolatedSingleLineRawStringStartToken 9072
InterpolatedStringEndToken 8483

Representa o " token que está fechando $".

InterpolatedStringExpression 8655
InterpolatedStringStartToken 8482

Representa o $" token.

InterpolatedStringText 8919
InterpolatedStringTextToken 8517
InterpolatedStringToken 8515

Token para uma cadeia de caracteres $""" ... { expr } ..."""interpolada inteira. Isso só existe em forma transitória durante a análise.

InterpolatedVerbatimStringStartToken 8484

$@ Representa ou @$ token.

Interpolation 8918
InterpolationAlignmentClause 8920
InterpolationFormatClause 8921
IntKeyword 8309

Representa int.

IntoKeyword 8425

Representa into.

InvocationExpression 8634
IsExpression 8686
IsKeyword 8363

Representa is.

IsPatternExpression 8657
JoinClause 8778
JoinIntoClause 8779
JoinKeyword 8424

Representa join.

LabeledStatement 8799
LeftShiftAssignmentExpression 8723
LeftShiftExpression 8673
LessThanEqualsToken 8270

Representa o <= token.

LessThanExpression 8682
LessThanLessThanEqualsToken 8272

Representa o <<= token.

LessThanLessThanToken 8271

Representa o << token.

LessThanOrEqualExpression 8683
LessThanSlashToken 8233

Representa o </ token.

LessThanToken 8215

Representa o < token.

LetClause 8777
LetKeyword 8426

Representa let.

LineDirectivePosition 9070
LineDirectiveTrivia 8558
LineKeyword 8475

Representa line.

LineSpanDirectiveTrivia 9071
List 1
ListPattern 9035
LoadDirectiveTrivia 8923
LoadKeyword 8485

Representa load.

LocalDeclarationStatement 8793
LocalFunctionStatement 8830
LockKeyword 8337

Representa lock.

LockStatement 8818
LogicalAndExpression 8676
LogicalNotExpression 8733
LogicalOrExpression 8675
LongKeyword 8311

Representa long.

MakeRefExpression 8765
MakeRefKeyword 8367

Representa __makeref.

ManagedKeyword 8445

Representa managed.

MemberBindingExpression 8707
MethodDeclaration 8875
MethodKeyword 8413

Representa method.

MinusEqualsToken 8281

Representa o -= token.

MinusGreaterThanToken 8266

Representa o -> token.

MinusMinusToken 8262

Representa o -- token.

MinusToken 8202

Representa o - token.

ModuleKeyword 8410

Representa module.

ModuloAssignmentExpression 8719
ModuloExpression 8672
MultiLineCommentTrivia 8542
MultiLineDocumentationCommentTrivia 8545
MultiLineRawStringLiteralToken 8519
MultiplyAssignmentExpression 8717
MultiplyExpression 8670
NameColon 8639
NameEquals 8852
NameMemberCref 8599
NameOfKeyword 8434

Representa nameof.

NamespaceDeclaration 8842
NamespaceKeyword 8372

Representa namespace.

NewKeyword 8354

Representa new.

None 0
NotEqualsExpression 8681
NotKeyword 8440

Representa not.

NotPattern 9033
NullableDirectiveTrivia 9055
NullableKeyword 8486

Representa nullable.

NullableType 8625
NullKeyword 8322

Representa null.

NullLiteralExpression 8754
NumericLiteralExpression 8749
NumericLiteralToken 8509
ObjectCreationExpression 8649
ObjectInitializerExpression 8644
ObjectKeyword 8319

Representa object.

OmittedArraySizeExpression 8654
OmittedArraySizeExpressionToken 8493

Representa que nada foi especificado como um tamanho de matriz.

Por exemplo int[,] , que tem OmittedArraySizeExpressionToken como filho antes OmittedArraySizeExpressionSyntax e depois do CommaToken.

OmittedTypeArgument 8626
OmittedTypeArgumentToken 8492

Representa que nada foi especificado como um argumento de tipo.

Por exemplo Dictionary<,> , que tem OmittedTypeArgumentToken como filho antes OmittedTypeArgumentSyntax e depois do CommaToken.

OnKeyword 8430

Representa on.

OpenBraceToken 8205

Representa o { token.

OpenBracketToken 8207

Representa o [ token.

OpenParenToken 8200

Representa o ( token.

OperatorDeclaration 8876
OperatorKeyword 8382

Representa operator.

OperatorMemberCref 8601
OrAssignmentExpression 8722
OrderByClause 8781
OrderByKeyword 8429

Representa orderby.

OrKeyword 8438

Representa or.

OrPattern 9031
OutKeyword 8361

Representa out.

OverrideKeyword 8355

Representa override.

Parameter 8908
ParameterList 8906
ParamKeyword 8414

Representa param.

ParamsKeyword 8365

Representa params.

ParenthesizedExpression 8632
ParenthesizedLambdaExpression 8643
ParenthesizedPattern 9028
ParenthesizedVariableDesignation 8928
PartialKeyword 8406

Representa partial.

PercentEqualsToken 8283

Representa o %= token.

PercentToken 8196

Representa o % token.

PlusEqualsToken 8280

Representa o += token.

PlusPlusToken 8263

Representa o ++ token.

PlusToken 8203

Representa o + token.

PointerIndirectionExpression 8736
PointerMemberAccessExpression 8690
PointerType 8624
PositionalPatternClause 9023
PostDecrementExpression 8739
PostIncrementExpression 8738
PragmaChecksumDirectiveTrivia 8560
PragmaKeyword 8476

Representa pragma.

PragmaWarningDirectiveTrivia 8559
PreDecrementExpression 8735
PredefinedType 8621
PreIncrementExpression 8734
PreprocessingMessageTrivia 8547
PrimaryConstructorBaseType 9065
PrivateKeyword 8344

Representa private.

PropertyDeclaration 8892
PropertyKeyword 8415

Representa property.

PropertyPatternClause 9021
ProtectedKeyword 8346

Representa protected.

PublicKeyword 8343

Representa public.

QualifiedCref 8598
QualifiedName 8617
QueryBody 8775
QueryContinuation 8786
QueryExpression 8774
QuestionQuestionEqualsToken 8284

Representa o ??= token.

QuestionQuestionToken 8265

Representa o ?? token.

QuestionToken 8219

Representa o ? token.

RangeExpression 8658
ReadOnlyKeyword 8348

Representa readonly.

RecordDeclaration 9063
RecordKeyword 8444

Representa record.

RecordStructDeclaration 9068
RecursivePattern 9020
ReferenceDirectiveTrivia 8561
ReferenceKeyword 8481

Representa r.

RefExpression 9050
RefKeyword 8360

Representa ref.

RefType 9051
RefTypeExpression 8767
RefTypeKeyword 8368

Representa __reftype.

RefValueExpression 8766
RefValueKeyword 8369

Representa __refvalue.

RegionDirectiveTrivia 8552
RegionKeyword 8469

Representa region.

RelationalPattern 9029
RemoveAccessorDeclaration 8899
RemoveKeyword 8420

Representa remove.

RequiredKeyword 8447

Representa required.

RestoreKeyword 8480

Representa restore.

ReturnKeyword 8341

Representa return.

ReturnStatement 8805
RightShiftAssignmentExpression 8724
RightShiftExpression 8674
SafeOnlyKeyword 8488
SByteKeyword 8306

Representa sbyte.

ScopedKeyword 8448

Representa scoped.

ScopedType 9075
SealedKeyword 8349

Representa sealed.

SelectClause 8784
SelectKeyword 8428

Representa select.

SemicolonToken 8212

Representa o ; token.

SetAccessorDeclaration 8897
SetKeyword 8418

Representa set.

ShebangDirectiveTrivia 8922
ShortKeyword 8307

Representa short.

SimpleAssignmentExpression 8714
SimpleBaseType 8865
SimpleLambdaExpression 8642
SimpleMemberAccessExpression 8689
SingleLineCommentTrivia 8541
SingleLineDocumentationCommentTrivia 8544
SingleLineRawStringLiteralToken 8518
SingleQuoteToken 8214

Representa o ' token.

SingleVariableDesignation 8927
SizeOfExpression 8761
SizeOfKeyword 8321

Representa sizeof.

SkippedTokensTrivia 8563
SlashEqualsToken 8276

Representa o /= token.

SlashGreaterThanToken 8232

Representa o /> token.

SlashToken 8221

Representa o / token.

SlicePattern 9034
SpreadElement 9078
StackAllocArrayCreationExpression 8653
StackAllocKeyword 8352

Representa stackalloc.

StaticKeyword 8347

Representa static.

StringKeyword 8316

Representa string.

StringLiteralExpression 8750
StringLiteralToken 8511
StructConstraint 8869
StructDeclaration 8856
StructKeyword 8375

Representa struct.

Subpattern 9022
SubtractAssignmentExpression 8716
SubtractExpression 8669
SuppressNullableWarningExpression 9054
SwitchExpression 9025
SwitchExpressionArm 9026
SwitchKeyword 8331

Representa switch.

SwitchSection 8822
SwitchStatement 8821
ThisConstructorInitializer 8890
ThisExpression 8746
ThisKeyword 8370

Representa this.

ThrowExpression 9052
ThrowKeyword 8342

Representa throw.

ThrowStatement 8808
TildeToken 8193

Representa o ~ token.

TrueKeyword 8323

Representa true.

TrueLiteralExpression 8752
TryKeyword 8334

Representa try.

TryStatement 8825
TupleElement 8925
TupleExpression 8926
TupleType 8924
TypeArgumentList 8619
TypeConstraint 8870
TypeCref 8597
TypeKeyword 8411

Representa type.

TypeOfExpression 8760
TypeOfKeyword 8320

Representa typeof.

TypeParameter 8910
TypeParameterConstraintClause 8866
TypeParameterList 8909
TypePattern 9030
TypeVarKeyword 8416

Representa typevar.

UIntKeyword 8310

Representa uint.

ULongKeyword 8312

Representa ulong.

UnaryMinusExpression 8731
UnaryPlusExpression 8730
UncheckedExpression 8763
UncheckedKeyword 8380

Representa unchecked.

UncheckedStatement 8816
UndefDirectiveTrivia 8555
UndefKeyword 8472

Representa undef.

UnderscoreToken 8491

Representa o _ token.

UnknownAccessorDeclaration 8900
UnmanagedKeyword 8446

Representa unmanaged.

UnsafeKeyword 8381

Representa unsafe.

UnsafeStatement 8817
UnsignedRightShiftAssignmentExpression 8726
UnsignedRightShiftExpression 8692
UShortKeyword 8308

Representa ushort.

UsingDirective 8843
UsingKeyword 8373

Representa using.

UsingStatement 8813
Utf8MultiLineRawStringLiteralToken 8522
Utf8SingleLineRawStringLiteralToken 8521
Utf8StringLiteralExpression 8756
Utf8StringLiteralToken 8520
VariableDeclaration 8794
VariableDeclarator 8795
VarKeyword 8490

Representa var.

VarPattern 9027
VirtualKeyword 8357

Representa virtual.

VoidKeyword 8318

Representa void.

VolatileKeyword 8353

Representa volatile.

WarningDirectiveTrivia 8557
WarningKeyword 8473

Representa warning.

WarningsKeyword 8488

Representa warnings.

WhenClause 9013
WhenKeyword 8437

Representa when.

WhereClause 8780
WhereKeyword 8421

Representa where.

WhileKeyword 8327

Representa while.

WhileStatement 8809
WhitespaceTrivia 8540
WithExpression 9061
WithInitializerExpression 9062
WithKeyword 8442

Representa with.

XmlCDataEndToken 8237

Representa o ]]> token.

XmlCDataSection 8584
XmlCDataStartToken 8236

Representa o <![CDATA[ token.

XmlComment 8585
XmlCommentEndToken 8235

Representa o --> token.

XmlCommentStartToken 8234

Representa o <!-- token.

XmlCrefAttribute 8579
XmlElement 8574
XmlElementEndTag 8576
XmlElementStartTag 8575
XmlEmptyElement 8577
XmlEntityLiteralToken 8512
XmlName 8581
XmlNameAttribute 8580
XmlPrefix 8582
XmlProcessingInstruction 8586
XmlProcessingInstructionEndToken 8239

Representa o ?> token.

XmlProcessingInstructionStartToken 8238

Representa o <? token.

XmlText 8583
XmlTextAttribute 8578
XmlTextLiteralNewLineToken 8514
XmlTextLiteralToken 8513
YieldBreakStatement 8807
YieldKeyword 8405

Representa yield.

YieldReturnStatement 8806

Aplica-se a