| 1 | // |
| 2 | // Copyright 2015-21 Volker Sorge |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | |
| 16 | /** |
| 17 | * @file Abstract procedure for special cases in semantic enrichment of |
| 18 | * MathML. |
| 19 | * @author [email protected] (Volker Sorge) |
| 20 | */ |
| 21 | |
| 22 | import { SemanticNodescip-typescript npm . . semantic_tree/`semantic_node.ts`/SemanticNode# } from '../semantic_tree/semantic_node.js'scip-typescript npm . . semantic_tree/`semantic_node.ts`/; |
| 23 | import { EnrichCasescip-typescript npm . . enrich_mathml/`enrich_case.ts`/EnrichCase# } from './enrich_case.js'scip-typescript npm . . enrich_mathml/`enrich_case.ts`/; |
| 24 | |
| 25 | export abstract class AbstractEnrichCasescip-typescript npm . . enrich_mathml/`abstract_enrich_case.ts`/AbstractEnrichCase# implements EnrichCasescip-typescript npm . . enrich_mathml/`enrich_case.ts`/EnrichCase# { |
| 26 | /** |
| 27 | * @override |
| 28 | */ |
| 29 | public abstract getMathmlscip-typescript npm . . enrich_mathml/`abstract_enrich_case.ts`/AbstractEnrichCase#getMathml().(): Elementscip-typescript npm typescript 5.9.3 lib/`lib.dom.d.ts`/Element#; |
| 30 | |
| 31 | /** |
| 32 | * Abstract enrichment case. |
| 33 | * |
| 34 | * @param semantic The semantic node that is enriched. |
| 35 | */ |
| 36 | constructorscip-typescript npm . . enrich_mathml/`abstract_enrich_case.ts`/AbstractEnrichCase#`<constructor>`().(public semanticscip-typescript npm . . enrich_mathml/`abstract_enrich_case.ts`/AbstractEnrichCase#`<constructor>`().(semantic): SemanticNodescip-typescript npm . . semantic_tree/`semantic_node.ts`/SemanticNode#) {} |
| 37 | } |