From c65670278c341a505d93cdd56563011e0b15a667 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sat, 19 Apr 2014 08:19:12 -0400 Subject: [PATCH] A3t - Added tree accessor. --- src/A3t.cpp | 6 ++++++ src/A3t.h | 1 + 2 files changed, 7 insertions(+) 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;