SourceFileInfo.firstTokenIndex

Tokens of all files are stored linearly inside CompilationContext.tokenBuffer and CompilationContext.tokenLocationBuffer. Token file can be found with binary search

struct SourceFileInfo
TokenIndex firstTokenIndex;

Meta