LexerTables.lookupString

Looks up a string in the table.

  1. StringValue* lookupString(cstring str, char postfix, bool dup = true)
  2. cbinstr lookupString(hash_t hash, cstring str, bool dup = true)
    class LexerTables
    cbinstr
    lookupString
    (
    hash_t hash
    ,,
    bool dup = true
    )

Parameters

hash
Type: hash_t

The hash of str.

str
Type: cstring

The string to be looked up.

dup
Type: bool

True if str should be copied.

Return Value

Type: cbinstr

A stored or new string.

Meta