class DialectsParser extends BaseSpecParser with DeclarationKeyCollector with AnnotationsParser

Linear Supertypes
AnnotationsParser, DeclarationKeyCollector, BaseSpecParser, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DialectsParser
  2. AnnotationsParser
  3. DeclarationKeyCollector
  4. BaseSpecParser
  5. AnyRef
  6. Any
  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

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 addDeclarationKey(key: DeclarationKey): Unit
    Definition Classes
    DeclarationKeyCollector
  5. def addDeclarationsToModel(model: DeclaresModel, declares: Seq[DomainElement]): Unit
    Attributes
    protected
    Definition Classes
    DeclarationKeyCollector
  6. def addDeclarationsToModel(model: DeclaresModel)(implicit ctx: DeclarationContext): Unit
    Attributes
    protected
    Definition Classes
    DeclarationKeyCollector
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def checkAmbiguity[T <: DomainElement](union: NodeWithDiscriminator[T]): 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

  9. def checkGuidUniqueContraint(propertyMapping: PropertyMapping, ast: YPart): Unit
  10. def checkNodeMappableReferences[T <: DomainElement](mappable: NodeWithDiscriminator[T]): 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
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. implicit val ctx: DialectContext
    Definition Classes
    DialectsParser → BaseSpecParser
  13. val dialect: Dialect
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val map: YMap
  21. def membersFrom[T <: DomainElement](union: NodeWithDiscriminator[T]): Seq[NodeMappable]
    Attributes
    protected
  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. def parseAnnotations(ast: YMap, node: DomainElement, declarations: VocabularyDeclarations)(implicit ctx: ParserContext): Any
    Attributes
    protected
    Definition Classes
    AnnotationsParser
  26. def parseDeclarations(root: Root, map: YMap): Unit
    Attributes
    protected
  27. def parseDocument(): BaseUnit
  28. def parseFragment(): BaseUnit
  29. def parseLibrary(): BaseUnit
  30. def parseNodeMapping(entry: YMapEntry, adopt: (DomainElement) ⇒ Any, fragment: Boolean = false): Option[NodeMappable]
  31. def parsePropertyMapping(entry: YMapEntry, adopt: (PropertyMapping) ⇒ Any, nodeId: String): PropertyMapping
  32. def parseSingleNodeMapping(map: YMap, adopt: (DomainElement) ⇒ Any, fragment: Boolean = false): Option[NodeMapping]
  33. def parseUnionNodeMapping(map: YMap, adopt: (DomainElement) ⇒ Any, fragment: Boolean = false): Option[UnionNodeMapping]
    Attributes
    protected
  34. def resolveNodeMappingLink(entry: YMapEntry, adopt: (DomainElement) ⇒ Any): Some[NodeMapping]
    Attributes
    protected
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toFragment(dialect: Dialect): DialectFragment
    Attributes
    protected
  37. def toLibrary(dialect: Dialect): DialectLibrary
    Attributes
    protected
  38. def toString(): String
    Definition Classes
    AnyRef → Any
  39. def updateMapLabelReferences(propertyMapping: PropertyMapping, range: NodeMapping): Unit
  40. def validateTemplate(template: String, map: YMap, propMappings: Seq[PropertyMapping]): Unit
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnnotationsParser

Inherited from DeclarationKeyCollector

Inherited from BaseSpecParser

Inherited from AnyRef

Inherited from Any

Ungrouped