()
| 19535 | return this._getParserPool().getCueOptions() |
| 19536 | } |
| 19537 | _getMyAtomTypeDefs() { |
| 19538 | const requiredAtoms = this.get(ParsersConstants.atoms) |
| 19539 | if (!requiredAtoms) return [] |
| 19540 | const parsersProgram = this.languageDefinitionProgram |
| 19541 | return requiredAtoms.split(" ").map(atomTypeId => { |
| 19542 | const atomTypeDef = parsersProgram.getAtomTypeDefinitionById(atomTypeId) |
| 19543 | if (!atomTypeDef) throw new Error(`No atomType "${atomTypeId}" found`) |
| 19544 | return atomTypeDef |
| 19545 | }) |
| 19546 | } |
| 19547 | // todo: what happens when you have a atom getter and constant with same name? |
| 19548 | get atomGettersAndParserConstants() { |
| 19549 | // todo: add atomType parsings |
no test coverage detected