}
AstList body = (AstList) defn.getBody();
Object firstChildNode = body.get(0);
String docNode = "";
if (firstChildNode instanceof Expr) {
CommonTree firstChild = ((Expr) firstChildNode).getNode();
docNode = firstChild.toString();
}
String doc = "";
if (docNode.startsWith("'''") && docNode.endsWith("'''")) {
doc = docNode.substring(3, docNode.length() - 3);
}