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 LoveForeachBlock(int start, int length, LoveSpan itemName, LoveBindingBase expression, LoveBlock body) :
     base(start, length, expression, body)
 {
     ItemName = itemName;
 }
Example #3
0
 public LoveIfBlock(int start, int length, LoveBindingBase expression, LoveBlock body) :
     base(start, length, expression, body)
 {
 }
Example #4
0
 public LoveSyntaxTree(LoveBlock document)
 {
     Document = document;
 }