AvailCompilerFragmentCache

class AvailCompilerFragmentCache

An AvailCompilerFragmentCache implements a memoization mechanism for a compiler. The purpose is to ensure that the effort to parse a subexpression starting at a specific token is reused when backtracking.

Author

Mark van Gulik

Constructors

Link copied to clipboard
fun AvailCompilerFragmentCache()

Functions

Link copied to clipboard
fun getRendezvous(parserState: ParserState): AvailCompilerBipartiteRendezvous

Look up the AvailCompilerBipartiteRendezvous at the given parser state, creating one if necessary.