pub struct ArgSpan {
pub expr: Option<Expr>,
pub sep: ArgSep,
pub sep_pos: LineCol,
}
Expand description
Single argument to a builtin call statement.
Fields§
§expr: Option<Expr>
Expression to compute the argument’s value. This expression is optional to support calls
of the form PRINT a, , b
where some arguments are empty.
sep: ArgSep
Separator between this argument and the next. The last instance of this type in a call
always carries a value of ArgSep::End
.
sep_pos: LineCol
Position of the sep
.
Trait Implementations§
impl StructuralPartialEq for ArgSpan
Auto Trait Implementations§
impl Freeze for ArgSpan
impl RefUnwindSafe for ArgSpan
impl Send for ArgSpan
impl Sync for ArgSpan
impl Unpin for ArgSpan
impl UnwindSafe for ArgSpan
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