Rcpp Version 1.0.14
|
Public Member Functions | |
SourceFileAttributesParser (const std::string &sourceFile, const std::string &packageFile, bool parseDependencies) | |
virtual const std::string & | sourceFile () const |
virtual const_iterator | begin () const |
virtual const_iterator | end () const |
virtual const std::vector< std::string > & | modules () const |
virtual const std::vector< std::vector< std::string > > & | roxygenChunks () const |
virtual bool | hasGeneratorOutput () const |
virtual bool | hasInterface (const std::string &name) const |
bool | hasPackageInit () const |
const std::vector< std::string > & | embeddedR () const |
const std::vector< FileInfo > & | sourceDependencies () const |
Public Member Functions inherited from Rcpp::attributes::SourceFileAttributes | |
virtual | ~SourceFileAttributes () |
Private Attributes | |
std::string | sourceFile_ |
CharacterVector | lines_ |
std::vector< Attribute > | attributes_ |
std::vector< std::string > | modules_ |
bool | hasPackageInit_ |
std::vector< std::string > | embeddedR_ |
std::vector< FileInfo > | sourceDependencies_ |
std::vector< std::vector< std::string > > | roxygenChunks_ |
std::vector< std::string > | roxygenBuffer_ |
Additional Inherited Members | |
Public Types inherited from Rcpp::attributes::SourceFileAttributes | |
typedef std::vector< Attribute >::const_iterator | const_iterator |
Definition at line 486 of file attributes.cpp.
|
explicit |
Definition at line 1185 of file attributes.cpp.
References Rcpp::as(), attributes_, embeddedR_, hasPackageInit_, lines_, Rcpp::match(), modules_, parseAttribute(), Rcpp::Vector< RTYPE, StoragePolicy >::push_back(), roxygenBuffer_, roxygenChunks_, Rcpp::Vector< RTYPE, StoragePolicy >::size(), sourceDependencies_, sourceFile(), sourceFile_, and Rcpp::wrap().
|
private |
|
private |
Definition at line 1774 of file attributes.cpp.
References Rcpp::as(), Rcpp::message(), Rcpp::attributes::showWarning(), and sourceFile_.
Referenced by attributeWarning(), parseAttribute(), rcppExportWarning(), and rcppInterfacesWarning().
|
private |
Definition at line 1792 of file attributes.cpp.
References Rcpp::as(), attributeWarning(), and Rcpp::message().
|
inlinevirtual |
Implements Rcpp::attributes::SourceFileAttributes.
Definition at line 502 of file attributes.cpp.
References attributes_.
Referenced by compileAttributes(), and hasInterface().
|
inline |
Definition at line 542 of file attributes.cpp.
References embeddedR_.
|
inlinevirtual |
Implements Rcpp::attributes::SourceFileAttributes.
Definition at line 503 of file attributes.cpp.
References attributes_.
Referenced by compileAttributes(), and hasInterface().
|
inlinevirtual |
Implements Rcpp::attributes::SourceFileAttributes.
Definition at line 514 of file attributes.cpp.
References attributes_, modules_, and roxygenChunks_.
Referenced by compileAttributes().
|
inlinevirtual |
Implements Rcpp::attributes::SourceFileAttributes.
Definition at line 521 of file attributes.cpp.
References Rcpp::as(), begin(), end(), Rcpp::attributes::kInterfaceR, and Rcpp::attributes::kInterfacesAttribute.
|
inlinevirtual |
Implements Rcpp::attributes::SourceFileAttributes.
Definition at line 537 of file attributes.cpp.
References hasPackageInit_.
Referenced by compileAttributes().
|
private |
Definition at line 1764 of file attributes.cpp.
References Rcpp::attributes::kDependsAttribute, Rcpp::attributes::kExportAttribute, Rcpp::attributes::kInitAttribute, Rcpp::attributes::kInterfacesAttribute, and Rcpp::attributes::kPluginsAttribute.
Referenced by parseAttribute().
|
inlinevirtual |
Implements Rcpp::attributes::SourceFileAttributes.
Definition at line 505 of file attributes.cpp.
References modules_.
|
private |
|
private |
Definition at line 1660 of file attributes.cpp.
References Rcpp::as().
Referenced by parseFunction().
|
private |
Definition at line 1339 of file attributes.cpp.
References Rcpp::as(), attributeWarning(), isKnownAttribute(), Rcpp::attributes::kExportAttribute, Rcpp::attributes::kExportInvisible, Rcpp::attributes::kExportName, Rcpp::attributes::kExportRng, Rcpp::attributes::kExportSignature, Rcpp::attributes::kInitAttribute, Rcpp::attributes::kInterfaceCpp, Rcpp::attributes::kInterfaceR, Rcpp::attributes::kInterfacesAttribute, Rcpp::attributes::kParamValueFalse, Rcpp::attributes::kParamValueFALSE, Rcpp::attributes::kParamValueTrue, Rcpp::attributes::kParamValueTRUE, lines_, Rcpp::match(), parseFunction(), parseParameters(), rcppExportWarning(), rcppInterfacesWarning(), roxygenBuffer_, Rcpp::Vector< RTYPE, StoragePolicy >::size(), and Rcpp::attributes::trimWhitespace().
Referenced by SourceFileAttributesParser().
Definition at line 1491 of file attributes.cpp.
References Rcpp::as(), Rcpp::attributes::Type::empty(), Rcpp::attributes::isWhitespace(), Rcpp::attributes::kWhitespaceChars, parseArguments(), parseSignature(), parseType(), rcppExportInvalidParameterWarning(), rcppExportNoFunctionFoundWarning(), rcppExportWarning(), and Rcpp::attributes::trimWhitespace().
Referenced by parseAttribute().
|
private |
Definition at line 1450 of file attributes.cpp.
References Rcpp::as(), Rcpp::attributes::kExportSignature, Rcpp::attributes::kParamBlockEnd, and Rcpp::attributes::kParamBlockStart.
Referenced by parseAttribute().
|
private |
Definition at line 1620 of file attributes.cpp.
References Rcpp::as(), Rcpp::Vector< RTYPE, StoragePolicy >::at(), lines_, and Rcpp::Vector< RTYPE, StoragePolicy >::size().
Referenced by parseFunction().
Definition at line 1726 of file attributes.cpp.
References Rcpp::as(), and Rcpp::attributes::trimWhitespace().
Referenced by parseFunction().
|
private |
Definition at line 1809 of file attributes.cpp.
References Rcpp::as(), and rcppExportWarning().
Referenced by parseFunction().
|
private |
Definition at line 1804 of file attributes.cpp.
References Rcpp::as(), and rcppExportWarning().
Referenced by parseFunction().
|
private |
Definition at line 1798 of file attributes.cpp.
References Rcpp::as(), attributeWarning(), and Rcpp::message().
Referenced by parseAttribute(), parseFunction(), rcppExportInvalidParameterWarning(), and rcppExportNoFunctionFoundWarning().
|
private |
Definition at line 1816 of file attributes.cpp.
References Rcpp::as(), attributeWarning(), and Rcpp::message().
Referenced by parseAttribute().
|
inlinevirtual |
Implements Rcpp::attributes::SourceFileAttributes.
Definition at line 510 of file attributes.cpp.
References roxygenChunks_.
|
inline |
Definition at line 547 of file attributes.cpp.
References sourceDependencies_.
|
inlinevirtual |
Implements Rcpp::attributes::SourceFileAttributes.
Definition at line 499 of file attributes.cpp.
References sourceFile_.
Referenced by SourceFileAttributesParser().
|
private |
Definition at line 578 of file attributes.cpp.
Referenced by begin(), end(), hasGeneratorOutput(), and SourceFileAttributesParser().
|
private |
Definition at line 581 of file attributes.cpp.
Referenced by embeddedR(), and SourceFileAttributesParser().
|
private |
Definition at line 580 of file attributes.cpp.
Referenced by hasPackageInit(), and SourceFileAttributesParser().
|
private |
Definition at line 577 of file attributes.cpp.
Referenced by parseAttribute(), parseSignature(), and SourceFileAttributesParser().
|
private |
Definition at line 579 of file attributes.cpp.
Referenced by hasGeneratorOutput(), modules(), and SourceFileAttributesParser().
|
private |
Definition at line 584 of file attributes.cpp.
Referenced by parseAttribute(), and SourceFileAttributesParser().
|
private |
Definition at line 583 of file attributes.cpp.
Referenced by hasGeneratorOutput(), roxygenChunks(), and SourceFileAttributesParser().
|
private |
Definition at line 582 of file attributes.cpp.
Referenced by sourceDependencies(), and SourceFileAttributesParser().
|
private |
Definition at line 576 of file attributes.cpp.
Referenced by attributeWarning(), sourceFile(), and SourceFileAttributesParser().