ClassOperatorInfo
Class
Describes an operator's symbol, precedence, and associativity for use in expression parsing and evaluation.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
cs-api-definition
public class OperatorInfo
Inheritance: objectOperatorInfo
Constructors
OperatorInfo(string, int, OperatorAssociativity)
Initializes a new operator descriptor with the specified symbol, precedence, and associativity.
Declaration
cs-api-definition
public OperatorInfo(string symbol, int precedence, OperatorAssociativity associativity)
Parameters
symbol
The symbol.
precedence
The precedence.
associativity
The associativity.
Properties
Associativity
Gets whether this operator evaluates left-to-right or right-to-left when operators of equal precedence appear together.
Declaration
cs-api-definition
public OperatorAssociativity Associativity { get; }
Property Value
The associativity.
Precedence
Gets the precedence value determining evaluation order, with lower numbers evaluated first.