Class StaticParser
Wrapper for super-lightweight, static parser methods for
converting to / from string and enum objects.
Assembly: Mangrove.Parsing.dll
Syntax
public static class StaticParser
Fields
View Source
MAGIC_DELIMITER
A unique delimiter string that guarantees that strings with this
delimiter were created using this parser.
Declaration
public static string MAGIC_DELIMITER
Field Value
Methods
View Source
ParseBinaryAggregation(String)
Declaration
public static BinaryAggregationKind ParseBinaryAggregation(string operator)
Parameters
Type |
Name |
Description |
String |
operator |
|
Returns
View Source
ParseBinaryOperation(String)
Declaration
public static BinaryOperationKind ParseBinaryOperation(string operator)
Parameters
Type |
Name |
Description |
String |
operator |
|
Returns
View Source
ParseTernaryOperation(String)
Declaration
public static TernaryOperationKind ParseTernaryOperation(string operator)
Parameters
Type |
Name |
Description |
String |
operator |
|
Returns
View Source
ParseType(String)
Parse a string representation of a TypeKind into
a strongly-typed object.
Declaration
public static TypeKind ParseType(string type)
Parameters
Type |
Name |
Description |
String |
type |
|
Returns
View Source
ParseUnaryAggregation(String)
Declaration
public static UnaryAggregationKind ParseUnaryAggregation(string aggregation)
Parameters
Type |
Name |
Description |
String |
aggregation |
|
Returns
View Source
ParseUnaryOperation(String)
Declaration
public static UnaryOperationKind ParseUnaryOperation(string aggregation)
Parameters
Type |
Name |
Description |
String |
aggregation |
|
Returns