Changeset 64b3cda for src/Parser
- Timestamp:
- Dec 22, 2022, 4:05:12 PM (17 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- ea2ed3a
- Parents:
- 019b2d3
- Location:
- src/Parser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/RunParser.cpp
r019b2d3 r64b3cda 45 45 } // parse 46 46 47 void dumpParseTree( std::ostream & out ) {48 parseTree->printList( out );49 delete parseTree;50 parseTree = nullptr;51 }52 53 47 ast::TranslationUnit buildUnit(void) { 54 48 std::list<Declaration *> translationUnit; -
src/Parser/RunParser.hpp
r019b2d3 r64b3cda 31 31 void parse( FILE * input, LinkageSpec::Spec linkage, bool alwaysExit = false ); 32 32 33 /// Drain the internal accumulator of parsed code and print it to the stream.34 void dumpParseTree( std::ostream & );35 36 33 /// Drain the internal accumulator of parsed code and build a translation 37 34 /// unit from it.
Note: See TracChangeset
for help on using the changeset viewer.