pub enum Node {
Show 252 variants
Alias(Alias),
RangeVar(RangeVar),
TableFunc(Box<TableFunc>),
IntoClause(Box<IntoClause>),
Var(Box<Var>),
Param(Box<Param>),
Aggref(Box<Aggref>),
GroupingFunc(Box<GroupingFunc>),
WindowFunc(Box<WindowFunc>),
SubscriptingRef(Box<SubscriptingRef>),
FuncExpr(Box<FuncExpr>),
NamedArgExpr(Box<NamedArgExpr>),
OpExpr(Box<OpExpr>),
DistinctExpr(Box<DistinctExpr>),
NullIfExpr(Box<NullIfExpr>),
ScalarArrayOpExpr(Box<ScalarArrayOpExpr>),
BoolExpr(Box<BoolExpr>),
SubLink(Box<SubLink>),
SubPlan(Box<SubPlan>),
AlternativeSubPlan(Box<AlternativeSubPlan>),
FieldSelect(Box<FieldSelect>),
FieldStore(Box<FieldStore>),
RelabelType(Box<RelabelType>),
CoerceViaIo(Box<CoerceViaIo>),
ArrayCoerceExpr(Box<ArrayCoerceExpr>),
ConvertRowtypeExpr(Box<ConvertRowtypeExpr>),
CollateExpr(Box<CollateExpr>),
CaseExpr(Box<CaseExpr>),
CaseWhen(Box<CaseWhen>),
CaseTestExpr(Box<CaseTestExpr>),
ArrayExpr(Box<ArrayExpr>),
RowExpr(Box<RowExpr>),
RowCompareExpr(Box<RowCompareExpr>),
CoalesceExpr(Box<CoalesceExpr>),
MinMaxExpr(Box<MinMaxExpr>),
SqlvalueFunction(Box<SqlValueFunction>),
XmlExpr(Box<XmlExpr>),
JsonFormat(JsonFormat),
JsonReturning(JsonReturning),
JsonValueExpr(Box<JsonValueExpr>),
JsonConstructorExpr(Box<JsonConstructorExpr>),
JsonIsPredicate(Box<JsonIsPredicate>),
NullTest(Box<NullTest>),
BooleanTest(Box<BooleanTest>),
CoerceToDomain(Box<CoerceToDomain>),
CoerceToDomainValue(Box<CoerceToDomainValue>),
SetToDefault(Box<SetToDefault>),
CurrentOfExpr(Box<CurrentOfExpr>),
NextValueExpr(Box<NextValueExpr>),
InferenceElem(Box<InferenceElem>),
TargetEntry(Box<TargetEntry>),
RangeTblRef(RangeTblRef),
JoinExpr(Box<JoinExpr>),
FromExpr(Box<FromExpr>),
OnConflictExpr(Box<OnConflictExpr>),
Query(Box<Query>),
TypeName(TypeName),
ColumnRef(ColumnRef),
ParamRef(ParamRef),
AExpr(Box<AExpr>),
TypeCast(Box<TypeCast>),
CollateClause(Box<CollateClause>),
RoleSpec(RoleSpec),
FuncCall(Box<FuncCall>),
AStar(AStar),
AIndices(Box<AIndices>),
AIndirection(Box<AIndirection>),
AArrayExpr(AArrayExpr),
ResTarget(Box<ResTarget>),
MultiAssignRef(Box<MultiAssignRef>),
SortBy(Box<SortBy>),
WindowDef(Box<WindowDef>),
RangeSubselect(Box<RangeSubselect>),
RangeFunction(RangeFunction),
RangeTableFunc(Box<RangeTableFunc>),
RangeTableFuncCol(Box<RangeTableFuncCol>),
RangeTableSample(Box<RangeTableSample>),
ColumnDef(Box<ColumnDef>),
TableLikeClause(TableLikeClause),
IndexElem(Box<IndexElem>),
DefElem(Box<DefElem>),
LockingClause(LockingClause),
XmlSerialize(Box<XmlSerialize>),
PartitionElem(Box<PartitionElem>),
PartitionSpec(PartitionSpec),
PartitionBoundSpec(PartitionBoundSpec),
PartitionRangeDatum(Box<PartitionRangeDatum>),
PartitionCmd(PartitionCmd),
RangeTblEntry(Box<RangeTblEntry>),
RtepermissionInfo(RtePermissionInfo),
RangeTblFunction(Box<RangeTblFunction>),
TableSampleClause(Box<TableSampleClause>),
WithCheckOption(Box<WithCheckOption>),
SortGroupClause(SortGroupClause),
GroupingSet(GroupingSet),
WindowClause(Box<WindowClause>),
RowMarkClause(RowMarkClause),
WithClause(WithClause),
InferClause(Box<InferClause>),
OnConflictClause(Box<OnConflictClause>),
CtesearchClause(CteSearchClause),
CtecycleClause(Box<CteCycleClause>),
CommonTableExpr(Box<CommonTableExpr>),
MergeWhenClause(Box<MergeWhenClause>),
MergeAction(Box<MergeAction>),
TriggerTransition(TriggerTransition),
JsonOutput(JsonOutput),
JsonKeyValue(Box<JsonKeyValue>),
JsonObjectConstructor(JsonObjectConstructor),
JsonArrayConstructor(JsonArrayConstructor),
JsonArrayQueryConstructor(Box<JsonArrayQueryConstructor>),
JsonAggConstructor(Box<JsonAggConstructor>),
JsonObjectAgg(Box<JsonObjectAgg>),
JsonArrayAgg(Box<JsonArrayAgg>),
RawStmt(Box<RawStmt>),
InsertStmt(Box<InsertStmt>),
DeleteStmt(Box<DeleteStmt>),
UpdateStmt(Box<UpdateStmt>),
MergeStmt(Box<MergeStmt>),
SelectStmt(Box<SelectStmt>),
SetOperationStmt(Box<SetOperationStmt>),
ReturnStmt(Box<ReturnStmt>),
PlassignStmt(Box<PlAssignStmt>),
CreateSchemaStmt(CreateSchemaStmt),
AlterTableStmt(AlterTableStmt),
ReplicaIdentityStmt(ReplicaIdentityStmt),
AlterTableCmd(Box<AlterTableCmd>),
AlterCollationStmt(AlterCollationStmt),
AlterDomainStmt(Box<AlterDomainStmt>),
GrantStmt(GrantStmt),
ObjectWithArgs(ObjectWithArgs),
AccessPriv(AccessPriv),
GrantRoleStmt(GrantRoleStmt),
AlterDefaultPrivilegesStmt(AlterDefaultPrivilegesStmt),
CopyStmt(Box<CopyStmt>),
VariableSetStmt(VariableSetStmt),
VariableShowStmt(VariableShowStmt),
CreateStmt(CreateStmt),
Constraint(Box<Constraint>),
CreateTableSpaceStmt(CreateTableSpaceStmt),
DropTableSpaceStmt(DropTableSpaceStmt),
AlterTableSpaceOptionsStmt(AlterTableSpaceOptionsStmt),
AlterTableMoveAllStmt(AlterTableMoveAllStmt),
CreateExtensionStmt(CreateExtensionStmt),
AlterExtensionStmt(AlterExtensionStmt),
AlterExtensionContentsStmt(Box<AlterExtensionContentsStmt>),
CreateFdwStmt(CreateFdwStmt),
AlterFdwStmt(AlterFdwStmt),
CreateForeignServerStmt(CreateForeignServerStmt),
AlterForeignServerStmt(AlterForeignServerStmt),
CreateForeignTableStmt(CreateForeignTableStmt),
CreateUserMappingStmt(CreateUserMappingStmt),
AlterUserMappingStmt(AlterUserMappingStmt),
DropUserMappingStmt(DropUserMappingStmt),
ImportForeignSchemaStmt(ImportForeignSchemaStmt),
CreatePolicyStmt(Box<CreatePolicyStmt>),
AlterPolicyStmt(Box<AlterPolicyStmt>),
CreateAmStmt(CreateAmStmt),
CreateTrigStmt(Box<CreateTrigStmt>),
CreateEventTrigStmt(CreateEventTrigStmt),
AlterEventTrigStmt(AlterEventTrigStmt),
CreatePlangStmt(CreatePLangStmt),
CreateRoleStmt(CreateRoleStmt),
AlterRoleStmt(AlterRoleStmt),
AlterRoleSetStmt(AlterRoleSetStmt),
DropRoleStmt(DropRoleStmt),
CreateSeqStmt(CreateSeqStmt),
AlterSeqStmt(AlterSeqStmt),
DefineStmt(DefineStmt),
CreateDomainStmt(Box<CreateDomainStmt>),
CreateOpClassStmt(CreateOpClassStmt),
CreateOpClassItem(CreateOpClassItem),
CreateOpFamilyStmt(CreateOpFamilyStmt),
AlterOpFamilyStmt(AlterOpFamilyStmt),
DropStmt(DropStmt),
TruncateStmt(TruncateStmt),
CommentStmt(Box<CommentStmt>),
SecLabelStmt(Box<SecLabelStmt>),
DeclareCursorStmt(Box<DeclareCursorStmt>),
ClosePortalStmt(ClosePortalStmt),
FetchStmt(FetchStmt),
IndexStmt(Box<IndexStmt>),
CreateStatsStmt(CreateStatsStmt),
StatsElem(Box<StatsElem>),
AlterStatsStmt(AlterStatsStmt),
CreateFunctionStmt(Box<CreateFunctionStmt>),
FunctionParameter(Box<FunctionParameter>),
AlterFunctionStmt(AlterFunctionStmt),
DoStmt(DoStmt),
InlineCodeBlock(InlineCodeBlock),
CallStmt(Box<CallStmt>),
CallContext(CallContext),
RenameStmt(Box<RenameStmt>),
AlterObjectDependsStmt(Box<AlterObjectDependsStmt>),
AlterObjectSchemaStmt(Box<AlterObjectSchemaStmt>),
AlterOwnerStmt(Box<AlterOwnerStmt>),
AlterOperatorStmt(AlterOperatorStmt),
AlterTypeStmt(AlterTypeStmt),
RuleStmt(Box<RuleStmt>),
NotifyStmt(NotifyStmt),
ListenStmt(ListenStmt),
UnlistenStmt(UnlistenStmt),
TransactionStmt(TransactionStmt),
CompositeTypeStmt(CompositeTypeStmt),
CreateEnumStmt(CreateEnumStmt),
CreateRangeStmt(CreateRangeStmt),
AlterEnumStmt(AlterEnumStmt),
ViewStmt(Box<ViewStmt>),
LoadStmt(LoadStmt),
CreatedbStmt(CreatedbStmt),
AlterDatabaseStmt(AlterDatabaseStmt),
AlterDatabaseRefreshCollStmt(AlterDatabaseRefreshCollStmt),
AlterDatabaseSetStmt(AlterDatabaseSetStmt),
DropdbStmt(DropdbStmt),
AlterSystemStmt(AlterSystemStmt),
ClusterStmt(ClusterStmt),
VacuumStmt(VacuumStmt),
VacuumRelation(VacuumRelation),
ExplainStmt(Box<ExplainStmt>),
CreateTableAsStmt(Box<CreateTableAsStmt>),
RefreshMatViewStmt(RefreshMatViewStmt),
CheckPointStmt(CheckPointStmt),
DiscardStmt(DiscardStmt),
LockStmt(LockStmt),
ConstraintsSetStmt(ConstraintsSetStmt),
ReindexStmt(ReindexStmt),
CreateConversionStmt(CreateConversionStmt),
CreateCastStmt(CreateCastStmt),
CreateTransformStmt(CreateTransformStmt),
PrepareStmt(Box<PrepareStmt>),
ExecuteStmt(ExecuteStmt),
DeallocateStmt(DeallocateStmt),
DropOwnedStmt(DropOwnedStmt),
ReassignOwnedStmt(ReassignOwnedStmt),
AlterTsdictionaryStmt(AlterTsDictionaryStmt),
AlterTsconfigurationStmt(AlterTsConfigurationStmt),
PublicationTable(Box<PublicationTable>),
PublicationObjSpec(Box<PublicationObjSpec>),
CreatePublicationStmt(CreatePublicationStmt),
AlterPublicationStmt(AlterPublicationStmt),
CreateSubscriptionStmt(CreateSubscriptionStmt),
AlterSubscriptionStmt(AlterSubscriptionStmt),
DropSubscriptionStmt(DropSubscriptionStmt),
Integer(Integer),
Float(Float),
Boolean(Boolean),
String(String),
BitString(BitString),
List(List),
IntList(IntList),
OidList(OidList),
AConst(AConst),
}
Variants§
Alias(Alias)
RangeVar(RangeVar)
TableFunc(Box<TableFunc>)
IntoClause(Box<IntoClause>)
Var(Box<Var>)
Param(Box<Param>)
Aggref(Box<Aggref>)
GroupingFunc(Box<GroupingFunc>)
WindowFunc(Box<WindowFunc>)
SubscriptingRef(Box<SubscriptingRef>)
FuncExpr(Box<FuncExpr>)
NamedArgExpr(Box<NamedArgExpr>)
OpExpr(Box<OpExpr>)
DistinctExpr(Box<DistinctExpr>)
NullIfExpr(Box<NullIfExpr>)
ScalarArrayOpExpr(Box<ScalarArrayOpExpr>)
BoolExpr(Box<BoolExpr>)
SubLink(Box<SubLink>)
SubPlan(Box<SubPlan>)
AlternativeSubPlan(Box<AlternativeSubPlan>)
FieldSelect(Box<FieldSelect>)
FieldStore(Box<FieldStore>)
RelabelType(Box<RelabelType>)
CoerceViaIo(Box<CoerceViaIo>)
ArrayCoerceExpr(Box<ArrayCoerceExpr>)
ConvertRowtypeExpr(Box<ConvertRowtypeExpr>)
CollateExpr(Box<CollateExpr>)
CaseExpr(Box<CaseExpr>)
CaseWhen(Box<CaseWhen>)
CaseTestExpr(Box<CaseTestExpr>)
ArrayExpr(Box<ArrayExpr>)
RowExpr(Box<RowExpr>)
RowCompareExpr(Box<RowCompareExpr>)
CoalesceExpr(Box<CoalesceExpr>)
MinMaxExpr(Box<MinMaxExpr>)
SqlvalueFunction(Box<SqlValueFunction>)
XmlExpr(Box<XmlExpr>)
JsonFormat(JsonFormat)
JsonReturning(JsonReturning)
JsonValueExpr(Box<JsonValueExpr>)
JsonConstructorExpr(Box<JsonConstructorExpr>)
JsonIsPredicate(Box<JsonIsPredicate>)
NullTest(Box<NullTest>)
BooleanTest(Box<BooleanTest>)
CoerceToDomain(Box<CoerceToDomain>)
CoerceToDomainValue(Box<CoerceToDomainValue>)
SetToDefault(Box<SetToDefault>)
CurrentOfExpr(Box<CurrentOfExpr>)
NextValueExpr(Box<NextValueExpr>)
InferenceElem(Box<InferenceElem>)
TargetEntry(Box<TargetEntry>)
RangeTblRef(RangeTblRef)
JoinExpr(Box<JoinExpr>)
FromExpr(Box<FromExpr>)
OnConflictExpr(Box<OnConflictExpr>)
Query(Box<Query>)
TypeName(TypeName)
ColumnRef(ColumnRef)
ParamRef(ParamRef)
AExpr(Box<AExpr>)
TypeCast(Box<TypeCast>)
CollateClause(Box<CollateClause>)
RoleSpec(RoleSpec)
FuncCall(Box<FuncCall>)
AStar(AStar)
AIndices(Box<AIndices>)
AIndirection(Box<AIndirection>)
AArrayExpr(AArrayExpr)
ResTarget(Box<ResTarget>)
MultiAssignRef(Box<MultiAssignRef>)
SortBy(Box<SortBy>)
WindowDef(Box<WindowDef>)
RangeSubselect(Box<RangeSubselect>)
RangeFunction(RangeFunction)
RangeTableFunc(Box<RangeTableFunc>)
RangeTableFuncCol(Box<RangeTableFuncCol>)
RangeTableSample(Box<RangeTableSample>)
ColumnDef(Box<ColumnDef>)
TableLikeClause(TableLikeClause)
IndexElem(Box<IndexElem>)
DefElem(Box<DefElem>)
LockingClause(LockingClause)
XmlSerialize(Box<XmlSerialize>)
PartitionElem(Box<PartitionElem>)
PartitionSpec(PartitionSpec)
PartitionBoundSpec(PartitionBoundSpec)
PartitionRangeDatum(Box<PartitionRangeDatum>)
PartitionCmd(PartitionCmd)
RangeTblEntry(Box<RangeTblEntry>)
RtepermissionInfo(RtePermissionInfo)
RangeTblFunction(Box<RangeTblFunction>)
TableSampleClause(Box<TableSampleClause>)
WithCheckOption(Box<WithCheckOption>)
SortGroupClause(SortGroupClause)
GroupingSet(GroupingSet)
WindowClause(Box<WindowClause>)
RowMarkClause(RowMarkClause)
WithClause(WithClause)
InferClause(Box<InferClause>)
OnConflictClause(Box<OnConflictClause>)
CtesearchClause(CteSearchClause)
CtecycleClause(Box<CteCycleClause>)
CommonTableExpr(Box<CommonTableExpr>)
MergeWhenClause(Box<MergeWhenClause>)
MergeAction(Box<MergeAction>)
TriggerTransition(TriggerTransition)
JsonOutput(JsonOutput)
JsonKeyValue(Box<JsonKeyValue>)
JsonObjectConstructor(JsonObjectConstructor)
JsonArrayConstructor(JsonArrayConstructor)
JsonArrayQueryConstructor(Box<JsonArrayQueryConstructor>)
JsonAggConstructor(Box<JsonAggConstructor>)
JsonObjectAgg(Box<JsonObjectAgg>)
JsonArrayAgg(Box<JsonArrayAgg>)
RawStmt(Box<RawStmt>)
InsertStmt(Box<InsertStmt>)
DeleteStmt(Box<DeleteStmt>)
UpdateStmt(Box<UpdateStmt>)
MergeStmt(Box<MergeStmt>)
SelectStmt(Box<SelectStmt>)
SetOperationStmt(Box<SetOperationStmt>)
ReturnStmt(Box<ReturnStmt>)
PlassignStmt(Box<PlAssignStmt>)
CreateSchemaStmt(CreateSchemaStmt)
AlterTableStmt(AlterTableStmt)
ReplicaIdentityStmt(ReplicaIdentityStmt)
AlterTableCmd(Box<AlterTableCmd>)
AlterCollationStmt(AlterCollationStmt)
AlterDomainStmt(Box<AlterDomainStmt>)
GrantStmt(GrantStmt)
ObjectWithArgs(ObjectWithArgs)
AccessPriv(AccessPriv)
GrantRoleStmt(GrantRoleStmt)
AlterDefaultPrivilegesStmt(AlterDefaultPrivilegesStmt)
CopyStmt(Box<CopyStmt>)
VariableSetStmt(VariableSetStmt)
VariableShowStmt(VariableShowStmt)
CreateStmt(CreateStmt)
Constraint(Box<Constraint>)
CreateTableSpaceStmt(CreateTableSpaceStmt)
DropTableSpaceStmt(DropTableSpaceStmt)
AlterTableSpaceOptionsStmt(AlterTableSpaceOptionsStmt)
AlterTableMoveAllStmt(AlterTableMoveAllStmt)
CreateExtensionStmt(CreateExtensionStmt)
AlterExtensionStmt(AlterExtensionStmt)
AlterExtensionContentsStmt(Box<AlterExtensionContentsStmt>)
CreateFdwStmt(CreateFdwStmt)
AlterFdwStmt(AlterFdwStmt)
CreateForeignServerStmt(CreateForeignServerStmt)
AlterForeignServerStmt(AlterForeignServerStmt)
CreateForeignTableStmt(CreateForeignTableStmt)
CreateUserMappingStmt(CreateUserMappingStmt)
AlterUserMappingStmt(AlterUserMappingStmt)
DropUserMappingStmt(DropUserMappingStmt)
ImportForeignSchemaStmt(ImportForeignSchemaStmt)
CreatePolicyStmt(Box<CreatePolicyStmt>)
AlterPolicyStmt(Box<AlterPolicyStmt>)
CreateAmStmt(CreateAmStmt)
CreateTrigStmt(Box<CreateTrigStmt>)
CreateEventTrigStmt(CreateEventTrigStmt)
AlterEventTrigStmt(AlterEventTrigStmt)
CreatePlangStmt(CreatePLangStmt)
CreateRoleStmt(CreateRoleStmt)
AlterRoleStmt(AlterRoleStmt)
AlterRoleSetStmt(AlterRoleSetStmt)
DropRoleStmt(DropRoleStmt)
CreateSeqStmt(CreateSeqStmt)
AlterSeqStmt(AlterSeqStmt)
DefineStmt(DefineStmt)
CreateDomainStmt(Box<CreateDomainStmt>)
CreateOpClassStmt(CreateOpClassStmt)
CreateOpClassItem(CreateOpClassItem)
CreateOpFamilyStmt(CreateOpFamilyStmt)
AlterOpFamilyStmt(AlterOpFamilyStmt)
DropStmt(DropStmt)
TruncateStmt(TruncateStmt)
CommentStmt(Box<CommentStmt>)
SecLabelStmt(Box<SecLabelStmt>)
DeclareCursorStmt(Box<DeclareCursorStmt>)
ClosePortalStmt(ClosePortalStmt)
FetchStmt(FetchStmt)
IndexStmt(Box<IndexStmt>)
CreateStatsStmt(CreateStatsStmt)
StatsElem(Box<StatsElem>)
AlterStatsStmt(AlterStatsStmt)
CreateFunctionStmt(Box<CreateFunctionStmt>)
FunctionParameter(Box<FunctionParameter>)
AlterFunctionStmt(AlterFunctionStmt)
DoStmt(DoStmt)
InlineCodeBlock(InlineCodeBlock)
CallStmt(Box<CallStmt>)
CallContext(CallContext)
RenameStmt(Box<RenameStmt>)
AlterObjectDependsStmt(Box<AlterObjectDependsStmt>)
AlterObjectSchemaStmt(Box<AlterObjectSchemaStmt>)
AlterOwnerStmt(Box<AlterOwnerStmt>)
AlterOperatorStmt(AlterOperatorStmt)
AlterTypeStmt(AlterTypeStmt)
RuleStmt(Box<RuleStmt>)
NotifyStmt(NotifyStmt)
ListenStmt(ListenStmt)
UnlistenStmt(UnlistenStmt)
TransactionStmt(TransactionStmt)
CompositeTypeStmt(CompositeTypeStmt)
CreateEnumStmt(CreateEnumStmt)
CreateRangeStmt(CreateRangeStmt)
AlterEnumStmt(AlterEnumStmt)
ViewStmt(Box<ViewStmt>)
LoadStmt(LoadStmt)
CreatedbStmt(CreatedbStmt)
AlterDatabaseStmt(AlterDatabaseStmt)
AlterDatabaseRefreshCollStmt(AlterDatabaseRefreshCollStmt)
AlterDatabaseSetStmt(AlterDatabaseSetStmt)
DropdbStmt(DropdbStmt)
AlterSystemStmt(AlterSystemStmt)
ClusterStmt(ClusterStmt)
VacuumStmt(VacuumStmt)
VacuumRelation(VacuumRelation)
ExplainStmt(Box<ExplainStmt>)
CreateTableAsStmt(Box<CreateTableAsStmt>)
RefreshMatViewStmt(RefreshMatViewStmt)
CheckPointStmt(CheckPointStmt)
DiscardStmt(DiscardStmt)
LockStmt(LockStmt)
ConstraintsSetStmt(ConstraintsSetStmt)
ReindexStmt(ReindexStmt)
CreateConversionStmt(CreateConversionStmt)
CreateCastStmt(CreateCastStmt)
CreateTransformStmt(CreateTransformStmt)
PrepareStmt(Box<PrepareStmt>)
ExecuteStmt(ExecuteStmt)
DeallocateStmt(DeallocateStmt)
DropOwnedStmt(DropOwnedStmt)
ReassignOwnedStmt(ReassignOwnedStmt)
AlterTsdictionaryStmt(AlterTsDictionaryStmt)
AlterTsconfigurationStmt(AlterTsConfigurationStmt)
PublicationTable(Box<PublicationTable>)
PublicationObjSpec(Box<PublicationObjSpec>)
CreatePublicationStmt(CreatePublicationStmt)
AlterPublicationStmt(AlterPublicationStmt)
CreateSubscriptionStmt(CreateSubscriptionStmt)
AlterSubscriptionStmt(AlterSubscriptionStmt)
DropSubscriptionStmt(DropSubscriptionStmt)
Integer(Integer)
Float(Float)
Boolean(Boolean)
String(String)
BitString(BitString)
List(List)
IntList(IntList)
OidList(OidList)
AConst(AConst)
Implementations§
source§impl NodeEnum
impl NodeEnum
pub fn deparse(&self) -> Result<String>
pub fn nodes(&self) -> Vec<(NodeRef<'_>, i32, Context, bool)>
sourcepub unsafe fn nodes_mut(&mut self) -> Vec<(NodeMut, i32, Context)>
pub unsafe fn nodes_mut(&mut self) -> Vec<(NodeMut, i32, Context)>
Returns a mutable reference to nested nodes.
Safety
The caller may have to deal with dangling pointers, and passing an invalid tree back to libpg_query may cause it to panic.
pub fn to_ref(&self) -> NodeRef<'_>
pub fn to_mut(&mut self) -> NodeMut
Trait Implementations§
source§impl PartialEq for Node
impl PartialEq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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
Mutably borrows from an owned value. Read more