Interface ITURTLEVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by TURTLEParser.
Namespace: GCore.Antlr.Grammers.Turtle
Assembly: Turtle.dll
Syntax
public interface ITURTLEVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
| Name | Description |
|---|---|
| Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitBase(TURTLEParser.BaseContext)
Visit a parse tree produced by
Declaration
Result VisitBase(TURTLEParser.BaseContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.BaseContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitBlankNodePropertyList(TURTLEParser.BlankNodePropertyListContext)
Visit a parse tree produced by blankNodePropertyList().
Declaration
Result VisitBlankNodePropertyList(TURTLEParser.BlankNodePropertyListContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.BlankNodePropertyListContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitCollection(TURTLEParser.CollectionContext)
Visit a parse tree produced by collection().
Declaration
Result VisitCollection(TURTLEParser.CollectionContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.CollectionContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitDirective(TURTLEParser.DirectiveContext)
Visit a parse tree produced by directive().
Declaration
Result VisitDirective(TURTLEParser.DirectiveContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.DirectiveContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitIri(TURTLEParser.IriContext)
Visit a parse tree produced by iri().
Declaration
Result VisitIri(TURTLEParser.IriContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.IriContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitLiteral(TURTLEParser.LiteralContext)
Visit a parse tree produced by literal().
Declaration
Result VisitLiteral(TURTLEParser.LiteralContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.LiteralContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitObject_(TURTLEParser.Object_Context)
Visit a parse tree produced by object_().
Declaration
Result VisitObject_(TURTLEParser.Object_Context context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.Object_Context | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitObjectList(TURTLEParser.ObjectListContext)
Visit a parse tree produced by objectList().
Declaration
Result VisitObjectList(TURTLEParser.ObjectListContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.ObjectListContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitPredicate(TURTLEParser.PredicateContext)
Visit a parse tree produced by predicate().
Declaration
Result VisitPredicate(TURTLEParser.PredicateContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.PredicateContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitPredicateObjectList(TURTLEParser.PredicateObjectListContext)
Visit a parse tree produced by predicateObjectList().
Declaration
Result VisitPredicateObjectList(TURTLEParser.PredicateObjectListContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.PredicateObjectListContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitPrefixID(TURTLEParser.PrefixIDContext)
Visit a parse tree produced by prefixID().
Declaration
Result VisitPrefixID(TURTLEParser.PrefixIDContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.PrefixIDContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitRdfLiteral(TURTLEParser.RdfLiteralContext)
Visit a parse tree produced by rdfLiteral().
Declaration
Result VisitRdfLiteral(TURTLEParser.RdfLiteralContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.RdfLiteralContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitSparqlBase(TURTLEParser.SparqlBaseContext)
Visit a parse tree produced by sparqlBase().
Declaration
Result VisitSparqlBase(TURTLEParser.SparqlBaseContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.SparqlBaseContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitSparqlPrefix(TURTLEParser.SparqlPrefixContext)
Visit a parse tree produced by sparqlPrefix().
Declaration
Result VisitSparqlPrefix(TURTLEParser.SparqlPrefixContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.SparqlPrefixContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitStatement(TURTLEParser.StatementContext)
Visit a parse tree produced by statement().
Declaration
Result VisitStatement(TURTLEParser.StatementContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.StatementContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitSubject(TURTLEParser.SubjectContext)
Visit a parse tree produced by subject().
Declaration
Result VisitSubject(TURTLEParser.SubjectContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.SubjectContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitTriples(TURTLEParser.TriplesContext)
Visit a parse tree produced by triples().
Declaration
Result VisitTriples(TURTLEParser.TriplesContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.TriplesContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitTurtleDoc(TURTLEParser.TurtleDocContext)
Visit a parse tree produced by turtleDoc().
Declaration
Result VisitTurtleDoc(TURTLEParser.TurtleDocContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.TurtleDocContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitVerb(TURTLEParser.VerbContext)
Visit a parse tree produced by verb().
Declaration
Result VisitVerb(TURTLEParser.VerbContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| TURTLEParser.VerbContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |