t_load: Load thrift file as a R6 instance.

View source: R/parser.R

t_loadR Documentation

Load thrift file as a R6 instance.

Description

The module loaded and objects inside may only be pickled if module_name was provided.

Usage

t_load(path, module_name = NA, include_dirs = NA)

Arguments

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: [’.']

Value

Thrift R6 class instance


thriftr documentation built on May 10, 2022, 5:10 p.m.

Related to t_load in thriftr...