c

es.weso.shapemaps

NodeSelectorMaker

class NodeSelectorMaker extends NodeSelectorBaseVisitor[Any]

Visits the AST and builds the corresponding ShapeMaps classes

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

Instance Constructors

  1. new NodeSelectorMaker(base: Option[String], nodesPrefixMap: PrefixMap)

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]): Builder[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 NodeSelectorParser#blankNode.

    Visit a parse tree produced by NodeSelectorParser#blankNode.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorBaseVisitorNodeSelectorVisitor
    Annotations
    @Override()
  34. def visitBooleanLiteral(ctx: BooleanLiteralContext): Builder[Literal]

    Visit a parse tree produced by NodeSelectorParser#booleanLiteral.

    Visit a parse tree produced by NodeSelectorParser#booleanLiteral.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  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 NodeSelectorParser#datatype.

    Visit a parse tree produced by NodeSelectorParser#datatype.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorBaseVisitorNodeSelectorVisitor
    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 NodeSelectorParser#extended.

    Visit a parse tree produced by NodeSelectorParser#extended.

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

    ctx

    the parse tree

    returns

    the visitor result

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

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

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

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

    ctx

    the parse tree

    returns

    the visitor result

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

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

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

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorBaseVisitorNodeSelectorVisitor
    Annotations
    @Override()
  42. def visitInverse(ctx: InverseContext): Any

    Visit a parse tree produced by NodeSelectorParser#inverse.

    Visit a parse tree produced by NodeSelectorParser#inverse.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorBaseVisitorNodeSelectorVisitor
    Annotations
    @Override()
  43. def visitList[A, B](visitFn: (A) ⇒ Builder[B], ls: List[A]): Builder[List[B]]
  44. def visitLiteral(ctx: LiteralContext): Builder[Literal]

    Visit a parse tree produced by NodeSelectorParser#literal.

    Visit a parse tree produced by NodeSelectorParser#literal.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  45. def visitNegation(ctx: NegationContext): Any

    Visit a parse tree produced by NodeSelectorParser#negation.

    Visit a parse tree produced by NodeSelectorParser#negation.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorBaseVisitorNodeSelectorVisitor
    Annotations
    @Override()
  46. def visitNodeIri(ctx: NodeIriContext): Any

    Visit a parse tree produced by NodeSelectorParser#nodeIri.

    Visit a parse tree produced by NodeSelectorParser#nodeIri.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorBaseVisitorNodeSelectorVisitor
    Annotations
    @Override()
  47. def visitNodeSelector(ctx: NodeSelectorContext): Builder[NodeSelector]

    Visit a parse tree produced by NodeSelectorParser#nodeSelector.

    Visit a parse tree produced by NodeSelectorParser#nodeSelector.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  48. def visitNumericLiteral(ctx: NumericLiteralContext): Builder[Literal]

    Visit a parse tree produced by NodeSelectorParser#numericLiteral.

    Visit a parse tree produced by NodeSelectorParser#numericLiteral.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  49. def visitObjectTerm(ctx: ObjectTermContext): Builder[RDFNode]

    Visit a parse tree produced by NodeSelectorParser#objectTerm.

    Visit a parse tree produced by NodeSelectorParser#objectTerm.

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

    ctx

    the parse tree

    returns

    the visitor result

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

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

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

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorBaseVisitorNodeSelectorVisitor
    Annotations
    @Override()
  52. def visitPath(ctx: PathContext): Builder[SHACLPath]

    Visit a parse tree produced by NodeSelectorParser#path.

    Visit a parse tree produced by NodeSelectorParser#path.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  53. def visitPathAlternative(ctx: PathAlternativeContext): Builder[SHACLPath]

    Visit a parse tree produced by NodeSelectorParser#pathAlternative.

    Visit a parse tree produced by NodeSelectorParser#pathAlternative.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  54. def visitPathElt(ctx: PathEltContext): Builder[SHACLPath]

    Visit a parse tree produced by NodeSelectorParser#pathElt.

    Visit a parse tree produced by NodeSelectorParser#pathElt.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  55. def visitPathEltOrInverse(ctx: PathEltOrInverseContext): Builder[SHACLPath]

    Visit a parse tree produced by NodeSelectorParser#pathEltOrInverse.

    Visit a parse tree produced by NodeSelectorParser#pathEltOrInverse.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  56. def visitPathPrimary(ctx: PathPrimaryContext): Builder[SHACLPath]

    Visit a parse tree produced by NodeSelectorParser#pathPrimary.

    Visit a parse tree produced by NodeSelectorParser#pathPrimary.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  57. def visitPathSequence(ctx: PathSequenceContext): Builder[SHACLPath]

    Visit a parse tree produced by NodeSelectorParser#pathSequence.

    Visit a parse tree produced by NodeSelectorParser#pathSequence.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  58. def visitPlus(ctx: PlusContext): Any

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

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

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorBaseVisitorNodeSelectorVisitor
    Annotations
    @Override()
  59. def visitPredicate(ctx: PredicateContext): Any

    Visit a parse tree produced by NodeSelectorParser#predicate.

    Visit a parse tree produced by NodeSelectorParser#predicate.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorBaseVisitorNodeSelectorVisitor
    Annotations
    @Override()
  60. def visitPrefixedName(ctx: PrefixedNameContext): Builder[String]

    Visit a parse tree produced by NodeSelectorParser#prefixedName.

    Visit a parse tree produced by NodeSelectorParser#prefixedName.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  61. def visitQuestionMark(ctx: QuestionMarkContext): Any

    Visit a parse tree produced by NodeSelectorParser#questionMark.

    Visit a parse tree produced by NodeSelectorParser#questionMark.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorBaseVisitorNodeSelectorVisitor
    Annotations
    @Override()
  62. def visitRdfLiteral(ctx: RdfLiteralContext): Builder[Literal]

    Visit a parse tree produced by NodeSelectorParser#rdfLiteral.

    Visit a parse tree produced by NodeSelectorParser#rdfLiteral.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  63. def visitRdfType(ctx: RdfTypeContext): Any

    Visit a parse tree produced by NodeSelectorParser#rdfType.

    Visit a parse tree produced by NodeSelectorParser#rdfType.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorBaseVisitorNodeSelectorVisitor
    Annotations
    @Override()
  64. def visitShapeIri(ctx: ShapeIriContext): Any

    Visit a parse tree produced by NodeSelectorParser#shapeIri.

    Visit a parse tree produced by NodeSelectorParser#shapeIri.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorBaseVisitorNodeSelectorVisitor
    Annotations
    @Override()
  65. def visitStar(ctx: StarContext): Any

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

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

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorBaseVisitorNodeSelectorVisitor
    Annotations
    @Override()
  66. def visitString(ctx: StringContext): Builder[String]

    Visit a parse tree produced by NodeSelectorParser#string.

    Visit a parse tree produced by NodeSelectorParser#string.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  67. def visitSubjectTerm(ctx: SubjectTermContext): Builder[RDFNode]

    Visit a parse tree produced by NodeSelectorParser#subjectTerm.

    Visit a parse tree produced by NodeSelectorParser#subjectTerm.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    NodeSelectorMakerNodeSelectorBaseVisitorNodeSelectorVisitor
  68. def visitTerminal(arg0: TerminalNode): Any
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  69. def visitTriplePattern(ctx: TriplePatternContext): Builder[TriplePattern]
  70. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  72. 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 NodeSelectorBaseVisitor[Any]

Inherited from NodeSelectorVisitor[Any]

Inherited from AbstractParseTreeVisitor[Any]

Inherited from ParseTreeVisitor[Any]

Inherited from AnyRef

Inherited from Any

Ungrouped