index.js
function() {
    var block = this.emptyBlock(0);

    while ('eos' != this.peek().type) {
      if ('newline' == this.peek().type) {
        this.advance();
      } else if ('text-html' == this.peek().type) {
        block.nodes = block.nodes.concat(this.parseTextHtml());
      } else {
        var expr = this.parseExpr();
        if (expr)
          block.nodes.push(expr);
        }
      }

    return block;
  }
function() {
    var block = this.emptyBlock(0);

    while ('eos' != this.peek().type) {
      if ('newline' == this.peek().type) {
        this.advance();
      } else if ('text-html' == this.peek().type) {
        block.nodes = block.nodes.concat(this.parseTextHtml());
      } else {
        var expr = this.parseExpr();
        if (expr)
          block.nodes.push(expr);
        }
      }

    return block;
  }
function ( ) { var block = this . emptyBlock ( 0 ) ; while ( 'eos' != this . peek ( ) . type ) { if ( 'newline' == this . peek ( ) . type ) { this . advance ( ) ; } else if ( 'text-html' == this . peek ( ) . type ) { block . nodes = block . nodes . concat ( this . parseTextHtml ( ) ) ; } else { var expr = this . parseExpr ( ) ; if ( expr ) block . nodes . push ( expr ) ; } } return block ; }
Parse input returning a string of js for evaluation.

@return {String}
@api public
Parse input returning a string of js for evaluation .