Autocomplete table/column names locally

Hi, I’d like to use the SQL Autocomplete parser as described here:

However instead of getting table/column names from a remote backend service, I’d like to get it from a local JavaScript structure in my webclient.

I haven’t found a way to hook my own suggestion provider to the autocomplete parser to list tables/columns.

Is there a way to do it?