CoreTypeParser in binaryninja::type_parser - Rust

Struct CoreTypeParser

Source

pub struct CoreTypeParser { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl CoreArrayProvider for CoreTypeParser

Source§

type Raw = *mut BNTypeParser

Source§

type Context = ()

Source§

type Wrapped<'a> = CoreTypeParser

Source§

impl Default for CoreTypeParser

Source§

impl TypeParser for CoreTypeParser

Source§

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>>

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>>

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>>

Parse a single type and name from a string containing their definition. Read more

Auto Trait Implementations§

§

impl Freeze for CoreTypeParser

§

impl RefUnwindSafe for CoreTypeParser

§

impl !Send for CoreTypeParser

§

impl !Sync for CoreTypeParser

§

impl Unpin for CoreTypeParser

§

impl UnwindSafe for CoreTypeParser

Blanket Implementations§