code: function(str, inline){
      var match = /(\\)?([#!]){((?:.|\n)*)$/.exec(str);
  
      if(match){
        this.buffer_code_last(utils.stringify(str.substring(0, match.index), true), inline);
  
        if(match[1]){ // escape
          this.buffer_code_last(utils.stringify(match[2] + '{', true), inline);
  
          this.interpolate(match[3], inline);
        }else{
          var rest = match[3];
          var range = this.detect_bracket(rest);
          var code = (('!' !== match[2] && inline) ? '__made_view.encode' : '') + '(' + range.src + ')';
  
          this.buffer_code_last('"+' + code + '+"', inline);
          this.interpolate(rest.substring(range.end + 1), inline);
        }
      }else{
        this.buffer_code_last(utils.stringify(str, true), inline);
      }
    }
docs: 处理插入表达式