Inlining AST node evaluation methods in the TreeInterpreter to avoid the cost of double dispatch