public final IndentationRule getFunction(String symbol) { IndentationRule scheme = (IndentationRule) mRulesMap.get(symbol); if (scheme == null) return DEFAULT_SCHEME; else return scheme; }
public IndentationRule[] getRules() { return (IndentationRule[]) mRulesMap.values().toArray(new IndentationRule[mRulesMap.size()]); }
public void addIndentationRule(IndentationRule rule) { mRulesMap.put(rule.getSymbol(), rule); }
public void clear() { mRulesMap.clear(); }