types

class TagEntry(shortTag, longTag)

A tag dictionary entry.

Constructor.

Arguments:
  • shortTag (string) – The short version of the tag.

  • longTag (string) – The long version of the tag.

TagEntry.TagEntry

Constructor.

TagEntry.longFormattedTag

type: string

The formatted long version of the tag.

TagEntry.longTag

type: string

The long version of the tag.

TagEntry.shortTag

type: string

The short version of the tag.

TagEntry.takesValue

type: boolean

Whether this tag takes a value.

class Mapping(mappingData)

A short-to-long mapping.

Constructor.

Arguments:
  • mappingData (Map.<string, TagEntry>) – A dictionary mapping forms to TagEntry instances.

Mapping.Mapping

Constructor.

Mapping.mappingData

type: Map.<string, TagEntry>

A dictionary mapping forms to TagEntry instances.