Support classes commonly used by ExpressionParser implementations.