LexerTables.lookupString

Looks up a StringValue in the table.

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

Parameters

str
Type: cstring

The string to be looked up.

dup
Type: bool

True if str should be copied.

Return Value

A stored or new StringValue.

Meta