OperatorInfo
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:
C#
public class OperatorInfo
Inheritance: objectOperatorInfo
Constructors
Initializes a new operator descriptor with the specified symbol, precedence, and associativity.
C#
public OperatorInfo(string symbol, int precedence, OperatorAssociativity associativity)
The symbol.
precedenceintThe precedence.
associativityOperatorAssociativityThe associativity.
Properties
Gets whether this operator evaluates left-to-right or right-to-left when operators of equal precedence appear together.
C#
public OperatorAssociativity Associativity { get; }
The associativity.
Gets the precedence value determining evaluation order, with lower numbers evaluated first.
C#
public int Precedence { get; }
The precedence.