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

Public Member Functions

visitAnswer_set (ClingoParser.Answer_setContext ctx)
 
visitModel (ClingoParser.ModelContext ctx)
 
visitOutput (ClingoParser.OutputContext ctx)
 
visitPredicate_atom (ClingoParser.Predicate_atomContext ctx)
 
visitTerm (ClingoParser.TermContext ctx)
 

Detailed Description

This class provides an empty implementation of ClingoParserVisitor, 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 ClingoParserBaseVisitor.java.

Member Function Documentation

◆ visitAnswer_set()

T it.unical.mat.parsers.asp.clingo.ClingoParserBaseVisitor< T >.visitAnswer_set ( ClingoParser.Answer_setContext  ctx)
inline

Visit a parse tree produced by ClingoParser#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.clingo.ClingoParserVisitor< T >.

Definition at line 20 of file ClingoParserBaseVisitor.java.

◆ visitModel()

T it.unical.mat.parsers.asp.clingo.ClingoParserBaseVisitor< T >.visitModel ( ClingoParser.ModelContext  ctx)
inline

Visit a parse tree produced by ClingoParser#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.clingo.ClingoParserVisitor< T >.

Definition at line 27 of file ClingoParserBaseVisitor.java.

◆ visitOutput()

T it.unical.mat.parsers.asp.clingo.ClingoParserBaseVisitor< T >.visitOutput ( ClingoParser.OutputContext  ctx)
inline

Visit a parse tree produced by ClingoParser#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.clingo.ClingoParserVisitor< T >.

Definition at line 34 of file ClingoParserBaseVisitor.java.

◆ visitPredicate_atom()

T it.unical.mat.parsers.asp.clingo.ClingoParserBaseVisitor< T >.visitPredicate_atom ( ClingoParser.Predicate_atomContext  ctx)
inline

Visit a parse tree produced by ClingoParser#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.clingo.ClingoParserVisitor< T >.

Definition at line 41 of file ClingoParserBaseVisitor.java.

◆ visitTerm()

T it.unical.mat.parsers.asp.clingo.ClingoParserBaseVisitor< T >.visitTerm ( ClingoParser.TermContext  ctx)
inline

Visit a parse tree produced by ClingoParser#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.clingo.ClingoParserVisitor< T >.

Definition at line 48 of file ClingoParserBaseVisitor.java.


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