C# Class OpenRA.Support.Evaluator

Afficher le fichier Open project: pchote/OpenRA

Méthodes publiques

Méthode Description
Evaluate ( string expr ) : int
Evaluate ( string expr, int>.Dictionary syms ) : int

Private Methods

Méthode Description
ApplyBinop ( Stack s, Func f ) : void
ToPostfix ( IEnumerable toks, int>.Dictionary syms ) : IEnumerable
Tokens ( string expr, string ops ) : IEnumerable

Method Details

Evaluate() public static méthode

public static Evaluate ( string expr ) : int
expr string
Résultat int

Evaluate() public static méthode

public static Evaluate ( string expr, int>.Dictionary syms ) : int
expr string
syms int>.Dictionary
Résultat int