Exemplo n.º 1
0
        //-----------------------------------------------------------
        public string Visit(GreatEq node)
        {
            var label = GenerateLabel();

            return(String.Format(
                       "\t\tldc.i4 42\n\t\t{0}\n\t\t{1}\n\t\tbge '{2}'\n\t\tpop\n\t\tldc.i4.0\n\t'{2}':\n",
                       Visit((dynamic)node[0]),
                       Visit((dynamic)node[1]),
                       label
                       ));
        }
Exemplo n.º 2
0
 //-----------------------------------------------------------
 public void Visit(GreatEq node)
 {
     VisitChildren(node);
 }