This package contains the other part of the script editor.
byte lookup(final Segment text, final int offset, final int length)
Looks up a key.
void add(final CharSequence keyword, final byte id)
Adds a key-value mapping.
KeywordMap(final boolean ignoreCase)
Creates a new instance.
void setId(final byte id)
Sets the id to return for this node.
A node in the tree that is used to store all key-value pairs.
final boolean ignoreCase
Whether case should be ignored when matching keys.
byte getId()
Returns the id for this node.
Maps (parts of) Segments to.
Node define(final char ch)
Looks up or defines the next node for a given character.
Node lookup(final char ch)
Looks up the next node for a given character.