diff --git a/packages/langium/src/parser/indentation-aware.ts b/packages/langium/src/parser/indentation-aware.ts index 79bf645a2..6db1ca2fb 100644 --- a/packages/langium/src/parser/indentation-aware.ts +++ b/packages/langium/src/parser/indentation-aware.ts @@ -112,13 +112,13 @@ export class IndentationAwareTokenBuilder { + protected indentMatcher(text: string, offset: number, tokens: IToken[], _groups: Record): ReturnType { const { indentTokenName } = this.options; if (!this.isStartOfLine(text, offset)) { @@ -256,7 +256,7 @@ export class IndentationAwareTokenBuilder { + protected dedentMatcher(text: string, offset: number, tokens: IToken[], _groups: Record): ReturnType { const { dedentTokenName } = this.options; if (!this.isStartOfLine(text, offset)) { @@ -306,7 +306,7 @@ export class IndentationAwareTokenBuilder