C# Class BitOrchestra.Operator

Gives information about a binary operator.
Afficher le fichier Open project: dzamkov/Bit-Orchestra Class Usage Examples

Méthodes publiques

Свойство Type Description
Map Operator>.Dictionary
MaxOperatorLength int
Name string
Operation BinaryOperation
Precedence int

Méthodes publiques

Méthode Description
Add ( Operator Operator ) : void

Adds an operator to the available set of operators.

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

Private Methods

Méthode Description
Operator ( ) : System

Method Details

Add() public static méthode

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

Operator() public méthode

public Operator ( string Name, int Precedence, BinaryOperation Operation ) : System
Name string
Precedence int
Operation BinaryOperation
Résultat System

Property Details

Map public_oe static_oe property

A mapping of names to binary operators.
public static Dictionary Map
Résultat Operator>.Dictionary

MaxOperatorLength public_oe static_oe property

The maximum string length of an operator.
public static int MaxOperatorLength
Résultat int

Name public_oe property

The name of the operator.
public string Name
Résultat string

Operation public_oe property

The operation for the operator.
public BinaryOperation Operation
Résultat BinaryOperation

Precedence public_oe property

The precedence of the operator.
public int Precedence
Résultat int