Pegmatite
|
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. | |
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.