Struct reform::structure::VarInfo [−][src]
pub struct VarInfo { pub global_info: GlobalVarInfo, pub local_info: LocalVarInfo, }
Keep track of local state. This includes the global state as well as the values for dollar variables.
Fields
global_info: GlobalVarInfo
local_info: LocalVarInfo
Methods
impl VarInfo
[src]
impl VarInfo
pub fn new() -> VarInfo
[src]
pub fn new() -> VarInfo
pub fn get_str_name(&mut self, s: &VarName) -> String
[src]
pub fn get_str_name(&mut self, s: &VarName) -> String
pub fn get_name(&mut self, s: &str) -> u32
[src]
pub fn get_name(&mut self, s: &str) -> u32
pub fn add_local(&mut self, name: &VarName) -> VarName
[src]
pub fn add_local(&mut self, name: &VarName) -> VarName
Trait Implementations
impl Debug for VarInfo
[src]
impl Debug for VarInfo
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for VarInfo
[src]
impl Clone for VarInfo