Searched refs:CachedLexPos (Results 1 – 2 of 2) sorted by relevance
1154 CachedTokensTy::size_type CachedLexPos = 0; variable1830 if (CachedLexPos + N < CachedTokens.size()) in LookAhead()1831 return CachedTokens[CachedLexPos+N]; in LookAhead()1844 assert(signed(CachedLexPos) - signed(N) >= signed(BacktrackPositions.back()) in RevertCachedTokens()1846 assert(signed(CachedLexPos) - signed(N) >= 0 && in RevertCachedTokens()1848 CachedLexPos -= N; in RevertCachedTokens()1867 CachedTokens.insert(CachedTokens.begin()+CachedLexPos, Tok); in EnterToken()1881 if (CachedLexPos != 0 && isBacktrackEnabled()) in AnnotateCachedTokens()1888 assert(CachedLexPos != 0); in getLastCachedTokenLocation()1889 return CachedTokens[CachedLexPos-1].getLastLoc(); in getLastCachedTokenLocation()[all …]
184 if (CachedLexPos < CachedTokens.size()) { in EnterTokenStream()188 CachedTokens.insert(CachedTokens.begin() + CachedLexPos, in EnterTokenStream()