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