Struct cairo_lang_syntax::node::ast::ExprTuple
source · pub struct ExprTuple { /* private fields */ }
Implementations§
source§impl ExprTuple
impl ExprTuple
pub const INDEX_LPAREN: usize = 0usize
pub const INDEX_EXPRESSIONS: usize = 1usize
pub const INDEX_RPAREN: usize = 2usize
pub fn new_green( db: &dyn SyntaxGroup, lparen: TerminalLParenGreen, expressions: ExprListGreen, rparen: TerminalRParenGreen ) -> ExprTupleGreen
source§impl ExprTuple
impl ExprTuple
pub fn lparen(&self, db: &dyn SyntaxGroup) -> TerminalLParen
pub fn expressions(&self, db: &dyn SyntaxGroup) -> ExprList
pub fn rparen(&self, db: &dyn SyntaxGroup) -> TerminalRParen
Trait Implementations§
source§impl PartialEq<ExprTuple> for ExprTuple
impl PartialEq<ExprTuple> for ExprTuple
source§impl TypedSyntaxNode for ExprTuple
impl TypedSyntaxNode for ExprTuple
source§const OPTIONAL_KIND: Option<SyntaxKind> = _
const OPTIONAL_KIND: Option<SyntaxKind> = _
The relevant SyntaxKind. None for enums.
type StablePtr = ExprTuplePtr
type Green = ExprTupleGreen
fn missing(db: &dyn SyntaxGroup) -> Self::Green
fn from_syntax_node(db: &dyn SyntaxGroup, node: SyntaxNode) -> Self
fn from_ptr( db: &dyn SyntaxGroup, root: &SyntaxFile, ptr: Self::StablePtr ) -> Self
fn as_syntax_node(&self) -> SyntaxNode
fn stable_ptr(&self) -> Self::StablePtr
impl Eq for ExprTuple
impl StructuralEq for ExprTuple
impl StructuralPartialEq for ExprTuple
Auto Trait Implementations§
impl RefUnwindSafe for ExprTuple
impl Send for ExprTuple
impl Sync for ExprTuple
impl Unpin for ExprTuple
impl UnwindSafe for ExprTuple
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.