pub enum N {
Show 14 variants
FuncCall {
func: BN,
args: VN,
},
Block(VN),
If {
condition: BN,
path_true: BN,
path_false: BN,
},
While {
condition: BN,
body: BN,
},
Set(ID, BN),
Get(ID),
Unary(Op, BN),
Binary(Op, BN, BN),
FuncDef {
args_name: Vec<ID>,
scope: BN,
},
FuncNativeDef(Native),
Array(VN),
Num(f64),
Str(String),
Unit,
}Expand description
fomoscript AST node
Variants§
FuncCall
Block(VN)
If
While
Set(ID, BN)
Get(ID)
Unary(Op, BN)
Binary(Op, BN, BN)
FuncDef
FuncNativeDef(Native)
Array(VN)
Num(f64)
Str(String)
Unit
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for N
impl !RefUnwindSafe for N
impl !Send for N
impl !Sync for N
impl Unpin for N
impl !UnwindSafe for N
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more