Last active
August 29, 2015 14:09
-
-
Save tonussi/ad2d94d6924da7756b6d to your computer and use it in GitHub Desktop.
como escrever melhor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function Filho(nodo_filho, filho_esquerda, filho_direita) { | |
| this.nodo_filho = nodo_filho; | |
| this.filho_esquerda = filho_esquerda; | |
| this.filho_direita = filho_direita; | |
| } | |
| Filho.class_filho.prototype.constroiAutomatoFND = function () { | |
| var nodo_filho = new Parenteses(0, -1, 1024, this.nodo_filho); | |
| if (!this.filho_esquerda) { | |
| var estrela_klenee = new Estrela('*'); | |
| var concatenacao = new Concatenacao('.'); | |
| var aceitacao = new Fechamento(concatenacao, estrela_klenee); | |
| nodo_filho = new SequenciaNodular(aceitacao, nodo_filho); | |
| } | |
| return nodo.constroiAutomatoFND(); | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👮