anchor.diff:      METHODS:
         do_test IMPORTING iv_line     TYPE string
                           iv_filename TYPE string,
  +      generate_parse IMPORTING iv_token  TYPE char01
  +                               iv_offset TYPE i
  +                               iv_length TYPE i,
  +      generate_order IMPORTING iv_token    TYPE char01
  +                               iv_offset   TYPE i
  +                               iv_length   TYPE i
  +                               iv_text_tag TYPE string,
  +      generate_extend IMPORTING iv_token    TYPE char01
  +                                iv_offset   TYPE i
  +                                iv_length   TYPE i
  +                                iv_text_tag TYPE string,
         test_abap_01 FOR TESTING,
         test_abap_02 FOR TESTING,
         test_abap_03 FOR TESTING,
  
positive.code: *----------------------------------------------------------------------*
  CLASS ltcl_syntax_cases IMPLEMENTATION.
  
    DEFINE _generate_parse.
      ms_match-token    = &1.
      ms_match-offset   = &2.
      ms_match-length   = &3.
      APPEND ms_match TO mt_after_parse.
    END-OF-DEFINITION.
  
    DEFINE _generate_order.
      ms_match-token    = &1.
      ms_match-offset   = &2.
      ms_match-length   = &3.
      ms_match-text_tag = &4.
      APPEND ms_match TO mt_after_order.
    END-OF-DEFINITION.
  
    DEFINE _generate_extend.
      ms_match-token    = &1.
      ms_match-offset   = &2.
      ms_match-length   = &3.
      ms_match-text_tag = &4.
      APPEND ms_match TO mt_after_extend.
    END-OF-DEFINITION.
  
    METHOD do_test.
  
      DATA: lt_matches_act TYPE zcl_abapgit_syntax_highlighter=>ty_match_tt,
  
negative.code:     lv_line = 'lv_length = <match>-length.'.                "#EC NOTEXT
  
      " Generate table with expected values after parsing
      generate_parse( iv_token  = 'K'
                      iv_offset = 13
                      iv_length = 5 ).
      generate_parse( iv_token  = 'K'
                      iv_offset = 20
                      iv_length = 6 ).
  
      " Generate table with expected values after extending
      generate_extend( iv_token    = '.'
                       iv_offset   = 0
                       iv_length   = 27
                       iv_text_tag = '' ).
  
      do_test( iv_line = lv_line iv_filename = '*.abap' ).
  
  