
package org.javacc.jjtree;


public class ASTBNFDeclaration extends JJTreeNode {
  ASTBNFDeclaration(int id) {
    super(id);
  }

  NodeScope node_scope;

  public void print(IO io)
  {
    if (!node_scope.isVoid()) {
      String indent = "";
      if (TokenUtils.hasTokens(this)) {
        for (int i = 1; i < getFirstToken().beginColumn; ++i) {
          indent += " ";
        }
      } else {
        indent = "  ";
      }

      openJJTreeComment(io,  node_scope.getNodeDescriptorText());
      io.println();
      node_scope.insertOpenNodeCode(io, indent);
      closeJJTreeComment(io);
    }
    super.print(io);
  }
}

/*end*/
