Class RewritableRewriter<T>
Inheritance
RewritableRewriter<T>
Assembly: Sawmill.dll
Syntax
public class RewritableRewriter<T> : IRewriter<T> where T : IRewritable<T>
Type Parameters
Name |
Description |
T |
The rewritable tree type
|
Constructors
|
Improve this Doc
View Source
RewritableRewriter()
Declaration
protected RewritableRewriter()
Properties
|
Improve this Doc
View Source
Instance
Declaration
public static RewritableRewriter<T> Instance { get; }
Property Value
Methods
|
Improve this Doc
View Source
CountChildren(T)
Declaration
public int CountChildren(T value)
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
|
Improve this Doc
View Source
GetChildren(Span<T>, T)
Declaration
public void GetChildren(Span<T> childrenReceiver, T value)
Parameters
Type |
Name |
Description |
Span<T> |
childrenReceiver |
|
T |
value |
|
|
Improve this Doc
View Source
SetChildren(ReadOnlySpan<T>, T)
Declaration
public T SetChildren(ReadOnlySpan<T> newChildren, T oldValue)
Parameters
Type |
Name |
Description |
ReadOnlySpan<T> |
newChildren |
|
T |
oldValue |
|
Returns
Implements
Extension Methods