snowyu/front-matter-markdown.js

View on GitHub
src/markdown/ast-inline-lexer-patch.coffee

Summary

Maintainability
Test Coverage
module.exports=[
  {
    diffs: [
      [
        0
        "function"
      ]
      [
        -1
        " "
      ]
      [
        0
        '''
          (src) {
          
        '''
      ]
    ]
    start1: 0
    start2: 0
    length1: 17
    length2: 16
  }
  {
    diffs: [
      [
        0
        "t = "
      ]
      [
        -1
        "''"
      ]
      [
        1
        "[]"
      ]
      [
        0
        '''
          
             
        '''
      ]
    ]
    start1: 24
    start2: 24
    length1: 10
    length2: 10
  }
  {
    diffs: [
      [
        0
        "out "
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "cap[1]"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
            
        '''
      ]
    ]
    start1: 199
    start2: 199
    length1: 17
    length2: 28
  }
  {
    diffs: [
      [
        0
        '''
              }
                out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this.renderer.li"
      ]
    ]
    start1: 619
    start2: 619
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        "ref, null, text)"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                continue
        '''
      ]
    ]
    start1: 668
    start2: 668
    length1: 32
    length2: 33
  }
  {
    diffs: [
      [
        0
        '''
          text;
                out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this.renderer.li"
      ]
    ]
    start1: 876
    start2: 876
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        "l, text)"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                
        '''
      ]
    ]
    start1: 933
    start2: 933
    length1: 16
    length2: 17
  }
  {
    diffs: [
      [
        0
        '''
          tag
                  out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "cap[0].substring"
      ]
    ]
    start1: 1116
    start2: 1116
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        "2]))"
      ]
      [
        -1
        '''
          ;
                  this.inLink = true
        '''
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
            
        '''
      ]
    ]
    start1: 1184
    start2: 1184
    length1: 36
    length2: 9
  }
  {
    diffs: [
      [
        0
        '''
          tag
                  out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this.output(cap["
      ]
    ]
    start1: 1217
    start2: 1217
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        "[2])"
      ]
      [
        -1
        '''
          ;
                  this.inLink = false
        '''
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
            
        '''
      ]
    ]
    start1: 1261
    start2: 1261
    length1: 37
    length2: 9
  }
  {
    diffs: [
      [
        0
        '''
          tag
                  out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "cap[0].substring"
      ]
    ]
    start1: 1285
    start2: 1285
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        ")+cap[2].length)"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                  // Adv
        '''
      ]
    ]
    start1: 1352
    start2: 1352
    length1: 32
    length2: 33
  }
  {
    diffs: [
      [
        0
        '''
          tag
                  out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "cap[0].substring"
      ]
    ]
    start1: 1581
    start2: 1581
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        "indexOf(cap[2]))"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                  // In 
        '''
      ]
    ]
    start1: 1637
    start2: 1637
    length1: 32
    length2: 33
  }
  {
    diffs: [
      [
        0
        '''
          tag
                  out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this.output(cap["
      ]
    ]
    start1: 1682
    start2: 1682
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        "(cap[2])"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                
        '''
      ]
    ]
    start1: 1722
    start2: 1722
    length1: 16
    length2: 17
  }
  {
    diffs: [
      [
        0
        "        out "
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "cap[0].subst"
      ]
    ]
    start1: 1754
    start2: 1754
    length1: 27
    length2: 37
  }
  {
    diffs: [
      [
        0
        ")+cap[2].length)"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                  // Adv
        '''
      ]
    ]
    start1: 1817
    start2: 1817
    length1: 32
    length2: 33
  }
  {
    diffs: [
      [
        0
        "    out "
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "cap[0]"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                
        '''
      ]
    ]
    start1: 2001
    start2: 2001
    length1: 25
    length2: 36
  }
  {
    diffs: [
      [
        0
        '''
          true;
                out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this.outputLink("
      ]
    ]
    start1: 2171
    start2: 2171
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        "      })"
      ]
      [
        -1
        ""
      ]
      [
        0
        ""
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                
        '''
      ]
    ]
    start1: 2267
    start2: 2267
    length1: 16
    length2: 17
  }
  {
    diffs: [
      [
        0
        '''
          h);
                  out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this.renderer.re"
      ]
    ]
    start1: 2427
    start2: 2427
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        "er.reffn(cap[1])"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                  contin
        '''
      ]
    ]
    start1: 2467
    start2: 2467
    length1: 32
    length2: 33
  }
  {
    diffs: [
      [
        0
        "    out "
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "cap[0].c"
      ]
    ]
    start1: 2807
    start2: 2807
    length1: 19
    length2: 29
  }
  {
    diffs: [
      [
        0
        "harAt(0)"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                
        '''
      ]
    ]
    start1: 2836
    start2: 2836
    length1: 16
    length2: 17
  }
  {
    diffs: [
      [
        0
        '''
          ;
                out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this.outputL"
      ]
    ]
    start1: 2938
    start2: 2938
    length1: 27
    length2: 37
  }
  {
    diffs: [
      [
        0
        "p, link)"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                
        '''
      ]
    ]
    start1: 2981
    start2: 2981
    length1: 16
    length2: 17
  }
  {
    diffs: [
      [
        0
        '''
          gth);
                out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this.renderer.st"
      ]
    ]
    start1: 3137
    start2: 3137
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        "p[2] || cap[1]))"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                continue
        '''
      ]
    ]
    start1: 3201
    start2: 3201
    length1: 32
    length2: 33
  }
  {
    diffs: [
      [
        0
        '''
          gth);
                out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this.renderer.em"
      ]
    ]
    start1: 3330
    start2: 3330
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        "p[2] || cap[1]))"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                continue
        '''
      ]
    ]
    start1: 3390
    start2: 3390
    length1: 32
    length2: 33
  }
  {
    diffs: [
      [
        0
        '''
          gth);
                out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this.renderer.co"
      ]
    ]
    start1: 3523
    start2: 3523
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        ", true))"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                
        '''
      ]
    ]
    start1: 3593
    start2: 3593
    length1: 16
    length2: 17
  }
  {
    diffs: [
      [
        0
        '''
          gth);
                out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this.renderer.ma"
      ]
    ]
    start1: 3718
    start2: 3718
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        ", false)"
      ]
      [
        1
        ")"
      ]
      [
        0
        "; //FIXM"
      ]
    ]
    start1: 3784
    start2: 3784
    length1: 16
    length2: 17
  }
  {
    diffs: [
      [
        0
        '''
          gth);
                out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this.renderer.br"
      ]
    ]
    start1: 3942
    start2: 3942
    length1: 35
    length2: 45
  }
  {
    diffs: [
      [
        0
        "rer.br()"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                
        '''
      ]
    ]
    start1: 3981
    start2: 3981
    length1: 16
    length2: 17
  }
  {
    diffs: [
      [
        0
        '''
          ;
                out 
        '''
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this.rendere"
      ]
    ]
    start1: 4114
    start2: 4114
    length1: 27
    length2: 37
  }
  {
    diffs: [
      [
        0
        ".output(cap[1]))"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                continue
        '''
      ]
    ]
    start1: 4161
    start2: 4161
    length1: 32
    length2: 33
  }
  {
    diffs: [
      [
        0
        "out "
      ]
      [
        -1
        "+"
      ]
      [
        0
        "= "
      ]
      [
        1
        "out.concat("
      ]
      [
        0
        "this"
      ]
    ]
    start1: 4306
    start2: 4306
    length1: 11
    length2: 21
  }
  {
    diffs: [
      [
        0
        "cap[0]))"
      ]
      [
        1
        ")"
      ]
      [
        0
        '''
          ;
                
        '''
      ]
    ]
    start1: 4352
    start2: 4352
    length1: 16
    length2: 17
  }
]