decorate
Lexes job.sourceCode and produces an output array job.decorations of style classes preceded by the position at which they start in job.sourceCode in order.
Parameters
job
an object like
{ sourceCode: {string} sourceText plain text, basePos: {int} position of job.sourceCode in the larger chunk of sourceCode. }