Searched refs:Reparser (Results 1 – 4 of 4) sorted by relevance
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/parser/src/ |
H A D | lib.rs | 106 pub struct Reparser(fn(&mut parser::Parser)); struct 108 impl Reparser { impl 114 ) -> Option<Reparser> { in for_node() argument 115 grammar::reparser(node, first_child, parent).map(Reparser) in for_node() 123 let Reparser(r) = self; in parse() localVariable
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/parser/src/ |
H A D | lib.rs | 128 pub struct Reparser(fn(&mut parser::Parser)); struct 130 impl Reparser { implementation 136 ) -> Option<Reparser> { in for_node() argument 137 grammar::reparser(node, first_child, parent).map(Reparser) in for_node() 145 let Reparser(r) = self; in parse() localVariable
|
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/syntax/src/parsing/ |
H A D | reparsing.rs | 9 use parser::Reparser; 121 fn find_reparsable_node(node: &SyntaxNode, range: TextRange) -> Option<(SyntaxNode, Reparser)> { in find_reparsable_node() argument 127 Reparser::for_node(node.kind(), first_child, parent).map(|r| (node, r)) in find_reparsable_node()
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/syntax/src/parsing/ |
H A D | reparsing.rs | 9 use parser::Reparser; 124 fn find_reparsable_node(node: &SyntaxNode, range: TextRange) -> Option<(SyntaxNode, Reparser)> { in find_reparsable_node() argument 130 Reparser::for_node(node.kind(), first_child, parent).map(|r| (node, r)) in find_reparsable_node()
|