Esempio n. 1
0
 public ForLoopStatement(Parser yyp, ForLoopStatement fls, Expression e)
     : base(((LSLSyntax
         )yyp))
 {
     while (0 < fls.kids.Count) kids.Add(fls.kids.Pop());
     kids.Add(e);
 }
Esempio n. 2
0
 public ForLoopStatement(Parser yyp, ForLoopStatement fls, SimpleAssignment sa)
     : base(((LSLSyntax
         )yyp))
 {
     while (0 < fls.kids.Count) kids.Add(fls.kids.Pop());
     kids.Add(sa);
 }
Esempio n. 3
0
 public ForLoop(Parser yyp, ForLoopStatement flsa, Expression e, ForLoopStatement flsb, Statement s)
     : base(((LSLSyntax
         )yyp))
 {
     kids.Add(flsa);
     kids.Add(e);
     kids.Add(flsb);
     if (0 < s.kids.Count && s.kids.Top is CompoundStatement) kids.Add(s.kids.Pop());
     else kids.Add(s);
 }