/** * Return the object into String. * * @param tab how many tabs (not used here * @return a String */ public String toString(int tab) { // todo : rewrite tostring method StringBuffer buff = new StringBuffer(tabString(tab)); buff.append("var "); buff.append(variable.toStringExpression()); return buff.toString(); }
public Expression expressionAt(int line, int column) { if (variable.isAt(line, column)) return variable.expressionAt(line, column); return null; }
public String getNameLowerCase() { if (nameLowerCase == null) { nameLowerCase = variable.getName().toLowerCase(); } return nameLowerCase; }
public String getName() { if (cachedToString == null) { cachedToString = variable.getName(); } return cachedToString; }