parse | R Documentation |
Parse a single thrift file to R6 class instance
parse(path, module_name = NA, include_dirs = NA, lexer = NA, parser = NA, enable_cache = TRUE)
path |
file path to parse, should be a string ending with '.thrift' |
module_name |
the name for parsed module, the default is the basename without extension of 'path' |
include_dirs |
directories to find thrift files while processing the ‘include' directive, by default: [’.'] |
lexer |
rly lexer to use, if not provided, 'parse' will use a new one |
parser |
rly parser to use, if not provided, 'parse' will use a new one |
enable_cache |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.