Packages

c

es.weso.shapepath.schemamappings

SchemaMappingsMaker

class SchemaMappingsMaker extends SchemaMappingsDocBaseVisitor[Any]

Visits the AST and builds the corresponding abstract syntax

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

Instance Constructors

  1. new SchemaMappingsMaker()

Type Members

  1. type Directive = Either[(Prefix, IRI), Either[IRI, IRI]]

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. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. def defaultResult(): Any
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def extractIRIfromIRIREF(d: String, base: Option[IRI]): Builder[IRI]
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def getInteger(str: String): Builder[Int]
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def isDefined[A](x: A): Boolean
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def removeUnderscore(str: String): String
  20. def resolve(prefixedName: String): Builder[IRI]
  21. def shouldVisitNextChild(arg0: RuleNode, arg1: Any): Boolean
    Attributes
    protected[tree]
    Definition Classes
    AbstractParseTreeVisitor
  22. def splitPrefix(str: String): (String, String)
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def visit(arg0: ParseTree): Any
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  26. def visitAbsolutePathExpr(ctx: AbsolutePathExprContext): Builder[List[Step]]

    Visit a parse tree produced by SchemaMappingsDocParser#absolutePathExpr.

    Visit a parse tree produced by SchemaMappingsDocParser#absolutePathExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  27. def visitBaseDecl(ctx: BaseDeclContext): Builder[IRI]

    Visit a parse tree produced by SchemaMappingsDocParser#baseDecl.

    Visit a parse tree produced by SchemaMappingsDocParser#baseDecl.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  28. def visitBlankNode(ctx: BlankNodeContext): Builder[BNode]

    Visit a parse tree produced by SchemaMappingsDocParser#blankNode.

    Visit a parse tree produced by SchemaMappingsDocParser#blankNode.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  29. def visitBlankNodeLabel(ctx: BlankNodeLabelContext): Builder[BNodeLabel]

    Visit a parse tree produced by SchemaMappingsDocParser#blankNodeLabel.

    Visit a parse tree produced by SchemaMappingsDocParser#blankNodeLabel.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  30. def visitBooleanLiteral(ctx: BooleanLiteralContext): Any

    Visit a parse tree produced by SchemaMappingsDocParser#booleanLiteral.

    Visit a parse tree produced by SchemaMappingsDocParser#booleanLiteral.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
    Annotations
    @Override()
  31. def visitChildren(arg0: RuleNode): Any
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  32. def visitContextStep(ctx: ContextStepContext): Any

    Visit a parse tree produced by the contextStep labeled alternative in SchemaMappingsDocParser#stepExpr.

    Visit a parse tree produced by the contextStep labeled alternative in SchemaMappingsDocParser#stepExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
    Annotations
    @Override()
  33. def visitContextTest(ctx: ContextTestContext): Builder[ContextType]

    Visit a parse tree produced by SchemaMappingsDocParser#contextTest.

    Visit a parse tree produced by SchemaMappingsDocParser#contextTest.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  34. def visitDatatype(ctx: DatatypeContext): Any

    Visit a parse tree produced by SchemaMappingsDocParser#datatype.

    Visit a parse tree produced by SchemaMappingsDocParser#datatype.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
    Annotations
    @Override()
  35. def visitDirective(ctx: DirectiveContext): Builder[Directive]

    Visit a parse tree produced by SchemaMappingsDocParser#directive.

    Visit a parse tree produced by SchemaMappingsDocParser#directive.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  36. def visitErrorNode(arg0: ErrorNode): Any
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  37. def visitExprIndex(ctx: ExprIndexContext): Builder[ExprIndex]

    Visit a parse tree produced by SchemaMappingsDocParser#exprIndex.

    Visit a parse tree produced by SchemaMappingsDocParser#exprIndex.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  38. def visitExprIndexStep(ctx: ExprIndexStepContext): Any

    Visit a parse tree produced by the exprIndexStep labeled alternative in SchemaMappingsDocParser#stepExpr.

    Visit a parse tree produced by the exprIndexStep labeled alternative in SchemaMappingsDocParser#stepExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
    Annotations
    @Override()
  39. def visitImportDecl(ctx: ImportDeclContext): Builder[IRI]

    Visit a parse tree produced by SchemaMappingsDocParser#importDecl.

    Visit a parse tree produced by SchemaMappingsDocParser#importDecl.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  40. def visitIri(ctx: IriContext): Builder[IRI]

    Visit a parse tree produced by SchemaMappingsDocParser#iri.

    Visit a parse tree produced by SchemaMappingsDocParser#iri.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  41. def visitList[A, B](visitFn: (A) ⇒ Builder[B], ls: List[A]): Builder[List[B]]
  42. def visitMapping(ctx: MappingContext): Builder[SchemaMapping]

    Visit a parse tree produced by SchemaMappingsDocParser#mapping.

    Visit a parse tree produced by SchemaMappingsDocParser#mapping.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  43. def visitMappings(ctx: MappingsContext): Builder[List[SchemaMapping]]

    Visit a parse tree produced by SchemaMappingsDocParser#mappings.

    Visit a parse tree produced by SchemaMappingsDocParser#mappings.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  44. def visitNumericLiteral(ctx: NumericLiteralContext): Any

    Visit a parse tree produced by SchemaMappingsDocParser#numericLiteral.

    Visit a parse tree produced by SchemaMappingsDocParser#numericLiteral.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
    Annotations
    @Override()
  45. def visitOpt[A, B](visitFn: (A) ⇒ Builder[B], v: A): Builder[Option[B]]
  46. def visitPredicate(ctx: PredicateContext): Any

    Visit a parse tree produced by SchemaMappingsDocParser#predicate.

    Visit a parse tree produced by SchemaMappingsDocParser#predicate.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
    Annotations
    @Override()
  47. def visitPrefixDecl(ctx: PrefixDeclContext): Builder[(Prefix, IRI)]

    Visit a parse tree produced by SchemaMappingsDocParser#prefixDecl.

    Visit a parse tree produced by SchemaMappingsDocParser#prefixDecl.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  48. def visitPrefixedName(ctx: PrefixedNameContext): Builder[String]

    Visit a parse tree produced by SchemaMappingsDocParser#prefixedName.

    Visit a parse tree produced by SchemaMappingsDocParser#prefixedName.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  49. def visitRdfLiteral(ctx: RdfLiteralContext): Any

    Visit a parse tree produced by SchemaMappingsDocParser#rdfLiteral.

    Visit a parse tree produced by SchemaMappingsDocParser#rdfLiteral.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
    Annotations
    @Override()
  50. def visitRdfType(ctx: RdfTypeContext): Any

    Visit a parse tree produced by SchemaMappingsDocParser#rdfType.

    Visit a parse tree produced by SchemaMappingsDocParser#rdfType.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
    Annotations
    @Override()
  51. def visitRelativePathExpr(ctx: RelativePathExprContext): Builder[List[Step]]

    Visit a parse tree produced by SchemaMappingsDocParser#relativePathExpr.

    Visit a parse tree produced by SchemaMappingsDocParser#relativePathExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  52. def visitSchemaMappingsDoc(ctx: SchemaMappingsDocContext): Builder[SchemaMappings]

    Visit a parse tree produced by SchemaMappingsDocParser#schemaMappingsDoc.

    Visit a parse tree produced by SchemaMappingsDocParser#schemaMappingsDoc.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  53. def visitShapeExprContext(ctx: ShapeExprContextContext): Builder[ContextType]

    Visit a parse tree produced by SchemaMappingsDocParser#shapeExprContext.

    Visit a parse tree produced by SchemaMappingsDocParser#shapeExprContext.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  54. def visitShapeExprIndex(ctx: ShapeExprIndexContext): Builder[ShapeExprIndex]

    Visit a parse tree produced by SchemaMappingsDocParser#shapeExprIndex.

    Visit a parse tree produced by SchemaMappingsDocParser#shapeExprIndex.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  55. def visitShapeExprLabel(ctx: ShapeExprLabelContext): Builder[ShapeLabel]

    Visit a parse tree produced by SchemaMappingsDocParser#shapeExprLabel.

    Visit a parse tree produced by SchemaMappingsDocParser#shapeExprLabel.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  56. def visitShapePathExpr(ctx: ShapePathExprContext): Builder[ShapePath]

    Visit a parse tree produced by SchemaMappingsDocParser#shapePathExpr.

    Visit a parse tree produced by SchemaMappingsDocParser#shapePathExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  57. def visitStepExpr(ctx: StepExprContext): Builder[Step]
  58. def visitString(ctx: StringContext): Any

    Visit a parse tree produced by SchemaMappingsDocParser#string.

    Visit a parse tree produced by SchemaMappingsDocParser#string.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
    Annotations
    @Override()
  59. def visitTerminal(arg0: TerminalNode): Any
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  60. def visitTripleExprContext(ctx: TripleExprContextContext): Builder[ContextType]

    Visit a parse tree produced by SchemaMappingsDocParser#tripleExprContext.

    Visit a parse tree produced by SchemaMappingsDocParser#tripleExprContext.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  61. def visitTripleExprIndex(ctx: TripleExprIndexContext): Builder[TripleExprIndex]

    Visit a parse tree produced by SchemaMappingsDocParser#tripleExprIndex.

    Visit a parse tree produced by SchemaMappingsDocParser#tripleExprIndex.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  62. def visitTripleExprLabel(ctx: TripleExprLabelContext): Builder[(ShapeLabel, Option[Int])]

    Visit a parse tree produced by SchemaMappingsDocParser#tripleExprLabel.

    Visit a parse tree produced by SchemaMappingsDocParser#tripleExprLabel.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    SchemaMappingsMakerSchemaMappingsDocBaseVisitorSchemaMappingsDocVisitor
  63. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  64. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  65. 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 SchemaMappingsDocVisitor[Any]

Inherited from AbstractParseTreeVisitor[Any]

Inherited from ParseTreeVisitor[Any]

Inherited from AnyRef

Inherited from Any

Ungrouped