Packages

c

amf.shapes.internal.spec

ShapeParserContext

abstract class ShapeParserContext extends ErrorHandlingContext with DataNodeParserContext with UnresolvedComponents

Linear Supertypes
UnresolvedComponents, DataNodeParserContext, ErrorHandlingContext, IllegalTypeHandler, ParseErrorHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShapeParserContext
  2. UnresolvedComponents
  3. DataNodeParserContext
  4. ErrorHandlingContext
  5. IllegalTypeHandler
  6. ParseErrorHandler
  7. AnyRef
  8. 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(eh: AMFErrorHandler)

Abstract Value Members

  1. abstract def addNodeRefIds(ids: Map[YNode, String]): Unit
  2. abstract def closedRamlTypeShape(shape: Shape, ast: YMap, shapeType: String, typeInfo: TypeInfo): Unit
  3. abstract def closedShape(node: String, ast: YMap, shape: String): Unit
  4. abstract def computeJsonSchemaVersion(ast: YNode): SchemaVersion
  5. abstract def findAnnotation(key: String, scope: Scope): Option[CustomDomainProperty]
    Definition Classes
    DataNodeParserContext
  6. abstract def findDocumentations(key: String, scope: Scope, error: Option[(String) ⇒ Unit] = None): Option[CreativeWork]
  7. abstract def findExample(key: String, scope: Scope): Option[Example]
  8. abstract def findJsonSchema(url: String): Option[AnyShape]
  9. abstract def findLocalJSONPath(path: String): Option[YMapEntryLike]
  10. abstract def findNamedExample(key: String, error: Option[(String) ⇒ Unit] = None): Option[Example]
  11. abstract def findNamedExampleOrError(ast: YPart)(key: String): Example
  12. abstract def findType(key: String, scope: Scope, error: Option[(String) ⇒ Unit] = None): Option[AnyShape]
  13. abstract def fragments: Map[String, FragmentRef]
    Definition Classes
    DataNodeParserContext
  14. abstract def futureDeclarations: FutureDeclarations
    Definition Classes
    ShapeParserContext → UnresolvedComponents
  15. abstract def getInheritedDeclarations: Option[Declarations]
  16. abstract def getMaxYamlReferences: Option[Int]
    Definition Classes
    DataNodeParserContext
  17. abstract def isAsyncContext: Boolean
  18. abstract def isMainFileContext: Boolean
  19. abstract def isOas2Context: Boolean
  20. abstract def isOas2Syntax: Boolean
  21. abstract def isOas3Context: Boolean
  22. abstract def isOas3Syntax: Boolean
  23. abstract def isOasLikeContext: Boolean
  24. abstract def isRamlContext: Boolean
  25. abstract def jsonSchemaRefGuide: JsonSchemaRefGuide
  26. abstract def libraries: Map[String, Declarations]
  27. abstract def link(node: YNode): Either[String, YNode]
  28. abstract def linkTypes: Boolean
  29. abstract def loc: String
  30. abstract def makeJsonSchemaContextForParsing(url: String, document: Root, options: ParsingOptions): ShapeParserContext
  31. abstract def nodeRefIds: Map[YNode, String]
  32. abstract def obtainRemoteYNode(ref: String, refAnnotations: Annotations = Annotations()): Option[YNode]
  33. abstract def parseRemoteJSONPath(ref: String): Option[AnyShape]
  34. abstract def promoteExternaltoDataTypeFragment(text: String, fullRef: String, shape: Shape): Shape
  35. abstract def raml08createContextFromRaml: ShapeParserContext
  36. abstract def raml10createContextFromRaml: ShapeParserContext
  37. abstract def ramlContextType: RamlWebApiContextType
  38. abstract def ramlExternalSchemaParserFactory: RamlExternalSchemaExpressionFactory
  39. abstract def refs: Seq[ParsedReference]
    Definition Classes
    DataNodeParserContext
  40. abstract def registerJsonSchema(url: String, shape: AnyShape): Unit
  41. abstract def rootContextDocument: String
  42. abstract def setJsonSchemaAST(value: YNode): Unit
  43. abstract def shapes: Map[String, Shape]
  44. abstract def spec: Spec
  45. abstract def syntax: SpecSyntax
  46. abstract def toOasNext: ShapeParserContext
  47. abstract def typeParser: (YMapEntry, (Shape) ⇒ Unit, Boolean, DefaultType) ⇒ RamlTypeParser
  48. abstract def validateRefFormatWithError(ref: String): Boolean
  49. abstract def violation(violationId: ValidationSpecification, node: String, message: String): Unit
    Definition Classes
    ErrorHandlingContext

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. implicit val eh: AMFErrorHandler
    Definition Classes
    ErrorHandlingContext
  9. 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
  10. 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
  11. 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
  12. 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
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. 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()
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def handle[T](error: YError, defaultValue: T): T
    Definition Classes
    ErrorHandlingContext → IllegalTypeHandler
  19. def handle(location: SourceLocation, e: SyamlException): Unit
    Definition Classes
    ErrorHandlingContext → ParseErrorHandler
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. 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

Inherited from UnresolvedComponents

Inherited from DataNodeParserContext

Inherited from ErrorHandlingContext

Inherited from IllegalTypeHandler

Inherited from ParseErrorHandler

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