Skip to main content

Crate treesitter_types_c_sharp

Crate treesitter_types_c_sharp 

Source
Expand description

Strongly-typed AST types for C#, generated from tree-sitter-c-sharp’s node-types.json.

Structs§

AccessorDeclaration
AccessorList
AliasQualifiedName
AndPattern
AnonymousMethodExpression
AnonymousObjectCreationExpression
Argument
ArgumentList
ArrayCreationExpression
ArrayRankSpecifier
ArrayType
ArrowExpressionClause
AsExpression
AssignmentExpression
Attribute
AttributeArgument
AttributeArgumentList
AttributeList
AttributeTargetSpecifier
AwaitExpression
BaseList
BinaryExpression
Block
BooleanLiteral
BracketedArgumentList
BracketedParameterList
BreakStatement
CallingConvention
CastExpression
CatchClause
CatchDeclaration
CatchFilterClause
CharacterLiteral
CharacterLiteralContent
CheckedExpression
CheckedStatement
ClassDeclaration
Comment
CompilationUnit
ConditionalAccessExpression
ConditionalExpression
ConstantPattern
ConstructorConstraint
ConstructorDeclaration
ConstructorInitializer
ContinueStatement
ConversionOperatorDeclaration
DeclarationExpression
DeclarationList
DeclarationPattern
DefaultExpression
DelegateDeclaration
DestructorDeclaration
Discard
DoStatement
ElementAccessExpression
ElementBindingExpression
EmptyStatement
EnumDeclaration
EnumMemberDeclaration
EnumMemberDeclarationList
EscapeSequence
EventDeclaration
EventFieldDeclaration
ExplicitInterfaceSpecifier
ExpressionStatement
ExternAliasDirective
FieldDeclaration
FileScopedNamespaceDeclaration
FinallyClause
FixedStatement
ForStatement
ForeachStatement
FromClause
FunctionPointerParameter
FunctionPointerType
GenericName
GlobalAttribute
GlobalStatement
GotoStatement
GroupClause
Identifier
IfStatement
ImplicitArrayCreationExpression
ImplicitObjectCreationExpression
ImplicitParameter
ImplicitStackallocExpression
ImplicitType
IndexerDeclaration
InitializerExpression
IntegerLiteral
InterfaceDeclaration
InterpolatedStringExpression
Interpolation
InterpolationAlignmentClause
InterpolationBrace
InterpolationFormatClause
InterpolationQuote
InterpolationStart
InvocationExpression
IsExpression
IsPatternExpression
JoinClause
JoinIntoClause
LabeledStatement
LambdaExpression
LetClause
ListPattern
LocalDeclarationStatement
LocalFunctionStatement
LockStatement
MakerefExpression
MemberAccessExpression
MemberBindingExpression
MethodDeclaration
Modifier
NamespaceDeclaration
NegatedPattern
NullLiteral
NullableType
ObjectCreationExpression
OperatorDeclaration
OrPattern
OrderByClause
Parameter
ParameterList
ParenthesizedExpression
ParenthesizedPattern
ParenthesizedVariableDesignation
PointerType
PositionalPatternClause
PostfixUnaryExpression
PredefinedType
PrefixUnaryExpression
PreprocArg
PreprocDefine
PreprocElif
PreprocElse
PreprocEndregion
PreprocError
PreprocIf
PreprocLine
PreprocNullable
PreprocPragma
PreprocRegion
PreprocUndef
PreprocWarning
PrimaryConstructorBaseType
PropertyDeclaration
PropertyPatternClause
QualifiedName
QueryExpression
RangeExpression
RawStringContent
RawStringEnd
RawStringLiteral
RawStringStart
RealLiteral
RecordDeclaration
RecursivePattern
RefExpression
RefType
ReftypeExpression
RefvalueExpression
RelationalPattern
ReturnStatement
ScopedType
SelectClause
ShebangDirective
SizeofExpression
Span
StackallocExpression
StringContent
StringLiteral
StringLiteralContent
StringLiteralEncoding
StructDeclaration
Subpattern
SwitchBody
SwitchExpression
SwitchExpressionArm
SwitchSection
SwitchStatement
ThrowExpression
ThrowStatement
TryStatement
TupleElement
TupleExpression
TuplePattern
TupleType
TypeArgumentList
TypeParameter
TypeParameterConstraint
TypeParameterConstraintsClause
TypeParameterList
TypePattern
TypeofExpression
UnaryExpression
UnsafeStatement
UsingDirective
UsingStatement
VarPattern
VariableDeclaration
VariableDeclarator
VerbatimStringLiteral
WhenClause
WhereClause
WhileStatement
WithExpression
WithInitializer
YieldStatement

