case LOCALASGNNODE:
return currentScope.declare(node.getPosition(), ((INameNode) node).getName());
case CONSTDECLNODE: // CONSTANT
return currentScope.declare(node.getPosition(), ((INameNode) node).getName());
case INSTASGNNODE: // INSTANCE VARIABLE
return new InstVarNode(node.getPosition(), ((INameNode) node).getName());
case CLASSVARDECLNODE:
case CLASSVARASGNNODE:
return new ClassVarNode(node.getPosition(), ((INameNode) node).getName());
case GLOBALASGNNODE:
return new GlobalVarNode(node.getPosition(), ((INameNode) node).getName());