- java.lang.Object
-
- io.virtdata.generated.VirtDataBaseListener
-
- io.virtdata.parser.VirtDataBuilder
-
- All Implemented Interfaces:
VirtDataListener,org.antlr.v4.runtime.tree.ParseTreeListener
public class VirtDataBuilder extends VirtDataBaseListener
-
-
Constructor Summary
Constructors Constructor Description VirtDataBuilder()
-
Method Summary
-
Methods inherited from class io.virtdata.generated.VirtDataBaseListener
enterArg, enterDoubleValue, enterFloatValue, enterFuncName, enterInputType, enterIntegerValue, enterLongValue, enterLvalue, enterOutputType, enterRef, enterSpecend, enterStringValue, enterValue, exitArg, exitSpecend, exitValue
-
-
-
-
Method Detail
-
enterVirtdataRecipe
public void enterVirtdataRecipe(VirtDataParser.VirtdataRecipeContext ctx)
Description copied from class:VirtDataBaseListenerEnter a parse tree produced byVirtDataParser.virtdataRecipe().The default implementation does nothing.
- Specified by:
enterVirtdataRecipein interfaceVirtDataListener- Overrides:
enterVirtdataRecipein classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitVirtdataRecipe
public void exitVirtdataRecipe(VirtDataParser.VirtdataRecipeContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.virtdataRecipe().The default implementation does nothing.
- Specified by:
exitVirtdataRecipein interfaceVirtDataListener- Overrides:
exitVirtdataRecipein classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
enterVirtdataFlow
public void enterVirtdataFlow(VirtDataParser.VirtdataFlowContext ctx)
Description copied from class:VirtDataBaseListenerEnter a parse tree produced byVirtDataParser.virtdataFlow().The default implementation does nothing.
- Specified by:
enterVirtdataFlowin interfaceVirtDataListener- Overrides:
enterVirtdataFlowin classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitVirtdataFlow
public void exitVirtdataFlow(VirtDataParser.VirtdataFlowContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.virtdataFlow().The default implementation does nothing.
- Specified by:
exitVirtdataFlowin interfaceVirtDataListener- Overrides:
exitVirtdataFlowin classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
enterExpression
public void enterExpression(VirtDataParser.ExpressionContext ctx)
Description copied from class:VirtDataBaseListenerEnter a parse tree produced byVirtDataParser.expression().The default implementation does nothing.
- Specified by:
enterExpressionin interfaceVirtDataListener- Overrides:
enterExpressionin classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitLvalue
public void exitLvalue(VirtDataParser.LvalueContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.lvalue().The default implementation does nothing.
- Specified by:
exitLvaluein interfaceVirtDataListener- Overrides:
exitLvaluein classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitExpression
public void exitExpression(VirtDataParser.ExpressionContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.expression().The default implementation does nothing.
- Specified by:
exitExpressionin interfaceVirtDataListener- Overrides:
exitExpressionin classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
enterVirtdataCall
public void enterVirtdataCall(VirtDataParser.VirtdataCallContext ctx)
Description copied from class:VirtDataBaseListenerEnter a parse tree produced byVirtDataParser.virtdataCall().The default implementation does nothing.
- Specified by:
enterVirtdataCallin interfaceVirtDataListener- Overrides:
enterVirtdataCallin classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitVirtdataCall
public void exitVirtdataCall(VirtDataParser.VirtdataCallContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.virtdataCall().The default implementation does nothing.
- Specified by:
exitVirtdataCallin interfaceVirtDataListener- Overrides:
exitVirtdataCallin classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitInputType
public void exitInputType(VirtDataParser.InputTypeContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.inputType().The default implementation does nothing.
- Specified by:
exitInputTypein interfaceVirtDataListener- Overrides:
exitInputTypein classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitFuncName
public void exitFuncName(VirtDataParser.FuncNameContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.funcName().The default implementation does nothing.
- Specified by:
exitFuncNamein interfaceVirtDataListener- Overrides:
exitFuncNamein classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitOutputType
public void exitOutputType(VirtDataParser.OutputTypeContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.outputType().The default implementation does nothing.
- Specified by:
exitOutputTypein interfaceVirtDataListener- Overrides:
exitOutputTypein classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitRef
public void exitRef(VirtDataParser.RefContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.ref().The default implementation does nothing.
- Specified by:
exitRefin interfaceVirtDataListener- Overrides:
exitRefin classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitIntegerValue
public void exitIntegerValue(VirtDataParser.IntegerValueContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.integerValue().The default implementation does nothing.
- Specified by:
exitIntegerValuein interfaceVirtDataListener- Overrides:
exitIntegerValuein classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitFloatValue
public void exitFloatValue(VirtDataParser.FloatValueContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.floatValue().The default implementation does nothing.
- Specified by:
exitFloatValuein interfaceVirtDataListener- Overrides:
exitFloatValuein classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitStringValue
public void exitStringValue(VirtDataParser.StringValueContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.stringValue().The default implementation does nothing.
- Specified by:
exitStringValuein interfaceVirtDataListener- Overrides:
exitStringValuein classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitDoubleValue
public void exitDoubleValue(VirtDataParser.DoubleValueContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.doubleValue().The default implementation does nothing.
- Specified by:
exitDoubleValuein interfaceVirtDataListener- Overrides:
exitDoubleValuein classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
exitLongValue
public void exitLongValue(VirtDataParser.LongValueContext ctx)
Description copied from class:VirtDataBaseListenerExit a parse tree produced byVirtDataParser.longValue().The default implementation does nothing.
- Specified by:
exitLongValuein interfaceVirtDataListener- Overrides:
exitLongValuein classVirtDataBaseListener- Parameters:
ctx- the parse tree
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode terminalNode)
Description copied from class:VirtDataBaseListenerThe default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener- Overrides:
visitTerminalin classVirtDataBaseListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode errorNode)
Description copied from class:VirtDataBaseListenerThe default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener- Overrides:
visitErrorNodein classVirtDataBaseListener
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext parserRuleContext)
Description copied from class:VirtDataBaseListenerThe default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener- Overrides:
enterEveryRulein classVirtDataBaseListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext parserRuleContext)
Description copied from class:VirtDataBaseListenerThe default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener- Overrides:
exitEveryRulein classVirtDataBaseListener
-
hasErrors
public boolean hasErrors()
-
getErrorNodes
public java.util.List<org.antlr.v4.runtime.tree.ErrorNode> getErrorNodes()
-
getVirtdataCall
public FunctionCall getVirtdataCall()
-
getModel
public VirtDataAST getModel()
-
-