index.js
function() {
    if (this.input.length) return;
    if (this.interpolated) {
      this.error('NO_END_BRACKET', 'End of line was reached with no closing bracket for interpolation.');
    }
    for (var i = 0; this.indentStack[i]; i++) {
      this.tokens.push(this.tok('outdent'));
    }
    this.tokens.push(this.tok('eos'));
    this.ended = true;
    return true;
  }
function() {
    if (this.input.length) return;
    if (this.interpolated) {
      this.error('NO_END_BRACKET', 'End of line was reached with no closing bracket for interpolation.');
    }
    for (var i = 0; this.indentStack[i]; i++) {
      this.tokens.push(this.tok('outdent'));
    }
    this.tokens.push(this.tok('eos'));
    this.ended = true;
    return true;
  }
function ( ) { if ( this . input . length ) return ; if ( this . interpolated ) { this . error ( 'NO_END_BRACKET' , 'End of line was reached with no closing bracket for interpolation.' ) ; } for ( var i = 0 ; this . indentStack [ i ] ; i ++ ) { this . tokens . push ( this . tok ( 'outdent' ) ) ; } this . tokens . push ( this . tok ( 'eos' ) ) ; this . ended = true ; return true ; }
end-of-source.
end - of - source .