()
| 19926 | return testBlocks |
| 19927 | } |
| 19928 | toReadMe() { |
| 19929 | const languageName = this.extensionName |
| 19930 | const rootParticleDef = this.rootParserDefinition |
| 19931 | const atomTypes = this.atomTypeDefinitions |
| 19932 | const parserLineage = this.parserLineage |
| 19933 | const exampleParticle = rootParticleDef.examples[0] |
| 19934 | return `<h3>${languageName} stats</h3> |
| 19935 | <ul> |
| 19936 | <li>${languageName} has ${parserLineage.topDownArray.length} parsers.</li> |
| 19937 | <li>${languageName} has ${Object.keys(atomTypes).length} atom types.</li> |
| 19938 | <li>The source code for ${languageName} is ${this.topDownArray.length} lines long.</li> |
| 19939 | </ul> |
| 19940 | ` |
| 19941 | } |
| 19942 | get atomTypeDefinitions() { |
| 19943 | if (this._cache_atomTypes) return this._cache_atomTypes |
| 19944 | const types = {} |
nothing calls this directly
no outgoing calls
no test coverage detected