import { LangiumCompletionParser } from "./langium-parser.js";
import { createParser } from "./parser-builder-base.js";
function createCompletionParser(n) {
	let r = n.Grammar, i = n.parser.Lexer, a = new LangiumCompletionParser(n);
	return createParser(r, a, i.definition), a.finalize(), a;
}
export { createCompletionParser };
