"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const langiumParser = require("./lib-parser-langium-parser.cjs");
const parserBuilderBase = require("./lib-parser-parser-builder-base.cjs");
function createCompletionParser(services) {
  const grammar = services.Grammar;
  const lexer = services.parser.Lexer;
  const parser = new langiumParser.LangiumCompletionParser(services);
  parserBuilderBase.createParser(grammar, parser, lexer.definition);
  parser.finalize();
  return parser;
}
exports.createCompletionParser = createCompletionParser;
//# sourceMappingURL=lib-parser-completion-parser-builder.cjs.map
