class ShapeMapsMaker extends ShapeMapBaseVisitor[Any]
Visits the AST and builds the corresponding ShapeMaps classes
- Source
- ShapeMapsMaker.scala
- Alphabetic
- By Inheritance
- ShapeMapsMaker
- ShapeMapBaseVisitor
- ShapeMapVisitor
- AbstractParseTreeVisitor
- ParseTreeVisitor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ShapeMapsMaker(base: Option[IRI], nodesPrefixMap: PrefixMap, shapesPrefixMap: PrefixMap = PrefixMap.empty)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
aggregateResult(arg0: Any, arg1: Any): Any
- Attributes
- protected[tree]
- Definition Classes
- AbstractParseTreeVisitor
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val baseIRI: IRI
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
defaultResult(): Any
- Attributes
- protected[tree]
- Definition Classes
- AbstractParseTreeVisitor
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def extractIRIfromIRIREF(d: String, base: Option[IRI]): IRI
- def getBase: Builder[Option[IRI]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getDecimal(str: String): Builder[BigDecimal]
- def getDouble(str: String): Builder[Double]
- def getInteger(str: String): Builder[Int]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def isDefined[A](x: A): Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def resolve(prefixedName: String, prefixMap: PrefixMap): Builder[IRI]
-
def
shouldVisitNextChild(arg0: RuleNode, arg1: Any): Boolean
- Attributes
- protected[tree]
- Definition Classes
- AbstractParseTreeVisitor
- def splitPrefix(str: String): (String, String)
- def stripStringLiteral1(s: String): String
- def stripStringLiteral2(s: String): String
- def stripStringLiteralLong1(s: String): String
- def stripStringLiteralLong2(s: String): String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
visit(arg0: ParseTree): Any
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
-
def
visitBlankNode(ctx: BlankNodeContext): Any
Visit a parse tree produced by
ShapeMapParser#blankNode
.Visit a parse tree produced by
ShapeMapParser#blankNode
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitBooleanLiteral(ctx: BooleanLiteralContext): Builder[Literal]
Visit a parse tree produced by
ShapeMapParser#booleanLiteral
.Visit a parse tree produced by
ShapeMapParser#booleanLiteral
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitChildren(arg0: RuleNode): Any
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
- def visitDatatype(ctx: DatatypeContext, prefixMap: PrefixMap): Builder[IRI]
-
def
visitDatatype(ctx: DatatypeContext): Any
Visit a parse tree produced by
ShapeMapParser#datatype
.Visit a parse tree produced by
ShapeMapParser#datatype
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitErrorNode(arg0: ErrorNode): Any
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
-
def
visitExtended(ctx: ExtendedContext): Builder[NodeSelector]
Visit a parse tree produced by
ShapeMapParser#extended
.Visit a parse tree produced by
ShapeMapParser#extended
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitFocusObject(ctx: FocusObjectContext): Any
Visit a parse tree produced by the
focusObject
labeled alternative inShapeMapParser#triplePattern
.Visit a parse tree produced by the
focusObject
labeled alternative inShapeMapParser#triplePattern
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitFocusSubject(ctx: FocusSubjectContext): Any
Visit a parse tree produced by the
focusSubject
labeled alternative inShapeMapParser#triplePattern
.Visit a parse tree produced by the
focusSubject
labeled alternative inShapeMapParser#triplePattern
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitInverse(ctx: InverseContext): Any
Visit a parse tree produced by
ShapeMapParser#inverse
.Visit a parse tree produced by
ShapeMapParser#inverse
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitJsonAttributes(ctx: JsonAttributesContext): Builder[Option[Json]]
Visit a parse tree produced by
ShapeMapParser#jsonAttributes
.Visit a parse tree produced by
ShapeMapParser#jsonAttributes
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
- def visitList[A, B](visitFn: (A) ⇒ Builder[B], ls: List[A]): Builder[List[B]]
-
def
visitLiteral(ctx: LiteralContext): Builder[Literal]
Visit a parse tree produced by
ShapeMapParser#literal
.Visit a parse tree produced by
ShapeMapParser#literal
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitNegation(ctx: NegationContext): Any
Visit a parse tree produced by
ShapeMapParser#negation
.Visit a parse tree produced by
ShapeMapParser#negation
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitNodeIri(ctx: NodeIriContext): Any
Visit a parse tree produced by
ShapeMapParser#nodeIri
.Visit a parse tree produced by
ShapeMapParser#nodeIri
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitNodeSelector(ctx: NodeSelectorContext): Builder[NodeSelector]
Visit a parse tree produced by
ShapeMapParser#nodeSelector
.Visit a parse tree produced by
ShapeMapParser#nodeSelector
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitNumericLiteral(ctx: NumericLiteralContext): Builder[Literal]
Visit a parse tree produced by
ShapeMapParser#numericLiteral
.Visit a parse tree produced by
ShapeMapParser#numericLiteral
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitObjectTerm(ctx: ObjectTermContext): Builder[RDFNode]
Visit a parse tree produced by
ShapeMapParser#objectTerm
.Visit a parse tree produced by
ShapeMapParser#objectTerm
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
- def visitOpt[A, B](visitFn: (A) ⇒ Builder[B], v: A): Builder[Option[B]]
-
def
visitOptional(ctx: OptionalContext): Any
Visit a parse tree produced by the
optional
labeled alternative inShapeMapParser#pathMod
.Visit a parse tree produced by the
optional
labeled alternative inShapeMapParser#pathMod
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitPair(ctx: PairContext): Builder[Association]
Visit a parse tree produced by
ShapeMapParser#pair
.Visit a parse tree produced by
ShapeMapParser#pair
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitPath(ctx: PathContext): Builder[SHACLPath]
Visit a parse tree produced by
ShapeMapParser#path
.Visit a parse tree produced by
ShapeMapParser#path
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitPathAlternative(ctx: PathAlternativeContext): Builder[SHACLPath]
Visit a parse tree produced by
ShapeMapParser#pathAlternative
.Visit a parse tree produced by
ShapeMapParser#pathAlternative
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitPathElt(ctx: PathEltContext): Builder[SHACLPath]
Visit a parse tree produced by
ShapeMapParser#pathElt
.Visit a parse tree produced by
ShapeMapParser#pathElt
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitPathEltOrInverse(ctx: PathEltOrInverseContext): Builder[SHACLPath]
Visit a parse tree produced by
ShapeMapParser#pathEltOrInverse
.Visit a parse tree produced by
ShapeMapParser#pathEltOrInverse
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitPathPrimary(ctx: PathPrimaryContext): Builder[SHACLPath]
Visit a parse tree produced by
ShapeMapParser#pathPrimary
.Visit a parse tree produced by
ShapeMapParser#pathPrimary
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitPathSequence(ctx: PathSequenceContext): Builder[SHACLPath]
Visit a parse tree produced by
ShapeMapParser#pathSequence
.Visit a parse tree produced by
ShapeMapParser#pathSequence
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitPlus(ctx: PlusContext): Any
Visit a parse tree produced by the
plus
labeled alternative inShapeMapParser#pathMod
.Visit a parse tree produced by the
plus
labeled alternative inShapeMapParser#pathMod
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitPredicate(ctx: PredicateContext): Any
Visit a parse tree produced by
ShapeMapParser#predicate
.Visit a parse tree produced by
ShapeMapParser#predicate
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitPrefixedName(ctx: PrefixedNameContext): Builder[String]
Visit a parse tree produced by
ShapeMapParser#prefixedName
.Visit a parse tree produced by
ShapeMapParser#prefixedName
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitQuestionMark(ctx: QuestionMarkContext): Any
Visit a parse tree produced by
ShapeMapParser#questionMark
.Visit a parse tree produced by
ShapeMapParser#questionMark
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitRdfLiteral(ctx: RdfLiteralContext): Builder[Literal]
Visit a parse tree produced by
ShapeMapParser#rdfLiteral
.Visit a parse tree produced by
ShapeMapParser#rdfLiteral
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitRdfType(ctx: RdfTypeContext): Any
Visit a parse tree produced by
ShapeMapParser#rdfType
.Visit a parse tree produced by
ShapeMapParser#rdfType
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitReason(ctx: ReasonContext): Builder[Option[String]]
Visit a parse tree produced by
ShapeMapParser#reason
.Visit a parse tree produced by
ShapeMapParser#reason
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitShapeIri(ctx: ShapeIriContext): Any
Visit a parse tree produced by
ShapeMapParser#shapeIri
.Visit a parse tree produced by
ShapeMapParser#shapeIri
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitShapeMap(ctx: ShapeMapContext): Builder[QueryShapeMap]
Visit a parse tree produced by
ShapeMapParser#shapeMap
.Visit a parse tree produced by
ShapeMapParser#shapeMap
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitShapeSelector(ctx: ShapeSelectorContext): Builder[ShapeMapLabel]
Visit a parse tree produced by
ShapeMapParser#shapeSelector
.Visit a parse tree produced by
ShapeMapParser#shapeSelector
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitStar(ctx: StarContext): Any
Visit a parse tree produced by the
star
labeled alternative inShapeMapParser#pathMod
.Visit a parse tree produced by the
star
labeled alternative inShapeMapParser#pathMod
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapBaseVisitor → ShapeMapVisitor
- Annotations
- @Override()
-
def
visitStatus(ctx: StatusContext): Builder[Status]
Visit a parse tree produced by
ShapeMapParser#status
.Visit a parse tree produced by
ShapeMapParser#status
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitStatusAndShape(ctx: StatusAndShapeContext): Builder[(ShapeMapLabel, Status)]
Visit a parse tree produced by
ShapeMapParser#statusAndShape
.Visit a parse tree produced by
ShapeMapParser#statusAndShape
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitString(ctx: StringContext): Builder[String]
Visit a parse tree produced by
ShapeMapParser#string
.Visit a parse tree produced by
ShapeMapParser#string
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitSubjectTerm(ctx: SubjectTermContext): Builder[RDFNode]
Visit a parse tree produced by
ShapeMapParser#subjectTerm
.Visit a parse tree produced by
ShapeMapParser#subjectTerm
.The default implementation returns the result of calling
#visitChildren
onctx
.- ctx
the parse tree
- returns
the visitor result
- Definition Classes
- ShapeMapsMaker → ShapeMapBaseVisitor → ShapeMapVisitor
-
def
visitTerminal(arg0: TerminalNode): Any
- Definition Classes
- AbstractParseTreeVisitor → ParseTreeVisitor
- def visitTriplePattern(ctx: TriplePatternContext): Builder[TriplePattern]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )