Struct koto_parser::AstFor [−][src]
pub struct AstFor {
pub args: Vec<Option<ConstantIndex>>,
pub iterable: AstIndex,
pub body: AstIndex,
}
Expand description
A for loop definition
Fields
args: Vec<Option<ConstantIndex>>
The optional arguments that capture each iteration’s output values
iterable: AstIndex
The expression that produces an iterable value
body: AstIndex
The body of the for loop
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AstFor
impl UnwindSafe for AstFor
Blanket Implementations
Mutably borrows from an owned value. Read more