Parse a single thrift file to R6 class instance
parse(path, module_name = NA, include_dirs = NA, lexer = NA,
parser = NA, enable_cache = TRUE)
file path to parse, should be a string ending with '.thrift'
the name for parsed module, the default is the basename without extension of `path`
directories to find thrift files while processing the `include` directive, by default: ['.']
rly lexer to use, if not provided, `parse` will use a new one
rly parser to use, if not provided, `parse` will use a new one
if this is set to be `TRUE`, parsed module will be cached, this is enabled by default. If `module_name` is provided, use it as cache key, else use the `path`
Thrift module