anchor.diff:      lv_line = 'SELECT * FROM foo'.                          "#EC NOTEXT
   
       " Generate table with expected values after parsing
  -    _generate_parse 'K' 0  6.
  -    _generate_parse 'K' 9  4.
  -
  -    " Generate table with expected values after ordering
  -    _generate_order 'K' 0  6 ''.
  -    _generate_order 'K' 9  4 ''.
  -
  -    " Generate table with expected values after extending
  -    _generate_extend 'K' 0  6 ''.
  -    _generate_extend '.' 6  3 ''.
  -    _generate_extend 'K' 9  4 ''.
  -    _generate_extend '.' 13 4 ''.
  +    generate_parse( iv_token  = 'K'
  +                    iv_offset = 0
  +                    iv_length = 6 ).
  +
  +    generate_parse( iv_token  = 'K'
  +                    iv_offset = 9
  +                    iv_length = 4 ).
  +
  +    " Generate table with expected values after ordering
  +    generate_order( iv_token    = 'K'
  +                    iv_offset   = 0
  +                    iv_length   = 6
  +                    iv_text_tag = '' ).
  +    generate_order( iv_token    = 'K'
  +                    iv_offset   = 9
  +                    iv_length   = 4
  +                    iv_text_tag = '' ).
  +
  +    " Generate table with expected values after extending
  +    generate_extend( iv_token    = 'K'
  +                     iv_offset   = 0
  +                     iv_length   = 6
  +                     iv_text_tag = '' ).
  +    generate_extend( iv_token    = '.'
  +                     iv_offset   = 6
  +                     iv_length   = 3
  +                     iv_text_tag = '' ).
  +    generate_extend( iv_token    = 'K'
  +                     iv_offset   = 9
  +                     iv_length   = 4
  +                     iv_text_tag = '' ).
  +    generate_extend( iv_token    = '.'
  +                     iv_offset   = 13
  +                     iv_length   = 4
  +                     iv_text_tag = '' ).
   
       do_test( iv_line = lv_line iv_filename = '*.abap' ).
   
  
positive.code:     lv_line = '<tag>Text</tag>'.                            "#EC NOTEXT
  
      " Generate table with expected values after parsing
      _generate_parse 'X' 0  1.
      _generate_parse 'X' 4  1.
      _generate_parse 'X' 9  1.
      _generate_parse 'X' 14 1.
  
      " Generate table with expected values after ordering
      _generate_order 'X' 0  5 '<'.
      _generate_order 'X' 9  6 '<'.
  
      " Generate table with expected values after extending
      _generate_extend 'X' 0  5 '<'.
      _generate_extend '.' 5  4 ''.
      _generate_extend 'X' 9  6 '<'.
  
      do_test( iv_line = lv_line iv_filename = '*.xml' ).
  
  
