|  | reflex::Pattern::Const Struct Reference updated Thu Jun 19 2025 by Robert van Engelen |

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

Static Public Attributes | List of all members
reflex::Pattern::Const Struct Reference

Common constants. More...

`#include <pattern.h>`

## Static Public Attributes
static const Index | IMAX = 0xffffffff
| max index, also serves as a marker More...
static const Index | GMAX = 0xfeffff
| max goto index More...
static const Accept | AMAX = 0xfdffff
| max accept More...
static const Index | LMAX = 0xfaffff
| max lookahead index More...
static const Index | LONG = 0xfffe
| LONG marker for 64 bit opcodes, must be HALT-1. More...
static const Index | HALT = 0xffff
| HALT marker for GOTO opcodes, must be 16 bit max. More...
static const Hash | HASH = 0x2000
| size of the predict match array (16K bytes) More...
static const Hash | BTAP = 0x4000
| size of the bitap hashed character pairs array (16K bytes) More...
static const Bitap | BITS = 8
| number of bitap bits <= 8*sizeof(Bitap) >= PM_M, may change in a future update More...
static const Pred | PM_K = 3
| first predict-match step More...
static const Pred | PM_M = 8
| total predict-match length 3+5 of PM3+PM5 More...

## Detailed Description

Common constants.

## Member Data Documentation

const Accept reflex::Pattern::Const::AMAX = 0xfdffff
| static

max accept

const Bitap reflex::Pattern::Const::BITS = 8
| static

number of bitap bits <= 8*sizeof(Bitap) >= PM_M, may change in a future update

const Hash reflex::Pattern::Const::BTAP = 0x4000
| static

size of the bitap hashed character pairs array (16K bytes)

const Index reflex::Pattern::Const::GMAX = 0xfeffff
| static

max goto index

const Index reflex::Pattern::Const::HALT = 0xffff
| static

HALT marker for GOTO opcodes, must be 16 bit max.

const Hash reflex::Pattern::Const::HASH = 0x2000
| static

size of the predict match array (16K bytes)

const Index reflex::Pattern::Const::IMAX = 0xffffffff
| static

max index, also serves as a marker

const Index reflex::Pattern::Const::LMAX = 0xfaffff
| static

max lookahead index

const Index reflex::Pattern::Const::LONG = 0xfffe
| static

LONG marker for 64 bit opcodes, must be HALT-1.

const Pred reflex::Pattern::Const::PM_K = 3
| static

first predict-match step

const Pred reflex::Pattern::Const::PM_M = 8
| static

total predict-match length 3+5 of PM3+PM5

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

- pattern.h