Trait sqlparser::ast::Visit

source ·
pub trait Visit {
    // Required method
    fn visit<V: Visitor>(&self, visitor: &mut V) -> ControlFlow<V::Break>;
}
Expand description

A type that can be visited by a Visitor. See Visitor for recursively visiting parsed SQL statements.

Note

This trait should be automatically derived for sqlparser AST nodes using the Visit proc macro.

#[cfg_attr(feature = "visitor", derive(Visit, VisitMut))]

Required Methods§

source

fn visit<V: Visitor>(&self, visitor: &mut V) -> ControlFlow<V::Break>

Implementations on Foreign Types§

source§

impl Visit for bool

source§

fn visit<V: Visitor>(&self, _visitor: &mut V) -> ControlFlow<V::Break>

source§

impl Visit for u16

source§

fn visit<V: Visitor>(&self, _visitor: &mut V) -> ControlFlow<V::Break>

source§

impl Visit for i64

source§

fn visit<V: Visitor>(&self, _visitor: &mut V) -> ControlFlow<V::Break>

source§

impl<T: Visit> Visit for Option<T>

source§

fn visit<V: Visitor>(&self, visitor: &mut V) -> ControlFlow<V::Break>

source§

impl Visit for char

source§

fn visit<V: Visitor>(&self, _visitor: &mut V) -> ControlFlow<V::Break>

source§

impl<T: Visit> Visit for Vec<T>

source§

fn visit<V: Visitor>(&self, visitor: &mut V) -> ControlFlow<V::Break>

source§

impl Visit for u32

source§

fn visit<V: Visitor>(&self, _visitor: &mut V) -> ControlFlow<V::Break>

source§

impl Visit for i16

source§

fn visit<V: Visitor>(&self, _visitor: &mut V) -> ControlFlow<V::Break>

source§

impl Visit for i32

source§

fn visit<V: Visitor>(&self, _visitor: &mut V) -> ControlFlow<V::Break>

source§

impl Visit for u64

source§

fn visit<V: Visitor>(&self, _visitor: &mut V) -> ControlFlow<V::Break>

source§

impl Visit for i8

source§

fn visit<V: Visitor>(&self, _visitor: &mut V) -> ControlFlow<V::Break>

source§

impl Visit for String

source§

fn visit<V: Visitor>(&self, _visitor: &mut V) -> ControlFlow<V::Break>

source§

impl Visit for u8

source§

fn visit<V: Visitor>(&self, _visitor: &mut V) -> ControlFlow<V::Break>

source§

impl<T: Visit> Visit for Box<T>

source§

fn visit<V: Visitor>(&self, visitor: &mut V) -> ControlFlow<V::Break>

Implementors§

source§

impl Visit for Keyword

source§

impl Visit for Token

source§

impl Visit for Whitespace

source§

impl Visit for Action

source§

impl Visit for AddDropSync

source§

impl Visit for AlterColumnOperation

source§

impl Visit for AlterIndexOperation

source§

impl Visit for AlterRoleOperation

source§

impl Visit for AlterTableOperation

source§

impl Visit for AnalyzeFormat

source§

impl Visit for ArgMode

source§

impl Visit for BinaryOperator

source§

impl Visit for CharLengthUnits

source§

impl Visit for CloseCursor

source§

impl Visit for ColumnOption

source§

impl Visit for CommentObject

source§

impl Visit for ConflictTarget

source§

impl Visit for ContextModifier

source§

impl Visit for CopyLegacyCsvOption

source§

impl Visit for CopyLegacyOption

source§

impl Visit for CopyOption

source§

impl Visit for CopySource

source§

impl Visit for CopyTarget

source§

impl Visit for CreateFunctionUsing

source§

impl Visit for DataType

source§

impl Visit for DateTimeField

source§

impl Visit for DiscardObject

source§

impl Visit for Distinct

source§

impl Visit for ExactNumberInfo

source§

impl Visit for ExcludeSelectItem

source§

impl Visit for Expr

source§

impl Visit for FetchDirection

source§

impl Visit for FileFormat

source§

impl Visit for FunctionArg

source§

impl Visit for FunctionArgExpr

source§

impl Visit for FunctionBehavior

source§

impl Visit for FunctionDefinition

source§

impl Visit for GeneratedAs

source§

impl Visit for GrantObjects

