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() @IntrinsicCandidate()
  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() @IntrinsicCandidate()
  44. def getInheritedDeclarations: Option[ShapeDeclarations]
  45. def getJsonSchemaRefGuide: JsonSchemaRefGuide
  46. def getLocalJsonSchemaContext: Option[YNode]
  47. def getMaxYamlJsonDepth: Option[Int]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  48. def getMaxYamlReferences: Option[Int]
    Definition Classes
    ExtensionsContext → DataNodeParserContext
  49. def getSchemaVersionFromString(text: String): Option[JSONSchemaVersion]
    Definition Classes
    JsonSchemaInference
  50. def getSemanticContext: Option[SemanticContext]
  51. var globalSpace: Map[String, Any]
    Definition Classes
    ParserContext
  52. def handle(location: SourceLocation, e: SyamlException): Unit
    Definition Classes
    ShapeParserContext → ParseErrorHandler
  53. def handle[T](error: YError, defaultValue: T): T
    Definition Classes
    ShapeParserContext → IllegalTypeHandler
  54. def ignoreCriteria: IgnoreCriteria
  55. var indexCache: Map[String, AstIndex]
  56. def isAsyncContext: Boolean
  57. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  58. def isMainFileContext: Boolean
  59. def isOas2Context: Boolean
  60. def isOas2Syntax: Boolean
  61. def isOas3Context: Boolean
  62. def isOas3Syntax: Boolean
  63. def isOasLikeContext: Boolean
  64. def isRamlContext: Boolean
  65. var jsonSchemaRefGuide: JsonSchemaRefGuide
    Attributes
    protected
  66. def libraries: Map[String, Declarations]
  67. def link(node: YNode): Either[String, YNode]
  68. def linkTypes: Boolean
  69. val loc: String
    Definition Classes
    ExtensionsContext
  70. def makeJsonSchemaContextForParsing(url: String, document: Root, options: ParsingOptions): ShapeParserContext
  71. def moveToReference(loc: String): ShapeParserContext.this.type
    Attributes
    protected
  72. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  73. val nodeRefIds: Map[YNode, String]
    Definition Classes
    ExtensionsContext
  74. def normalize(text: String): String
    Definition Classes
    JsonSchemaInference
  75. def normalizedJsonPointer(url: String): String
    Attributes
    protected
  76. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  77. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  78. def obtainRemoteYNode(ref: String): Option[YNode]
  79. val options: ParsingOptions
    Definition Classes
    ExtensionsContext
  80. def parseSchemaVersion(ast: YNode, errorHandler: AMFErrorHandler): SchemaVersion
    Definition Classes
    JsonSchemaInference
  81. def parsingOptions: ParsingOptions
    Definition Classes
    ParserContext
  82. def promoteExternalToDataTypeFragment(text: String, fullRef: String, shape: Shape): Unit
  83. def promotedFragments: Seq[Fragment]
  84. def ramlContextType: Option[RamlWebApiContextType]
  85. val refs: Seq[ParsedReference]
    Definition Classes
    ParserContext
  86. def registerExternalLib(url: String, content: Map[String, AnyShape]): Unit
  87. def registerExternalRef(external: (String, AnyShape)): Unit
  88. def registerJsonSchema(url: String, shape: AnyShape): Unit
  89. def removeLocalJsonSchemaContext: Unit
  90. val rootContextDocument: String
    Definition Classes
    ParserContext
  91. def setJsonSchemaAST(value: YNode): Unit
  92. def shapes: Map[String, Shape]
  93. def shouldParseExtensionsEverywhere: Boolean
  94. def spec: Spec
  95. def syamleh: SyamlAMFErrorHandler
  96. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  97. def syntax: SpecSyntax
  98. def toJsonSchema(root: String, refs: Seq[ParsedReference]): ShapeParserContext
  99. def toJsonSchema(): ShapeParserContext
  100. def toOas: ShapeParserContext
  101. def toRaml08: ShapeParserContext
  102. def toRaml10: ShapeParserContext
  103. def validateRefFormatWithError(ref: String): Boolean
  104. def violation(specification: ValidationSpecification, node: String, message: String, loc: SourceLocation): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext
  105. def violation(violationId: ValidationSpecification, node: AmfObject, message: String): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext
  106. def violation(violationId: ValidationSpecification, node: String, message: String): Unit
    Definition Classes
    ParserContext → ErrorHandlingContext
  107. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  108. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  109. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  110. def withSemanticContext(sc: Option[SemanticContext]): Unit
  111. 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

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