See https://github.com/antlr/grammars-v4/pull/4451#issuecomment-2764777883 * Getting the "root" directory for `<input>` depends on the path being a glob pattern.
See antlr/grammars-v4#4451 (comment)
<input>depends on the path being a glob pattern.