public Variable acquireLocalVariable(String name) {
        int depth = 0;
        LocalVariable variable = findVariable(name, depth);

        if (variable == null) {
            variable = new LocalVariable(name, localVariablesIndex, 0);
            localVariables.put(name, variable);
            localVariablesIndex++;
        }

        return variable;
    }
public Variable acquireLocalVariable ( String name ) { int depth = 0 ; LocalVariable variable = findVariable ( name , depth ) ; if ( variable == null ) { variable = new LocalVariable ( name , localVariablesIndex , 0 ) ; localVariables . put ( name , variable ) ; localVariablesIndex ++ ; } return variable ; }
Return an existing variable or return a new one made in this scope.