Packages

c

es.weso.shapepath.compact

ShapePathMaker

class ShapePathMaker extends ShapePathDocBaseVisitor[Any]

Visits the AST and builds the corresponding abstract syntax

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

Instance Constructors

  1. new ShapePathMaker()

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 visitAnyKindTest(ctx: AnyKindTestContext): Builder[NodeTest]

    Visit a parse tree produced by ShapePathDocParser#anyKindTest.

    Visit a parse tree produced by ShapePathDocParser#anyKindTest.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  27. def visitAxisStep(ctx: AxisStepContext): Builder[Step]

    Visit a parse tree produced by ShapePathDocParser#axisStep.

    Visit a parse tree produced by ShapePathDocParser#axisStep.

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

    ctx

    the parse tree

    returns

    the visitor result

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

    Visit a parse tree produced by ShapePathDocParser#blankNode.

    Visit a parse tree produced by ShapePathDocParser#blankNode.

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

    ctx

    the parse tree

    returns

    the visitor result

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

    Visit a parse tree produced by ShapePathDocParser#blankNodeLabel.

    Visit a parse tree produced by ShapePathDocParser#blankNodeLabel.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  30. def visitChild(ctx: ChildContext): Any

    Visit a parse tree produced by the child labeled alternative in ShapePathDocParser#forwardAxis.

    Visit a parse tree produced by the child labeled alternative in ShapePathDocParser#forwardAxis.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  31. def visitChildren(arg0: RuleNode): Any
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  32. def visitContextItemExpr(ctx: ContextItemExprContext): Any

    Visit a parse tree produced by ShapePathDocParser#contextItemExpr.

    Visit a parse tree produced by ShapePathDocParser#contextItemExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  33. def visitDescendant(ctx: DescendantContext): Any

    Visit a parse tree produced by the descendant labeled alternative in ShapePathDocParser#forwardAxis.

    Visit a parse tree produced by the descendant labeled alternative in ShapePathDocParser#forwardAxis.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  34. def visitEqName(ctx: EqNameContext): Builder[NodeTest]

    Visit a parse tree produced by ShapePathDocParser#eqName.

    Visit a parse tree produced by ShapePathDocParser#eqName.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  35. def visitErrorNode(arg0: ErrorNode): Any
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  36. def visitExpr(ctx: ExprContext): Builder[ShapePath]

    Visit a parse tree produced by ShapePathDocParser#expr.

    Visit a parse tree produced by ShapePathDocParser#expr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  37. def visitExprIndex(ctx: ExprIndexContext): Any

    Visit a parse tree produced by ShapePathDocParser#exprIndex.

    Visit a parse tree produced by ShapePathDocParser#exprIndex.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  38. def visitFirstStepExpr(ctx: FirstStepExprContext): Builder[ShapePath]

    Visit a parse tree produced by ShapePathDocParser#firstStepExpr.

    Visit a parse tree produced by ShapePathDocParser#firstStepExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  39. def visitForwardAxis(ctx: ForwardAxisContext): Builder[Axis]
  40. def visitForwardStep(ctx: ForwardStepContext): Builder[Step]

    Visit a parse tree produced by ShapePathDocParser#forwardStep.

    Visit a parse tree produced by ShapePathDocParser#forwardStep.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  41. def visitIntersectionExpr(ctx: IntersectionExprContext): Builder[ShapePath]

    Visit a parse tree produced by ShapePathDocParser#intersectionExpr.

    Visit a parse tree produced by ShapePathDocParser#intersectionExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  42. def visitIri(ctx: IriContext): Builder[IRI]

    Visit a parse tree produced by ShapePathDocParser#iri.

    Visit a parse tree produced by ShapePathDocParser#iri.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  43. def visitKindTest(ctx: KindTestContext): Builder[NodeTest]

    Visit a parse tree produced by ShapePathDocParser#kindTest.

    Visit a parse tree produced by ShapePathDocParser#kindTest.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  44. def visitList[A, B](visitFn: (A) ⇒ Builder[B], ls: List[A]): Builder[List[B]]
  45. def visitLiteral(ctx: LiteralContext): Any

    Visit a parse tree produced by ShapePathDocParser#literal.

    Visit a parse tree produced by ShapePathDocParser#literal.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  46. def visitNameTest(ctx: NameTestContext): Builder[NodeTest]

    Visit a parse tree produced by ShapePathDocParser#nameTest.

    Visit a parse tree produced by ShapePathDocParser#nameTest.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  47. def visitNestedShapeExpr(ctx: NestedShapeExprContext): Any

    Visit a parse tree produced by the nestedShapeExpr labeled alternative in ShapePathDocParser#forwardAxis.

    Visit a parse tree produced by the nestedShapeExpr labeled alternative in ShapePathDocParser#forwardAxis.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  48. def visitNestedTripleExpr(ctx: NestedTripleExprContext): Any

    Visit a parse tree produced by the nestedTripleExpr labeled alternative in ShapePathDocParser#forwardAxis.

    Visit a parse tree produced by the nestedTripleExpr labeled alternative in ShapePathDocParser#forwardAxis.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  49. def visitNodeTest(ctx: NodeTestContext): Builder[NodeTest]

    Visit a parse tree produced by ShapePathDocParser#nodeTest.

    Visit a parse tree produced by ShapePathDocParser#nodeTest.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  50. def visitNumericLiteral(ctx: NumericLiteralContext): Any

    Visit a parse tree produced by ShapePathDocParser#numericLiteral.

    Visit a parse tree produced by ShapePathDocParser#numericLiteral.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  51. def visitOpt[A, B](visitFn: (A) ⇒ Builder[B], v: A): Builder[Option[B]]
  52. def visitParenthesizedExpr(ctx: ParenthesizedExprContext): Any

    Visit a parse tree produced by ShapePathDocParser#parenthesizedExpr.

    Visit a parse tree produced by ShapePathDocParser#parenthesizedExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  53. def visitPathExpr(ctx: PathExprContext): Builder[ShapePath]

    Visit a parse tree produced by ShapePathDocParser#pathExpr.

    Visit a parse tree produced by ShapePathDocParser#pathExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  54. def visitPostfixExpr(ctx: PostfixExprContext): Any

    Visit a parse tree produced by ShapePathDocParser#postfixExpr.

    Visit a parse tree produced by ShapePathDocParser#postfixExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  55. def visitPredicate(ctx: PredicateContext): Builder[Predicate]

    Visit a parse tree produced by ShapePathDocParser#predicate.

    Visit a parse tree produced by ShapePathDocParser#predicate.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  56. def visitPredicateList(ctx: PredicateListContext): Builder[List[Predicate]]

    Visit a parse tree produced by ShapePathDocParser#predicateList.

    Visit a parse tree produced by ShapePathDocParser#predicateList.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  57. def visitPrefixedName(ctx: PrefixedNameContext): Builder[String]

    Visit a parse tree produced by ShapePathDocParser#prefixedName.

    Visit a parse tree produced by ShapePathDocParser#prefixedName.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  58. def visitPrimaryExpr(ctx: PrimaryExprContext): Any

    Visit a parse tree produced by ShapePathDocParser#primaryExpr.

    Visit a parse tree produced by ShapePathDocParser#primaryExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  59. def visitRegExpTest(ctx: RegExpTestContext): Builder[NodeTest]

    Visit a parse tree produced by ShapePathDocParser#regExpTest.

    Visit a parse tree produced by ShapePathDocParser#regExpTest.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  60. def visitShapeExprIndex(ctx: ShapeExprIndexContext): Any

    Visit a parse tree produced by ShapePathDocParser#shapeExprIndex.

    Visit a parse tree produced by ShapePathDocParser#shapeExprIndex.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  61. def visitShapeExprLabel(ctx: ShapeExprLabelContext): Builder[ShapeLabel]

    Visit a parse tree produced by ShapePathDocParser#shapeExprLabel.

    Visit a parse tree produced by ShapePathDocParser#shapeExprLabel.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  62. def visitShapeExprType(ctx: ShapeExprTypeContext): Any

    Visit a parse tree produced by ShapePathDocParser#shapeExprType.

    Visit a parse tree produced by ShapePathDocParser#shapeExprType.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  63. def visitShapePathDoc(ctx: ShapePathDocContext): Builder[ShapePath]

    Visit a parse tree produced by ShapePathDocParser#shapePathDoc.

    Visit a parse tree produced by ShapePathDocParser#shapePathDoc.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  64. def visitShapeType(ctx: ShapeTypeContext): Builder[ShapeNodeType]

    Visit a parse tree produced by ShapePathDocParser#shapeType.

    Visit a parse tree produced by ShapePathDocParser#shapeType.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  65. def visitStepExpr(ctx: StepExprContext): Builder[Step]

    Visit a parse tree produced by ShapePathDocParser#stepExpr.

    Visit a parse tree produced by ShapePathDocParser#stepExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  66. def visitStringLiteral(ctx: StringLiteralContext): Builder[String]

    Visit a parse tree produced by ShapePathDocParser#stringLiteral.

    Visit a parse tree produced by ShapePathDocParser#stringLiteral.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  67. def visitTerminal(arg0: TerminalNode): Any
    Definition Classes
    AbstractParseTreeVisitor → ParseTreeVisitor
  68. def visitTripleExprIndex(ctx: TripleExprIndexContext): Any

    Visit a parse tree produced by ShapePathDocParser#tripleExprIndex.

    Visit a parse tree produced by ShapePathDocParser#tripleExprIndex.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  69. def visitTripleExprLabel(ctx: TripleExprLabelContext): Builder[(ShapeLabel, Option[Int])]

    Visit a parse tree produced by ShapePathDocParser#tripleExprLabel.

    Visit a parse tree produced by ShapePathDocParser#tripleExprLabel.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  70. def visitTripleExprType(ctx: TripleExprTypeContext): Any

    Visit a parse tree produced by ShapePathDocParser#tripleExprType.

    Visit a parse tree produced by ShapePathDocParser#tripleExprType.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathDocBaseVisitorShapePathDocVisitor
    Annotations
    @Override()
  71. def visitUnionExpr(ctx: UnionExprContext): Builder[ShapePath]

    Visit a parse tree produced by ShapePathDocParser#unionExpr.

    Visit a parse tree produced by ShapePathDocParser#unionExpr.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  72. def visitWildCard(ctx: WildCardContext): Builder[NodeTest]

    Visit a parse tree produced by ShapePathDocParser#wildCard.

    Visit a parse tree produced by ShapePathDocParser#wildCard.

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

    ctx

    the parse tree

    returns

    the visitor result

    Definition Classes
    ShapePathMakerShapePathDocBaseVisitorShapePathDocVisitor
  73. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  75. 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 ShapePathDocBaseVisitor[Any]

Inherited from ShapePathDocVisitor[Any]

Inherited from AbstractParseTreeVisitor[Any]

Inherited from ParseTreeVisitor[Any]

Inherited from AnyRef

Inherited from Any

Ungrouped