Struct NodesReader

Source
pub struct NodesReader<'nr> { /* private fields */ }

Implementations§

Source§

impl<'nr> NodesReader<'nr>

Source

pub fn new( env: &'nr DynEnvironment, nodes: &'nr DynNodeData, root_proc: Arc<Procedure>, ) -> DynSchmRes<NodesReader<'nr>>

Source

pub fn get_len(&self) -> usize

Source

pub fn is_eof(&self) -> bool

Source

pub fn should_eof(&self) -> DynSchmRes<()>

Source

pub fn get_base_li(&self) -> LexerInfo

Source

pub fn get_cur_li(&self) -> DynSchmRes<LexerInfo>

Source

pub fn get_proc_info(&self) -> Arc<Procedure>

Source

pub fn read_procedure(&self) -> DynSchmRes<NodesReader<'nr>>

Source

pub fn read_generic( &self, arg_name: &str, data_type: ArgDataType, arg_st: Arg<'_>, ) -> DynSchmRes<GenericDataTypes>

Source

pub fn read_boolean(&self, arg_name: &str) -> DynSchmRes<bool>

Source

pub fn read_int(&self, arg_name: &str) -> DynSchmRes<i64>

Source

pub fn read_uint(&self, arg_name: &str) -> DynSchmRes<u64>

Source

pub fn read_longint(&self, arg_name: &str) -> DynSchmRes<i128>

Source

pub fn read_longuint(&self, arg_name: &str) -> DynSchmRes<u128>

Source

pub fn read_string(&self, arg_name: &str) -> DynSchmRes<String>

Source

pub fn read_symbol( &self, arg_name: &str, arg_st: Arg<'_>, skip_check: bool, ) -> DynSchmRes<GenericDataTypes>

Source

pub fn read_vector( &self, arg_name: &str, arg_st: Arg<'_>, ) -> DynSchmRes<Vec<GenericDataTypes>>

Source

pub fn read_enumerator( &self, arg_name: &str, arg_st: Arg<'_>, ) -> DynSchmRes<GenericDataTypes>

Source

pub fn read_read_range( &self, arg_name: &str, arg_st: Arg<'_>, incl: bool, ) -> DynSchmRes<GenericDataTypes>

Source

pub fn read_read_auto( &self, arg_name: &str, arg_st: Arg<'_>, ) -> DynSchmRes<GenericDataTypes>

Auto Trait Implementations§

§

impl<'nr> !Freeze for NodesReader<'nr>

§

impl<'nr> !RefUnwindSafe for NodesReader<'nr>

§

impl<'nr> !Send for NodesReader<'nr>

§

impl<'nr> !Sync for NodesReader<'nr>

§

impl<'nr> Unpin for NodesReader<'nr>

§

impl<'nr> !UnwindSafe for NodesReader<'nr>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.