- Added tree accessor.
This commit is contained in:
Paul Beckingham 2014-04-19 08:19:12 -04:00
parent 1a731500e6
commit c65670278c
2 changed files with 7 additions and 0 deletions

View file

@ -118,6 +118,12 @@ void A3t::append_stdin ()
#endif #endif
} }
////////////////////////////////////////////////////////////////////////////////
Tree* A3t::tree ()
{
return _tree;
}
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
Tree* A3t::parse () Tree* A3t::parse ()
{ {

View file

@ -39,6 +39,7 @@ public:
~A3t (); ~A3t ();
void initialize (int, const char**); void initialize (int, const char**);
void append_stdin (); void append_stdin ();
Tree* tree ();
Tree* parse (); Tree* parse ();
void entity (const std::string&, const std::string&); void entity (const std::string&, const std::string&);
bool canonicalize (std::string&, const std::string&, const std::string&) const; bool canonicalize (std::string&, const std::string&, const std::string&) const;