c

amf.shapes.internal.spec.common.parser

ShapeParserContext

class ShapeParserContext extends ExtensionsContext with ErrorHandlingContext with JsonSchemaInference with ParseErrorHandler with IllegalTypeHandler

Linear Supertypes
IllegalTypeHandler, ParseErrorHandler, JsonSchemaInference, ExtensionsContext, DataNodeParserContext, ParserContext, Serializable, Serializable, Product, Equals, UnresolvedComponents, ErrorHandlingContext, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShapeParserContext
  2. IllegalTypeHandler
  3. ParseErrorHandler
  4. JsonSchemaInference
  5. ExtensionsContext
  6. DataNodeParserContext
  7. ParserContext
  8. Serializable
  9. Serializable
  10. Product
  11. Equals
  12. UnresolvedComponents
  13. ErrorHandlingContext
  14. AnyRef
  15. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ShapeParserContext(loc: String, refs: Seq[ParsedReference], options: ParsingOptions, wrapped: ParserContext, declarationsOption: Option[ShapeDeclarations] = None, nodeRefIds: Map[YNode, String] = mutable.Map.empty, settings: SpecSettings)

Type Members

  1. case class DefaultSemanticExtensionsFacadeBuilder(annotationSchemaValidatorBuilder: AnnotationSchemaValidatorBuilder) extends SemanticExtensionsFacadeBuilder with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ShapeParserContext to any2stringadd[ShapeParserContext] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ShapeParserContext, B)
    Implicit
    This member is added by an implicit conversion from ShapeParserContext to ArrowAssoc[ShapeParserContext] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def addDeclaredShape(shape: Shape): Unit
  7. def addNodeRefIds(ids: Map[YNode, String]): Unit
  8. def addPromotedFragments(fragments: Seq[Fragment]): Unit
  9. def addSonRef(ref: BaseUnit): ShapeParserContext.this.type
    Definition Classes
    ParserContext
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  12. def closedShape(node: AmfObject, ast: YMap, shape: String): Unit
  13. def computeExtensions: Map[String, Dialect]
    Attributes
    protected
    Definition Classes
    ExtensionsContext
  14. def computeJsonSchemaVersion(ast: YNode): SchemaVersion
  15. val config: ParseConfiguration
    Definition Classes
    ParserContext
  16. def copyForBase(unit: BaseUnit): ShapeParserContext
  17. def copyWithSonsReferences(): ParserContext
    Definition Classes
    ParserContext
  18. val declarations: ShapeDeclarations
    Definition Classes
    ExtensionsContext
  19. val declarationsOption: Option[ShapeDeclarations]
    Definition Classes
    ExtensionsContext
  20. val defaultSchemaVersion: SchemaVersion
  21. def eh: AMFErrorHandler
    Definition Classes
    ShapeParserContext → ParserContext → UnresolvedComponents → ErrorHandlingContext
  22. def ensuring(cond: (ShapeParserContext) ⇒ Boolean, msg: ⇒ Any): ShapeParserContext
    Implicit
    This member is added by an implicit conversion from ShapeParserContext to Ensuring[ShapeParserContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: (ShapeParserContext) ⇒ Boolean): ShapeParserContext
    Implicit
    This member is added by an implicit conversion from ShapeParserContext to Ensuring[ShapeParserContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: Boolean, msg: ⇒ Any): ShapeParserContext
    Implicit
    This member is added by an implicit conversion from ShapeParserContext to Ensuring[ShapeParserContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. def ensuring(cond: Boolean): ShapeParserContext
    Implicit
    This member is added by an implicit conversion from ShapeParserContext to Ensuring[ShapeParserContext] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def extensionsFacadeBuilder: SemanticExtensionsFacadeBuilder
  28. def findAnnotation(key: String, scope: Scope): Option[CustomDomainProperty]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  29. def findCachedJsonSchema(url: String): Option[AnyShape]
  30. def findDeclaredTypeInDocFragment(doc: String, name: String): Option[Shape]
  31. def findDocumentations(key: String, scope: Scope, error: Option[(String) ⇒ Unit] = None): Option[CreativeWork]
  32. def findExample(key: String, scope: Scope): Option[Example]
  33. def findInExternals(url: String): Option[AnyShape]
  34. def findInExternalsLibs(lib: String, name: String): Option[AnyShape]
  35. def findLocalJSONPath(path: String): Option[YMapEntryLike]
  36. def findNamedExample(key: String, error: Option[(String) ⇒ Unit] = None): Option[Example]
  37. def findNamedExampleOrError(ast: YPart)(key: String): Example
  38. def findType(key: String, scope: Scope, error: Option[(String) ⇒ Unit] = None): Option[AnyShape]
  39. def forLocation(newLocation: String): ParserContext
    Definition Classes
    ParserContext
  40. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ShapeParserContext to StringFormat[ShapeParserContext] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  41. def fragments: Map[String, FragmentRef]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  42. val futureDeclarations: FutureDeclarations
    Definition Classes
    ParserContext → UnresolvedComponents
  43. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  44. def getInheritedDeclarations: Option[ShapeDeclarations]
  45. def getJsonSchemaRefGuide: JsonSchemaRefGuide
  46. def getLocalJsonSchemaContext: Option[YNode]
  47. def getMaxYamlReferences: Option[Int]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  48. def getSemanticContext: Option[SemanticContext]
  49. var globalSpace: Map[String, Any]
    Definition Classes
    ParserContext
  50. def handle(location: SourceLocation, e: SyamlException): Unit
    Definition Classes
    ShapeParserContext → ParseErrorHandler
  51. def handle[T](error: YError, defaultValue: T): T
    Definition Classes
    ShapeParserContext → IllegalTypeHandler
  52. def ignoreCriteria: IgnoreCriteria
  53. var indexCache: Map[String, AstIndex]
  54. def isAsyncContext: Boolean
  55. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  56. def isMainFileContext: Boolean
  57. def isOas2Context: Boolean
  58. def isOas2Syntax: Boolean
  59. def isOas3Context: Boolean
  60. def isOas3Syntax: Boolean
  61. def isOasLikeContext: Boolean
  62. def isRamlContext: Boolean
  63. var jsonSchemaRefGuide: JsonSchemaRefGuide
    Attributes
    protected
  64. def libraries: Map[String, Declarations]
  65. def link(node: YNode): Either[String, YNode]
  66. def linkTypes: Boolean
  67. val loc: String
    Definition Classes
    ExtensionsContext
  68. def makeJsonSchemaContextForParsing(url: String, document: Root, options: ParsingOptions): ShapeParserContext
  69. def moveToReference(loc: String): ShapeParserContext.this.type
    Attributes
    protected
  70. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  71. val nodeRefIds: Map[YNode, String]
    Definition Classes
    ExtensionsContext
  72. def normalizedJsonPointer(url: String): String
    Attributes
    protected
  73. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  74. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  75. def obtainRemoteYNode(ref: String): Option[YNode]
  76. val options: ParsingOptions
    Definition Classes
    ExtensionsContext
  77. def parseSchemaVersion(ast: YNode, errorHandler: AMFErrorHandler): SchemaVersion
    Definition Classes
    JsonSchemaInference
  78. def parsingOptions: ParsingOptions
    Definition Classes
    ParserContext
  79. def promoteExternalToDataTypeFragment(text: String, fullRef: String, shape: Shape): Unit
  80. def promotedFragments: Seq[Fragment]
  81. def ramlContextType: Option[RamlWebApiContextType]
  82. val refs: Seq[ParsedReference]
    Definition Classes
    ParserContext
  83. def registerExternalLib(url: String, content: Map[String, AnyShape]): Unit
  84. def registerExternalRef(external: (String, AnyShape)): Unit
  85. def registerJsonSchema(url: String, shape: AnyShape): Unit
  86. def removeLocalJsonSchemaContext: Unit
  87. val rootContextDocument: String
    Definition Classes
    ParserContext
  88. def setJsonSchemaAST(value: YNode): Unit
  89. def shapes: Map[String, Shape]
  90. def spec: Spec
  91. def syamleh: SyamlAMFErrorHandler
  92. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  93. def syntax: SpecSyntax
  94. def toJsonSchema(root: String, refs: Seq[ParsedReference]): ShapeParserContext
  95. def toJsonSchema(): ShapeParserContext
  96. def toOas: ShapeParserContext
  97. def toRaml08: ShapeParserContext
  98. def toRaml10: ShapeParserContext
  99. def validateRefFormatWithError(ref: String): Boolean
  100. def violation(violationId: ValidationSpecification, node: AmfObject, message: String): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext
  101. def violation(violationId: ValidationSpecification, node: String, message: String): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext
  102. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  103. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  104. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  105. def withSemanticContext(sc: Option[SemanticContext]): Unit
  106. def [B](y: B): (ShapeParserContext, B)
    Implicit
    This member is added by an implicit conversion from ShapeParserContext to ArrowAssoc[ShapeParserContext] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from IllegalTypeHandler

Inherited from ParseErrorHandler

Inherited from JsonSchemaInference

Inherited from ExtensionsContext

Inherited from DataNodeParserContext

Inherited from ParserContext

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from UnresolvedComponents

Inherited from ErrorHandlingContext

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ShapeParserContext to any2stringadd[ShapeParserContext]

Inherited by implicit conversion StringFormat from ShapeParserContext to StringFormat[ShapeParserContext]

Inherited by implicit conversion Ensuring from ShapeParserContext to Ensuring[ShapeParserContext]

Inherited by implicit conversion ArrowAssoc from ShapeParserContext to ArrowAssoc[ShapeParserContext]

Ungrouped