Class ParserOptions
- Namespace
- Utils.Expressions
- Assembly
- Utils.dll
Provides configuration settings and default mappings for parsing expressions, including operator priorities, numeric type levels, default type keywords, and numeric suffix mappings.
public class ParserOptions
- Inheritance
-
ParserOptions
- Inherited Members
- Extension Methods
Constructors
ParserOptions()
Initializes a new instance of the ParserOptions class and populates the operator priority levels, number type levels, default types, and numeric suffixes.
public ParserOptions()
Properties
DefaultTypes
Gets the mapping of C# type keywords to runtime types.
public IReadOnlyDictionary<string, Type> DefaultTypes { get; }
Property Value
NumberSuffixes
Gets the mapping of numeric suffixes to conversion delegates.
public IReadOnlyDictionary<string, Func<string, object>> NumberSuffixes { get; }
Property Value
NumberTypeLevel
Gets a read-only dictionary mapping numeric types to precedence levels.
public IReadOnlyDictionary<Type, int> NumberTypeLevel { get; }
Property Value
OperatorPriorityLevel
Gets a read-only dictionary mapping operators to their precedence levels.
public IReadOnlyDictionary<string, int> OperatorPriorityLevel { get; }