source: icGREP/icgrep-devel/icgrep/pablo/printer_pablos.h @ 4276

Last change on this file since 4276 was 4276, checked in by nmedfort, 5 years ago

Created an "insertion friendly" Pablo AST structure similar to LLVM; fixed engine builder bug when creating a unicode class.

File size: 613 bytes
Line 
1/*
2 *  Copyright (c) 2014 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#ifndef SHOW_H
8#define SHOW_H
9
10#include <pablo/pabloAST.h>
11#include <string>
12
13namespace pablo {
14    class PabloBlock;
15}
16
17class PabloPrinter {
18public:
19    static std::string print(const pablo::PabloBlock & block);
20    static std::string print(const pablo::StatementList & stmts);
21    static std::string print(const pablo::PabloAST * expr);
22    static std::string print(const pablo::Statement *stmt);
23};
24
25#endif // SHOW_H
Note: See TracBrowser for help on using the repository browser.