Enum tr_lang::token::tokentypes::ParserTokenType
source · [−]pub enum ParserTokenType {
Show 45 variants
Yazı {
val: String,
},
Artı,
Eksi,
ArtıArtı,
EksiEksi,
Çarpı,
Bölü,
Modulo,
De,
Büyüktür,
Küçüktür,
BüyükEşittir,
KüçükEşittir,
Eşittir,
EşitDeğildir,
Değildir,
Kopya,
Takas,
Döndür,
Üst,
Ve,
Veya,
Girdi,
İkiNoktaNokta,
İkiNokta,
İken(Option<usize>),
Sayı {
val: f64,
},
Bool {
val: bool,
},
İse(Option<usize>),
Yoksa(Option<usize>),
Son {
tp: usize,
},
Identifier {
id: String,
},
İşlev {
sonloc: Option<usize>,
},
İşlevSonlandır {
tp: Vec<usize>,
},
Koy,
Ver {
tp: Option<usize>,
},
At,
Tipinde,
ParenL,
Hiç,
Blok,
BlokSonlandır,
InScopeParentL,
InScopeParentR,
EOF,
}
Variants
Yazı
Fields
val: String
Artı
Eksi
ArtıArtı
EksiEksi
Çarpı
Bölü
Modulo
De
Büyüktür
Küçüktür
BüyükEşittir
KüçükEşittir
Eşittir
EşitDeğildir
Değildir
Kopya
Takas
Döndür
Üst
Ve
Veya
Girdi
İkiNoktaNokta
İkiNokta
İken(Option<usize>)
Sayı
Fields
val: f64
Bool
Fields
val: bool
İse(Option<usize>)
Yoksa(Option<usize>)
Son
Fields
tp: usize
Identifier
Fields
id: String
İşlev
İşlevSonlandır
Koy
Ver
At
Tipinde
ParenL
Hiç
Blok
BlokSonlandır
InScopeParentL
InScopeParentR
EOF
Trait Implementations
sourceimpl Clone for ParserTokenType
impl Clone for ParserTokenType
sourcefn clone(&self) -> ParserTokenType
fn clone(&self) -> ParserTokenType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ParserTokenType
impl Debug for ParserTokenType
sourceimpl<'de> Deserialize<'de> for ParserTokenType
impl<'de> Deserialize<'de> for ParserTokenType
sourcefn 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
sourceimpl Serialize for ParserTokenType
impl Serialize for ParserTokenType
Auto Trait Implementations
impl RefUnwindSafe for ParserTokenType
impl Send for ParserTokenType
impl Sync for ParserTokenType
impl Unpin for ParserTokenType
impl UnwindSafe for ParserTokenType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more