refactor: group syntax files to single one

This commit is contained in:
Alexandre Nunes 2020-09-19 14:16:23 -03:00
parent 65e1d0985c
commit b86144ca84
3 changed files with 7 additions and 4 deletions

View File

@ -1,6 +1,5 @@
import { MathMLTag } from './MathMLTag';
import { allMathSymbolsByChar } from '../../../../syntax/allMathSymbolsByChar';
import { allMathSymbolsByGlyph } from '../../../../syntax/allMathSymbolsByGlyph';
import { allMathSymbolsByChar, allMathSymbolsByGlyph } from '../../../../syntax';
export class MI extends MathMLTag {
constructor(value: string, attributes: Record<string, string>, children: MathMLTag[]) {

View File

@ -1,6 +1,5 @@
import { MathMLTag } from './MathMLTag';
import { allMathOperatorsByChar } from '../../../../syntax/allMathOperatorsByChar';
import { allMathOperatorsByGlyph } from '../../../../syntax/allMathOperatorsByGlyph';
import { allMathOperatorsByChar, allMathOperatorsByGlyph } from '../../../../syntax';
export class MO extends MathMLTag {
constructor(value: string, attributes: Record<string, string>, children: MathMLTag[]) {

5
src/syntax/index.ts Normal file
View File

@ -0,0 +1,5 @@
export * from './allMathOperatorsByChar';
export * from './allMathOperatorsByGlyph';
export * from './allMathSymbolsByChar';
export * from './allMathSymbolsByGlyph';
export * from './latexAccents';