Beispiel #1
0
 internal TagValue(RValue tag, RValue explClass, RValue explId, RValue attributes, Context context)
     : base(context)
 {
     TagName       = tag;
     ExplicitClass = explClass;
     ExplicitID    = explId;
     Attributes    = attributes;
 }
Beispiel #2
0
        internal MethodCallValue(RValue thisObj, string callName, RValue[] args, Context context)
            : base(context)
        {
            MethodName = callName;
            Args       = args;
            ThisObj    = thisObj;
            if (ThisType == null)
            {
                throw new NotSupportedException("Cannot call method on undefined type");
            }

            Field  = resolveField();
            Method = resolveMethod();
        }
Beispiel #3
0
 internal PairValue(RValue key, RValue value, Context context)
     : base(context)
 {
     Key   = key;
     Value = value;
 }
Beispiel #4
0
 internal ConditionValue(RValue value, Context context)
     : base(context)
 {
     Value = value;
 }
Beispiel #5
0
 internal YieldValue(RValue identifier, Context context)
     : base(context)
 {
     Identifier = identifier;
 }
Beispiel #6
0
 internal ForeachValue(RValue enumerated, LambdaBlock block, Context context)
     : base(context)
 {
     _enumerated = enumerated;
     _block      = block;
 }
Beispiel #7
0
 internal IntervalValue(RValue from, RValue to, Context context)
     : base(context)
 {
     _from = from;
     _to   = to;
 }