The StandardOperatorTable type exposes the following members.
Constructors
Name | Description | |
---|---|---|
StandardOperatorTable |
Create the standard set of operators.
|
Methods
Name | Description | |
---|---|---|
AddOperator | Overloaded. | |
AppendOperator | Overloaded. | |
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetAdd | (Inherited from OperatorTable.) | |
GetAnd | (Inherited from OperatorTable.) | |
GetAssign | (Inherited from OperatorTable.) | |
GetCross | (Inherited from OperatorTable.) | |
GetDivide | (Inherited from OperatorTable.) | |
GetDot | (Inherited from OperatorTable.) | |
GetEle | (Inherited from OperatorTable.) | |
GetEQ | (Inherited from OperatorTable.) | |
GetGE | (Inherited from OperatorTable.) | |
GetGT | (Inherited from OperatorTable.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetLE | (Inherited from OperatorTable.) | |
GetLightWeightInstance |
|
|
GetList | (Inherited from OperatorTable.) | |
GetLT | (Inherited from OperatorTable.) | |
GetMod | (Inherited from OperatorTable.) | |
GetMultiply | (Inherited from OperatorTable.) | |
GetNE | (Inherited from OperatorTable.) | |
GetNop | (Inherited from OperatorTable.) | |
GetNot | (Inherited from OperatorTable.) | |
GetOperator |
Get operator by its key code. Most efficient way to get an operator.
(Inherited from OperatorTable.) |
|
GetOperators | (Inherited from OperatorTable.) | |
GetOperatorsByName |
Get the operator with a given name
(Inherited from OperatorTable.) |
|
GetOperatorsBySymbol |
Gets all the operators with a given symbol
(Inherited from OperatorTable.) |
|
GetOr | (Inherited from OperatorTable.) | |
GetPower | (Inherited from OperatorTable.) | |
GetRange | (Inherited from OperatorTable.) | |
GetSubtract | (Inherited from OperatorTable.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
GetUDivide | (Inherited from OperatorTable.) | |
GetUMinus | (Inherited from OperatorTable.) | |
GetUPlus | (Inherited from OperatorTable.) | |
Init | (Overrides OperatorTable..::.Init(JepInstance).) | |
InsertOperator | Overloaded. | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
RemoveOperator |
Remove an operator from the table.
(Inherited from OperatorTable.) |
|
ReplaceOperator |
replace an existing operator by a new one.
(Inherited from OperatorTable.) |
|
SetBinaryInverseOp | (Inherited from OperatorTable.) | |
SetDistributiveOver | (Inherited from OperatorTable.) | |
SetInverseOp | (Inherited from OperatorTable.) | |
SetPrecedenceTable |
Sets the precedence of all operators at one time. An array of arrays of
key codes of operators is used to set the table operators with the same
precedence are grouped together and listed from tighter binding to loose
binding.
(Inherited from OperatorTable.)ExamplesCopyC# SetPrecedenceTable(new int[][] { { OP_NEGATE, OP_UPLUS, OP_NOT }, { OP_POWER }, { OP_MULTIPLY, OP_DIVIDE, OP_MOD, OP_DOT, OP_CROSS }, { OP_ADD, OP_SUBTRACT }, { OP_LT, OP_LE, OP_GT, OP_GE }, { OP_EQ, OP_NE }, { OP_AND }, { OP_OR }, { OP_ASSIGN }, }); |
|
SetRootOp | (Inherited from OperatorTable.) | |
SetStandardOperatorRelations |
Sets up the standard relations between +,-,*,/
(Inherited from OperatorTable.) |
|
ToString |
String rep operators ordered by precedence, one per line.
(Inherited from OperatorTable.) |
Fields
Name | Description | |
---|---|---|
_numOps |
The Number of Operators
(Inherited from OperatorTable.) |
|
ops | (Inherited from OperatorTable.) |
Properties
Name | Description | |
---|---|---|
NumOps |
The Number of Operators in the Operator Table
(Inherited from OperatorTable.) |