<commit_before>let s:save_cpo = &cpo
set cpo&vim

let s:lexer_symbols = [
    \ ['open_brace'        , '(']             , ['close_brace'       , ')']      ,
    \ ['curly_brace_open'  , '{']             , ['curly_brace_close' , '}']      ,
    \ ['square_brace_open' , '[']             , ['square_brace_open' , ']']      ,
    \ ['escaped_single_quote'      , '\(\\''\)\+']             , ['escaped_double_quote'      , '\(\\"\)\+']      ,
    \ ['single_quote'      , "'"]             , ['double_quote'      , '"']      ,
    \ ["object_resolutor"  , "->"]            , ['static_resolutor'  , "::"]     ,
    \ ["self"              , "self"]          , ['parent'            , "parent"] ,
    \ ['colon'             , ':']             , ['question'          , '?']      ,
    \ ['new'               , 'new']           , ['tab'               , '\t']     ,
    \ ['right_arrow'       , '<']             , ['left_arrow'        , '>']      ,
    \ ['function'          , 'function']      , ['use'               , 'use'],
    \ ['ampersand'         , '&']             , ['front_slash'       , '/']      ,
    \ ['ns_seperator'      , "\\"]            , ['underscore'        , '_']      ,
    \ ['equal'             , '=']             , ['negate'            , '!']      ,
    \ ['dollar'            , '\$']            , ['dash'              , '-']      ,
    \ ['semicolon'         , ';']             , ['comma'             , ','] ,
    \ ['plus'              , '+']             , ['star', '*'], ['dot', '\.'],
    \ ['tild'              , '^']             ,
    \ ['alnum'             , '[[:alnum:]]\+']        , ['whitespace'        , '\s\+']   ,
    \ ['xothers'            , '[^[:alnum:]]\+']
    \]

function! phpcomplete_extended#parser#reverseParse(line, parsedTokens) "{{{
    let line = a:line
    if line == ""
        return [{'insideBraceText': '', 'methodPropertyText': '', 'nonClass': 1, 'start': 1}]
    endif
    let parsedTokens = a:parsedTokens
    let braceStack = []<commit_msg>Changed token order<commit_after>let s:save_cpo = &cpo
set cpo&vim

let s:lexer_symbols = [
    \ ['open_brace'        , '(']             , ['close_brace'       , ')']      ,
    \ ['curly_brace_open'  , '{']             , ['curly_brace_close' , '}']      ,
    \ ['square_brace_open' , '[']             , ['square_brace_open' , ']']      ,
    \ ['escaped_single_quote'      , '\(\\''\)\+']             , ['escaped_double_quote'      , '\(\\"\)\+']      ,
    \ ['single_quote'      , "'"]             , ['double_quote'      , '"']      ,
    \ ["object_resolutor"  , "->"]            , ['static_resolutor'  , "::"]     ,
    \ ["self"              , "self"]          , ['parent'            , "parent"] ,
    \ ['colon'             , ':']             , ['question'          , '?']      ,
    \ ['new'               , 'new']           , ['tab'               , '\t']     ,
    \ ['right_arrow'       , '<']             , ['left_arrow'        , '>']      ,
    \ ['function'          , 'function']      ,
    \ ['ampersand'         , '&']             , ['front_slash'       , '/']      ,
    \ ['ns_seperator'      , "\\"]            , ['underscore'        , '_']      ,
    \ ['equal'             , '=']             , ['negate'            , '!']      ,
    \ ['dollar'            , '\$']            , ['dash'              , '-']      ,
    \ ['semicolon'         , ';']             , ['comma'             , ','] ,
    \ ['plus'              , '+']             , ['star', '*'], ['dot', '\.'],
    \ ['tild'              , '^']             ,
    \ ['alnum'             , '[[:alnum:]]\+']        , ['whitespace'        , '\s\+']   ,
    \ ['use'               , 'use']       ,['xothers'            , '[^[:alnum:]]\+']
    \]

function! phpcomplete_extended#parser#reverseParse(line, parsedTokens) "{{{
    let line = a:line
    if line == ""
        return [{'insideBraceText': '', 'methodPropertyText': '', 'nonClass': 1, 'start': 1}]
    endif
    let parsedTokens = a:parsedTokens
    let braceStack = []
{'fraction_non_alphanumeric': 0.22984476715072608, 'fraction_numerical': 0.00100150225338007, 'mean_word_length': 1.1261309207025014, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2544177', 'n_tokens_mistral': 1297, 'n_tokens_neox': 1276, 'n_words': 154}