@4dsas/doc_preprocessing
Version:
Preprocess 4D doc to be built by docusaurus
29 lines (23 loc) • 481 B
JavaScript
var {Instruction, TYPE} = require("./instruction")
class Include extends Instruction {
constructor(inPath) {
super()
this._path = inPath
}
getType() {
return TYPE.INCLUDE
}
get path() {
return this._path
}
}
class IncludeManager {
constructor() {
this._includes = []
}
push(inInclude) {
this._includes.push(inInclude)
}
}
exports.Include = Include
exports.IncludeManager = IncludeManager