import { createDefaultCoreModule, createDefaultSharedCoreModule } from "../../../../../langium/lib/default-module.js";
import { inject } from "../../../../../langium/lib/dependency-injection.js";
import { EmptyFileSystem } from "../../../../../langium/lib/workspace/file-system-provider.js";
import "../../../../../langium/lib/index.js";
import { AbstractMermaidTokenBuilder, CommonValueConverter, GitGraphGrammarGeneratedModule, MermaidGeneratedSharedModule, __name } from "./chunk-TCCFYFTB.js";
var GitGraphTokenBuilder = class extends AbstractMermaidTokenBuilder {
	static #e = __name(this, "GitGraphTokenBuilder");
	constructor() {
		super(["gitGraph"]);
	}
}, GitGraphModule = { parser: {
	TokenBuilder: /* @__PURE__ */ __name(() => new GitGraphTokenBuilder(), "TokenBuilder"),
	ValueConverter: /* @__PURE__ */ __name(() => new CommonValueConverter(), "ValueConverter")
} };
function createGitGraphServices(l = EmptyFileSystem) {
	let u = inject(createDefaultSharedCoreModule(l), MermaidGeneratedSharedModule), d = inject(createDefaultCoreModule({ shared: u }), GitGraphGrammarGeneratedModule, GitGraphModule);
	return u.ServiceRegistry.register(d), {
		shared: u,
		GitGraph: d
	};
}
__name(createGitGraphServices, "createGitGraphServices");
export { GitGraphModule, createGitGraphServices };
