RAMEN Core
    Preparing search index...

    Class ModelRef

    Creates and parses references between RMF model elements.

    Index
    • Reports whether a reference contains both a model and element identifier.

      Parameters

      • ref: string

      Returns boolean

    • Returns the local element identifier from a local or qualified reference.

      Parameters

      • ref: string

      Returns string

    • Matches a local declaration through either its local ID or its qualified reference.

      Parameters

      • reference: string
      • modelId: string
      • elementId: string

      Returns boolean

    • Creates a qualified reference from model and element identifiers.

      Parameters

      • baseId: string
      • nodeId: string

      Returns string

    • Splits a qualified reference or throws when its syntax is invalid.

      Parameters

      • ref: string

      Returns QualifiedParts