public ForNode(string name, LanguageNode asig, LanguageNode to, LanguageNode body)
 {
     Name = name;
     Asig = asig;
     To   = to;
     if (body == null)
     {
         Body = new ExpSeqNode(new List <LanguageNode>());
     }
     else
     {
         Body = body;
     }
 }
Exemple #2
0
        TypeReturn resulLet; //El resultado del Let(Lo que devuelve)

        public LetNode(List <DeclarationNode> decl, List <LanguageNode> body)
        {
            Decl   = decl;
            expSec = new ExpSeqNode(body);
        }