Class DefaultConfiguration<TToken>
A default configuration for any token type
Inheritance
- Object
- DefaultConfiguration<TToken>
- CharDefaultConfiguration
Implements
- IConfiguration<TToken>
Declaration
public class DefaultConfiguration<TToken> : Object, IConfiguration<TToken>
Type Parameters
Name | Description |
---|---|
TToken |
The token type |
Constructors
DefaultConfiguration()
Declaration
public DefaultConfiguration()
Properties
ArrayPoolProvider
Always returns Instance.
Declaration
public virtual IArrayPoolProvider ArrayPoolProvider { get; }
Property Value
Type | Description |
---|---|
Instance
The shared global instance of DefaultConfiguration<TToken>
Declaration
public static IConfiguration<TToken> Instance { get; }
Property Value
Type | Description |
---|---|
IConfiguration<TToken> |
SourcePosCalculator
Always increments the column by 1.
Declaration
public virtual Func<TToken, SourcePosDelta> SourcePosCalculator { get; }
Property Value
Type | Description |
---|---|
Func<TToken, SourcePosDelta> |