Interface IprologVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by prologParser.
Namespace: GCore.Antlr.Grammers.Prolog
Assembly: Prolog.dll
Syntax
public interface IprologVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
| Name | Description |
|---|---|
| Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAtom_term(prologParser.Atom_termContext)
Visit a parse tree produced by the atom_term
labeled alternative in term().
Declaration
Result VisitAtom_term(prologParser.Atom_termContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.Atom_termContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitBackq_string(prologParser.Backq_stringContext)
Visit a parse tree produced by the backq_string
labeled alternative in atom().
Declaration
Result VisitBackq_string(prologParser.Backq_stringContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.Backq_stringContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitBinary_operator(prologParser.Binary_operatorContext)
Visit a parse tree produced by the binary_operator
labeled alternative in term().
Declaration
Result VisitBinary_operator(prologParser.Binary_operatorContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.Binary_operatorContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitBraced_term(prologParser.Braced_termContext)
Visit a parse tree produced by the braced_term
labeled alternative in term().
Declaration
Result VisitBraced_term(prologParser.Braced_termContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.Braced_termContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitClause(prologParser.ClauseContext)
Visit a parse tree produced by clause().
Declaration
Result VisitClause(prologParser.ClauseContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.ClauseContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitCompound_term(prologParser.Compound_termContext)
Visit a parse tree produced by the compound_term
labeled alternative in term().
Declaration
Result VisitCompound_term(prologParser.Compound_termContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.Compound_termContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitCurly_bracketed_term(prologParser.Curly_bracketed_termContext)
Visit a parse tree produced by the curly_bracketed_term
labeled alternative in term().
Declaration
Result VisitCurly_bracketed_term(prologParser.Curly_bracketed_termContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.Curly_bracketed_termContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitCut(prologParser.CutContext)
Visit a parse tree produced by the cut
labeled alternative in atom().
Declaration
Result VisitCut(prologParser.CutContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.CutContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitDirective(prologParser.DirectiveContext)
Visit a parse tree produced by directive().
Declaration
Result VisitDirective(prologParser.DirectiveContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.DirectiveContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitDq_string(prologParser.Dq_stringContext)
Visit a parse tree produced by the dq_string
labeled alternative in atom().
Declaration
Result VisitDq_string(prologParser.Dq_stringContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.Dq_stringContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitEmpty_braces(prologParser.Empty_bracesContext)
Visit a parse tree produced by the empty_braces
labeled alternative in atom().
Declaration
Result VisitEmpty_braces(prologParser.Empty_bracesContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.Empty_bracesContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitEmpty_list(prologParser.Empty_listContext)
Visit a parse tree produced by the empty_list
labeled alternative in atom().
Declaration
Result VisitEmpty_list(prologParser.Empty_listContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.Empty_listContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitFloat(prologParser.FloatContext)
Visit a parse tree produced by the float
labeled alternative in term().
Declaration
Result VisitFloat(prologParser.FloatContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.FloatContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitGraphic(prologParser.GraphicContext)
Visit a parse tree produced by the graphic
labeled alternative in atom().
Declaration
Result VisitGraphic(prologParser.GraphicContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.GraphicContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitInteger(prologParser.IntegerContext)
Visit a parse tree produced by integer().
Declaration
Result VisitInteger(prologParser.IntegerContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.IntegerContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitInteger_term(prologParser.Integer_termContext)
Visit a parse tree produced by the integer_term
labeled alternative in term().
Declaration
Result VisitInteger_term(prologParser.Integer_termContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.Integer_termContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitList_term(prologParser.List_termContext)
Visit a parse tree produced by the list_term
labeled alternative in term().
Declaration
Result VisitList_term(prologParser.List_termContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.List_termContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitName(prologParser.NameContext)
Visit a parse tree produced by the name
labeled alternative in atom().
Declaration
Result VisitName(prologParser.NameContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.NameContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitOperator_(prologParser.Operator_Context)
Visit a parse tree produced by operator_().
Declaration
Result VisitOperator_(prologParser.Operator_Context context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.Operator_Context | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitP_text(prologParser.P_textContext)
Visit a parse tree produced by p_text().
Declaration
Result VisitP_text(prologParser.P_textContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.P_textContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitQuoted_string(prologParser.Quoted_stringContext)
Visit a parse tree produced by the quoted_string
labeled alternative in atom().
Declaration
Result VisitQuoted_string(prologParser.Quoted_stringContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.Quoted_stringContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitSemicolon(prologParser.SemicolonContext)
Visit a parse tree produced by the semicolon
labeled alternative in atom().
Declaration
Result VisitSemicolon(prologParser.SemicolonContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.SemicolonContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitTermlist(prologParser.TermlistContext)
Visit a parse tree produced by termlist().
Declaration
Result VisitTermlist(prologParser.TermlistContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.TermlistContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitUnary_operator(prologParser.Unary_operatorContext)
Visit a parse tree produced by the unary_operator
labeled alternative in term().
Declaration
Result VisitUnary_operator(prologParser.Unary_operatorContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.Unary_operatorContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitVariable(prologParser.VariableContext)
Visit a parse tree produced by the variable
labeled alternative in term().
Declaration
Result VisitVariable(prologParser.VariableContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| prologParser.VariableContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |