Skip to content

a980d4f2 7979 fc02 5a0a f2696c0225b8

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

ExpressionRewriter.Parenthesis Method

Visits a ParenthesisExpression.

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

Syntax

C#

public void Parenthesis(
	ParenthesisExpression parenthesisExpression,
	bool reduceByBaseUnit,
	FlatRepresentationConsumer flatRepresentationConsumer,
	Reference<Expression> currentResult
)

C#

public void Parenthesis(
	ParenthesisExpression parenthesisExpression,
	bool reduceByBaseUnit,
	FlatRepresentationConsumer flatRepresentationConsumer,
	Reference<Expression> currentResult
)

VB

Public Sub Parenthesis ( 
	parenthesisExpression As ParenthesisExpression,
	reduceByBaseUnit As Boolean,
	flatRepresentationConsumer As FlatRepresentationConsumer,
	currentResult As Reference(Of Expression)
)

VB

Public Sub Parenthesis ( 
	parenthesisExpression As ParenthesisExpression,
	reduceByBaseUnit As Boolean,
	flatRepresentationConsumer As FlatRepresentationConsumer,
	currentResult As Reference(Of Expression)
)

C++

public:
virtual void Parenthesis(
	ParenthesisExpression^ parenthesisExpression, 
	bool reduceByBaseUnit, 
	FlatRepresentationConsumer^ flatRepresentationConsumer, 
	Reference<Expression^>^ currentResult
) sealed

C++

public:
virtual void Parenthesis(
	ParenthesisExpression^ parenthesisExpression, 
	bool reduceByBaseUnit, 
	FlatRepresentationConsumer^ flatRepresentationConsumer, 
	Reference<Expression^>^ currentResult
) sealed

F#

abstract Parenthesis : 
        parenthesisExpression : ParenthesisExpression * 
        reduceByBaseUnit : bool * 
        flatRepresentationConsumer : FlatRepresentationConsumer * 
        currentResult : Reference<Expression> -> unit 
override Parenthesis : 
        parenthesisExpression : ParenthesisExpression * 
        reduceByBaseUnit : bool * 
        flatRepresentationConsumer : FlatRepresentationConsumer * 
        currentResult : Reference<Expression> -> unit 

F#

abstract Parenthesis : 
        parenthesisExpression : ParenthesisExpression * 
        reduceByBaseUnit : bool * 
        flatRepresentationConsumer : FlatRepresentationConsumer * 
        currentResult : Reference<Expression> -> unit 
override Parenthesis : 
        parenthesisExpression : ParenthesisExpression * 
        reduceByBaseUnit : bool * 
        flatRepresentationConsumer : FlatRepresentationConsumer * 
        currentResult : Reference<Expression> -> unit 

Parameters

 

parenthesisExpression
Type: Sundew.Quantities.Engine.Representations.Hierarchical.Expressions.ParenthesisExpression
The parentheses expression.
reduceByBaseUnit
Type: System.Boolean
If set to true the expression is reduced by the base unit.
flatRepresentationConsumer
Type: Sundew.Quantities.Engine.Representations.Conversion.FlatRepresentationConsumer
The flat representation consumer.
currentResult
Type: Reference(Expression)
The current result.

Implements

IExpressionVisitor(TParameter1, TParameter2, TParameter3, TResult).Parenthesis(ParenthesisExpression, TParameter1, TParameter2, TParameter3)

See Also

Reference

ExpressionRewriter Class
Sundew.Quantities.Engine.Representations.Evaluation Namespace

Clone this wiki locally