negative.code:     lv_line = 'lv_line = lc_constant && |XYZ { ''ab'' && |ac{ ''UU'' }| }|'. "#EC NOTEXT
  
      " Generate table with expected values after parsing
      generate_parse( iv_token  = 'K'
                      iv_offset = 22
                      iv_length = 2 ).
      generate_parse( iv_token  = 'T'
                      iv_offset = 25
                      iv_length = 1 ).
      generate_parse( iv_token  = 'T'
                      iv_offset = 30
                      iv_length = 1 ).
      generate_parse( iv_token  = 'T'
                      iv_offset = 32
                      iv_length = 1 ).
      generate_parse( iv_token  = 'T'
                      iv_offset = 35
                      iv_length = 1 ).
      generate_parse( iv_token  = 'K'
                      iv_offset = 37
                      iv_length = 2 ).
      generate_parse( iv_token  = 'T'
                      iv_offset = 40
                      iv_length = 1 ).
      generate_parse( iv_token  = 'T'
                      iv_offset = 43
                      iv_length = 1 ).
      generate_parse( iv_token  = 'T'
                      iv_offset = 45
                      iv_length = 1 ).
      generate_parse( iv_token  = 'T'
                      iv_offset = 48
                      iv_length = 1 ).
      generate_parse( iv_token  = 'T'
                      iv_offset = 50
                      iv_length = 1 ).
      generate_parse( iv_token  = 'T'
                      iv_offset = 51
                      iv_length = 1 ).
      generate_parse( iv_token  = 'T'
                      iv_offset = 53
                      iv_length = 1 ).
      generate_parse( iv_token  = 'T'
                      iv_offset = 54
                      iv_length = 1 ).
  
      " Generate table with expected values after ordering
      generate_order( iv_token    = 'K'
                      iv_offset   = 22
                      iv_length   = 2
                      iv_text_tag = '' ).
      generate_order( iv_token    = 'T'
                      iv_offset   = 25
                      iv_length   = 5
                      iv_text_tag = '|' ).
      generate_order( iv_token    = 'T'
                      iv_offset   = 32
                      iv_length   = 4
                      iv_text_tag = '''' ).
      generate_order( iv_token    = 'K'
                      iv_offset   = 37
                      iv_length   = 2
                      iv_text_tag = '' ).
      generate_order( iv_token    = 'T'
                      iv_offset   = 40
                      iv_length   = 3
                      iv_text_tag = '|' ).
      generate_order( iv_token    = 'T'
                      iv_offset   = 45
                      iv_length   = 4
                      iv_text_tag = '''' ).
      generate_order( iv_token    = 'T'
                      iv_offset   = 51
                      iv_length   = 1
                      iv_text_tag = '}' ).
      generate_order( iv_token    = 'T'
                      iv_offset   = 54
                      iv_length   = 1
                      iv_text_tag = '}' ).
  
      " Generate table with expected values after extending
      generate_extend( iv_token    = '.'
                       iv_offset   = 00
                       iv_length   = 22
                       iv_text_tag = '' ).
      generate_extend( iv_token    = 'K'
                       iv_offset   = 22
                       iv_length   = 2
                       iv_text_tag = '' ).
      generate_extend( iv_token    = '.'
                       iv_offset   = 24
                       iv_length   = 1
                       iv_text_tag = '' ).
      generate_extend( iv_token    = 'T'
                       iv_offset   = 25
                       iv_length   = 5
                       iv_text_tag = '|' ).
      generate_extend( iv_token    = '.'
                       iv_offset   = 30
                       iv_length   = 2
                       iv_text_tag = '' ).
      generate_extend( iv_token    = 'T'
                       iv_offset   = 32
                       iv_length   = 4
                       iv_text_tag = '''' ).
      generate_extend( iv_token    = '.'
                       iv_offset   = 36
                       iv_length   = 1
                       iv_text_tag = '' ).
      generate_extend( iv_token    = 'K'
                       iv_offset   = 37
                       iv_length   = 2
                       iv_text_tag = '' ).
      generate_extend( iv_token    = '.'
                       iv_offset   = 39
                       iv_length   = 1
                       iv_text_tag = '' ).
      generate_extend( iv_token    = 'T'
                       iv_offset   = 40
                       iv_length   = 3
                       iv_text_tag = '|' ).
      generate_extend( iv_token    = '.'
                       iv_offset   = 43
                       iv_length   = 2
                       iv_text_tag = '' ).
      generate_extend( iv_token    = 'T'
                       iv_offset   = 45
                       iv_length   = 4
                       iv_text_tag = '''' ).
      generate_extend( iv_token    = '.'
                       iv_offset   = 49
                       iv_length   = 2
                       iv_text_tag = '' ).
      generate_extend( iv_token    = 'T'
                       iv_offset   = 51
                       iv_length   = 1
                       iv_text_tag = '}' ).
      generate_extend( iv_token    = '.'
                       iv_offset   = 52
                       iv_length   = 2
                       iv_text_tag = '' ).
      generate_extend( iv_token    = 'T'
                       iv_offset   = 54
                       iv_length   = 1
                       iv_text_tag = '}' ).
  
      do_test( iv_line = lv_line iv_filename = '*.abap' ).
  
  