parseFirstStage

fun parseFirstStage(code: String, measureLexingTime: Boolean = false): FirstStageParsingResult<C>
fun parseFirstStage(inputStream: InputStream, charset: Charset = Charsets.UTF_8, measureLexingTime: Boolean = false): FirstStageParsingResult<C>
fun parseFirstStage(file: File, charset: Charset = Charsets.UTF_8, measureLexingTime: Boolean = false): FirstStageParsingResult<C>


fun parseFirstStage(inputStream: CharStream, measureLexingTime: Boolean = false): FirstStageParsingResult<C>

Executes only the first stage of the parser, i.e., the production of a parse tree. Usually, you'll want to use the parse method, that returns an AST which is simpler to use and query.