I have some questions on the meta section in the Scope Naming.
The entire scope of a function should be covered by one of the following scopes. Each variant should be applied to a specific part, and not stacked
Is this how I should interpret it?
public void myFunction(bool foo) {
// <- meta.function
// ^ meta.function.return-type
// ^ ! meta.function
// ^ meta.function entity.name.function
// ^ meta.function.parameters punctuation.section.parens.begin
// ^ ! meta.function
// ^ meta.function.parameters punctuation.section.parens.end
// ^ meta.function punctuation.section.block.begin
...
}
// <- meta.function punctuation.section.block.end
Does having a meta.function scope even make sense if it’s broken out into so many little pieces? Or am I interpreting it wrong?