[refactor] Move evalExpr()