public class ShapeMapParsing extends ShapeMapBaseVisitor<Object>
Constructor and Description |
---|
ShapeMapParsing() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
public BaseShapeMap parse(InputStream is) throws IOException
IOException
public BaseShapeMap visitShapeMap(ShapeMapParser.ShapeMapContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.shapeMap()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitShapeMap
in interface ShapeMapVisitor<Object>
visitShapeMap
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic ShapeAssociation visitShapeAssociation(ShapeMapParser.ShapeAssociationContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.shapeAssociation()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitShapeAssociation
in interface ShapeMapVisitor<Object>
visitShapeAssociation
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic ShapeSelector visitShapeSpec(ShapeMapParser.ShapeSpecContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.shapeSpec()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitShapeSpec
in interface ShapeMapVisitor<Object>
visitShapeSpec
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic NodeSelector visitNodeSpec(ShapeMapParser.NodeSpecContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.nodeSpec()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNodeSpec
in interface ShapeMapVisitor<Object>
visitNodeSpec
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic NodeSelectorFilterSubject visitTriplePatternObject(ShapeMapParser.TriplePatternObjectContext ctx)
ShapeMapBaseVisitor
triplePatternObject
labeled alternative in ShapeMapParser.triplePattern()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTriplePatternObject
in interface ShapeMapVisitor<Object>
visitTriplePatternObject
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic NodeSelectorFilterObject visitTriplePatternSubject(ShapeMapParser.TriplePatternSubjectContext ctx)
ShapeMapBaseVisitor
triplePatternSubject
labeled alternative in ShapeMapParser.triplePattern()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitTriplePatternSubject
in interface ShapeMapVisitor<Object>
visitTriplePatternSubject
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic org.apache.commons.rdf.api.RDFTerm visitObjectTerm(ShapeMapParser.ObjectTermContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.objectTerm()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitObjectTerm
in interface ShapeMapVisitor<Object>
visitObjectTerm
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic org.apache.commons.rdf.api.BlankNodeOrIRI visitSubjectTerm(ShapeMapParser.SubjectTermContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.subjectTerm()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitSubjectTerm
in interface ShapeMapVisitor<Object>
visitSubjectTerm
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic org.apache.commons.rdf.api.Literal visitLiteral(ShapeMapParser.LiteralContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.literal()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLiteral
in interface ShapeMapVisitor<Object>
visitLiteral
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic org.apache.commons.rdf.api.Literal visitNumericLiteral(ShapeMapParser.NumericLiteralContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.numericLiteral()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitNumericLiteral
in interface ShapeMapVisitor<Object>
visitNumericLiteral
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic org.apache.commons.rdf.api.Literal visitRdfLiteral(ShapeMapParser.RdfLiteralContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.rdfLiteral()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitRdfLiteral
in interface ShapeMapVisitor<Object>
visitRdfLiteral
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic org.apache.commons.rdf.api.Literal visitBooleanLiteral(ShapeMapParser.BooleanLiteralContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.booleanLiteral()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBooleanLiteral
in interface ShapeMapVisitor<Object>
visitBooleanLiteral
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic String visitString(ShapeMapParser.StringContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.string()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitString
in interface ShapeMapVisitor<Object>
visitString
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic org.apache.commons.rdf.api.Literal visitLangString(ShapeMapParser.LangStringContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.langString()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitLangString
in interface ShapeMapVisitor<Object>
visitLangString
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic org.apache.commons.rdf.api.IRI visitPredicate(ShapeMapParser.PredicateContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.predicate()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitPredicate
in interface ShapeMapVisitor<Object>
visitPredicate
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic org.apache.commons.rdf.api.IRI visitIri(ShapeMapParser.IriContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.iri()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitIri
in interface ShapeMapVisitor<Object>
visitIri
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic org.apache.commons.rdf.api.IRI visitPrefixedName(ShapeMapParser.PrefixedNameContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.prefixedName()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitPrefixedName
in interface ShapeMapVisitor<Object>
visitPrefixedName
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treepublic org.apache.commons.rdf.api.BlankNode visitBlankNode(ShapeMapParser.BlankNodeContext ctx)
ShapeMapBaseVisitor
ShapeMapParser.blankNode()
.
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
on ctx
.
visitBlankNode
in interface ShapeMapVisitor<Object>
visitBlankNode
in class ShapeMapBaseVisitor<Object>
ctx
- the parse treeCopyright © 2019. All rights reserved.