import Component , { OperatorType } from "./component" ; import StructureType from "../const/structure-type" ; import ContentCollection from "./content-collection" ; abstract class Inline extends Component { abstract content : string ; parent ? : ContentCollection ; structureType = StructureType . unit ; addInto ( collection , index = - 1 ) { return collection . add ( index , this ) ; } } export default Inline ;