aesi-intellij / org.metaborg.paplj.parser / PapljParserDefinition / createLexer
createLexer
fun createLexer(project: Project): Lexer
fun createLexer(project: Project, file: PsiFile?): Lexer
Overrides IAesiParserDefinition.createLexer
Returns a lexer for lexing the specified file in the specified project. This lexer does not need to support incremental lexing.
Parameters
project
- The project to which the lexer is connected.
file
- The PSI file being lexed.
Return The lexer.