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

Last change on this file since 4388 was 4346, checked in by cameron, 5 years ago

Pablo printer uses ostream, python Pablo syntax

File size: 789 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 void print(const pablo::PabloBlock & block, std::ostream & strm);
20    static void print(const pablo::StatementList & stmts, std::ostream & strm);
21    static void print(const pablo::StatementList & stmts, std::string indent, std::ostream & strm);
22    static void print(const pablo::PabloAST * expr, std::ostream & strm);
23    static void print(const pablo::Statement *stmt, std::string indent, std::ostream & strm);
24};
25
26#endif // SHOW_H
Note: See TracBrowser for help on using the repository browser.