Interface IturtleVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by turtleParser.
Namespace: GCore.Antlr.Grammers.TurtleDoc
Assembly: TurtleDoc.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 |
VisitBlankNode(turtleParser.BlankNodeContext)
Visit a parse tree produced by blankNode().
Declaration
Result VisitBlankNode(turtleParser.BlankNodeContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.BlankNodeContext | 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 |
VisitBool_(turtleParser.Bool_Context)
Visit a parse tree produced by bool_().
Declaration
Result VisitBool_(turtleParser.Bool_Context context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.Bool_Context | 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 |
VisitNumericLiteral(turtleParser.NumericLiteralContext)
Visit a parse tree produced by numericLiteral().
Declaration
Result VisitNumericLiteral(turtleParser.NumericLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.NumericLiteralContext | 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 |
VisitPredicateObject(turtleParser.PredicateObjectContext)
Visit a parse tree produced by predicateObject().
Declaration
Result VisitPredicateObject(turtleParser.PredicateObjectContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.PredicateObjectContext | 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 |
VisitString(turtleParser.StringContext)
Visit a parse tree produced by
Declaration
Result VisitString(turtleParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.StringContext | 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 |