source§

impl Visit for HiveDistributionStyle

source§

impl Visit for HiveIOFormat

source§

impl Visit for HiveRowFormat

source§

impl Visit for IndexType

source§

impl Visit for JoinConstraint

source§

impl Visit for JoinOperator

source§

impl Visit for JsonOperator

source§

impl Visit for KeyOrIndexDisplay

source§

impl Visit for KillType

source§

impl Visit for ListAggOnOverflow

source§

impl Visit for LockType

source§

impl Visit for MacroDefinition

source§

impl Visit for MergeClause

source§

impl Visit for MinMaxValue

source§

impl Visit for NonBlock

source§

impl Visit for ObjectType

source§

impl Visit for OffsetRows

source§

impl Visit for OnCommit

source§

impl Visit for OnConflictAction

source§

impl Visit for OnInsert

source§

impl Visit for Password

source§

impl Visit for Privileges

source§

impl Visit for ReferentialAction

source§

impl Visit for RenameSelectItem

source§

impl Visit for ResetConfig

source§

impl Visit for RoleOption

source§

impl Visit for SchemaName

source§

impl Visit for SearchModifier

source§

impl Visit for SelectItem

source§

impl Visit for SequenceOptions

source§

impl Visit for SetConfigValue

source§

impl Visit for SetExpr

source§

impl Visit for SetOperator

source§

impl Visit for SetQuantifier

source§

impl Visit for ShowCreateObject

source§

impl Visit for ShowStatementFilter

source§

impl Visit for SqliteOnConflict

source§

impl Visit for Statement

source§

impl Visit for TableConstraint

source§

impl Visit for TableFactor

source§

impl Visit for TableVersion

source§

impl Visit for TimezoneInfo

source§

impl Visit for TransactionAccessMode

source§

impl Visit for TransactionIsolationLevel

source§

impl Visit for TransactionMode

source§

impl Visit for TrimWhereField

source§

impl Visit for UnaryOperator

source§

impl Visit for UserDefinedTypeRepresentation

source§

impl Visit for Value

source§

impl Visit for WindowFrameBound

source§

impl Visit for WindowFrameUnits

source§

impl Visit for WindowType

source§

impl Visit for DataLoadingOptionType

source§

impl Visit for Word

source§

impl Visit for CreateTableBuilder

source§

impl Visit for DataLoadingOption

source§

impl Visit for DataLoadingOptions

source§

impl Visit for StageLoadSelectItem

source§

impl Visit for StageParamsObject

source§

impl Visit for Array

source§

impl Visit for ArrayAgg

source§

impl Visit for Assignment

source§

impl Visit for CharacterLength

source§

impl Visit for ColumnDef

source§

impl Visit for ColumnOptionDef

source§

impl Visit for CreateFunctionBody

source§

impl Visit for Cte

source§

impl Visit for DoUpdate

source§

impl Visit for DollarQuotedString

source§

impl Visit for DropFunctionDesc

source§

impl Visit for ExceptSelectItem

source§

impl Visit for Fetch

source§

impl Visit for Function

source§

impl Visit for HiveFormat

source§

impl Visit for Ident

source§

impl Visit for IdentWithAlias

source§

impl Visit for Interval

source§

impl Visit for Join

source§

impl Visit for LateralView

source§

impl Visit for ListAgg

source§

impl Visit for LockClause

source§

impl Visit for MacroArg

source§

impl Visit for NamedWindowDefinition

source§

impl Visit for ObjectName

source§

impl Visit for Offset

source§

impl Visit for OnConflict

source§

impl Visit for OperateFunctionArg

source§

impl Visit for OrderByExpr

source§

impl Visit for ProcedureParam

source§

impl Visit for Query

source§

impl Visit for ReplaceSelectElement

source§

impl Visit for ReplaceSelectItem

source§

impl Visit for Select

source§

impl Visit for SelectInto

source§

impl Visit for SqlOption

source§

impl Visit for Table

source§

impl Visit for TableAlias

source§

impl Visit for TableWithJoins

source§

impl Visit for Top

source§

impl Visit for UserDefinedTypeCompositeAttributeDef

source§

impl Visit for Values

source§

impl Visit for WildcardAdditionalOptions

source§

impl Visit for WindowFrame

source§

impl Visit for WindowSpec

source§

impl Visit for With