get the children of an AST node