c

es.weso.shapemaps

ShapeMapsMaker

class ShapeMapsMaker extends ShapeMapBaseVisitor[Any]

Visits the AST and builds the corresponding ShapeMaps classes

Source
ShapeMapsMaker.scala
Linear Supertypes
ShapeMapBaseVisitor[Any], ShapeMapVisitor[Any], AbstractParseTreeVisitor[Any], ParseTreeVisitor[Any], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShapeMapsMaker
  2. ShapeMapBaseVisitor
  3. ShapeMapVisitor
  4. AbstractParseTreeVisitor
  5. ParseTreeVisitor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ShapeMapsMaker(base: Option[IRI], nodesPrefixMap: PrefixMap, shapesPrefixMap: PrefixMap = PrefixMap.empty)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def aggregateResult(arg0: Any, arg1: Any): Any
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val baseIRI: IRI
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. def defaultResult(): Any
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def extractIRIfromIRIREF(d: String, base: Option[IRI]): IRI
  12. def getBase: Builder[Option[IRI]]
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def getDecimal(str: String): Builder[BigDecimal]
  15. def getDouble(str: String): Builder[Double]
  16. def getInteger(str: String): Builder[Int]
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def isDefined[A](x: A): Boolean
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def resolve(prefixedName: String, prefixMap: PrefixMap): Builder[IRI]
  24. def shouldVisitNextChild(arg0: RuleNode, arg1: Any): Boolean
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  25. def splitPrefix(str: String): (String, String)
  26. def stripStringLiteral1(s: String): String
  27. def stripStringLiteral2(s: String): String
  28. def stripStringLiteralLong1(s: String): String
  29. def stripStringLiteralLong2(s: String): String
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. def visit(arg0: ParseTree): Any
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  33. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  34. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  35. def visitChildren(arg0: RuleNode): Any
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  36. def visitDatatype(ctx: DatatypeContext, prefixMap: PrefixMap): Builder[IRI]
  37. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  38. def visitErrorNode(arg0: ErrorNode): Any
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  39. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  40. def visitFocusObject(ctx: FocusObjectContext): Any

    Visit a parse tree produced by the focusObject labeled alternative in ShapeMapParser#triplePattern.

    Visit a parse tree produced by the focusObject labeled alternative in ShapeMapParser#triplePattern.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  41. def visitFocusSubject(ctx: FocusSubjectContext): Any

    Visit a parse tree produced by the focusSubject labeled alternative in ShapeMapParser#triplePattern.

    Visit a parse tree produced by the focusSubject labeled alternative in ShapeMapParser#triplePattern.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  42. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  43. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  44. def visitList[A, B](visitFn: (A) ⇒ Builder[B], ls: List[A]): Builder[List[B]]
  45. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  46. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  47. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  48. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  49. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  50. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  51. def visitOpt[A, B](visitFn: (A) ⇒ Builder[B], v: A): Builder[Option[B]]
  52. def visitOptional(ctx: OptionalContext): Any

    Visit a parse tree produced by the optional labeled alternative in ShapeMapParser#pathMod.

    Visit a parse tree produced by the optional labeled alternative in ShapeMapParser#pathMod.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  53. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  54. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  55. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  56. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  57. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  58. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  59. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  60. def visitPlus(ctx: PlusContext): Any

    Visit a parse tree produced by the plus labeled alternative in ShapeMapParser#pathMod.

    Visit a parse tree produced by the plus labeled alternative in ShapeMapParser#pathMod.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  61. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  62. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  63. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  64. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  65. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  66. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  67. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  68. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  69. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  70. def visitStar(ctx: StarContext): Any

    Visit a parse tree produced by the star labeled alternative in ShapeMapParser#pathMod.

    Visit a parse tree produced by the star labeled alternative in ShapeMapParser#pathMod.

    The default implementation returns the result of calling #visitChildren on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapBaseVisitorShapeMapVisitor
    Annotations
    @Override()
  71. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  72. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  73. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  74. 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 on ctx.

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapeMapsMakerShapeMapBaseVisitorShapeMapVisitor
  75. def visitTerminal(arg0: TerminalNode): Any
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  76. def visitTriplePattern(ctx: TriplePatternContext): Builder[TriplePattern]
  77. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  79. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from ShapeMapBaseVisitor[Any]

Inherited from ShapeMapVisitor[Any]

Inherited from AbstractParseTreeVisitor[Any]

Inherited from ParseTreeVisitor[Any]

Inherited from AnyRef

Inherited from Any

Ungrouped