Pegmatite
Public Member Functions | List of all members
pegmatite::BindAST< T > Class Template Reference

The BindAST class is responsible for binding an action to a rule. More...

#include <ast.hh>

Public Member Functions

 BindAST (const Rule &r)
 Bind the AST class described in the grammar to the rule specified.
 

Detailed Description

template<class T>
class pegmatite::BindAST< T >

The BindAST class is responsible for binding an action to a rule.

The template argument is the ASTNode subclass representing the action. Its construct() method will be called when the rule is matched.


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