Class: IndividualHatMap
core/IndividualHatMap.IndividualHatMap
Implements
Constructors
constructor
• new IndividualHatMap(graph
)
Parameters
Name | Type |
---|---|
graph | Graph |
Defined in
core/IndividualHatMap.ts:20
Properties
deregisterFunctions
• Private
deregisterFunctions: () => void
[] = []
Defined in
core/IndividualHatMap.ts:14
documentTokenLists
• Private
documentTokenLists: Map
<string
, Token
[]>
Defined in
core/IndividualHatMap.ts:13
isExpired
• Private
isExpired: boolean
= false
Defined in
core/IndividualHatMap.ts:12
map
• Private
map: Object
= {}
Index signature
▪ [decoratedCharacter: string
]: Token
Defined in
core/IndividualHatMap.ts:16
Methods
addToken
▸ addToken(hatStyle
, character
, token
): void
Parameters
Name | Type |
---|---|
hatStyle | HatStyleName |
character | string |
token | Token |
Returns
void
Defined in
core/IndividualHatMap.ts:57
addTokenByKey
▸ Private
addTokenByKey(key
, token
): void
Parameters
Name | Type |
---|---|
key | string |
token | Token |
Returns
void
Defined in
core/IndividualHatMap.ts:52
checkExpired
▸ checkExpired(): void
Returns
void
Defined in
core/IndividualHatMap.ts:74
clear
▸ clear(): void
Returns
void
Defined in
core/IndividualHatMap.ts:68
clone
▸ clone(): IndividualHatMap
Returns
Defined in
core/IndividualHatMap.ts:37
dispose
▸ dispose(): void
Returns
void
Defined in
core/IndividualHatMap.ts:80
getDocumentTokenList
▸ Private
getDocumentTokenList(document
): Token
[]
Parameters
Name | Type |
---|---|
document | TextDocument |
Returns
Token
[]
Defined in
core/IndividualHatMap.ts:22
getEntries
▸ getEntries(): [string
, Token
][]
Returns
[string
, Token
][]
Implementation of
Defined in
core/IndividualHatMap.ts:47
getToken
▸ getToken(hatStyle
, character
): Token
Parameters
Name | Type |
---|---|
hatStyle | HatStyleName |
character | string |
Returns
Implementation of
Defined in
core/IndividualHatMap.ts:61