Struct ruschm::error::Located [−][src]
Fields
data: T
location: Option<[u32; 2]>
Implementations
impl<T> Located<T>
[src]
impl<T> Located<T>
[src]pub fn extract_data(self) -> T
[src]
impl Located<ParameterFormalsBody>
[src]
impl Located<ParameterFormalsBody>
[src]pub fn new_non_located(
parameters: impl Iterator<Item = String>,
last: Option<String>
) -> Self
[src]
parameters: impl Iterator<Item = String>,
last: Option<String>
) -> Self
pub fn split(self) -> Result<(Vec<String>, Option<String>), SchemeError>
[src]
pub fn len(&self) -> (usize, bool)
[src]
pub fn as_name(&self) -> String
[src]
pub fn iter_to_last(
&self,
visitor: impl FnMut(&ParameterFormals)
) -> Option<&ParameterFormals>
[src]
&self,
visitor: impl FnMut(&ParameterFormals)
) -> Option<&ParameterFormals>
pub fn append(&mut self, x: ParameterFormals) -> Result<(), SchemeError>
[src]
impl Located<DatumBody>
[src]
impl Located<DatumBody>
[src]pub fn expect_list(self) -> Result<DatumList, SchemeError>
[src]
pub fn expect_symbol(&self) -> Result<String, SchemeError>
[src]
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Located<T> where
T: RefUnwindSafe,
impl<T> RefUnwindSafe for Located<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Located<T> where
T: UnwindSafe,
impl<T> UnwindSafe for Located<T> where
T: UnwindSafe,