protected Integer textToResult(final Symbol symbol)
	{
		// Because we get all terminal symbols, like "+", "*", etc (in addition to numbers).
		return symbol.text != null ? Integer.valueOf(symbol.text) : new Integer(0);
	}