mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Remove some more use of SyntaxNode and SyntaxToken
This commit is contained in:
parent
5c795e7bab
commit
cb06394685
3 changed files with 25 additions and 43 deletions
|
@ -59,7 +59,10 @@ fn generate_test(fn_name: &str, doc: &str) -> String {
|
|||
None => String::new(),
|
||||
Some(kind) => {
|
||||
format!(
|
||||
"syntax_nodes::{}::verify(rowan::SyntaxNode::new_root(p.builder.finish()));",
|
||||
"syntax_nodes::{}::verify(SyntaxNodeWithSourceFile {{
|
||||
node: rowan::SyntaxNode::new_root(p.builder.finish()),
|
||||
source_file: Default::default(),
|
||||
}});",
|
||||
kind
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue