C# Class BitOrchestra.Operator

Gives information about a binary operator.
Show file Open project: dzamkov/Bit-Orchestra Class Usage Examples

Public Properties

Property Type Description
Map Operator>.Dictionary
MaxOperatorLength int
Name string
Operation BinaryOperation
Precedence int

Public Methods

Method Description
Add ( Operator Operator ) : void

Adds an operator to the available set of operators.

Operator ( string Name, int Precedence, BinaryOperation Operation ) : System

Private Methods

Method Description
Operator ( ) : System

Method Details

Add() public static method

Adds an operator to the available set of operators.
public static Add ( Operator Operator ) : void
Operator Operator
return void

Operator() public method

public Operator ( string Name, int Precedence, BinaryOperation Operation ) : System
Name string
Precedence int
Operation BinaryOperation
return System

Property Details

Map public static property

A mapping of names to binary operators.
public static Dictionary Map
return Operator>.Dictionary

MaxOperatorLength public static property

The maximum string length of an operator.
public static int MaxOperatorLength
return int

Name public property

The name of the operator.
public string Name
return string

Operation public property

The operation for the operator.
public BinaryOperation Operation
return BinaryOperation

Precedence public property

The precedence of the operator.
public int Precedence
return int