Node argsNode = ((IArgumentNode) newtypeNode).getArgs();
nodes = RubyParserUtils.findNodes(argsNode, new NodeType[] { NodeType.SYMBOLNODE });
if(nodes.size() != 1)
throw new IOException("The newtype call does not take exactly one symbol parameter in " + typeFileStr);
SymbolNode typeName = (SymbolNode) nodes.get(0);
type.setName(typeName.getName());
// Find the assignment of the @doc instance variable
Node iterNode = newtypeNode.getIter();
nodes = RubyParserUtils.findNodes(iterNode, new NodeType[] { NodeType.BLOCKNODE, NodeType.INSTASGNNODE });
if(nodes.isEmpty())