protected ExpressionValue parse(String input, ExpressionValue initial)
			throws ExpressionException {
		List<ExpressionElement> list = new ArrayList<>();

		// if there is a given initial value (used for relative expressions), add it to the 
		// sequential list of valid expression elements.
		if (initial != null) {
			list.add(initial);
		}

		// convert the text input into a list of valid expression elements
		parseToList(input, list);

		// evaluate the list of expression elements in operator precedence order.
		return eval(list);
	}
Changes the hex/decimal mode.
@param b if true, all numbers will be assumed to be hexadecimal
Ghidra/Framework/Generic/src/main/java/generic/expressions/ExpressionEvaluator.java