Class DependencySchemaGrammarToSpecVisitor
java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarToSpecVisitor
- All Implemented Interfaces:
edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarVisitor<LogicElementSpec>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<LogicElementSpec>
public class DependencySchemaGrammarToSpecVisitor
extends edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDependencySchemaGrammarToSpecVisitor
(StringToTermSpecFactory stringToTermSpecFactory) -
Method Summary
Modifier and TypeMethodDescriptionvisitBody
(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.BodyContext ctx) visitBooleanBuiltInLiteral
(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.BooleanBuiltInLiteralContext ctx) visitComparisonBuiltInLiteral
(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.ComparisonBuiltInLiteralContext ctx) visitCustomBuiltInLiteral
(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.CustomBuiltInLiteralContext ctx) visitEgd
(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.EgdContext ctx) visitEgd_head
(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.Egd_headContext ctx) visitNegatedAtom
(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.NegatedAtomContext ctx) visitPositiveAtom
(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.PositiveAtomContext ctx) visitProg
(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.ProgContext ctx) visitTerm
(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.TermContext ctx) visitTgd
(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.TgdContext ctx) visitTgd_head
(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.Tgd_headContext ctx) Methods inherited from class edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor
visitAtom, visitBuiltInLiteral, visitDependency, visitLine, visitLiteral, visitOperator, 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
-
Field Details
-
dependencySchemaSpec
-
-
Constructor Details
-
DependencySchemaGrammarToSpecVisitor
-
-
Method Details
-
visitProg
public DependencySchemaSpec visitProg(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.ProgContext ctx) - Specified by:
visitProg
in interfaceedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarVisitor<LogicElementSpec>
- Overrides:
visitProg
in classedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
-
visitTgd
public TGDSpec visitTgd(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.TgdContext ctx) - Specified by:
visitTgd
in interfaceedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarVisitor<LogicElementSpec>
- Overrides:
visitTgd
in classedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
-
visitEgd
public EGDSpec visitEgd(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.EgdContext ctx) - Specified by:
visitEgd
in interfaceedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarVisitor<LogicElementSpec>
- Overrides:
visitEgd
in classedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
-
visitTgd_head
public HeadAtomsSpec visitTgd_head(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.Tgd_headContext ctx) - Specified by:
visitTgd_head
in interfaceedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarVisitor<LogicElementSpec>
- Overrides:
visitTgd_head
in classedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
-
visitEgd_head
public BuiltInLiteralSpec visitEgd_head(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.Egd_headContext ctx) - Specified by:
visitEgd_head
in interfaceedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarVisitor<LogicElementSpec>
- Overrides:
visitEgd_head
in classedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
-
visitBody
public BodySpec visitBody(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.BodyContext ctx) - Specified by:
visitBody
in interfaceedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarVisitor<LogicElementSpec>
- Overrides:
visitBody
in classedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
-
visitComparisonBuiltInLiteral
public BuiltInLiteralSpec visitComparisonBuiltInLiteral(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.ComparisonBuiltInLiteralContext ctx) - Specified by:
visitComparisonBuiltInLiteral
in interfaceedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarVisitor<LogicElementSpec>
- Overrides:
visitComparisonBuiltInLiteral
in classedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
-
visitBooleanBuiltInLiteral
public BuiltInLiteralSpec visitBooleanBuiltInLiteral(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.BooleanBuiltInLiteralContext ctx) - Specified by:
visitBooleanBuiltInLiteral
in interfaceedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarVisitor<LogicElementSpec>
- Overrides:
visitBooleanBuiltInLiteral
in classedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
-
visitCustomBuiltInLiteral
public BuiltInLiteralSpec visitCustomBuiltInLiteral(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.CustomBuiltInLiteralContext ctx) - Specified by:
visitCustomBuiltInLiteral
in interfaceedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarVisitor<LogicElementSpec>
- Overrides:
visitCustomBuiltInLiteral
in classedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
-
visitPositiveAtom
public OrdinaryLiteralSpec visitPositiveAtom(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.PositiveAtomContext ctx) - Specified by:
visitPositiveAtom
in interfaceedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarVisitor<LogicElementSpec>
- Overrides:
visitPositiveAtom
in classedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
-
visitNegatedAtom
public OrdinaryLiteralSpec visitNegatedAtom(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.NegatedAtomContext ctx) - Specified by:
visitNegatedAtom
in interfaceedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarVisitor<LogicElementSpec>
- Overrides:
visitNegatedAtom
in classedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
-
visitTerm
public TermSpec visitTerm(edu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarParser.TermContext ctx) - Specified by:
visitTerm
in interfaceedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarVisitor<LogicElementSpec>
- Overrides:
visitTerm
in classedu.upc.fib.inlab.imp.kse.logics.dependencyschema.services.parser.DependencySchemaGrammarBaseVisitor<LogicElementSpec>
-