BALL::ExpressionParser Class Reference
[Miscellaneous]

#include <BALL/KERNEL/expressionParser.h>

List of all members.

Classes

struct  State
class  SyntaxTree

Public Member Functions

Constructors and Destructors

 ExpressionParser ()
 ExpressionParser (const ExpressionParser &parser)
 ~ExpressionParser ()
Parsing

void parse (const String &s) throw (Exception::ParseError)
const SyntaxTreegetSyntaxTree () const throw (Exception::NullPointer)

Static Public Attributes

static State state

Protected Attributes

SyntaxTreesyntax_tree_

Static Protected Attributes

static ExpressionParsercurrent_parser_

Detailed Description

Expression Parser. A simple parser for BALL kernel expressions. It reads a string and constructs a syntax tree from the boolean expressions contained therein.

Definition at line 24 of file expressionParser.h.


Constructor & Destructor Documentation

BALL::ExpressionParser::ExpressionParser (  ) 
BALL::ExpressionParser::ExpressionParser ( const ExpressionParser parser  ) 
BALL::ExpressionParser::~ExpressionParser (  ) 

Member Function Documentation

const SyntaxTree& BALL::ExpressionParser::getSyntaxTree (  )  const throw (Exception::NullPointer)

Return the parsed system

void BALL::ExpressionParser::parse ( const String s  )  throw (Exception::ParseError)

Parse an expression.


Member Data Documentation

Definition at line 184 of file expressionParser.h.

Definition at line 180 of file expressionParser.h.

Definition at line 183 of file expressionParser.h.

Generated by  doxygen 1.6.3