diff options
Diffstat (limited to 'Plugins/SqlEnterpriseFormatter/formatforeignkey.h')
| -rw-r--r-- | Plugins/SqlEnterpriseFormatter/formatforeignkey.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Plugins/SqlEnterpriseFormatter/formatforeignkey.h b/Plugins/SqlEnterpriseFormatter/formatforeignkey.h new file mode 100644 index 0000000..771fdba --- /dev/null +++ b/Plugins/SqlEnterpriseFormatter/formatforeignkey.h @@ -0,0 +1,33 @@ +#ifndef FORMATFOREIGNKEY_H +#define FORMATFOREIGNKEY_H + +#include "formatstatement.h" +#include "parser/ast/sqliteforeignkey.h" + +class FormatForeignKey : public FormatStatement +{ + public: + FormatForeignKey(SqliteForeignKey* fk); + + protected: + void formatInternal(); + + private: + SqliteForeignKey* fk = nullptr; +}; + +class FormatForeignKeyCondition : public FormatStatement +{ + public: + FormatForeignKeyCondition(SqliteForeignKey::Condition* cond); + + protected: + void formatInternal(); + + private: + void formatReaction(); + + SqliteForeignKey::Condition* cond = nullptr; +}; + +#endif // FORMATFOREIGNKEY_H |
