예제 #1
0
        public int Variable(string name, Type type)
        {
            var exp = new IlVariable(Variables.Count, type, name);

            _expressions.Add(exp);
            Variables.Add(exp);

            return(_expressions.Count - 1);
        }
예제 #2
0
 public IlWriteVariable(IlVariable variable, IlExpression value)
 {
     _variable = variable;
     _value    = value;
 }