private Token parseVariable(){
        char curr;
        if(hasNext() && next()=='{'){
            String variable = "";
            while(hasNext() && (curr = next())!='}'){            	
                variable+=curr;
            }
            if(current()=='}'){
                return new Token(variable, VARIABLE);
            }
        }
        return new Token("", ERROR);
    }