Skip to content
Authors

File prod_pure.h

FileList > prod_pure > src > prod_pure.h

Go to the source code of this file

Defines the functionality of a pure production. More...

  • #include <stddef.h>

Classes

Type Name
struct prod_pure_config_t
Configuration type for a pure production.

Public Functions

Type Name
const char * prod_pure_resolve (const void * config)
The resolve function for the pure production type.
const char * prod_pure_terminate (const void * config)
The resolve function for the pure production type.

Macros

Type Name
define PROD_PURE_NAME ("pure")
The type identifier for the pure production type.

Detailed Description

Author:

Joe Starr

Public Functions Documentation

function prod_pure_resolve

The resolve function for the pure production type.

const char * prod_pure_resolve (
    const void * config
) 

Resolve at random a replacement string.

Parameters:

  • config A configuration of a production.

Returns:

A pointer to the output of the resolution.


function prod_pure_terminate

The resolve function for the pure production type.

const char * prod_pure_terminate (
    const void * config
) 

Terminate at random with a terminal string.

Parameters:

  • config A configuration of a production.

Returns:

A pointer to the output of the resolution.


Macro Definition Documentation

define PROD_PURE_NAME

The type identifier for the pure production type.

#define PROD_PURE_NAME `("pure")`



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