Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/Generate.h

    r0bd3faf r8941b6b  
    1717
    1818#include <iostream>  // for ostream
     19#include <list>      // for list
     20
     21class BaseSyntaxNode;
     22class Declaration;
    1923
    2024namespace ast {
     
    2327
    2428namespace CodeGen {
     29        /// Generates code. doIntrinsics determines if intrinsic functions are printed, pretty formats output nicely (e.g., uses unmangled names, etc.), generateC is true when the output must consist only of C code (allows some assertions, etc.)
     30        void generate( std::list< Declaration* > translationUnit, std::ostream &os, bool doIntrinsics, bool pretty, bool generateC = false , bool lineMarks = false, bool printTypeExpr = false );
     31
     32        /// Generate code for a single node -- helpful for debugging in gdb
     33        void generate( BaseSyntaxNode * node, std::ostream & os );
    2534
    2635/// Generates all code in transUnit and writing it to the os.
Note: See TracChangeset for help on using the changeset viewer.