NDNts

    Class PatternAbstract

    Structure of a name.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get matchLengthRange(): [min: number, max: number]

      Determine minimum and maximum match length.

      Returns [min: number, max: number]

      This optimization is used in match for early rejection of input names that are either too short or too long.

    Methods

    • Parameters

      • state: BuildState

      Returns Iterable<BuildState>

    • Returns [min: number, max: number]

    • Determine whether a name matches the structure of this pattern.

      Parameters

      • name: Name

        Input name.

      Returns Iterable<pattern.Vars>

      • Iterable of extracted fields in possible interpretations.
    • Recognize part of the input name.

      Parameters

      • state: MatchState

      Returns Iterable<MatchState>

      Iterable of potential matches.

    • Build part of an output name.

      Parameters

      Returns Iterable<BuildState>

      Iterable of potential constructions.

    MMNEPVFCICPMFPCPTTAAATR