index.js
function() {
    if (/^#\{/.test(this.input)) {
      var match = this.bracketExpression(1);
      this.consume(match.end + 1);
      var tok = this.tok('interpolation', match.src);
      this.tokens.push(tok);
      this.incrementColumn(2); // '#{'
      this.assertExpression(match.src);

      var splitted = match.src.split('\n');
      var lines = splitted.length - 1;
      this.incrementLine(lines);
      this.incrementColumn(splitted[lines].length + 1); // + 1 → '}'
      return true;
    }
  }
function() {
    if (/^#\{/.test(this.input)) {
      var match = this.bracketExpression(1);
      this.consume(match.end + 1);
      var tok = this.tok('interpolation', match.src);
      this.tokens.push(tok);
      this.incrementColumn(2); // '#{'
      this.assertExpression(match.src);

      var splitted = match.src.split('\n');
      var lines = splitted.length - 1;
      this.incrementLine(lines);
      this.incrementColumn(splitted[lines].length + 1); // + 1 → '}'
      return true;
    }
  }
function ( ) { if ( / ^#\{ / . test ( this . input ) ) { var match = this . bracketExpression ( 1 ) ; this . consume ( match . end + 1 ) ; var tok = this . tok ( 'interpolation' , match . src ) ; this . tokens . push ( tok ) ; this . incrementColumn ( 2 ) ; // '#{' this . assertExpression ( match . src ) ; var splitted = match . src . split ( '\n' ) ; var lines = splitted . length - 1 ; this . incrementLine ( lines ) ; this . incrementColumn ( splitted [ lines ] . length + 1 ) ; // + 1 → '}' return true ; } }
Interpolated tag.
Interpolated tag .