From a language package installed in atom I’m trying to find out the pattern object(s) that correspond to a specific scope .
looking into some language grammars I can tell that there isn’t a standard way a language defines patterns ;
so I made the assumption that these rules are parsed while tokeninizing the text-buffer…
I therefore found some classes that deal with tokens and first-mate but I can’t seem to find where the actual parsing takes place;
Could somebody explain (or point me to docs) on the workflow that the text-buffer goes through to tokenize a language.