telepath / com.github.giedomak.telepath.staticparser.rpq / RPQVisitorParser / parse

parse

fun parse(query: Query): LogicalPlan (source)

This is the main method which we need to call if we want to parse a RPQ.

Here we define to start parsing the input using the query() rule.

Parameters

RPQSourceCode - The complete RPQ formatted as a String

Return
LogicalPlan The complete LogicalPlan after recursively traversing the complete ANTLR AST.