21#ifndef Rcpp_Language_h
22#define Rcpp_Language_h
64 Storage::set__( Rf_lang1( Rf_install(symbol.c_str()) ) );
76 Storage::set__( Rf_lang1( symbol ) );
85 Storage::set__( Rf_lang1(
function ) );
105 template <
typename... T>
107 Storage::set__(
langlist(Rf_install(symbol.c_str()), t...) );
110 template <
typename... T>
126 SEXP x = Storage::get__();
128 SET_TAG(x, R_NilValue);
135 SEXP x = Storage::get__();
137 SET_TAG(x, R_NilValue);
162 if (TYPEOF(x) != LANGSXP) {
165 SET_TAG( x, R_NilValue );
172 template <
typename RESULT_TYPE=SEXP>
188 template <
typename T,
typename RESULT_TYPE = SEXP>
205 template <
typename T1,
typename T2,
typename RESULT_TYPE = SEXP>
binary_call(Function fun)
binary_call(Language call_)
binary_call(Language call_, R_xlen_t index1, R_xlen_t index2)
RESULT_TYPE operator()(const T1 &o1, const T2 &o2)
fixed_call(Language call_)
RESULT_TYPE operator()(const T &object)
unary_call(Language call_, R_xlen_t index)
unary_call(Language call_)
#define RCPP_GENERATE_CTOR_ASSIGN(__CLASS__)
#define RCPP_API_CLASS(__CLASS__)
SEXP Rcpp_eval_impl(SEXP expr, SEXP env)
Function_Impl< PreserveStorage > Function
DottedPairProxyPolicy< Language_Impl >::const_DottedPairProxy const_Proxy
SEXP Rcpp_fast_eval(SEXP expr, SEXP env)
SEXP langlist(const T1 &t1)
void setFunction(const Function &function)
void setSymbol(const std::string &symbol)
Language_Impl< PreserveStorage > Language
void function(const char *name_, RESULT_TYPE(*fun)(T... t), const char *docstring=0)
Symbol_Impl< NoProtectStorage > Symbol