Generally it's better to have this as `child.is_a?(Parser::AST::Node)` since it's more clear what your doing this way.