pub struct Parser {
pub json_object: Value,
pub sourcename: String,
pub sourcedirname: String,
pub lsv_macro_name: String,
pub incs: Vec<Include>,
pub typedefs: Vec<Typedefs>,
pub static_vars: Vec<StaticVariable>,
pub fncs: Vec<Function>,
pub ncls: Vec<NestedCall>,
pub callees: Vec<Function>,
}
Expand description
identifiers which can be used in template
Fields§
§json_object: Value
§sourcename: String
source filename without extension to be parsed
sourcedirname: String
source file folder
lsv_macro_name: String
local static variable macro name; LOCAL_STATIC_VARIABLE
incs: Vec<Include>
list of “include”
typedefs: Vec<Typedefs>
list of “typedef”
static_vars: Vec<StaticVariable>
list of static variables
fncs: Vec<Function>
list of functions
ncls: Vec<NestedCall>
list of nested calls
callees: Vec<Function>
list of functions called within the source file
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Parser
impl<'de> Deserialize<'de> for Parser
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Parser
impl Send for Parser
impl Sync for Parser
impl Unpin for Parser
impl UnwindSafe for Parser
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more