GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Static Public Member Functions | Static Private Member Functions | List of all members
octave_kw_hash Class Reference

#include "oct-gperf.h"

Static Public Member Functions

static const struct octave_kwin_word_set (const char *str, unsigned int len)

Static Private Member Functions

static unsigned int hash (const char *str, unsigned int len)

Detailed Description

Definition at line 116 of file oct-gperf.h.

Member Function Documentation

unsigned int octave_kw_hash::hash ( const char *  str,
unsigned int  len 

Definition at line 125 of file oct-gperf.h.

Referenced by in_word_set().

const struct octave_kw * octave_kw_hash::in_word_set ( const char *  str,
unsigned int  len 

Definition at line 275 of file oct-gperf.h.

References gperf_lookup, hash(), MIN_WORD_LENGTH, octave_kw::name, s, and octave::string::strcmp().

Referenced by octave::is_keyword().

The documentation for this class was generated from the following file: