In Wordy, suppose that BinaryExpressionNode
were designed like this, with the operator modeled as a string:
public class BinaryExpressionNode extends ExpressionNode {
// Valid operator types include "addition", "subtraction", "multiplication",
// "division", and "exponentiation". Other strings are not valid operators.