EmbASP-Java
Public Member Functions | List of all members
it.unical.mat.parsers.asp.dlv2.DLV2ParserBaseVisitor< T > Class Template Reference
Inheritance diagram for it.unical.mat.parsers.asp.dlv2.DLV2ParserBaseVisitor< T >:
it.unical.mat.parsers.asp.dlv2.DLV2ParserVisitor< T >

Public Member Functions

visitAnswer_set (DLV2Parser.Answer_setContext ctx)
 
visitCost (DLV2Parser.CostContext ctx)
 
visitLevel (DLV2Parser.LevelContext ctx)
 
visitModel (DLV2Parser.ModelContext ctx)
 
visitOutput (DLV2Parser.OutputContext ctx)
 
visitPredicate_atom (DLV2Parser.Predicate_atomContext ctx)
 
visitTerm (DLV2Parser.TermContext ctx)
 

Detailed Description

This class provides an empty implementation of DLV2ParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Parameters
<T>The return type of the visit operation. Use Void for operations with no return type.

Definition at line 13 of file DLV2ParserBaseVisitor.java.

Member Function Documentation

◆ visitAnswer_set()

T it.unical.mat.parsers.asp.dlv2.DLV2ParserBaseVisitor< T >.visitAnswer_set ( DLV2Parser.Answer_setContext  ctx)
inline

Visit a parse tree produced by DLV2Parser#answer_set.

Parameters
ctxthe parse tree
Returns
the visitor result

The default implementation returns the result of calling visitChildren on

ctx

.

Implements it.unical.mat.parsers.asp.dlv2.DLV2ParserVisitor< T >.

Definition at line 20 of file DLV2ParserBaseVisitor.java.

◆ visitCost()

T it.unical.mat.parsers.asp.dlv2.DLV2ParserBaseVisitor< T >.visitCost ( DLV2Parser.CostContext  ctx)
inline

Visit a parse tree produced by DLV2Parser#cost.

Parameters
ctxthe parse tree
Returns
the visitor result

The default implementation returns the result of calling visitChildren on

ctx

.

Implements it.unical.mat.parsers.asp.dlv2.DLV2ParserVisitor< T >.

Definition at line 27 of file DLV2ParserBaseVisitor.java.

◆ visitLevel()

T it.unical.mat.parsers.asp.dlv2.DLV2ParserBaseVisitor< T >.visitLevel ( DLV2Parser.LevelContext  ctx)
inline

Visit a parse tree produced by DLV2Parser#level.

Parameters
ctxthe parse tree
Returns
the visitor result

The default implementation returns the result of calling visitChildren on

ctx

.

Implements it.unical.mat.parsers.asp.dlv2.DLV2ParserVisitor< T >.

Definition at line 34 of file DLV2ParserBaseVisitor.java.

◆ visitModel()

T it.unical.mat.parsers.asp.dlv2.DLV2ParserBaseVisitor< T >.visitModel ( DLV2Parser.ModelContext  ctx)
inline

Visit a parse tree produced by DLV2Parser#model.

Parameters
ctxthe parse tree
Returns
the visitor result

The default implementation returns the result of calling visitChildren on

ctx

.

Implements it.unical.mat.parsers.asp.dlv2.DLV2ParserVisitor< T >.

Definition at line 41 of file DLV2ParserBaseVisitor.java.

◆ visitOutput()

T it.unical.mat.parsers.asp.dlv2.DLV2ParserBaseVisitor< T >.visitOutput ( DLV2Parser.OutputContext  ctx)
inline

Visit a parse tree produced by DLV2Parser#output.

Parameters
ctxthe parse tree
Returns
the visitor result

The default implementation returns the result of calling visitChildren on

ctx

.

Implements it.unical.mat.parsers.asp.dlv2.DLV2ParserVisitor< T >.

Definition at line 48 of file DLV2ParserBaseVisitor.java.

◆ visitPredicate_atom()

T it.unical.mat.parsers.asp.dlv2.DLV2ParserBaseVisitor< T >.visitPredicate_atom ( DLV2Parser.Predicate_atomContext  ctx)
inline

Visit a parse tree produced by DLV2Parser#predicate_atom.

Parameters
ctxthe parse tree
Returns
the visitor result

The default implementation returns the result of calling visitChildren on

ctx

.

Implements it.unical.mat.parsers.asp.dlv2.DLV2ParserVisitor< T >.

Definition at line 55 of file DLV2ParserBaseVisitor.java.

◆ visitTerm()

T it.unical.mat.parsers.asp.dlv2.DLV2ParserBaseVisitor< T >.visitTerm ( DLV2Parser.TermContext  ctx)
inline

Visit a parse tree produced by DLV2Parser#term.

Parameters
ctxthe parse tree
Returns
the visitor result

The default implementation returns the result of calling visitChildren on

ctx

.

Implements it.unical.mat.parsers.asp.dlv2.DLV2ParserVisitor< T >.

Definition at line 62 of file DLV2ParserBaseVisitor.java.


The documentation for this class was generated from the following file: