示例#1
0
文件: RValues.cs 项目: m9ra/ServeRick
 internal TagValue(RValue tag, RValue explClass, RValue explId, RValue attributes, Context context)
     : base(context)
 {
     TagName       = tag;
     ExplicitClass = explClass;
     ExplicitID    = explId;
     Attributes    = attributes;
 }
示例#2
0
文件: RValues.cs 项目: m9ra/ServeRick
        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();
        }
示例#3
0
文件: RValues.cs 项目: m9ra/ServeRick
 internal PairValue(RValue key, RValue value, Context context)
     : base(context)
 {
     Key   = key;
     Value = value;
 }
示例#4
0
文件: RValues.cs 项目: m9ra/ServeRick
 internal ConditionValue(RValue value, Context context)
     : base(context)
 {
     Value = value;
 }
示例#5
0
文件: RValues.cs 项目: m9ra/ServeRick
 internal YieldValue(RValue identifier, Context context)
     : base(context)
 {
     Identifier = identifier;
 }
示例#6
0
文件: RValues.cs 项目: m9ra/ServeRick
 internal ForeachValue(RValue enumerated, LambdaBlock block, Context context)
     : base(context)
 {
     _enumerated = enumerated;
     _block      = block;
 }
示例#7
0
文件: RValues.cs 项目: m9ra/ServeRick
 internal IntervalValue(RValue from, RValue to, Context context)
     : base(context)
 {
     _from = from;
     _to   = to;
 }