Ignore:
Timestamp:
Feb 25, 2015, 7:53:59 PM (5 years ago)
Author:
cameron
Message:

Modify -print-pablo output for python pablo compiler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/printer_pablos.h

    r4346 r4518  
    99
    1010#include <pablo/pabloAST.h>
     11#include <pablo/ps_if.h>
    1112#include <string>
    1213
     
    1718class PabloPrinter {
    1819public:
     20    using DefinedVars = std::vector<pablo::PabloAST *, pablo::PabloAST::VectorAllocator>;
    1921    static void print(const pablo::PabloBlock & block, std::ostream & strm);
    2022    static void print(const pablo::StatementList & stmts, std::ostream & strm);
    2123    static void print(const pablo::StatementList & stmts, std::string indent, std::ostream & strm);
     24    static void print_vars(const DefinedVars & vars, std::string indent, std::ostream & strm);
    2225    static void print(const pablo::PabloAST * expr, std::ostream & strm);
    2326    static void print(const pablo::Statement *stmt, std::string indent, std::ostream & strm);
Note: See TracChangeset for help on using the changeset viewer.