c

amf.aml.internal.parse.dialects

DialectsParser

class DialectsParser extends BaseSpecParser with DeclarationKeyCollector

Linear Supertypes
DeclarationKeyCollector, BaseSpecParser, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DialectsParser
  2. DeclarationKeyCollector
  3. BaseSpecParser
  4. AnyRef
  5. 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 DialectsParser(root: Root)(implicit ctx: DialectContext)

Type Members

  1. type ConcatenatedNames = String
  2. type Member = NodeMapping
  3. type NodeMappable = client.scala.model.domain.NodeMappable[_ <: NodeMappableModel]

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 DialectsParser to any2stringadd[DialectsParser] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DialectsParser, B)
    Implicit
    This member is added by an implicit conversion from DialectsParser to ArrowAssoc[DialectsParser] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def addDeclarationKey(key: DeclarationKey): Unit
    Definition Classes
    DeclarationKeyCollector
  7. def addDeclarationsToModel(model: DeclaresModel, declares: Seq[DomainElement]): Unit
    Attributes
    protected
    Definition Classes
    DeclarationKeyCollector
  8. def addDeclarationsToModel(model: DeclaresModel)(implicit ctx: DeclarationContext): Unit
    Attributes
    protected
    Definition Classes
    DeclarationKeyCollector
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def checkAmbiguity[T <: DomainElement](union: NodeWithDiscriminator[_]): Unit

    Ambiguity kinds:

    Ambiguity kinds:

    • Un-avoidable: cannot distinguish between two union members
    • Eventual: some times cannot distinguish between two union members, depending on the value of the dialect instance

    Conditions for un-avoidable ambiguity:

    • Set of property names is exactly the same between two union members

    Conditions for eventual ambiguity:

    • Set of MANDATORY property names is exactly the same between two union members
    T

    type of union: union node mapping or union property mapping

    union

    Union to calculate ambiguity over its members

  11. def checkAnyNodeMappableReferences(mappable: AnyMapping): Unit
    Attributes
    protected
  12. def checkNodeMappableReferences[T <: DomainElement](mappable: NodeWithDiscriminator[_]): Unit

    This method:

    This method:

    1. replaces union & discriminator members references to other node mappings from their name to their id 2. validates union & discriminator members exist 3. checks for ambiguity
    Attributes
    protected
  13. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  14. implicit val ctx: DialectContext
    Definition Classes
    DialectsParser → BaseSpecParser
  15. val dialect: Dialect
  16. def ensuring(cond: (DialectsParser) ⇒ Boolean, msg: ⇒ Any): DialectsParser
    Implicit
    This member is added by an implicit conversion from DialectsParser to Ensuring[DialectsParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: (DialectsParser) ⇒ Boolean): DialectsParser
    Implicit
    This member is added by an implicit conversion from DialectsParser to Ensuring[DialectsParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean, msg: ⇒ Any): DialectsParser
    Implicit
    This member is added by an implicit conversion from DialectsParser to Ensuring[DialectsParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean): DialectsParser
    Implicit
    This member is added by an implicit conversion from DialectsParser to Ensuring[DialectsParser] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  22. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DialectsParser to StringFormat[DialectsParser] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. val map: YMap
  27. def membersFrom(union: NodeWithDiscriminator[_]): Seq[NodeMappable]
    Attributes
    protected
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def parseAnnotationMappingDeclarations(map: YMap, parent: String): Unit
  32. def parseDeclarations(baseIri: String, map: YMap): Unit
    Attributes
    protected
  33. def parseDocument(): BaseUnit
  34. def parseFragment(): BaseUnit
  35. def parseLibrary(): BaseUnit
  36. def parseNodeMapping(entry: YMapEntry, adopt: (DomainElement) ⇒ Any, fragment: Boolean = false): Option[NodeMappable]
  37. def parseSemanticExtensions(map: YMap): Unit
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toFragment(dialect: Dialect): DialectFragment
    Attributes
    protected
  40. def toLibrary(dialect: Dialect): DialectLibrary
    Attributes
    protected
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def updateMapLabelReferences(propertyMapping: PropertyMapping, range: NodeMapping): Unit
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  45. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def [B](y: B): (DialectsParser, B)
    Implicit
    This member is added by an implicit conversion from DialectsParser to ArrowAssoc[DialectsParser] 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 DeclarationKeyCollector

Inherited from BaseSpecParser

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped