Class SqlPlaceholderNodeReplacementContext
- Namespace
- LfrlAnvil.Sql.Expressions.Visitors
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents a context capable of replacing placeholder nodes.
public sealed class SqlPlaceholderNodeReplacementContext : SqlNodeMutatorContext
- Inheritance
-
SqlPlaceholderNodeReplacementContext
- Inherited Members
Methods
Mutate(SqlNodeBase, SqlNodeAncestors)
Mutates the provided node.
protected override SqlNodeMutatorContext.MutationResult Mutate(SqlNodeBase node, SqlNodeAncestors ancestors)
Parameters
nodeSqlNodeBaseNode to mutate.
ancestorsSqlNodeAncestorsSqlNodeAncestors associated with the
nodeto mutate.
Returns
- SqlNodeMutatorContext.MutationResult
Mutation result.
Remarks
See Node(SqlNodeBase) and Leaf(SqlNodeBase) for more information on how the result affects an SQL syntax tree traversal.