jdl::jdl_parser Class Reference

#include <jdl_parser.hpp>

Collaboration diagram for jdl::jdl_parser:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 jdl_parser ()
bool parse (string const &str) throw (parser_error<Errors, char const *>, semantic_error)
component const * get_AST () const
void reset_parser ()
 ~jdl_parser ()

Private Attributes

jdl_grammar grammar
parser_stack
< boost::shared_ptr
< component > > 
node_stack


Detailed Description

Definition at line 26 of file jdl_parser.hpp.


Constructor & Destructor Documentation

jdl::jdl_parser::jdl_parser (  )  [inline]

Definition at line 30 of file jdl_parser.hpp.

References grammar.

jdl::jdl_parser::~jdl_parser (  )  [inline]

Definition at line 51 of file jdl_parser.hpp.


Member Function Documentation

bool jdl::jdl_parser::parse ( string const &  str  )  throw (parser_error<Errors, char const *>, semantic_error) [inline]

Definition at line 36 of file jdl_parser.hpp.

References grammar, and reset_parser().

Referenced by jdl::parse_string().

component const* jdl::jdl_parser::get_AST (  )  const [inline]

Definition at line 43 of file jdl_parser.hpp.

References node_stack.

void jdl::jdl_parser::reset_parser (  )  [inline]

Definition at line 49 of file jdl_parser.hpp.

References node_stack.

Referenced by parse().


Member Data Documentation

jdl_grammar jdl::jdl_parser::grammar [private]

Definition at line 27 of file jdl_parser.hpp.

Referenced by jdl_parser(), and parse().

parser_stack<boost::shared_ptr<component> > jdl::jdl_parser::node_stack [private]

Definition at line 28 of file jdl_parser.hpp.

Referenced by get_AST(), and reset_parser().


The documentation for this class was generated from the following file:
Generated on Sun Feb 17 16:55:50 2008 for JDLParser by  doxygen 1.5.3