2 import IR.VarDescriptor;
4 public class DeclarationNode extends BlockStatementNode {
6 ExpressionNode init_en;
7 public DeclarationNode(VarDescriptor var, ExpressionNode en) {
12 public String printNode(int indent) {
15 else return vd.toString()+"="+init_en.printNode(0);
18 public ExpressionNode getExpression() {
22 public VarDescriptor getVarDescriptor() {
27 return Kind.DeclarationNode;