Hacker News new | ask | show | jobs
by DmitrySoshnikov 2065 days ago
Yes, to some degree -- Syntax tool normally support lexer states, and the same "while" token may mean a keyword or the property/field name of a struct. You can find more details of the lexer states in the docs.