class DialectsParser extends BaseSpecParser with AnnotationsParser

Linear Supertypes
AnnotationsParser, BaseSpecParser, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DialectsParser
  2. AnnotationsParser
  3. BaseSpecParser
  4. AnyRef
  5. 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. 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

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

Inherited from AnnotationsParser

Inherited from BaseSpecParser

Inherited from AnyRef

Inherited from Any

Ungrouped