mike-lischke / antlr4-c3

A grammar agnostic code completion engine for ANTLR4 based parsers
MIT License
397 stars 62 forks source link

Handle condition where tokenStream.get() returns undefined #95

Closed nchen63 closed 7 months ago

nchen63 commented 7 months ago

When the document isn't fully parseable, the token stream will return undefined. This change allows the completion core to recover