Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
se agrego un nuevo atributo al nodoValor
Browse files Browse the repository at this point in the history
  • Loading branch information
walis85300 committed May 12, 2016
1 parent 7533a7a commit b2f15cd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ast/NodoValor.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@

public class NodoValor extends NodoBase {
private int valor;
private int tipo;

public NodoValor(int valor) {
super();
this.valor = valor;
this.tipo = 0;
}

public NodoValor(int valor, int tipo) {
super();
this.valor = valor;
this.tipo = tipo;
}

public NodoValor() {
Expand Down

0 comments on commit b2f15cd

Please sign in to comment.