Euphoria
eu::core::tracery::Rule Struct Reference

#include <tracery.h>

Public Member Functions

 Rule ()
 
Result compile (const std::string &s)
 
void add (std::shared_ptr< Node > p)
 
Result flatten (GeneratorArgument *gen) const
 

Public Attributes

std::vector< std::shared_ptr< Node > > syntax
 

Detailed Description

Definition at line 78 of file tracery.h.

Constructor & Destructor Documentation

◆ Rule()

eu::core::tracery::Rule::Rule ( )
default

Member Function Documentation

◆ add()

void eu::core::tracery::Rule::add ( std::shared_ptr< Node p)

Definition at line 381 of file tracery.cc.

◆ compile()

Result eu::core::tracery::Rule::compile ( const std::string &  s)

Definition at line 248 of file tracery.cc.

◆ flatten()

Result eu::core::tracery::Rule::flatten ( GeneratorArgument gen) const

Definition at line 367 of file tracery.cc.

Member Data Documentation

◆ syntax

std::vector<std::shared_ptr<Node> > eu::core::tracery::Rule::syntax

Definition at line 80 of file tracery.h.


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