Package com.walkfares.odsl
Class OpenDSLCompiler
java.lang.Object
com.walkfares.odsl.OpenDSLCompiler
public class OpenDSLCompiler extends Object
-
Constructor Summary
Constructors Constructor Description OpenDSLCompiler()
-
Method Summary
Modifier and Type Method Description void
checkErrors(org.antlr.v4.runtime.tree.ParseTree tree, List<ScriptError> errors)
List<ScriptError>
compile(String script)
String
getExceptionMessage(com.walkfares.odsl.grammar.OpenDSLParser parser, org.antlr.v4.runtime.RecognitionException exception)
static String
getLineNumber(com.walkfares.odsl.Token token)
boolean
hasParent(org.antlr.v4.runtime.ParserRuleContext ctx, Class parent)
-
Constructor Details
-
OpenDSLCompiler
public OpenDSLCompiler()
-
-
Method Details
-
compile
-
checkErrors
-
hasParent
-
getExceptionMessage
public String getExceptionMessage(com.walkfares.odsl.grammar.OpenDSLParser parser, org.antlr.v4.runtime.RecognitionException exception) -
getLineNumber
-