parseToResult

fun parseToResult(tokens: List<Token>, enableDebugger: Boolean): NiwenParser.ParserResult<T>

Parse this token list to a ParserResult. Whether debugging is enabled or not is controlled by the enableDebugger parameter.