Enums§

AccessorDeclarationBody
AccessorDeclarationChildren
AccessorDeclarationName
AliasQualifiedNameName
AndPatternOperator
AnonymousMethodExpressionChildren
AnonymousObjectCreationExpressionChildren
AnyNode
ArgumentChildren
ArrayTypeType
AsExpressionOperator
AssignmentExpressionOperator
AttributeArgumentChildren
AttributeListChildren
AttributeName
BaseListChildren
BinaryExpressionLeft
BinaryExpressionOperator
BinaryExpressionRight
BracketedParameterListChildren
BracketedParameterListType
CatchClauseChildren
CharacterLiteralChildren
ClassDeclarationChildren
CompilationUnitChildren
ConditionalAccessExpressionChildren
ConstantPatternChildren
ConstructorDeclarationBody
ConstructorDeclarationChildren
ConversionOperatorDeclarationBody
ConversionOperatorDeclarationChildren
Declaration
DeclarationPatternChildren
DelegateDeclarationChildren
DestructorDeclarationBody
EnumDeclarationChildren
EnumMemberDeclarationListChildren
EventDeclarationChildren
EventFieldDeclarationChildren
ExplicitInterfaceSpecifierChildren
Expression
ExpressionStatementChildren
FieldDeclarationChildren
FileScopedNamespaceDeclarationName
FixedStatementChildren
ForStatementInitializer
ForStatementUpdate
ForeachStatementLeft
FunctionPointerParameterType
FunctionPointerTypeChildren
GenericNameChildren
ImplicitObjectCreationExpressionChildren
IndexerDeclarationChildren
InterfaceDeclarationChildren
InterpolatedStringExpressionChildren
InterpolationChildren
IsExpressionOperator
JoinClauseChildren
LabeledStatementChildren
LambdaExpressionBody
LambdaExpressionChildren
LambdaExpressionParameters
LetClauseChildren
Literal
LocalDeclarationStatementChildren
LocalFunctionStatementBody
LocalFunctionStatementChildren
LockStatementChildren
LvalueExpression
MemberAccessExpressionExpression
MemberAccessExpressionName
MemberBindingExpressionName
MethodDeclarationBody
MethodDeclarationChildren
NamespaceDeclarationName
NonLvalueExpression
NullableTypeType
OperatorDeclarationBody
OperatorDeclarationChildren
OperatorDeclarationOperator
OrPatternOperator
ParameterChildren
ParameterListChildren
ParameterListType
ParenthesizedExpressionChildren
ParenthesizedVariableDesignationChildren
ParseError
Pattern
PointerTypeType
PreprocElifAlternative
PreprocElifChildren
PreprocElifCondition
PreprocElseChildren
PreprocIfAlternative
PreprocIfChildren
PreprocIfCondition
PreprocLineChildren
PreprocPragmaChildren
PrimaryConstructorBaseTypeType
PropertyDeclarationChildren
PropertyDeclarationValue
QualifiedNameName
QualifiedNameQualifier
QueryExpressionChildren
RawStringLiteralChildren
RecordDeclarationChildren
RecursivePatternChildren
ScopedTypeType
Statement
StringLiteralChildren
StructDeclarationChildren
SubpatternChildren
SwitchExpressionArmChildren
SwitchExpressionChildren
SwitchSectionChildren
SwitchStatementValue
TryStatementChildren
TuplePatternChildren
Type
TypeDeclaration
TypeParameterConstraintsClauseChildren
UnaryExpressionArgument
UnaryExpressionOperator
UsingStatementChildren
VarPatternChildren
VariableDeclaratorChildren
WithExpressionChildren
WithInitializerChildren

Traits§

FromNode
Every generated struct and enum implements this.
LeafNode
Implemented by every generated leaf type (identifiers, literals, etc.)
Spanned
Implemented by every generated type that has a source location.