Class RewriterBuilder<T>
Tools for building rewriters.
Inheritance
RewriterBuilder<T>
Assembly: Sawmill.dll
Syntax
public class RewriterBuilder<T>
Type Parameters
Name |
Description |
T |
The rewritable tree type
|
Methods
|
Improve this Doc
View Source
Build()
Declaration
public IRewriter<T> Build()
Returns
|
Improve this Doc
View Source
Case<TSub>(Func<RewriterBuilderCase<Object, T, TSub>, IRewriter<T>>)
Handle a single subclass of T
Declaration
public RewriterBuilder<T> Case<TSub>(Func<RewriterBuilderCase<object, T, TSub>, IRewriter<T>> builderAction)
where TSub : T
Parameters
Returns
Type Parameters