index.js
function() {
    var tok = this.expect('block');

    var node = 'indent' == this.peek().type
      ? this.block()
      : this.emptyBlock(tok.line);
    node.type = 'NamedBlock';
    node.name = tok.val.trim();
    node.mode = tok.mode;
    node.line = tok.line;

    return node;
  }
function() {
    var tok = this.expect('block');

    var node = 'indent' == this.peek().type
      ? this.block()
      : this.emptyBlock(tok.line);
    node.type = 'NamedBlock';
    node.name = tok.val.trim();
    node.mode = tok.mode;
    node.line = tok.line;

    return node;
  }
function ( ) { var tok = this . expect ( 'block' ) ; var node = 'indent' == this . peek ( ) . type ? this . block ( ) : this . emptyBlock ( tok . line ) ; node . type = 'NamedBlock' ; node . name = tok . val . trim ( ) ; node . mode = tok . mode ; node . line = tok . line ; return node ; }
'block' name block
block name block