Exemplo n.º 1
0
        public Evaluator(PepsiMachine machine, Tokenizer tokenizer)
        {
            if (machine == null)
            {
                throw new ArgumentNullException("machine");
            }

            this.machine   = machine;
            this.tokenizer = tokenizer;
        }
Exemplo n.º 2
0
 public Evaluator(PepsiMachine machine, TextReader reader)
     : this(machine, new Tokenizer(reader))
 {
 }
Exemplo n.º 3
0
 public Evaluator(PepsiMachine machine, string text)
     : this(machine, new Tokenizer(text))
 {
 }