pub struct QuantExpr(/* private fields */);Expand description
\A, \E (bounded or not), \AA and \EE.
Implementations§
Source§impl QuantExpr
impl QuantExpr
Sourcepub fn quantifier(&self) -> Option<SyntaxToken>
pub fn quantifier(&self) -> Option<SyntaxToken>
The quantifier token: \A, \E, \AA, \EE or a Unicode spelling.
Sourcepub fn is_temporal(&self) -> bool
pub fn is_temporal(&self) -> bool
Whether this is a temporal quantifier \AA/\EE.
Sourcepub fn bounds(&self) -> impl Iterator<Item = QuantBound> + use<>
pub fn bounds(&self) -> impl Iterator<Item = QuantBound> + use<>
The bounds, for \A x \in S : P.
Sourcepub fn unbounded_names(&self) -> Vec<String>
pub fn unbounded_names(&self) -> Vec<String>
The unbounded names, for \A x, y : P.
Trait Implementations§
Source§impl AstNode for QuantExpr
impl AstNode for QuantExpr
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Whether nodes of
kind can be wrapped.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Wraps
node if it has the right kind.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying node.
impl Eq for QuantExpr
impl StructuralPartialEq for QuantExpr
Auto Trait Implementations§
impl !RefUnwindSafe for QuantExpr
impl !Send for QuantExpr
impl !Sync for QuantExpr
impl !UnwindSafe for QuantExpr
impl Forget for QuantExpr
impl Freeze for QuantExpr
impl Move for QuantExpr
impl Unpin for QuantExpr
impl UnsafeUnpin for QuantExpr
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