Struct CoreTypeParser
pub struct CoreTypeParser { /* private fields */ }Implementations§
Trait Implementations§
Source§impl CoreArrayProvider for CoreTypeParser
impl CoreArrayProvider for CoreTypeParser
type Raw = *mut BNTypeParser
type Context = ()
type Wrapped<'a> = CoreTypeParser
Source§impl Default for CoreTypeParser
impl Default for CoreTypeParser
Source§impl TypeParser for CoreTypeParser
impl TypeParser for CoreTypeParser
Source§fn get_option_text(
&self,
option: TypeParserOption,
value: &str,
) -> Option<String>
fn get_option_text( &self, option: TypeParserOption, value: &str, ) -> Option<String>
Get the string representation of an option for passing to parse_type_*. Returns a string representing the option if the parser supports it, otherwise None Read more
Source§fn preprocess_source(
&self,
source: &str,
file_name: &str,
platform: &Platform,
existing_types: &TypeContainer,
options: &[String],
include_dirs: &[String],
) -> Result<String, Vec<TypeParserError>>
fn preprocess_source( &self, source: &str, file_name: &str, platform: &Platform, existing_types: &TypeContainer, options: &[String], include_dirs: &[String], ) -> Result<String, Vec<TypeParserError>>
Preprocess a block of source, returning the source that would be parsed Read more
Source§fn parse_types_from_source(
&self,
source: &str,
file_name: &str,
platform: &Platform,
existing_types: &TypeContainer,
options: &[String],
include_dirs: &[String],
auto_type_source: &str,
) -> Result<TypeParserResult, Vec<TypeParserError>>
fn parse_types_from_source( &self, source: &str, file_name: &str, platform: &Platform, existing_types: &TypeContainer, options: &[String], include_dirs: &[String], auto_type_source: &str, ) -> Result<TypeParserResult, Vec<TypeParserError>>
Parse an entire block of source into types, variables, and functions Read more
Source§fn parse_type_string(
&self,
source: &str,
platform: &Platform,
existing_types: &TypeContainer,
) -> Result<QualifiedNameAndType, Vec<TypeParserError>>
fn parse_type_string( &self, source: &str, platform: &Platform, existing_types: &TypeContainer, ) -> Result<QualifiedNameAndType, Vec<TypeParserError>>
Parse a single type and name from a string containing their definition. Read more