diff --git a/src/A3t.cpp b/src/A3t.cpp index 450c59d04..499d4fe1b 100644 --- a/src/A3t.cpp +++ b/src/A3t.cpp @@ -118,6 +118,12 @@ void A3t::append_stdin () #endif } +//////////////////////////////////////////////////////////////////////////////// +Tree* A3t::tree () +{ + return _tree; +} + //////////////////////////////////////////////////////////////////////////////// Tree* A3t::parse () { diff --git a/src/A3t.h b/src/A3t.h index 374ac0c76..41f041f9a 100644 --- a/src/A3t.h +++ b/src/A3t.h @@ -39,6 +39,7 @@ public: ~A3t (); void initialize (int, const char**); void append_stdin (); + Tree* tree (); Tree* parse (); void entity (const std::string&, const std::string&); bool canonicalize (std::string&, const std::string&, const std::string&) const;