libsnobol4 1.0.2
High-performance SNOBOL4-style pattern matching library
Loading...
Searching...
No Matches
dynamic_pattern Struct Reference

#include <dynamic_pattern.h>

Public Attributes

uint8_t * bc
size_t bc_len
char * source
uint32_t refcount
uint32_t hash
bool is_valid

Detailed Description

Dynamic pattern object

Represents a pattern that was compiled at runtime from a string or AST. The bytecode is owned by this object and freed when refcount reaches 0.

Definition at line 73 of file dynamic_pattern.h.

Member Data Documentation

◆ bc

uint8_t* dynamic_pattern::bc

Definition at line 74 of file dynamic_pattern.h.

◆ bc_len

size_t dynamic_pattern::bc_len

Definition at line 75 of file dynamic_pattern.h.

◆ hash

uint32_t dynamic_pattern::hash

Definition at line 78 of file dynamic_pattern.h.

◆ is_valid

bool dynamic_pattern::is_valid

Definition at line 79 of file dynamic_pattern.h.

◆ refcount

uint32_t dynamic_pattern::refcount

Definition at line 77 of file dynamic_pattern.h.

◆ source

char* dynamic_pattern::source

Definition at line 76 of file dynamic_pattern.h.


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