Struct amfnengine::core::elem_symbol::ElemSymbol [−]
Implementations
impl ElemSymbol
The symbol element implementation.
pub fn new() -> ElemSymbol
pub fn new_with_token_type(type_param: TokenType) -> ElemSymbol
Create a new object with a specific type.
Arguments
type_param
- Type of symbol.
Return
- See description.
pub fn copy(&self) -> ElemSymbol
pub fn sym_type(&self) -> TokenType
pub fn sym_integeri(&self) -> i32
pub fn sym_integer(&self) -> usize
pub fn sym_decimal(&self) -> Decimal
pub fn sym_string(&self) -> &str
pub fn set_type(&mut self, sym_type_param: TokenType)
pub fn set_operator(&mut self, op_value_param: usize)
pub fn set_integeri(&mut self, int_value_param: i32)
pub fn set_integer(&mut self, int_value_param: usize)
pub fn set_decimal(&mut self, dec_value_param: Decimal)
pub fn set_string(&mut self, str_value_param: &str)
Trait Implementations
impl Clone for ElemSymbol
fn clone(&self) -> ElemSymbol
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ElemSymbol
The symbol element default implementation.
Auto Trait Implementations
impl RefUnwindSafe for ElemSymbol
impl Send for ElemSymbol
impl Sync for ElemSymbol
impl Unpin for ElemSymbol
impl UnwindSafe for ElemSymbol
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,