pub enum AstExpr {
Show 18 variants
BinaryOp(Arc<BinaryOpExpr>),
True,
False,
Calculation {
name: CalculationName,
args: Vec<Self>,
},
Color(Arc<Color>),
FunctionCall(FunctionCallExpr),
If(Arc<Ternary>),
InterpolatedFunction(Arc<InterpolatedFunction>),
List(ListExpr),
Map(AstSassMap),
Null,
Number {
n: Number,
unit: Unit,
},
Paren(Arc<Self>),
ParentSelector,
String(StringExpr, Span),
Supports(Arc<AstSupportsCondition>),
UnaryOp(UnaryOp, Arc<Self>, Span),
Variable {
name: Spanned<Identifier>,
namespace: Option<Spanned<Identifier>>,
},
}Variants§
BinaryOp(Arc<BinaryOpExpr>)
True
False
Calculation
Color(Arc<Color>)
FunctionCall(FunctionCallExpr)
If(Arc<Ternary>)
InterpolatedFunction(Arc<InterpolatedFunction>)
List(ListExpr)
Map(AstSassMap)
Null
Number
Paren(Arc<Self>)
ParentSelector
String(StringExpr, Span)
Supports(Arc<AstSupportsCondition>)
UnaryOp(UnaryOp, Arc<Self>, Span)
Variable
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AstExpr
impl RefUnwindSafe for AstExpr
impl Send for AstExpr
impl Sync for AstExpr
impl Unpin for AstExpr
impl UnwindSafe for AstExpr
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