public static function columns(array $tokens) {
        $columns = array_filter($tokens['INSERT'], function($token) {
            return $token['expr_type'] === 'column-list';
        });

        return array_map(function($column) {
            return end($column['no_quotes']['parts']);
        }, end($columns)['sub_tree']);
    }
public static function columns(array $tokens) {
        $columns = array_filter($tokens['INSERT'], function($token) {
            return $token['expr_type'] === 'column-list';
        });

        return array_map(function($column) {
            return end($column['no_quotes']['parts']);
        }, end($columns)['sub_tree']);
    }
public static function columns ( array $ tokens ) { $ columns = array_filter ( $ tokens [ 'INSERT' ] , function ( $ token ) { return $ token [ 'expr_type' ] === 'column-list' ; } ) ; return array_map ( function ( $ column ) { return end ( $ column [ 'no_quotes' ] [ 'parts' ] ) ; } , end ( $ columns ) [ 'sub_tree' ] ) ; }
returns the columns as list

@param  array $tokens
@return array
returns the columns as list