public ASTBaseDecl getBaseDecl() { return super.jjtGetChild(ASTBaseDecl.class); }
public Object visit(SimpleNode node, Object data) throws VisitorException { return node.childrenAccept(this, data); }
public List<ASTPrefixDecl> getPrefixDeclList() { return super.jjtGetChildren(ASTPrefixDecl.class); }
/** * Writes a tree-like representation of this node and all of its subnodes * (recursively) and returns it as a string. */ public String dump(String prefix) { StringWriter out = new StringWriter(256); try { dump(prefix, out); return out.toString(); } catch (IOException e) { throw new RuntimeException("Unexpected I/O error while writing to StringWriter", e); } } }
/** * Writes a tree-like representation of this node and all of its subnodes * (recursively) to the supplied Appendable. */ public void dump(String prefix, Appendable out) throws IOException { out.append(prefix).append(this.toString()); for (Node childNode : children) { if (childNode != null) { out.append(LINE_SEPARATOR); ((SimpleNode)childNode).dump(prefix + " ", out); } } }
@Override public String toString() { return super.toString() + " (" + value + ")"; } }
throws VisitorException { final int nargs = node.jjtGetNumChildren(); final Node argNode = node.jjtGetChild(i);
.jjtAccept(this, null/* data */);
/** * Writes a tree-like representation of this node and all of its subnodes * (recursively) and returns it as a string. */ public String dump(String prefix) { StringWriter out = new StringWriter(256); try { dump(prefix, out); return out.toString(); } catch (IOException e) { throw new RuntimeException("Unexpected I/O error while writing to StringWriter", e); } } }
/** * Writes a tree-like representation of this node and all of its subnodes * (recursively) to the supplied Appendable. */ public void dump(String prefix, Appendable out) throws IOException { out.append(prefix).append(this.toString()); for (Node childNode : children) { if (childNode != null) { out.append(LINE_SEPARATOR); ((SimpleNode)childNode).dump(prefix + " ", out); } } }
@Override public String toString() { return super.toString() + " (" + value + ")"; } }
throws VisitorException { final int nargs = node.jjtGetNumChildren(); final Node argNode = node.jjtGetChild(i);
.jjtAccept(this, null/* data */);
sb.append(((SimpleNode)parseTree).dump(""));
public ASTOperation getOperation() { return super.jjtGetChild(ASTOperation.class); }
@Override public String toString() { String result = super.toString(); if (wildcard) { result += " (*)"; } return result; } }
public Object visit(SimpleNode node, Object data) throws VisitorException { return node.childrenAccept(this, data); }
public List<ASTPrefixDecl> getPrefixDeclList() { return super.jjtGetChildren(ASTPrefixDecl.class); }
sb.append(((SimpleNode)parseTree).dump(""));
public ASTBaseDecl getBaseDecl() { return super.jjtGetChild(ASTBaseDecl.class); }