pub trait WrappedArgListHelper {
// Required methods
fn arg_list(&self, db: &dyn SyntaxGroup) -> Option<ArgList>;
fn right_bracket_syntax_node(&self, db: &dyn SyntaxGroup) -> SyntaxNode;
fn left_bracket_syntax_node(&self, db: &dyn SyntaxGroup) -> SyntaxNode;
fn left_bracket_stable_ptr(&self, db: &dyn SyntaxGroup) -> SyntaxStablePtrId;
}
Required Methods§
Sourcefn arg_list(&self, db: &dyn SyntaxGroup) -> Option<ArgList>
fn arg_list(&self, db: &dyn SyntaxGroup) -> Option<ArgList>
Pills the wrapping brackets to get the argument list. Returns None if self
is Missing
.
Sourcefn right_bracket_syntax_node(&self, db: &dyn SyntaxGroup) -> SyntaxNode
fn right_bracket_syntax_node(&self, db: &dyn SyntaxGroup) -> SyntaxNode
Gets the syntax node of the right wrapping bracket.
Sourcefn left_bracket_syntax_node(&self, db: &dyn SyntaxGroup) -> SyntaxNode
fn left_bracket_syntax_node(&self, db: &dyn SyntaxGroup) -> SyntaxNode
Gets the syntax node of the left wrapping bracket.
Sourcefn left_bracket_stable_ptr(&self, db: &dyn SyntaxGroup) -> SyntaxStablePtrId
fn left_bracket_stable_ptr(&self, db: &dyn SyntaxGroup) -> SyntaxStablePtrId
Gets a stable pointer to the left wrapping bracket.