public InternalVariable(InternalVariablesManager Parent, Operation Op)
 {
     op     = Op;
     parent = Parent;
     type   = op.returnType;
     //lastAppearance = Op._linear.Pos;
 }
Example #2
0
        public Container(Component parent, string Name, Linear linear) : base(parent, Name, linear)
        {
            type    = Types.Container;
            ivarMan = new InternalVariablesManager(this);

            if (linear != null)
            {
                var ots = linear.Lang.GetTypesSet;
                if (String.IsNullOrEmpty(linear.Return))
                {
                    returnType = ots.Get(linear.Return);
                }
            }
        }