示例#1
0
        public lstValores getLstValores(elementoEntorno elemento)
        {
            lstValores retorno = new lstValores();

            foreach (nodoModelo hijo in hijos)
            {
                _VALOR temp = (_VALOR)hijo;

                itemValor temporal1 = temp.getValor(elemento, new token());


                retorno.insertar(temporal1);
            }
            return(retorno);
        }
示例#2
0
        public itemValor getValor(elementoEntorno elemento, token tipo)
        {
            itemValor retorno = new itemValor();

            retorno.setTypeNulo();


            if (hayErrores())
            {
                return(retorno);
            }

            if (hijos.Count > 0)
            {
                nodoModelo hijo = hijos[0];
                _VALOR     ope  = (_VALOR)hijo;
                return(ope.getValor(elemento, tipo));
            }

            return(retorno);
        }