Interface IParsedExpressionNumberParser
- Namespace
- LfrlAnvil.Computable.Expressions
- Assembly
- LfrlAnvil.Computable.Expressions.dll
Represents a type-erased expression's number parser.
public interface IParsedExpressionNumberParser
Methods
TryParse(StringSegment, out object)
Attempts to parse a number from the provided text.
bool TryParse(StringSegment text, out object result)
Parameters
textStringSegmentText to parse.
resultobjectout parameter that returns the result of parsing.
Returns
- bool
true when parsing was successful, otherwise false.