|
| case_expr (prod *p, sqltype *type_constraint=0) |
|
virtual void | out (std::ostream &out) |
| Emit SQL for this production.
|
|
virtual void | accept (prod_visitor *v) |
| Visitor pattern for walking the AST. More...
|
|
| value_expr (prod *p) |
|
| prod (prod *parent) |
|
virtual void | indent (std::ostream &out) |
| Newline and indent according to tree level.
|
|
virtual void | match () |
| Check with the impedance matching code whether this production has been blacklisted and throw an exception.
|
|
virtual void | fail (const char *reason) |
| Report a "failed to generate" error.
|
|
void | retry () |
| Increase the retry count and throw an exception when retry_limit is exceeded.
|
|
|
shared_ptr< value_expr > | condition |
|
shared_ptr< value_expr > | true_expr |
|
shared_ptr< value_expr > | false_expr |
|
sqltype * | type |
|
struct prod * | pprod |
| Parent production that instanciated this one. More...
|
|
struct scope * | scope |
| Scope object to model column/table reference visibility.
|
|
int | level |
| Level of this production in the AST. 0 for root node.
|
|
long | retries = 0 |
| Number of retries in this production. More...
|
|
long | retry_limit = 100 |
| Maximum number of retries allowed before reporting a failure to the Parent prod.
|
|
Definition at line 22 of file expr.hh.
◆ accept()
Visitor pattern for walking the AST.
Make sure you visit all child production when deriving classes.
Reimplemented from prod.
Definition at line 69 of file expr.cc.
The documentation for this struct was generated from the following files: