Namespace: Pronouns

.Grammar. Pronouns

Implements pronoun forms according to the following table:


Subjective

Objective
Possessive
Adjective
Absolute
Possessive
Reflexive/
Intensive
male he him his his himself
female she her her hers herself
neuter it it its its itself
Singular1p I me my mine myself
Singular2p you you your yours yourself
Plural1p we us our ours ourselves
Plural2p you you your yours yourselves
Plural3p they them their theirs themselves

FIXME The member functions should also work if passed a Person-type object, but that is currently unimplemented. They also don't do any sanity checking on the args.

Source:

Methods


<static> youHeSheIt(personOrGender)

Parameters:
Name Type Description
personOrGender *

the Person for whom we want to print a pronoun, or a string denoting the gender/tense/person of the pronoun.

Source:
Throws:

Nothing. (FIXME)

Returns:

the subjective pronoun for the given personOrGender.

Type
string

<static> youHimHerIt(personOrGender)

Parameters:
Name Type Description
personOrGender *

the Person for whom we want to print a pronoun, or a string denoting the gender/tense/person of the pronoun.

Source:
Throws:

Nothing. (FIXME)

Returns:

the objective pronoun for the given personOrGender.

Type
string

<static> yourHisHerIts(personOrGender)

Parameters:
Name Type Description
personOrGender *

the Person for whom we want to print a pronoun, or a string denoting the gender/tense/person of the pronoun.

Source:
Throws:

Nothing. (FIXME)

Returns:

the possessive adjective pronoun for the given personOrGender.

Type
string

<static> yoursHisHersIts(personOrGender)

Parameters:
Name Type Description
personOrGender *

the Person for whom we want to print a pronoun, or a string denoting the gender/tense/person of the pronoun.

Source:
Throws:

Nothing. (FIXME)

Returns:

the absolute possessive pronoun for the given personOrGender.

Type
string

<static> yourselfHimselfHerselfItself(personOrGender)

Parameters:
Name Type Description
personOrGender *

the Person for whom we want to print a pronoun, or a string denoting the gender/tense/person of the pronoun.

Source:
Throws:

Nothing. (FIXME)

Returns:

the reflexive/intensive pronoun for the given personOrGender.

Type
string