(def, parserChain)
| 19771 | .join(" ") |
| 19772 | } |
| 19773 | _shouldSynthesize(def, parserChain) { |
| 19774 | if (def._isErrorParser() || def._isAbstract()) return false |
| 19775 | if (parserChain.includes(def.id)) return false |
| 19776 | const tags = def.get(ParsersConstants.tags) |
| 19777 | if (tags && tags.includes(ParsersConstantsMisc.doNotSynthesize)) return false |
| 19778 | return true |
| 19779 | } |
| 19780 | // Get all definitions in this current scope down, even ones that are scoped inside other definitions. |
| 19781 | get inScopeAndDescendantDefinitions() { |
| 19782 | return this.languageDefinitionProgram._collectAllDefinitions(Object.values(this.programParserDefinitionCache), []) |
no test coverage detected