Tokens::fromCode - add caching to speedup - for #398 issue.

@stof Now I understand, thx!