pub enum SyntaxKind {
Show 986 variants
Unparsable,
File,
ColumnReference,
ObjectReference,
Expression,
WildcardIdentifier,
Function,
FunctionContents,
HavingClause,
PathSegment,
LimitClause,
CubeRollupClause,
GroupingSetsClause,
GroupingExpressionList,
SetClause,
FetchClause,
FunctionDefinition,
AlterSequenceOptionsSegment,
RoleReference,
TablespaceReference,
ExtensionReference,
TagReference,
ColumnDefinition,
ColumnConstraintSegment,
CommentClause,
TableEndClause,
MergeMatch,
MergeWhenNotMatchedClause,
MergeInsertClause,
MergeUpdateClause,
MergeDeleteClause,
MergeTreeOrderByClause,
SetClauseList,
TableReference,
GroupbyClause,
FrameClause,
WithCompoundStatement,
CommonTableExpression,
CTEColumnList,
TriggerReference,
TableConstraint,
JoinOnCondition,
DatabaseReference,
CollationReference,
OverClause,
NamedWindow,
WindowSpecification,
PartitionbyClause,
JoinClause,
DropTriggerStatement,
SampleExpression,
TableExpression,
CreateTriggerStatement,
DropModelStatement,
DescribeStatement,
UseStatement,
ExplainStatement,
CreateSequenceStatement,
CreateSequenceOptionsSegment,
AlterSequenceStatement,
DropSequenceStatement,
DropCastStatement,
CreateFunctionStatement,
DropFunctionStatement,
CreateModelStatement,
CreateViewStatement,
DeleteStatement,
UpdateStatement,
CreateCastStatement,
CreateRoleStatement,
DropRoleStatement,
AlterTableStatement,
CreateSchemaStatement,
SetSchemaStatement,
DropSchemaStatement,
DropTypeStatement,
CreateDatabaseStatement,
DropDatabaseStatement,
FunctionParameterList,
CreateIndexStatement,
DropIndexStatement,
CreateTableStatement,
AccessStatement,
InsertStatement,
TransactionStatement,
DropTableStatement,
DropViewStatement,
CreateUserStatement,
DropUserStatement,
ArrayExpression,
LocalAlias,
MergeStatement,
IndexColumnDefinition,
AggregateOrderByClause,
FunctionName,
CaseExpression,
WhenClause,
ElseClause,
PreWhereClause,
WhereClause,
SetOperator,
ValuesClause,
EmptyStructLiteral,
ObjectLiteral,
ObjectLiteralElement,
TimeZoneGrammar,
BracketedArguments,
DataType,
AliasExpression,
ArrayAccessor,
ArrayLiteral,
TypedArrayLiteral,
StructType,
StructLiteral,
TypedStructLiteral,
IntervalExpression,
ArrayType,
SizedArrayType,
SelectStatement,
OverlapsClause,
SelectClause,
Statement,
WithNoSchemaBindingClause,
WithDataClause,
SetExpression,
FromClause,
EmptyStructLiteralBrackets,
WildcardExpression,
OrderbyClause,
TruncateStatement,
FromExpression,
FromExpressionElement,
SelectClauseModifier,
NamedWindowExpression,
SelectClauseElement,
QualifyClause,
MultiStatementSegment,
AssertStatement,
ForInStatements,
ForInStatement,
RepeatStatements,
RepeatStatement,
IfStatements,
IfStatement,
LoopStatements,
LoopStatement,
WhileStatements,
WhileStatement,
DatePartWeek,
SelectExceptClause,
SelectReplaceClause,
StructTypeSchema,
Tuple,
NamedArgument,
DeclareSegment,
SetSegment,
PartitionBySegment,
ClusterBySegment,
OptionsSegment,
CreateExternalTableStatement,
AlterViewStatement,
CreateMaterializedViewStatement,
AlterMaterializedViewSetOptionsStatement,
DropMaterializedViewStatement,
ParameterizedExpression,
PivotForClause,
FromPivotExpression,
UnpivotClause,
FromUnpivotExpression,
NotMatchedByTargetClause,
MergeWhenMatchedClause,
ProcedureName,
ExportStatement,
ProcedureParameterList,
ProcedureStatements,
CallStatement,
ReturnStatement,
BreakStatement,
LeaveStatement,
ContinueStatement,
RaiseStatement,
PsqlVariable,
ComparisonOperator,
DatetimeTypeIdentifier,
DatetimeLiteral,
IndexAccessMethod,
OperatorClassReference,
DefinitionParameter,
DefinitionParameters,
RelationOption,
RelationOptions,
AlterFunctionActionSegment,
AlterProcedureActionSegment,
AlterProcedureStatement,
DropProcedureStatement,
WktGeometryType,
IntoClause,
ForClause,
AlterRoleStatement,
ExplainOption,
CreateTableAsStatement,
AlterPublicationStatement,
CreatePublicationStatement,
PublicationObjects,
PublicationTable,
PublicationReference,
DropExtensionStatement,
CreateExtensionStatement,
VersionIdentifier,
AlterTableActionSegment,
DropPublicationStatement,
AlterMaterializedViewStatement,
AlterMaterializedViewActionSegment,
RefreshMaterializedViewStatement,
WithCheckOption,
AlterPolicyStatement,
AlterDatabaseStatement,
VacuumStatement,
LikeOptionSegment,
PartitionBoundSpec,
IndexParameters,
ReferentialActionSegment,
IndexElement,
ExclusionConstraintElement,
AlterDefaultPrivilegesStatement,
AlterDefaultPrivilegesObjectPrivilege,
AlterDefaultPrivilegesSchemaObject,
AlterDefaultPrivilegesToFromRoles,
AlterDefaultPrivilegesGrant,
DropOwnedStatement,
ReassignOwnedStatement,
IndexElementOptions,
AlterDefaultPrivilegesRevoke,
AlterIndexStatement,
ReindexStatementSegment,
AnalyzeStatement,
AlterTrigger,
OperationClassReference,
ConflictAction,
ConflictTarget,
SetStatement,
CreatePolicyStatement,
CreateDomainStatement,
AlterDomainStatement,
DropDomainStatement,
DropPolicyStatement,
LoadStatement,
ResetStatement,
ListenStatement,
NotifyStatement,
UnlistenStatement,
ClusterStatement,
LanguageClause,
DoStatement,
CreateUserMappingStatement,
ImportForeignSchemaStatement,
CreateServerStatement,
CreateCollationStatement,
AlterTypeStatement,
CreateTypeStatement,
LockTableStatement,
CopyStatement,
DiscardStatement,
AlterSchemaStatement,
ServerReference,
ArrayJoinClause,
TableEngineFunction,
OnClusterClause,
Engine,
EngineFunction,
DatabaseEngine,
ColumnTtlSegment,
TableTtlSegment,
DropDictionaryStatement,
DropQuotaStatement,
DropSettingProfileStatement,
SystemMergesSegment,
SystemTtlMergesSegment,
SystemMovesSegment,
SystemReplicaSegment,
SystemFilesystemSegment,
SystemReplicatedSegment,
SystemReplicationSegment,
SystemFetchesSegment,
SystemDistributedSegment,
SystemModelSegment,
SystemFileSegment,
SystemUnfreezeSegment,
SystemStatement,
ConnectbyClause,
CallSegment,
WithingroupClause,
PatternExpression,
MatchRecognizeClause,
ChangesClause,
MatchConditionClause,
FromAtExpression,
FromBeforeExpression,
SnowflakeKeywordExpression,
SemiStructuredExpression,
SelectExcludeClause,
SelectRenameClause,
AlterTableTableColumnAction,
AlterTableClusteringAction,
AlterTableConstraintAction,
AlterWarehouseStatement,
AlterShareStatement,
AlterStorageIntegrationStatement,
AlterExternalTableStatement,
CommentEqualsClause,
TagBracketedEquals,
TagEquals,
CreateCloneStatement,
CreateDatabaseFromShareStatement,
CreateProcedureStatement,
ScriptingBlockStatement,
ScriptingLetStatement,
AlterFunctionStatement,
CreateExternalFunctionStatement,
WarehouseObjectProperties,
ConstraintPropertiesSegment,
CopyOptions,
SchemaObjectProperties,
CreateTaskStatement,
SnowflakeTaskExpressionSegment,
CreateStatement,
CreateFileFormatSegment,
AlterFileFormatSegment,
CsvFileFormatTypeParameters,
JsonFileFormatTypeParameters,
AvroFileFormatTypeParameters,
OrcFileFormatTypeParameters,
ParquetFileFormatTypeParameters,
XmlFileFormatTypeParameters,
AlterPipeSegment,
FileFormatSegment,
FormatTypeOptions,
CopyIntoLocationStatement,
CopyIntoTableStatement,
StorageLocation,
StageParameters,
S3ExternalStageParameters,
GcsExternalStageParameters,
AzureBlobStorageExternalStageParameters,
CreateStageStatement,
AlterStageStatement,
CreateStreamStatement,
AlterStreamStatement,
ShowStatement,
AlterUserStatement,
AlterSessionStatement,
AlterSessionSetStatement,
AlterSessionUnsetClause,
AlterTaskStatement,
AlterTaskSpecialSetClause,
AlterTaskSetClause,
AlterTaskUnsetClause,
ExecuteTaskClause,
UndropStatement,
CommentStatement,
DropExternalTableStatement,
ListStatement,
GetStatement,
PutStatement,
RemoveStatement,
CastExpression,
DropObjectStatement,
UnsetStatement,
SqlConfOption,
BinaryOperator,
PrimitiveType,
CreateWidgetStatement,
ReplaceTableStatement,
RemoveWidgetStatement,
UseDatabaseStatement,
InsertOverwriteDirectoryStatement,
InsertOverwriteDirectoryHiveFmtStatement,
LoadDataStatement,
ClusterByClause,
DistributeByClause,
HintFunction,
SelectHint,
WithCubeRollupClause,
SortByClause,
LateralViewClause,
PivotClause,
TransformClause,
AddFileStatement,
AddJarStatement,
AnalyzeTableStatement,
CacheTable,
ClearCache,
ListFileStatement,
ListJarStatement,
RefreshStatement,
UncacheTable,
FileReference,
PropertyNameIdentifier,
GeneratedColumnDefinition,
IntervalLiteral,
DescribeHistoryStatement,
DescribeDetailStatement,
GenerateManifestFileStatement,
ConvertToDeltaStatement,
RestoreTableStatement,
ConstraintStatement,
ApplyChangesIntoStatement,
UsingClause,
DataSourceFormat,
IcebergTransformation,
MsckRepairTableStatement,
RowFormatClause,
SkewedByClause,
Bracketed,
NumericLiteral,
Keyword,
EndOfFile,
Whitespace,
Newline,
NakedIdentifier,
Unlexable,
StartBracket,
EndBracket,
InlineComment,
Identifier,
Raw,
QuotedIdentifier,
Star,
Dot,
Comma,
Comment,
EmitsSegment,
Literal,
BareFunction,
NullLiteral,
BooleanLiteral,
BlockComment,
QuotedLiteral,
DoubleDivide,
Meta,
Colon,
StatementTerminator,
StartSquareBracket,
EndSquareBracket,
StartCurlyBracket,
Tilde,
CastingOperator,
RawComparisonOperator,
DatePart,
Pipe,
SignIndicator,
LikeOperator,
Word,
DoubleQuote,
SingleQuote,
Dash,
Semicolon,
BackQuote,
DollarQuote,
Not,
Ampersand,
Question,
Percent,
Divide,
Minus,
Plus,
Caret,
VerticalBar,
EndCurlyBracket,
FunctionNameIdentifier,
Dedent,
Indent,
Implicit,
AtSignLiteral,
TsqlVariable,
QuestionMark,
RightArrow,
UdfBody,
StartAngleBracket,
EndAngleBracket,
Lambda,
NakedIdentifierAll,
ProcedureNameIdentifier,
Parameter,
DateConstructorLiteral,
ProcedureOption,
ExportOption,
PropertiesNakedIdentifier,
Symbol,
DataTypeIdentifier,
Placeholder,
ExecuteScriptStatement,
AssignmentOperator,
Batch,
PivotColumnReference,
IntoTableClause,
PasswordAuth,
ExecuteAsClause,
ExecuteImmediateClause,
UnicodeSingleQuote,
EscapedSingleQuote,
UnicodeDoubleQuote,
JsonOperator,
At,
BitStringLiteral,
DollarNumericLiteral,
WidgetNameIdentifier,
FileKeyword,
SemiStructuredElement,
BytesDoubleQuote,
BytesSingleQuote,
FileFormat,
FileType,
StartHint,
EndHint,
FunctionAssigner,
UnquotedFilePath,
Dollar,
SystemFunctionName,
IntegerLiteral,
StageEncryptionOption,
BucketPath,
QuotedStar,
StagePath,
FileLiteral,
BytesQuotedLiteral,
SignedQuotedLiteral,
ParameterAssigner,
ColumnSelector,
DollarLiteral,
ExcludeBracketClose,
WalrusOperator,
WarehouseSize,
Variable,
ExcludeBracketOpen,
SymlinkFormatManifest,
StartExcludeBracket,
CompressionType,
CopyOnErrorOption,
ColumnIndexIdentifierSegment,
ScalingPolicy,
ValidationModeOption,
EndExcludeBracket,
IdentifierList,
TemplateLoop,
ColonDelimiter,
SqlcmdOperator,
Slice,
TableEndClauseSegment,
PragmaStatement,
PragmaReference,
Slash,
DataFormatSegment,
AuthorizationSegment,
ColumnAttributeSegment,
ShowModelStatement,
CreateExternalSchemaStatement,
CreateLibraryStatement,
UnloadStatement,
DeclareStatement,
FetchStatement,
CloseStatement,
CreateDatashareStatement,
DescDatashareStatement,
DropDatashareStatement,
ShowDatasharesStatement,
GrantDatashareStatement,
CreateRlsPolicyStatement,
ManageRlsPolicyStatement,
DropRlsPolicyStatement,
AnalyzeCompressionStatement,
PartitionedBySegment,
RowFormatDelimitedSegment,
ObjectUnpivoting,
ArrayUnnesting,
AlterGroup,
CreateGroup,
ListaggOverflowClauseSegment,
UnorderedSelectStatementSegment,
MapType,
MapTypeSchema,
PrepareStatement,
ExecuteStatement,
RenameTableStatement,
ActionParameter,
AggregateClause,
AggregateOrderBy,
AliasOperator,
AllowConnections,
AlterAccountStatement,
AlterAggregateStatement,
AlterBiCapacityStatement,
AlterCapacityStatement,
AlterCatalogStatement,
AlterDynamicTableStatement,
AlterEventStatement,
AlterExtensionStatement,
AlterExternalVolumeStatement,
AlterForeignTableActionSegment,
AlterForeignTableStatement,
AlterMaskingPolicy,
AlterMasterKeyStatement,
AlterNetworkPolicyStatement,
AlterOptionSegment,
AlterOrganizationStatement,
AlterPartitionFunctionStatement,
AlterPartitionSchemeStatement,
AlterPasswordPolicyStatement,
AlterProjectStatement,
AlterReservationStatement,
AlterResourceMonitorStatement,
AlterRowAccessPolicyStatement,
AlterSecurityPolicyStatement,
AlterStatisticsStatement,
AlterStreamlitStatement,
AlterSubscription,
AlterTableSwitchStatement,
AlterTagStatement,
AlterTextSearchConfigurationStatement,
AlterVolumeStatement,
ArnCatalogSchemaSegment,
ArrayTypeSchema,
AtSign,
AtomicBeginEndBlock,
Atsign,
AutoOption,
BackupStorageRedundancy,
BeginEndBlock,
BeginStatement,
BinaryLiteral,
BindVariable,
BitValueLiteral,
BracketedIndexColumnListGrammar,
BulkInsertStatement,
BulkInsertWithSegment,
ByteLengthLiteral,
CallOperator,
CatalogReference,
CharacteristicStatement,
CheckConstraintGrammar,
CheckTableStatement,
ChecksumTableStatement,
CloseCursorStatement,
ClusterbyClause,
Code,
CollationClause,
ColonLiteral,
ColonPrefix,
ColumnPathOperator,
ColumnPropertiesSegment,
ColumnTypeReference,
ColumnsExpression,
Command,
CompatibilityLevel,
CompositeValueExpansion,
ComputedColumnDefinition,
ConflictClause,
ConnectionConstraintGrammar,
ConnectionLimitSegment,
CopyFilesIntoLocationStatement,
CreateAggregateStatement,
CreateAssignmentStatement,
CreateAuthenticationPolicySegment,
CreateCapacityStatement,
CreateCatalogStatement,
CreateColumnstoreIndexStatement,
CreateCortexSearchServiceStatement,
CreateDatabaseRoleStatement,
CreateDatabaseScopedCredentialStatement,
CreateDatabaseWithOptions,
CreateEventStatement,
CreateEventTableStatement,
CreateExternalDataSourceStatement,
CreateExternalFileFormat,
CreateExternalVolumeStatement,
CreateForeignDataWrapper,
CreateForeignTableStatement,
CreateFulltextCatalogStatement,
CreateFulltextIndexStatement,
CreateLoginStatement,
CreateMasterKeyStatement,
CreateMaterializedViewAsReplicaOfStatement,
CreateOperatorStatement,
CreateOptionSegment,
CreatePartitionFunctionStatement,
CreatePartitionSchemeStatement,
CreatePasswordPolicyStatement,
CreateReservationStatement,
CreateResourceMonitorStatement,
CreateRowAccessPolicyStatement,
CreateSearchIndexStatement,
CreateSecurityPolicyStatement,
CreateServerRoleStatement,
CreateSnapshotTableStatement,
CreateSqlFunctionStatement,
CreateStatisticsStatement,
CreateStreamlitStatement,
CreateSubscription,
CreateSynonymStatement,
CreateTableAsSelectStatement,
CreateTableFunctionStatement,
CreateTableGraphStatement,
CreateTableUsingStatement,
CreateTextSearchConfigurationStatement,
CreateTrigger,
CreateVectorIndexStatement,
CreateVirtualTableStatement,
CreateVolumeStatement,
CursorDefinition,
CursorFetchSegment,
CursorOpenCloseSegment,
DataGovernancePolicyTagActionSegment,
DatabaseRoleReference,
DateFormat,
DeallocateCursorStatement,
DeallocateSegment,
DeallocateStatement,
DeclareOrReplaceVariableStatement,
DefaultCollate,
DefinerSegment,
DeleteTargetTable,
DelimiterStatement,
DisableTrigger,
DistributebyClause,
DoubleAmpersand,
DoubleAtSignLiteral,
DoubleVerticalBar,
DropAggregateStatement,
DropAssignmentStatement,
DropCapacityStatement,
DropCatalogStatement,
DropCollationStatement,
DropColumnClause,
DropDynamicTableSegment,
DropEventStatement,
DropExternalVolumeStatement,
DropForeignTableStatement,
DropIcebergTableStatement,
DropMasterKeyStatement,
DropModelstatement,
DropPasswordPolicyStatement,
DropReservationStatement,
DropResourceMonitorStatement,
DropRowAccessPolicyStatement,
DropSearchIndexStatement,
DropSecurityPolicy,
DropStatement,
DropStatisticsStatement,
DropSubscription,
DropSynonymStatement,
DropTableFunctionStatement,
DropTextSearchConfigurationStatement,
DropTrigger,
DropVectorIndexStatement,
DropVolumeStatement,
DynamicTableLagIntervalSegment,
DynamicTableOptions,
Edition,
EncryptedWithGrammar,
ExceptionBlockStatement,
ExceptionCode,
ExecuteArrow,
ExecuteImmediate,
ExecuteOption,
ExecuteSegment,
ExtendClause,
ExternalAccessIntegrationEquals,
ExternalFileDelimitedTextClause,
ExternalFileDelimitedTextFormatOptionsClause,
ExternalFileDeltaClause,
ExternalFileJsonClause,
ExternalFileOrcClause,
ExternalFileParquetClause,
ExternalFileRcClause,
ExternalLocation,
ExternalVolumeReference,
FatRightArrow,
FetchCursorStatement,
FileCompression,
FileEncoding,
FileSpec,
FileSpecFileGrowth,
FileSpecFileName,
FileSpecMaxSize,
FileSpecNewName,
FileSpecSize,
FileSpecWithoutBracket,
FilegroupClause,
FilegroupName,
FilestreamOnOptionStatement,
FlushStatement,
ForSystemTimeAsOfSegment,
FormatClause,
FromDatashareClause,
FromIntegrationClause,
FullTextSearchOperator,
FunctionOptionSegment,
FunctionParameterListWithComments,
GetDiagnosticsSegment,
GlobOperator,
GoStatement,
GotoStatement,
GrantToSegment,
GraphTableConstraint,
GroupAndOrderbyClause,
HashIdentifier,
HashPrefix,
HelpStatement,
HexadecimalLiteral,
IamRoleClause,
IcebergTableOptions,
IdentifierClauseSegment,
IdentityGrammar,
IfClause,
IfThenStatement,
IndexHintClause,
IndexOption,
IndexReference,
IndexType,
InitializeType,
InlineDollarSign,
InlinePathOperator,
InsertRowAlias,
IntoOutfileClause,
IsolationLevelClause,
IterateStatement,
JsonPath,
LabelSegment,
LambdaArrow,
LambdaFunction,
LeadingDot,
LimitClauseComponent,
ListComprehension,
ListaggOverflowClause,
LocalAliasSegment,
LogLevelEquals,
LogicalFileName,
LoginUserSegment,
MagicCellSegment,
MagicLine,
MagicSingleLine,
MagicStart,
MaskStatement,
MasterKeyEncryptionOption,
MatchCondition,
MaxDuration,
MaxLiteral,
MetaCommand,
MetaCommandQueryBuffer,
MetaCommandStatement,
MlTableExpression,
MsckTableStatement,
NotOperator,
NotebookStart,
ObevoAnnotation,
OffsetClause,
OnPartitionOrFilegroupStatement,
OnPartitionsClause,
OpenCursorStatement,
OpenSymmetricKeyStatement,
OpenjsonSegment,
OpenjsonWithClause,
OpenquerySegment,
OpenrowsetSegment,
OpenrowsetWithClause,
OpenxmlSegment,
Operator,
OptimizeTableStatement,
Option,
OptionClause,
OptionIndicator,
OutputClause,
ParameterDirection,
PartitionClause,
PartitionSchemeClause,
PartitionSchemeName,
PasswordPolicyOptions,
PasswordPolicyReference,
PeriodSegment,
PgTrgmOperator,
PgvectorOperator,
PipeOperator,
PipeOperatorClause,
PipeStatement,
PivotOperator,
PostTableExpression,
PostgisOperator,
PrepareSegment,
PrewhereClause,
PrintStatement,
ProcedureStatement,
PurgeBinaryLogsStatement,
QualifiedOperator,
QueryHintSegment,
QuestionLiteral,
RaiserrorStatement,
RawDoubleQuote,
RawQuotedLiteral,
RawSingleQuote,
ReconfigureStatement,
ReferencesConstraintGrammar,
RelationalIndexOptions,
RenameColumnClause,
RenameStatement,
RepairTableStatement,
ReplaceStatement,
ResetMasterStatement,
ResetSessionAuthorizationStatement,
ResignalSegment,
ResourceConstraint,
ResourceMonitorOptions,
ReturnSegment,
ReturningClause,
SchemaReference,
ScriptingDeclareStatement,
ScriptingIfStatement,
ScriptingRaiseStatement,
SearchOptimizationAction,
SecurityLabelStatement,
SelectVariableAssignment,
SequenceNextValue,
SequenceReference,
SerdeMethod,
ServiceObjective,
SetConstraintStatement,
SetContextInfoStatement,
SetLanguageStatement,
SetLocalVariableSegment,
SetNamesStatement,
SetOperatorClause,
SetSessionAuthorizationStatement,
SetSessionStatement,
SetTimezoneStatement,
SetTransactionStatement,
SetVariableStatement,
SettingsClause,
SimplifiedPivot,
SimplifiedUnpivot,
SingleQuoteWithN,
SizeLiteral,
SortbyClause,
SqlcmdCommandSegment,
SquareQuote,
StatisticsReference,
StoringSegment,
SubscriptionReference,
SynonymReference,
SystemVariable,
TableClausesSegment,
TableClusterByClause,
TableColumnCommentAction,
TableDistributionClause,
TableDistributionIndexClause,
TableIndexClause,
TableIndexSegment,
TableLocationClause,
TableOptionStatement,
TableSpecificationSegment,
TagStatement,
TemporalQuery,
TextimageOnOptionStatement,
ThrowStatement,
TraceLevelEquals,
TruncateTable,
TryCatch,
TupleTypeSchema,
UndropSchemaStatement,
UnpivotMultiColumn,
UnpivotOperator,
UnpivotSingleColumn,
UnquotedRelativeSqlFilePath,
UpdateStatisticsStatement,
UpsertClause,
UpsertClauseList,
UseCatalogStatement,
VolumeReference,
WaitforStatement,
WildcardExclude,
WildcardPatternMatching,
WildcardRename,
WildcardReplace,
WithCheckOptions,
WithFill,
WithRollupClause,
WithinGroupClause,
WithordinalityClause,
}Variants§
Unparsable
File
ColumnReference
ObjectReference
Expression
WildcardIdentifier
Function
FunctionContents
HavingClause
PathSegment
LimitClause
CubeRollupClause
GroupingSetsClause
GroupingExpressionList
SetClause
FetchClause
FunctionDefinition
AlterSequenceOptionsSegment
RoleReference
TablespaceReference
ExtensionReference
TagReference
ColumnDefinition
ColumnConstraintSegment
CommentClause
TableEndClause
MergeMatch
MergeWhenNotMatchedClause
MergeInsertClause
MergeUpdateClause
MergeDeleteClause
MergeTreeOrderByClause
SetClauseList
TableReference
GroupbyClause
FrameClause
WithCompoundStatement
CommonTableExpression
CTEColumnList
TriggerReference
TableConstraint
JoinOnCondition
DatabaseReference
CollationReference
OverClause
NamedWindow
WindowSpecification
PartitionbyClause
JoinClause
DropTriggerStatement
SampleExpression
TableExpression
CreateTriggerStatement
DropModelStatement
DescribeStatement
UseStatement
ExplainStatement
CreateSequenceStatement
CreateSequenceOptionsSegment
AlterSequenceStatement
DropSequenceStatement
DropCastStatement
CreateFunctionStatement
DropFunctionStatement
CreateModelStatement
CreateViewStatement
DeleteStatement
UpdateStatement
CreateCastStatement
CreateRoleStatement
DropRoleStatement
AlterTableStatement
CreateSchemaStatement
SetSchemaStatement
DropSchemaStatement
DropTypeStatement
CreateDatabaseStatement
DropDatabaseStatement
FunctionParameterList
CreateIndexStatement
DropIndexStatement
CreateTableStatement
AccessStatement
InsertStatement
TransactionStatement
DropTableStatement
DropViewStatement
CreateUserStatement
DropUserStatement
ArrayExpression
LocalAlias
MergeStatement
IndexColumnDefinition
AggregateOrderByClause
FunctionName
CaseExpression
WhenClause
ElseClause
PreWhereClause
WhereClause
SetOperator
ValuesClause
EmptyStructLiteral
ObjectLiteral
ObjectLiteralElement
TimeZoneGrammar
BracketedArguments
DataType
AliasExpression
ArrayAccessor
ArrayLiteral
TypedArrayLiteral
StructType
StructLiteral
TypedStructLiteral
IntervalExpression
ArrayType
SizedArrayType
SelectStatement
OverlapsClause
SelectClause
Statement
WithNoSchemaBindingClause
WithDataClause
SetExpression
FromClause
EmptyStructLiteralBrackets
WildcardExpression
OrderbyClause
TruncateStatement
FromExpression
FromExpressionElement
SelectClauseModifier
NamedWindowExpression
SelectClauseElement
QualifyClause
MultiStatementSegment
AssertStatement
ForInStatements
ForInStatement
RepeatStatements
RepeatStatement
IfStatements
IfStatement
LoopStatements
LoopStatement
WhileStatements
WhileStatement
DatePartWeek
SelectExceptClause
SelectReplaceClause
StructTypeSchema
Tuple
NamedArgument
DeclareSegment
SetSegment
PartitionBySegment
ClusterBySegment
OptionsSegment
CreateExternalTableStatement
AlterViewStatement
CreateMaterializedViewStatement
AlterMaterializedViewSetOptionsStatement
DropMaterializedViewStatement
ParameterizedExpression
PivotForClause
FromPivotExpression
UnpivotClause
FromUnpivotExpression
NotMatchedByTargetClause
MergeWhenMatchedClause
ProcedureName
ExportStatement
ProcedureParameterList
ProcedureStatements
CallStatement
ReturnStatement
BreakStatement
LeaveStatement
ContinueStatement
RaiseStatement
PsqlVariable
ComparisonOperator
DatetimeTypeIdentifier
DatetimeLiteral
IndexAccessMethod
OperatorClassReference
DefinitionParameter
DefinitionParameters
RelationOption
RelationOptions
AlterFunctionActionSegment
AlterProcedureActionSegment
AlterProcedureStatement
DropProcedureStatement
WktGeometryType
IntoClause
ForClause
AlterRoleStatement
ExplainOption
CreateTableAsStatement
AlterPublicationStatement
CreatePublicationStatement
PublicationObjects
PublicationTable
PublicationReference
DropExtensionStatement
CreateExtensionStatement
VersionIdentifier
AlterTableActionSegment
DropPublicationStatement
AlterMaterializedViewStatement
AlterMaterializedViewActionSegment
RefreshMaterializedViewStatement
WithCheckOption
AlterPolicyStatement
AlterDatabaseStatement
VacuumStatement
LikeOptionSegment
PartitionBoundSpec
IndexParameters
ReferentialActionSegment
IndexElement
ExclusionConstraintElement
AlterDefaultPrivilegesStatement
AlterDefaultPrivilegesObjectPrivilege
AlterDefaultPrivilegesSchemaObject
AlterDefaultPrivilegesToFromRoles
AlterDefaultPrivilegesGrant
DropOwnedStatement
ReassignOwnedStatement
IndexElementOptions
AlterDefaultPrivilegesRevoke
AlterIndexStatement
ReindexStatementSegment
AnalyzeStatement
AlterTrigger
OperationClassReference
ConflictAction
ConflictTarget
SetStatement
CreatePolicyStatement
CreateDomainStatement
AlterDomainStatement
DropDomainStatement
DropPolicyStatement
LoadStatement
ResetStatement
ListenStatement
NotifyStatement
UnlistenStatement
ClusterStatement
LanguageClause
DoStatement
CreateUserMappingStatement
ImportForeignSchemaStatement
CreateServerStatement
CreateCollationStatement
AlterTypeStatement
CreateTypeStatement
LockTableStatement
CopyStatement
DiscardStatement
AlterSchemaStatement
ServerReference
ArrayJoinClause
TableEngineFunction
OnClusterClause
Engine
EngineFunction
DatabaseEngine
ColumnTtlSegment
TableTtlSegment
DropDictionaryStatement
DropQuotaStatement
DropSettingProfileStatement
SystemMergesSegment
SystemTtlMergesSegment
SystemMovesSegment
SystemReplicaSegment
SystemFilesystemSegment
SystemReplicatedSegment
SystemReplicationSegment
SystemFetchesSegment
SystemDistributedSegment
SystemModelSegment
SystemFileSegment
SystemUnfreezeSegment
SystemStatement
ConnectbyClause
CallSegment
WithingroupClause
PatternExpression
MatchRecognizeClause
ChangesClause
MatchConditionClause
FromAtExpression
FromBeforeExpression
SnowflakeKeywordExpression
SemiStructuredExpression
SelectExcludeClause
SelectRenameClause
AlterTableTableColumnAction
AlterTableClusteringAction
AlterTableConstraintAction
AlterWarehouseStatement
AlterStorageIntegrationStatement
AlterExternalTableStatement
CommentEqualsClause
TagBracketedEquals
TagEquals
CreateCloneStatement
CreateProcedureStatement
ScriptingBlockStatement
ScriptingLetStatement
AlterFunctionStatement
CreateExternalFunctionStatement
WarehouseObjectProperties
ConstraintPropertiesSegment
CopyOptions
SchemaObjectProperties
CreateTaskStatement
SnowflakeTaskExpressionSegment
CreateStatement
CreateFileFormatSegment
AlterFileFormatSegment
CsvFileFormatTypeParameters
JsonFileFormatTypeParameters
AvroFileFormatTypeParameters
OrcFileFormatTypeParameters
ParquetFileFormatTypeParameters
XmlFileFormatTypeParameters
AlterPipeSegment
FileFormatSegment
FormatTypeOptions
CopyIntoLocationStatement
CopyIntoTableStatement
StorageLocation
StageParameters
S3ExternalStageParameters
GcsExternalStageParameters
AzureBlobStorageExternalStageParameters
CreateStageStatement
AlterStageStatement
CreateStreamStatement
AlterStreamStatement
ShowStatement
AlterUserStatement
AlterSessionStatement
AlterSessionSetStatement
AlterSessionUnsetClause
AlterTaskStatement
AlterTaskSpecialSetClause
AlterTaskSetClause
AlterTaskUnsetClause
ExecuteTaskClause
UndropStatement
CommentStatement
DropExternalTableStatement
ListStatement
GetStatement
PutStatement
RemoveStatement
CastExpression
DropObjectStatement
UnsetStatement
SqlConfOption
BinaryOperator
PrimitiveType
CreateWidgetStatement
ReplaceTableStatement
RemoveWidgetStatement
UseDatabaseStatement
InsertOverwriteDirectoryStatement
InsertOverwriteDirectoryHiveFmtStatement
LoadDataStatement
ClusterByClause
DistributeByClause
HintFunction
SelectHint
WithCubeRollupClause
SortByClause
LateralViewClause
PivotClause
TransformClause
AddFileStatement
AddJarStatement
AnalyzeTableStatement
CacheTable
ClearCache
ListFileStatement
ListJarStatement
RefreshStatement
UncacheTable
FileReference
PropertyNameIdentifier
GeneratedColumnDefinition
IntervalLiteral
DescribeHistoryStatement
DescribeDetailStatement
GenerateManifestFileStatement
ConvertToDeltaStatement
RestoreTableStatement
ConstraintStatement
ApplyChangesIntoStatement
UsingClause
DataSourceFormat
IcebergTransformation
MsckRepairTableStatement
RowFormatClause
SkewedByClause
Bracketed
NumericLiteral
Keyword
EndOfFile
Whitespace
Newline
NakedIdentifier
Unlexable
StartBracket
EndBracket
InlineComment
Identifier
Raw
QuotedIdentifier
Star
Dot
Comma
Comment
EmitsSegment
Literal
BareFunction
NullLiteral
BooleanLiteral
BlockComment
QuotedLiteral
DoubleDivide
Meta
Colon
StatementTerminator
StartSquareBracket
EndSquareBracket
StartCurlyBracket
Tilde
CastingOperator
RawComparisonOperator
DatePart
Pipe
SignIndicator
LikeOperator
Word
DoubleQuote
SingleQuote
Dash
Semicolon
BackQuote
DollarQuote
Not
Ampersand
Question
Percent
Divide
Minus
Plus
Caret
VerticalBar
EndCurlyBracket
FunctionNameIdentifier
Dedent
Indent
Implicit
AtSignLiteral
TsqlVariable
QuestionMark
RightArrow
UdfBody
StartAngleBracket
EndAngleBracket
Lambda
NakedIdentifierAll
ProcedureNameIdentifier
Parameter
DateConstructorLiteral
ProcedureOption
ExportOption
PropertiesNakedIdentifier
Symbol
DataTypeIdentifier
Placeholder
ExecuteScriptStatement
AssignmentOperator
Batch
PivotColumnReference
IntoTableClause
PasswordAuth
ExecuteAsClause
ExecuteImmediateClause
UnicodeSingleQuote
EscapedSingleQuote
UnicodeDoubleQuote
JsonOperator
At
BitStringLiteral
DollarNumericLiteral
WidgetNameIdentifier
FileKeyword
SemiStructuredElement
BytesDoubleQuote
BytesSingleQuote
FileFormat
FileType
StartHint
EndHint
FunctionAssigner
UnquotedFilePath
Dollar
SystemFunctionName
IntegerLiteral
StageEncryptionOption
BucketPath
QuotedStar
StagePath
FileLiteral
BytesQuotedLiteral
SignedQuotedLiteral
ParameterAssigner
ColumnSelector
DollarLiteral
ExcludeBracketClose
WalrusOperator
WarehouseSize
Variable
ExcludeBracketOpen
SymlinkFormatManifest
StartExcludeBracket
CompressionType
CopyOnErrorOption
ColumnIndexIdentifierSegment
ScalingPolicy
ValidationModeOption
EndExcludeBracket
IdentifierList
TemplateLoop
ColonDelimiter
SqlcmdOperator
Slice
TableEndClauseSegment
PragmaStatement
PragmaReference
Slash
DataFormatSegment
AuthorizationSegment
ColumnAttributeSegment
ShowModelStatement
CreateExternalSchemaStatement
CreateLibraryStatement
UnloadStatement
DeclareStatement
FetchStatement
CloseStatement
CreateRlsPolicyStatement
ManageRlsPolicyStatement
DropRlsPolicyStatement
AnalyzeCompressionStatement
PartitionedBySegment
RowFormatDelimitedSegment
ObjectUnpivoting
ArrayUnnesting
AlterGroup
CreateGroup
ListaggOverflowClauseSegment
UnorderedSelectStatementSegment
MapType
MapTypeSchema
PrepareStatement
ExecuteStatement
RenameTableStatement
ActionParameter
AggregateClause
AggregateOrderBy
AliasOperator
AllowConnections
AlterAccountStatement
AlterAggregateStatement
AlterBiCapacityStatement
AlterCapacityStatement
AlterCatalogStatement
AlterDynamicTableStatement
AlterEventStatement
AlterExtensionStatement
AlterExternalVolumeStatement
AlterForeignTableActionSegment
AlterForeignTableStatement
AlterMaskingPolicy
AlterMasterKeyStatement
AlterNetworkPolicyStatement
AlterOptionSegment
AlterOrganizationStatement
AlterPartitionFunctionStatement
AlterPartitionSchemeStatement
AlterPasswordPolicyStatement
AlterProjectStatement
AlterReservationStatement
AlterResourceMonitorStatement
AlterRowAccessPolicyStatement
AlterSecurityPolicyStatement
AlterStatisticsStatement
AlterStreamlitStatement
AlterSubscription
AlterTableSwitchStatement
AlterTagStatement
AlterTextSearchConfigurationStatement
AlterVolumeStatement
ArnCatalogSchemaSegment
ArrayTypeSchema
AtSign
AtomicBeginEndBlock
Atsign
AutoOption
BackupStorageRedundancy
BeginEndBlock
BeginStatement
BinaryLiteral
BindVariable
BitValueLiteral
BracketedIndexColumnListGrammar
BulkInsertStatement
BulkInsertWithSegment
ByteLengthLiteral
CallOperator
CatalogReference
CharacteristicStatement
CheckConstraintGrammar
CheckTableStatement
ChecksumTableStatement
CloseCursorStatement
ClusterbyClause
Code
CollationClause
ColonLiteral
ColonPrefix
ColumnPathOperator
ColumnPropertiesSegment
ColumnTypeReference
ColumnsExpression
Command
CompatibilityLevel
CompositeValueExpansion
ComputedColumnDefinition
ConflictClause
ConnectionConstraintGrammar
ConnectionLimitSegment
CopyFilesIntoLocationStatement
CreateAggregateStatement
CreateAssignmentStatement
CreateAuthenticationPolicySegment
CreateCapacityStatement
CreateCatalogStatement
CreateColumnstoreIndexStatement
CreateCortexSearchServiceStatement
CreateDatabaseRoleStatement
CreateDatabaseScopedCredentialStatement
CreateDatabaseWithOptions
CreateEventStatement
CreateEventTableStatement
CreateExternalDataSourceStatement
CreateExternalFileFormat
CreateExternalVolumeStatement
CreateForeignDataWrapper
CreateForeignTableStatement
CreateFulltextCatalogStatement
CreateFulltextIndexStatement
CreateLoginStatement
CreateMasterKeyStatement
CreateMaterializedViewAsReplicaOfStatement
CreateOperatorStatement
CreateOptionSegment
CreatePartitionFunctionStatement
CreatePartitionSchemeStatement
CreatePasswordPolicyStatement
CreateReservationStatement
CreateResourceMonitorStatement
CreateRowAccessPolicyStatement
CreateSearchIndexStatement
CreateSecurityPolicyStatement
CreateServerRoleStatement
CreateSnapshotTableStatement
CreateSqlFunctionStatement
CreateStatisticsStatement
CreateStreamlitStatement
CreateSubscription
CreateSynonymStatement
CreateTableAsSelectStatement
CreateTableFunctionStatement
CreateTableGraphStatement
CreateTableUsingStatement
CreateTextSearchConfigurationStatement
CreateTrigger
CreateVectorIndexStatement
CreateVirtualTableStatement
CreateVolumeStatement
CursorDefinition
CursorFetchSegment
CursorOpenCloseSegment
DataGovernancePolicyTagActionSegment
DatabaseRoleReference
DateFormat
DeallocateCursorStatement
DeallocateSegment
DeallocateStatement
DeclareOrReplaceVariableStatement
DefaultCollate
DefinerSegment
DeleteTargetTable
DelimiterStatement
DisableTrigger
DistributebyClause
DoubleAmpersand
DoubleAtSignLiteral
DoubleVerticalBar
DropAggregateStatement
DropAssignmentStatement
DropCapacityStatement
DropCatalogStatement
DropCollationStatement
DropColumnClause
DropDynamicTableSegment
DropEventStatement
DropExternalVolumeStatement
DropForeignTableStatement
DropIcebergTableStatement
DropMasterKeyStatement
DropModelstatement
DropPasswordPolicyStatement
DropReservationStatement
DropResourceMonitorStatement
DropRowAccessPolicyStatement
DropSearchIndexStatement
DropSecurityPolicy
DropStatement
DropStatisticsStatement
DropSubscription
DropSynonymStatement
DropTableFunctionStatement
DropTextSearchConfigurationStatement
DropTrigger
DropVectorIndexStatement
DropVolumeStatement
DynamicTableLagIntervalSegment
DynamicTableOptions
Edition
EncryptedWithGrammar
ExceptionBlockStatement
ExceptionCode
ExecuteArrow
ExecuteImmediate
ExecuteOption
ExecuteSegment
ExtendClause
ExternalAccessIntegrationEquals
ExternalFileDelimitedTextClause
ExternalFileDelimitedTextFormatOptionsClause
ExternalFileDeltaClause
ExternalFileJsonClause
ExternalFileOrcClause
ExternalFileParquetClause
ExternalFileRcClause
ExternalLocation
ExternalVolumeReference
FatRightArrow
FetchCursorStatement
FileCompression
FileEncoding
FileSpec
FileSpecFileGrowth
FileSpecFileName
FileSpecMaxSize
FileSpecNewName
FileSpecSize
FileSpecWithoutBracket
FilegroupClause
FilegroupName
FilestreamOnOptionStatement
FlushStatement
ForSystemTimeAsOfSegment
FormatClause
FromIntegrationClause
FullTextSearchOperator
FunctionOptionSegment
FunctionParameterListWithComments
GetDiagnosticsSegment
GlobOperator
GoStatement
GotoStatement
GrantToSegment
GraphTableConstraint
GroupAndOrderbyClause
HashIdentifier
HashPrefix
HelpStatement
HexadecimalLiteral
IamRoleClause
IcebergTableOptions
IdentifierClauseSegment
IdentityGrammar
IfClause
IfThenStatement
IndexHintClause
IndexOption
IndexReference
IndexType
InitializeType
InlineDollarSign
InlinePathOperator
InsertRowAlias
IntoOutfileClause
IsolationLevelClause
IterateStatement
JsonPath
LabelSegment
LambdaArrow
LambdaFunction
LeadingDot
LimitClauseComponent
ListComprehension
ListaggOverflowClause
LocalAliasSegment
LogLevelEquals
LogicalFileName
LoginUserSegment
MagicCellSegment
MagicLine
MagicSingleLine
MagicStart
MaskStatement
MasterKeyEncryptionOption
MatchCondition
MaxDuration
MaxLiteral
MetaCommand
MetaCommandQueryBuffer
MetaCommandStatement
MlTableExpression
MsckTableStatement
NotOperator
NotebookStart
ObevoAnnotation
OffsetClause
OnPartitionOrFilegroupStatement
OnPartitionsClause
OpenCursorStatement
OpenSymmetricKeyStatement
OpenjsonSegment
OpenjsonWithClause
OpenquerySegment
OpenrowsetSegment
OpenrowsetWithClause
OpenxmlSegment
Operator
OptimizeTableStatement
Option
OptionClause
OptionIndicator
OutputClause
ParameterDirection
PartitionClause
PartitionSchemeClause
PartitionSchemeName
PasswordPolicyOptions
PasswordPolicyReference
PeriodSegment
PgTrgmOperator
PgvectorOperator
PipeOperator
PipeOperatorClause
PipeStatement
PivotOperator
PostTableExpression
PostgisOperator
PrepareSegment
PrewhereClause
PrintStatement
ProcedureStatement
PurgeBinaryLogsStatement
QualifiedOperator
QueryHintSegment
QuestionLiteral
RaiserrorStatement
RawDoubleQuote
RawQuotedLiteral
RawSingleQuote
ReconfigureStatement
ReferencesConstraintGrammar
RelationalIndexOptions
RenameColumnClause
RenameStatement
RepairTableStatement
ReplaceStatement
ResetMasterStatement
ResetSessionAuthorizationStatement
ResignalSegment
ResourceConstraint
ResourceMonitorOptions
ReturnSegment
ReturningClause
SchemaReference
ScriptingDeclareStatement
ScriptingIfStatement
ScriptingRaiseStatement
SearchOptimizationAction
SecurityLabelStatement
SelectVariableAssignment
SequenceNextValue
SequenceReference
SerdeMethod
ServiceObjective
SetConstraintStatement
SetContextInfoStatement
SetLanguageStatement
SetLocalVariableSegment
SetNamesStatement
SetOperatorClause
SetSessionAuthorizationStatement
SetSessionStatement
SetTimezoneStatement
SetTransactionStatement
SetVariableStatement
SettingsClause
SimplifiedPivot
SimplifiedUnpivot
SingleQuoteWithN
SizeLiteral
SortbyClause
SqlcmdCommandSegment
SquareQuote
StatisticsReference
StoringSegment
SubscriptionReference
SynonymReference
SystemVariable
TableClausesSegment
TableClusterByClause
TableColumnCommentAction
TableDistributionClause
TableDistributionIndexClause
TableIndexClause
TableIndexSegment
TableLocationClause
TableOptionStatement
TableSpecificationSegment
TagStatement
TemporalQuery
TextimageOnOptionStatement
ThrowStatement
TraceLevelEquals
TruncateTable
TryCatch
TupleTypeSchema
UndropSchemaStatement
UnpivotMultiColumn
UnpivotOperator
UnpivotSingleColumn
UnquotedRelativeSqlFilePath
UpdateStatisticsStatement
UpsertClause
UpsertClauseList
UseCatalogStatement
VolumeReference
WaitforStatement
WildcardExclude
WildcardPatternMatching
WildcardRename
WildcardReplace
WithCheckOptions
WithFill
WithRollupClause
WithinGroupClause
WithordinalityClause
Implementations§
Source§impl SyntaxKind
impl SyntaxKind
pub fn indent_val(self) -> i8
Trait Implementations§
Source§impl Clone for SyntaxKind
impl Clone for SyntaxKind
Source§fn clone(&self) -> SyntaxKind
fn clone(&self) -> SyntaxKind
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SyntaxKind
impl Debug for SyntaxKind
Source§impl Default for SyntaxKind
impl Default for SyntaxKind
Source§fn default() -> SyntaxKind
fn default() -> SyntaxKind
Source§impl Extend<SyntaxKind> for SyntaxSet
impl Extend<SyntaxKind> for SyntaxSet
Source§fn extend<T: IntoIterator<Item = SyntaxKind>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = SyntaxKind>>(&mut self, iter: T)
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one)Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one)Source§impl<'_derivative_strum> From<&'_derivative_strum SyntaxKind> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum SyntaxKind> for &'static str
Source§fn from(x: &'_derivative_strum SyntaxKind) -> &'static str
fn from(x: &'_derivative_strum SyntaxKind) -> &'static str
Source§impl From<SyntaxKind> for &'static str
impl From<SyntaxKind> for &'static str
Source§fn from(x: SyntaxKind) -> &'static str
fn from(x: SyntaxKind) -> &'static str
Source§impl FromIterator<SyntaxKind> for SyntaxSet
impl FromIterator<SyntaxKind> for SyntaxSet
Source§fn from_iter<T: IntoIterator<Item = SyntaxKind>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = SyntaxKind>>(iter: T) -> Self
Source§impl FromStr for SyntaxKind
impl FromStr for SyntaxKind
Source§impl Hash for SyntaxKind
impl Hash for SyntaxKind
Source§impl Ord for SyntaxKind
impl Ord for SyntaxKind
Source§fn cmp(&self, other: &SyntaxKind) -> Ordering
fn cmp(&self, other: &SyntaxKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for SyntaxKind
impl PartialEq for SyntaxKind
Source§impl PartialOrd for SyntaxKind
impl PartialOrd for SyntaxKind
Source§impl TryFrom<&str> for SyntaxKind
impl TryFrom<&str> for SyntaxKind
impl Copy for SyntaxKind
impl Eq for SyntaxKind
impl StructuralPartialEq for SyntaxKind
Auto Trait Implementations§
impl Freeze for SyntaxKind
impl RefUnwindSafe for SyntaxKind
impl Send for SyntaxKind
impl Sync for SyntaxKind
impl Unpin for SyntaxKind
impl UnwindSafe for SyntaxKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the foreground set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red() and
green(), which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg():
use yansi::{Paint, Color};
painted.fg(Color::White);Set foreground color to white using white().
use yansi::Paint;
painted.white();Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the background set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red() and
on_green(), which have the same functionality but
are pithier.
§Example
Set background color to red using fg():
use yansi::{Paint, Color};
painted.bg(Color::Red);Set background color to red using on_red().
use yansi::Paint;
painted.on_red();Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute value.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold() and
underline(), which have the same functionality
but are pithier.
§Example
Make text bold using attr():
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);Make text bold using using bold().
use yansi::Paint;
painted.bold();Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi Quirk value.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask() and
wrap(), which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk():
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);Enable wrapping using wrap().
use yansi::Paint;
painted.wrap();Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted only when both stdout and stderr are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);