Skip to content

2c39e38b b71d 2597 9872 55dfd8f05178

Kim Hugener-Ohlsen edited this page May 28, 2016 · 2 revisions

ExpressionParser.Parse Method

Parses the specified lexeme list.

Namespace: Sundew.Quantities.Engine.Representations.Hierarchical.Parsing
Assembly: Sundew.Quantities (in Sundew.Quantities.dll) Version: 1.0.2.0 (1.0.2.0)

Syntax

C#

public Result<Expression, Error<ExpressionError>> Parse(
	Lexemes lexemes,
	ParseSettings parseSettings
)

C#

public Result<Expression, Error<ExpressionError>> Parse(
	Lexemes lexemes,
	ParseSettings parseSettings
)

VB

Public Function Parse ( 
	lexemes As Lexemes,
	parseSettings As ParseSettings
) As Result(Of Expression, Error(Of ExpressionError))

VB

Public Function Parse ( 
	lexemes As Lexemes,
	parseSettings As ParseSettings
) As Result(Of Expression, Error(Of ExpressionError))

C++

public:
virtual Result<Expression^, Error<ExpressionError>^>^ Parse(
	Lexemes^ lexemes, 
	ParseSettings^ parseSettings
) sealed

C++

public:
virtual Result<Expression^, Error<ExpressionError>^>^ Parse(
	Lexemes^ lexemes, 
	ParseSettings^ parseSettings
) sealed

F#

abstract Parse : 
        lexemes : Lexemes * 
        parseSettings : ParseSettings -> Result<Expression, Error<ExpressionError>> 
override Parse : 
        lexemes : Lexemes * 
        parseSettings : ParseSettings -> Result<Expression, Error<ExpressionError>> 

F#

abstract Parse : 
        lexemes : Lexemes * 
        parseSettings : ParseSettings -> Result<Expression, Error<ExpressionError>> 
override Parse : 
        lexemes : Lexemes * 
        parseSettings : ParseSettings -> Result<Expression, Error<ExpressionError>> 

Parameters

 

lexemes
Type: Sundew.Quantities.Engine.Representations.Hierarchical.Parsing.LexicalAnalysis.Lexemes
The lexemes.
parseSettings
Type: Sundew.Quantities.Engine.Representations.Hierarchical.Parsing.ParseSettings
The parse settings.

Return Value

Type: Result(Expression, Error(ExpressionError))
The parsed expression.

Implements

IExpressionParser.Parse(Lexemes, ParseSettings)

See Also

Reference

ExpressionParser Class
Sundew.Quantities.Engine.Representations.Hierarchical.Parsing Namespace

Clone this wiki locally