Options
All
  • Public
  • Public/Protected
  • All
Menu

Handler for retrieving pronouns based on usage.

Hierarchy

  • PronounInfo

Constructors

constructor

Parameters

  • name: string

Returns PronounInfo

Properties

Protected Readonly _name

_name: string

Accessors

name

  • get name(): string

Name.

Returns string

objective

  • get objective(): string

Examples: "Her" "Him" "Them"

Returns string

plural

  • get plural(): boolean

Determines surrounding adverbs. Examples: Singular - "He was" Plural - "They were"

Returns boolean

possessiveDeterminer

  • get possessiveDeterminer(): string

Examples: "Her" "His" "Their"

Returns string

possessiveName

  • get possessiveName(): string

Examples: "Derek's" "Iris'"

Returns string

possessivePronoun

  • get possessivePronoun(): string

Examples: "Hers" "His" "Theirs"

Returns string

pronounDisplayName

  • get pronounDisplayName(): string

Examples: "She/Her" "They/Them"

Returns string

pronounsEnum

Gets Pronouns enum.

Returns Pronouns

reflexive

  • get reflexive(): string

Examples: "Herself" "Himself" "Themself"

Returns string

subjective

  • get subjective(): string

Examples: "She" "He" "They"

Returns string

Methods

Static getFromPronounsEnum

Get pronoun info object based on enum.

Parameters

  • name: string

    Name to refer user by.

  • pronouns: Pronouns

    Enum to use for returning info.

Returns PronounInfo

Static getFromRole

  • getFromRole(name: string, role: string): PronounInfo | null

Get pronoun info object based on role string.

Parameters

  • name: string

    Name to refer user by.

  • role: string

    Role to parse and check string for matching pronoun definitions.

Returns PronounInfo | null

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.