Class QueryGrammarToSpecVisitor
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarBaseVisitor<LogicElementSpec>
edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarToSpecVisitor
- All Implemented Interfaces:
edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarVisitor<LogicElementSpec>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<LogicElementSpec>
public class QueryGrammarToSpecVisitor
extends edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarBaseVisitor<LogicElementSpec>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected BodySpec
createBody
(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.BodyContext ctx) visitBooleanBuiltInLiteral
(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.BooleanBuiltInLiteralContext ctx) visitComparisonBuiltInLiteral
(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.ComparisonBuiltInLiteralContext ctx) visitCustomBuiltInLiteral
(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.CustomBuiltInLiteralContext ctx) visitNegatedAtom
(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.NegatedAtomContext ctx) visitPositiveAtom
(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.PositiveAtomContext ctx) visitProg
(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.ProgContext ctx) visitQuery
(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.QueryContext ctx) visitTerm
(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.TermContext ctx) Methods inherited from class edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarBaseVisitor
visitAtom, visitBody, visitBuiltInLiteral, visitLine, visitLiteral, visitOrdinaryLiteral, visitPredicate, visitTermsList
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
QueryGrammarToSpecVisitor
-
-
Method Details
-
visitProg
public QuerySetSpec visitProg(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.ProgContext ctx) - Specified by:
visitProg
in interfaceedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarVisitor<LogicElementSpec>
- Overrides:
visitProg
in classedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarBaseVisitor<LogicElementSpec>
-
visitQuery
public QuerySpec visitQuery(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.QueryContext ctx) - Specified by:
visitQuery
in interfaceedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarVisitor<LogicElementSpec>
- Overrides:
visitQuery
in classedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarBaseVisitor<LogicElementSpec>
-
createBody
protected BodySpec createBody(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.BodyContext ctx) -
visitComparisonBuiltInLiteral
public BuiltInLiteralSpec visitComparisonBuiltInLiteral(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.ComparisonBuiltInLiteralContext ctx) - Specified by:
visitComparisonBuiltInLiteral
in interfaceedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarVisitor<LogicElementSpec>
- Overrides:
visitComparisonBuiltInLiteral
in classedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarBaseVisitor<LogicElementSpec>
-
visitBooleanBuiltInLiteral
public BuiltInLiteralSpec visitBooleanBuiltInLiteral(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.BooleanBuiltInLiteralContext ctx) - Specified by:
visitBooleanBuiltInLiteral
in interfaceedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarVisitor<LogicElementSpec>
- Overrides:
visitBooleanBuiltInLiteral
in classedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarBaseVisitor<LogicElementSpec>
-
visitCustomBuiltInLiteral
public BuiltInLiteralSpec visitCustomBuiltInLiteral(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.CustomBuiltInLiteralContext ctx) - Specified by:
visitCustomBuiltInLiteral
in interfaceedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarVisitor<LogicElementSpec>
- Overrides:
visitCustomBuiltInLiteral
in classedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarBaseVisitor<LogicElementSpec>
-
visitPositiveAtom
public OrdinaryLiteralSpec visitPositiveAtom(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.PositiveAtomContext ctx) - Specified by:
visitPositiveAtom
in interfaceedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarVisitor<LogicElementSpec>
- Overrides:
visitPositiveAtom
in classedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarBaseVisitor<LogicElementSpec>
-
visitNegatedAtom
public OrdinaryLiteralSpec visitNegatedAtom(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.NegatedAtomContext ctx) - Specified by:
visitNegatedAtom
in interfaceedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarVisitor<LogicElementSpec>
- Overrides:
visitNegatedAtom
in classedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarBaseVisitor<LogicElementSpec>
-
visitTerm
public TermSpec visitTerm(edu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarParser.TermContext ctx) - Specified by:
visitTerm
in interfaceedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarVisitor<LogicElementSpec>
- Overrides:
visitTerm
in classedu.upc.fib.inlab.imp.kse.logics.logicschema.services.parser.QueryGrammarBaseVisitor<LogicElementSpec>
-