Skip to content
Authors

Struct prod_weighted_pair_t

ClassList > prod_weighted_pair_t

Configuration type for a weighted production.

  • #include <prod_weighted.h>

Public Attributes

Type Name
char * string
uint64_t weight

Public Attributes Documentation

variable string

char* prod_weighted_pair_t::string;

List of strings serving as possible replacements in the production.


variable weight

uint64_t prod_weighted_pair_t::weight;

The number of terminal strings in the list.



The documentation for this class was generated from the following file source/prod_weighted/src/prod_weighted.h