Class turtleBaseListener
This class provides an empty implementation of IturtleListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.TurtleDoc
Assembly: TurtleDoc.dll
Syntax
public class turtleBaseListener : object, IturtleListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterBase(turtleParser.BaseContext)
Enter a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void EnterBase(turtleParser.BaseContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.BaseContext | context | The parse tree. |
EnterBlankNode(turtleParser.BlankNodeContext)
Enter a parse tree produced by blankNode().
The default implementation does nothing.
Declaration
public virtual void EnterBlankNode(turtleParser.BlankNodeContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.BlankNodeContext | context | The parse tree. |
EnterBlankNodePropertyList(turtleParser.BlankNodePropertyListContext)
Enter a parse tree produced by blankNodePropertyList().
The default implementation does nothing.
Declaration
public virtual void EnterBlankNodePropertyList(turtleParser.BlankNodePropertyListContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.BlankNodePropertyListContext | context | The parse tree. |
EnterBool_(turtleParser.Bool_Context)
Enter a parse tree produced by bool_().
The default implementation does nothing.
Declaration
public virtual void EnterBool_(turtleParser.Bool_Context context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.Bool_Context | context | The parse tree. |
EnterCollection(turtleParser.CollectionContext)
Enter a parse tree produced by collection().
The default implementation does nothing.
Declaration
public virtual void EnterCollection(turtleParser.CollectionContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.CollectionContext | context | The parse tree. |
EnterDirective(turtleParser.DirectiveContext)
Enter a parse tree produced by directive().
The default implementation does nothing.
Declaration
public virtual void EnterDirective(turtleParser.DirectiveContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.DirectiveContext | context | The parse tree. |
EnterEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
EnterIri(turtleParser.IriContext)
Enter a parse tree produced by iri().
The default implementation does nothing.
Declaration
public virtual void EnterIri(turtleParser.IriContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.IriContext | context | The parse tree. |
EnterLiteral(turtleParser.LiteralContext)
Enter a parse tree produced by literal().
The default implementation does nothing.
Declaration
public virtual void EnterLiteral(turtleParser.LiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.LiteralContext | context | The parse tree. |
EnterNumericLiteral(turtleParser.NumericLiteralContext)
Enter a parse tree produced by numericLiteral().
The default implementation does nothing.
Declaration
public virtual void EnterNumericLiteral(turtleParser.NumericLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.NumericLiteralContext | context | The parse tree. |
EnterObject_(turtleParser.Object_Context)
Enter a parse tree produced by object_().
The default implementation does nothing.
Declaration
public virtual void EnterObject_(turtleParser.Object_Context context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.Object_Context | context | The parse tree. |
EnterObjectList(turtleParser.ObjectListContext)
Enter a parse tree produced by objectList().
The default implementation does nothing.
Declaration
public virtual void EnterObjectList(turtleParser.ObjectListContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.ObjectListContext | context | The parse tree. |
EnterPredicate(turtleParser.PredicateContext)
Enter a parse tree produced by predicate().
The default implementation does nothing.
Declaration
public virtual void EnterPredicate(turtleParser.PredicateContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.PredicateContext | context | The parse tree. |
EnterPredicateObject(turtleParser.PredicateObjectContext)
Enter a parse tree produced by predicateObject().
The default implementation does nothing.
Declaration
public virtual void EnterPredicateObject(turtleParser.PredicateObjectContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.PredicateObjectContext | context | The parse tree. |
EnterPredicateObjectList(turtleParser.PredicateObjectListContext)
Enter a parse tree produced by predicateObjectList().
The default implementation does nothing.
Declaration
public virtual void EnterPredicateObjectList(turtleParser.PredicateObjectListContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.PredicateObjectListContext | context | The parse tree. |
EnterPrefixID(turtleParser.PrefixIDContext)
Enter a parse tree produced by prefixID().
The default implementation does nothing.
Declaration
public virtual void EnterPrefixID(turtleParser.PrefixIDContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.PrefixIDContext | context | The parse tree. |
EnterRDFLiteral(turtleParser.RDFLiteralContext)
Enter a parse tree produced by rDFLiteral().
The default implementation does nothing.
Declaration
public virtual void EnterRDFLiteral(turtleParser.RDFLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.RDFLiteralContext | context | The parse tree. |
EnterSparqlBase(turtleParser.SparqlBaseContext)
Enter a parse tree produced by sparqlBase().
The default implementation does nothing.
Declaration
public virtual void EnterSparqlBase(turtleParser.SparqlBaseContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.SparqlBaseContext | context | The parse tree. |
EnterSparqlPrefix(turtleParser.SparqlPrefixContext)
Enter a parse tree produced by sparqlPrefix().
The default implementation does nothing.
Declaration
public virtual void EnterSparqlPrefix(turtleParser.SparqlPrefixContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.SparqlPrefixContext | context | The parse tree. |
EnterStatement(turtleParser.StatementContext)
Enter a parse tree produced by statement().
The default implementation does nothing.
Declaration
public virtual void EnterStatement(turtleParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.StatementContext | context | The parse tree. |
EnterString(turtleParser.StringContext)
Enter a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void EnterString(turtleParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.StringContext | context | The parse tree. |
EnterSubject(turtleParser.SubjectContext)
Enter a parse tree produced by subject().
The default implementation does nothing.
Declaration
public virtual void EnterSubject(turtleParser.SubjectContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.SubjectContext | context | The parse tree. |
EnterTriples(turtleParser.TriplesContext)
Enter a parse tree produced by triples().
The default implementation does nothing.
Declaration
public virtual void EnterTriples(turtleParser.TriplesContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.TriplesContext | context | The parse tree. |
EnterTurtleDoc(turtleParser.TurtleDocContext)
Enter a parse tree produced by turtleDoc().
The default implementation does nothing.
Declaration
public virtual void EnterTurtleDoc(turtleParser.TurtleDocContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.TurtleDocContext | context | The parse tree. |
ExitBase(turtleParser.BaseContext)
Exit a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void ExitBase(turtleParser.BaseContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.BaseContext | context | The parse tree. |
ExitBlankNode(turtleParser.BlankNodeContext)
Exit a parse tree produced by blankNode().
The default implementation does nothing.
Declaration
public virtual void ExitBlankNode(turtleParser.BlankNodeContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.BlankNodeContext | context | The parse tree. |
ExitBlankNodePropertyList(turtleParser.BlankNodePropertyListContext)
Exit a parse tree produced by blankNodePropertyList().
The default implementation does nothing.
Declaration
public virtual void ExitBlankNodePropertyList(turtleParser.BlankNodePropertyListContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.BlankNodePropertyListContext | context | The parse tree. |
ExitBool_(turtleParser.Bool_Context)
Exit a parse tree produced by bool_().
The default implementation does nothing.
Declaration
public virtual void ExitBool_(turtleParser.Bool_Context context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.Bool_Context | context | The parse tree. |
ExitCollection(turtleParser.CollectionContext)
Exit a parse tree produced by collection().
The default implementation does nothing.
Declaration
public virtual void ExitCollection(turtleParser.CollectionContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.CollectionContext | context | The parse tree. |
ExitDirective(turtleParser.DirectiveContext)
Exit a parse tree produced by directive().
The default implementation does nothing.
Declaration
public virtual void ExitDirective(turtleParser.DirectiveContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.DirectiveContext | context | The parse tree. |
ExitEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
ExitIri(turtleParser.IriContext)
Exit a parse tree produced by iri().
The default implementation does nothing.
Declaration
public virtual void ExitIri(turtleParser.IriContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.IriContext | context | The parse tree. |
ExitLiteral(turtleParser.LiteralContext)
Exit a parse tree produced by literal().
The default implementation does nothing.
Declaration
public virtual void ExitLiteral(turtleParser.LiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.LiteralContext | context | The parse tree. |
ExitNumericLiteral(turtleParser.NumericLiteralContext)
Exit a parse tree produced by numericLiteral().
The default implementation does nothing.
Declaration
public virtual void ExitNumericLiteral(turtleParser.NumericLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.NumericLiteralContext | context | The parse tree. |
ExitObject_(turtleParser.Object_Context)
Exit a parse tree produced by object_().
The default implementation does nothing.
Declaration
public virtual void ExitObject_(turtleParser.Object_Context context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.Object_Context | context | The parse tree. |
ExitObjectList(turtleParser.ObjectListContext)
Exit a parse tree produced by objectList().
The default implementation does nothing.
Declaration
public virtual void ExitObjectList(turtleParser.ObjectListContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.ObjectListContext | context | The parse tree. |
ExitPredicate(turtleParser.PredicateContext)
Exit a parse tree produced by predicate().
The default implementation does nothing.
Declaration
public virtual void ExitPredicate(turtleParser.PredicateContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.PredicateContext | context | The parse tree. |
ExitPredicateObject(turtleParser.PredicateObjectContext)
Exit a parse tree produced by predicateObject().
The default implementation does nothing.
Declaration
public virtual void ExitPredicateObject(turtleParser.PredicateObjectContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.PredicateObjectContext | context | The parse tree. |
ExitPredicateObjectList(turtleParser.PredicateObjectListContext)
Exit a parse tree produced by predicateObjectList().
The default implementation does nothing.
Declaration
public virtual void ExitPredicateObjectList(turtleParser.PredicateObjectListContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.PredicateObjectListContext | context | The parse tree. |
ExitPrefixID(turtleParser.PrefixIDContext)
Exit a parse tree produced by prefixID().
The default implementation does nothing.
Declaration
public virtual void ExitPrefixID(turtleParser.PrefixIDContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.PrefixIDContext | context | The parse tree. |
ExitRDFLiteral(turtleParser.RDFLiteralContext)
Exit a parse tree produced by rDFLiteral().
The default implementation does nothing.
Declaration
public virtual void ExitRDFLiteral(turtleParser.RDFLiteralContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.RDFLiteralContext | context | The parse tree. |
ExitSparqlBase(turtleParser.SparqlBaseContext)
Exit a parse tree produced by sparqlBase().
The default implementation does nothing.
Declaration
public virtual void ExitSparqlBase(turtleParser.SparqlBaseContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.SparqlBaseContext | context | The parse tree. |
ExitSparqlPrefix(turtleParser.SparqlPrefixContext)
Exit a parse tree produced by sparqlPrefix().
The default implementation does nothing.
Declaration
public virtual void ExitSparqlPrefix(turtleParser.SparqlPrefixContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.SparqlPrefixContext | context | The parse tree. |
ExitStatement(turtleParser.StatementContext)
Exit a parse tree produced by statement().
The default implementation does nothing.
Declaration
public virtual void ExitStatement(turtleParser.StatementContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.StatementContext | context | The parse tree. |
ExitString(turtleParser.StringContext)
Exit a parse tree produced by
The default implementation does nothing.
Declaration
public virtual void ExitString(turtleParser.StringContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.StringContext | context | The parse tree. |
ExitSubject(turtleParser.SubjectContext)
Exit a parse tree produced by subject().
The default implementation does nothing.
Declaration
public virtual void ExitSubject(turtleParser.SubjectContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.SubjectContext | context | The parse tree. |
ExitTriples(turtleParser.TriplesContext)
Exit a parse tree produced by triples().
The default implementation does nothing.
Declaration
public virtual void ExitTriples(turtleParser.TriplesContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.TriplesContext | context | The parse tree. |
ExitTurtleDoc(turtleParser.TurtleDocContext)
Exit a parse tree produced by turtleDoc().
The default implementation does nothing.
Declaration
public virtual void ExitTurtleDoc(turtleParser.TurtleDocContext context)
Parameters
Type | Name | Description |
---|---|---|
turtleParser.TurtleDocContext | context | The parse tree. |
VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)
Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.IErrorNode | node |
Remarks
The default implementation does nothing.
VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)
Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.ITerminalNode | node |
Remarks
The default implementation does nothing.