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.