Skip to main content

doc_comments_before

Function doc_comments_before 

Source
pub fn doc_comments_before(node: &SyntaxNode) -> Vec<SyntaxToken> ⓘ
Expand description

The DocComment tokens in the trivia run immediately preceding node, in source order — the walk behind HasDocComments::doc_comments, for a pass that reads a carrier off the untyped tree.