Exemple #1
0
 public Expression(string input)
 {
     this.Input			= input;
     Tokens				= new Tokenizer(input).Scan();
     PostFixedTokens		= new PostfixedTokens(Tokens.tokens);
     ParseTree			= PostFixedTokens.BuildParseTree();
     ReturnValue			= ParseTree.val;
     Output				= ReturnValue.FullVisualization();
 }
Exemple #2
0
 public Variable(string name, Value value, Expression.Expression function)
 {
     this.name = name;
     this.value = value;
     this.function = function;
 }
Exemple #3
0
 public Variable(string name, Value value)
 {
     this.name = name;
     this.value = value;
 }