[−][src]Enum koto_parser::Node
Variants
Id(ConstantIndex)
Lookup((LookupNode, Option<AstIndex>))
Int(ConstantIndex)
Float(ConstantIndex)
Str(ConstantIndex)
Fields of RangeFrom
start: AstIndex
Function(Function)
Fields of Import
from: Vec<ConstantIndex>
items: Vec<Vec<ConstantIndex>>
Fields of Assign
Fields of MultiAssign
targets: Vec<AssignTarget>
expression: AstIndex
If(AstIf)
Ellipsis(Option<ConstantIndex>)
For(AstFor)
Fields of Loop
body: AstIndex
ReturnExpression(AstIndex)
Negate(AstIndex)
Try(AstTry)
Yield(AstIndex)
Fields of Debug
expression_string: ConstantIndex
expression: AstIndex
Trait Implementations
impl Clone for Node
[src]
impl Debug for Node
[src]
impl Default for Node
[src]
impl Display for Node
[src]
impl PartialEq<Node> for Node
[src]
impl StructuralPartialEq for Node
[src]
Auto Trait Implementations
impl RefUnwindSafe for Node
[src]
impl Send for Node
[src]
impl Sync for Node
[src]
impl Unpin for Node
[src]
impl UnwindSafe for Node
[src]
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,