View on GitHub

Aesi adapter for IntelliJ

An Aesi adapter for IntelliJ.

Download this project as a .zip file Download this project as a tar.gz file

aesi-intellij / org.metaborg.paplj.parser / PapljParserDefinition / createLexer

createLexer

fun createLexer(project: Project): Lexerfun 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.