Example #1
0
        public LoveControlBlock(int start, int length, LoveBindingBase expression, LoveBlock body)
            : base(start, length)
        {
            Expression = expression;
            Body       = body;

            Children.Add(expression);
            Children.Add(body);
        }
Example #2
0
 public LoveScope(LoveSpan name, LoveBindingBase expression, LoveScopeType scopeType)
 {
     Name       = name;
     Expression = expression;
     ScopeType  = scopeType;
 }
Example #3
0
 public LoveForeachBlock(int start, int length, LoveSpan itemName, LoveBindingBase expression, LoveBlock body) :
     base(start, length, expression, body)
 {
     ItemName = itemName;
 }
Example #4
0
 public LoveIfBlock(int start, int length, LoveBindingBase expression, LoveBlock body) :
     base(start, length, expression, body)
 {
 }