Class DefaultConfiguration<TToken>
A default configuration for any token type.
Inheritance
- object
- DefaultConfiguration<TToken>
- CharDefaultConfiguration
Implements
- IConfiguration<TToken>
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()
Declaration
public class DefaultConfiguration<TToken> : IConfiguration<TToken>
Type Parameters
Name | Description |
---|---|
TToken |
The token type. |
Constructors
DefaultConfiguration()
A default configuration for any token type.
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> |