MCPcopy Create free account
hub / github.com/anse1/sqlsmith / accept

Method accept

prod.hh:41–41  ·  view source on GitHub ↗

Visitor pattern for walking the AST. Make sure you visit all child production when deriving classes.

Source from the content-addressed store, hash-verified

39 /// Visitor pattern for walking the AST. Make sure you visit all
40 /// child production when deriving classes.
41 virtual void accept(prod_visitor *v) { v->visit(this); }
42 /// Report a "failed to generate" error.
43 virtual void fail(const char *reason);
44 /// Increase the retry count and throw an exception when retry_limit

Callers

nothing calls this directly

Calls 1

visitMethod · 0.45

Tested by

no test coverage detected