KJS::Lookup

Search for usage in LXR

KJS::Lookup Class Reference

#include <lookup.h>

Static Public Member Functions

static int find (const struct HashTable *table, const Identifier &s)
 
static int find (const struct HashTable *table, const UChar *c, unsigned int len)
 
static const HashEntryfindEntry (const struct HashTable *table, const Identifier &s)
 

Detailed Description

Fast keyword lookup.

Definition at line 99 of file lookup.h.

Member Function Documentation

◆ find()

int Lookup::find ( const struct HashTable table,
const Identifier s 
)
static

Find an entry in the table, and return its value (i.e.

the value field of HashEntry)

Definition at line 89 of file lookup.cpp.

◆ findEntry()

const HashEntry * Lookup::findEntry ( const struct HashTable table,
const Identifier s 
)
static

Find an entry in the table, and return the entry This variant gives access to the other attributes of the entry, especially the attr field.

Definition at line 72 of file lookup.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 03:51:05 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.