C# Class BitOrchestra.Operator

Gives information about a binary operator.
Datei anzeigen 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_oe static_oe property

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

MaxOperatorLength public_oe static_oe property

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

Name public_oe property

The name of the operator.
public string Name
return string

Operation public_oe property

The operation for the operator.
public BinaryOperation Operation
return BinaryOperation

Precedence public_oe property

The precedence of the operator.
public int Precedence
return int