CharacterMapBuilder

CharacterMapBuilder

Builder for building a character map.

Constructor

new CharacterMapBuilder()

Description:
  • Creates a new character map builder.

Source:

Members

map :Object.<string, number>

Description:
  • Mapping of characters to character codes.

Source:

Mapping of characters to character codes.

Type:
  • Object.<string, number>

Methods

addRange(start, end, base)

Description:
  • Adds a range mapping to the map.

Source:
Parameters:
Name Type Description
start string

Start character.

end string

End character.

base number

Value corresponding to the start character.