|
| CoreTypeParser (BNTypeParser *parser) |
|
virtual | ~CoreTypeParser () |
|
virtual bool | PreprocessSource (const std::string &source, const std::string &fileName, Ref< Platform > platform, const std::map< QualifiedName, TypeAndId > &existingTypes, const std::vector< std::string > &options, const std::vector< std::string > &includeDirs, std::string &output, std::vector< TypeParserError > &errors) override |
| Preprocess a block of source, returning the source that would be parsed. More...
|
|
virtual bool | ParseTypesFromSource (const std::string &source, const std::string &fileName, Ref< Platform > platform, const std::map< QualifiedName, TypeAndId > &existingTypes, const std::vector< std::string > &options, const std::vector< std::string > &includeDirs, const std::string &autoTypeSource, TypeParserResult &result, std::vector< TypeParserError > &errors) override |
| Parse an entire block of source into types, variables, and functions. More...
|
|
virtual bool | ParseTypeString (const std::string &source, Ref< Platform > platform, const std::map< QualifiedName, TypeAndId > &existingTypes, QualifiedNameAndType &result, std::vector< TypeParserError > &errors) override |
| Parse a single type and name from a string containing their definition. More...
|
|
virtual bool | PreprocessSource (const std::string &source, const std::string &fileName, Ref< Platform > platform, const std::map< QualifiedName, TypeAndId > &existingTypes, const std::vector< std::string > &options, const std::vector< std::string > &includeDirs, std::string &output, std::vector< TypeParserError > &errors)=0 |
| Preprocess a block of source, returning the source that would be parsed. More...
|
|
virtual bool | ParseTypesFromSource (const std::string &source, const std::string &fileName, Ref< Platform > platform, const std::map< QualifiedName, TypeAndId > &existingTypes, const std::vector< std::string > &options, const std::vector< std::string > &includeDirs, const std::string &autoTypeSource, TypeParserResult &result, std::vector< TypeParserError > &errors)=0 |
| Parse an entire block of source into types, variables, and functions. More...
|
|
virtual bool | ParseTypeString (const std::string &source, Ref< Platform > platform, const std::map< QualifiedName, TypeAndId > &existingTypes, QualifiedNameAndType &result, std::vector< TypeParserError > &errors)=0 |
| Parse a single type and name from a string containing their definition. More...
|
|
| StaticCoreRefCountObject () |
|
virtual | ~StaticCoreRefCountObject () |
|
BNTypeParser * | GetObject () const |
|
void | AddRef () |
|
void | Release () |
|
void | AddRefForRegistration () |
|
|
static void | Register (TypeParser *parser) |
|
static std::vector< Ref< TypeParser > > | GetList () |
|
static Ref< TypeParser > | GetByName (const std::string &name) |
|
static Ref< TypeParser > | GetDefault () |
|
static BNTypeParser * | GetObject (StaticCoreRefCountObject *obj) |
|
std::atomic< int > | m_refs |
|
BNTypeParser * | m_object |
|
| TypeParser (const std::string &name) |
|
| TypeParser (BNTypeParser *parser) |
|
static bool | PreprocessSourceCallback (void *ctxt, const char *source, const char *fileName, BNPlatform *platform, const BNQualifiedNameTypeAndId *existingTypes, size_t existingTypeCount, const char *const *options, size_t optionCount, const char *const *includeDirs, size_t includeDirCount, char **output, BNTypeParserError **errors, size_t *errorCount) |
|
static bool | ParseTypesFromSourceCallback (void *ctxt, const char *source, const char *fileName, BNPlatform *platform, const BNQualifiedNameTypeAndId *existingTypes, size_t existingTypeCount, const char *const *options, size_t optionCount, const char *const *includeDirs, size_t includeDirCount, const char *autoTypeSource, BNTypeParserResult *result, BNTypeParserError **errors, size_t *errorCount) |
|
static bool | ParseTypeStringCallback (void *ctxt, const char *source, BNPlatform *platform, const BNQualifiedNameTypeAndId *existingTypes, size_t existingTypeCount, BNQualifiedNameAndType *result, BNTypeParserError **errors, size_t *errorCount) |
|
static void | FreeStringCallback (void *ctxt, char *result) |
|
static void | FreeResultCallback (void *ctxt, BNTypeParserResult *result) |
|
static void | FreeErrorListCallback (void *ctxt, BNTypeParserError *errors, size_t errorCount) |
|