Rcpp Version 1.0.14
|
Classes | |
class | Argument |
class | Attribute |
class | CommentState |
class | CppExportsGenerator |
class | CppExportsIncludeGenerator |
class | CppPackageIncludeGenerator |
class | ExportsGenerator |
class | ExportsGenerators |
class | FileInfo |
class | Function |
class | Param |
class | RExportsGenerator |
class | SourceFileAttributes |
class | SourceFileAttributesParser |
class | Type |
Variables | |
const char *const | kWhitespaceChars = " \f\n\r\t\v" |
const char *const | kExportAttribute = "export" |
const char *const | kExportName = "name" |
const char *const | kExportRng = "rng" |
const char *const | kExportInvisible = "invisible" |
const char *const | kExportSignature = "signature" |
const char *const | kInitAttribute = "init" |
const char *const | kDependsAttribute = "depends" |
const char *const | kPluginsAttribute = "plugins" |
const char *const | kInterfacesAttribute = "interfaces" |
const char *const | kInterfaceR = "r" |
const char *const | kInterfaceCpp = "cpp" |
const char *const | kParamValueFalse = "false" |
const char *const | kParamValueTrue = "true" |
const char *const | kParamValueFALSE = "FALSE" |
const char *const | kParamValueTRUE = "TRUE" |
const char *const | kParamBlockStart = "{;" |
const char *const | kParamBlockEnd = "}" |
Definition at line 2808 of file attributes.cpp.
References Rcpp::_, Rcpp::attributes::Function::arguments(), Rcpp::as(), and Rcpp::eval().
Referenced by Rcpp::attributes::RExportsGenerator::doWriteFunctions().
Definition at line 3019 of file attributes.cpp.
References Rcpp::as(), Rcpp::exists(), and Rcpp::Named().
Referenced by Rcpp::attributes::CppExportsIncludeGenerator::commit(), and Rcpp::attributes::CppPackageIncludeGenerator::commit().
Definition at line 3114 of file attributes.cpp.
References Rcpp::as().
Referenced by compileAttributes().
|
private |
Definition at line 2848 of file attributes.cpp.
References Rcpp::attributes::Function::arguments(), Rcpp::as(), Rcpp::attributes::SourceFileAttributes::begin(), Rcpp::attributes::SourceFileAttributes::end(), Rcpp::attributes::Type::full_name(), Rcpp::attributes::Type::isVoid(), Rcpp::attributes::Argument::name(), Rcpp::attributes::Function::name(), printFunction(), Rcpp::attributes::Argument::type(), and Rcpp::attributes::Function::type().
Referenced by Rcpp::attributes::CppExportsGenerator::doWriteFunctions().
Definition at line 2783 of file attributes.cpp.
References Rcpp::attributes::Function::arguments(), Rcpp::as(), Rcpp::attributes::Argument::name(), Rcpp::attributes::Function::name(), and showWarning().
Referenced by Rcpp::attributes::RExportsGenerator::doWriteFunctions().
|
private |
Definition at line 2837 of file attributes.cpp.
Referenced by Rcpp::attributes::CppExportsGenerator::commit().
Definition at line 3106 of file attributes.cpp.
References Rcpp::as().
Definition at line 3126 of file attributes.cpp.
References Rcpp::as(), and kWhitespaceChars.
Referenced by stripTrailingLineComments().
Definition at line 3030 of file attributes.cpp.
References Rcpp::as(), and kWhitespaceChars.
Referenced by Rcpp::attributes::SourceFileAttributesParser::parseFunction().
|
private |
Definition at line 1119 of file attributes.cpp.
References Rcpp::as(), and printArgument().
|
private |
Definition at line 1163 of file attributes.cpp.
References Rcpp::as().
|
private |
Definition at line 1147 of file attributes.cpp.
References Rcpp::as(), and printFunction().
Definition at line 1153 of file attributes.cpp.
References Rcpp::as().
Definition at line 1092 of file attributes.cpp.
References Rcpp::as(), Rcpp::attributes::Type::empty(), Rcpp::attributes::Type::isConst(), Rcpp::attributes::Type::isReference(), and Rcpp::attributes::Type::name().
|
private |
Definition at line 1104 of file attributes.cpp.
References Rcpp::as().
Referenced by operator<<(), and printFunction().
|
private |
Definition at line 1125 of file attributes.cpp.
References Rcpp::attributes::Function::arguments(), Rcpp::as(), Rcpp::attributes::Type::empty(), Rcpp::attributes::Function::empty(), Rcpp::attributes::Function::name(), printArgument(), and Rcpp::attributes::Function::type().
Referenced by generateCpp(), operator<<(), and Rcpp::attributes::CppExportsGenerator::writeEnd().
Definition at line 3007 of file attributes.cpp.
References Rcpp::as(), and Rcpp::exists().
Referenced by Rcpp::attributes::ExportsGenerator::remove().
Definition at line 3121 of file attributes.cpp.
References Rcpp::as(), Rcpp::Named(), and Rcpp::warning().
Referenced by Rcpp::attributes::SourceFileAttributesParser::attributeWarning(), compileAttributes(), generateRArgList(), and Rcpp::attributes::CppExportsGenerator::writeEnd().
void Rcpp::attributes::stripQuotes | ( | std::string * | pStr | ) |
Definition at line 3097 of file attributes.cpp.
References Rcpp::as().
Referenced by Rcpp::attributes::Param::Param().
void Rcpp::attributes::stripTrailingLineComments | ( | std::string * | pStr | ) |
Definition at line 3036 of file attributes.cpp.
References Rcpp::as(), isRoxygenCpp(), and kWhitespaceChars.
void Rcpp::attributes::trimWhitespace | ( | std::string * | pStr | ) |
Definition at line 3080 of file attributes.cpp.
References Rcpp::as(), and kWhitespaceChars.
Referenced by Rcpp::attributes::Attribute::customRSignature(), Rcpp::attributes::Param::Param(), Rcpp::attributes::SourceFileAttributesParser::parseAttribute(), Rcpp::attributes::SourceFileAttributesParser::parseFunction(), and Rcpp::attributes::SourceFileAttributesParser::parseType().
Definition at line 159 of file attributes.cpp.
Referenced by compileAttributes(), and Rcpp::attributes::SourceFileAttributesParser::isKnownAttribute().
Definition at line 153 of file attributes.cpp.
Referenced by Rcpp::attributes::Attribute::isExportedFunction(), Rcpp::attributes::SourceFileAttributesParser::isKnownAttribute(), and Rcpp::attributes::SourceFileAttributesParser::parseAttribute().
Definition at line 156 of file attributes.cpp.
Referenced by Rcpp::attributes::Attribute::invisible(), and Rcpp::attributes::SourceFileAttributesParser::parseAttribute().
Definition at line 154 of file attributes.cpp.
Referenced by Rcpp::attributes::Attribute::exportedName(), and Rcpp::attributes::SourceFileAttributesParser::parseAttribute().
Definition at line 155 of file attributes.cpp.
Referenced by Rcpp::attributes::SourceFileAttributesParser::parseAttribute(), and Rcpp::attributes::Attribute::rng().
Definition at line 158 of file attributes.cpp.
Referenced by Rcpp::attributes::CppExportsGenerator::doWriteFunctions(), Rcpp::attributes::SourceFileAttributesParser::isKnownAttribute(), and Rcpp::attributes::SourceFileAttributesParser::parseAttribute().
Definition at line 163 of file attributes.cpp.
Referenced by Rcpp::attributes::CppExportsGenerator::doWriteFunctions(), Rcpp::attributes::CppExportsIncludeGenerator::doWriteFunctions(), Rcpp::attributes::SourceFileAttributesParser::parseAttribute(), and Rcpp::attributes::ExportsGenerator::writeFunctions().
Definition at line 162 of file attributes.cpp.
Referenced by Rcpp::attributes::RExportsGenerator::doWriteFunctions(), Rcpp::attributes::SourceFileAttributesParser::hasInterface(), and Rcpp::attributes::SourceFileAttributesParser::parseAttribute().
Definition at line 161 of file attributes.cpp.
Referenced by Rcpp::attributes::SourceFileAttributesParser::hasInterface(), Rcpp::attributes::SourceFileAttributesParser::isKnownAttribute(), and Rcpp::attributes::SourceFileAttributesParser::parseAttribute().
Definition at line 169 of file attributes.cpp.
Referenced by Rcpp::attributes::SourceFileAttributesParser::parseParameters().
Definition at line 168 of file attributes.cpp.
Referenced by Rcpp::attributes::SourceFileAttributesParser::parseParameters().
Definition at line 164 of file attributes.cpp.
Referenced by Rcpp::attributes::SourceFileAttributesParser::parseAttribute().
Definition at line 166 of file attributes.cpp.
Referenced by Rcpp::attributes::SourceFileAttributesParser::parseAttribute().
Definition at line 165 of file attributes.cpp.
Referenced by Rcpp::attributes::Attribute::invisible(), Rcpp::attributes::SourceFileAttributesParser::parseAttribute(), and Rcpp::attributes::Attribute::rng().
Definition at line 167 of file attributes.cpp.
Referenced by Rcpp::attributes::Attribute::invisible(), Rcpp::attributes::SourceFileAttributesParser::parseAttribute(), and Rcpp::attributes::Attribute::rng().
Definition at line 160 of file attributes.cpp.
Referenced by Rcpp::attributes::SourceFileAttributesParser::isKnownAttribute().
Definition at line 3027 of file attributes.cpp.
Referenced by isRoxygenCpp(), isWhitespace(), Rcpp::attributes::SourceFileAttributesParser::parseFunction(), stripTrailingLineComments(), and trimWhitespace().