BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Classes | Static Public Attributes | Protected Attributes | Static Protected Attributes
BALL::ExpressionParser Class Reference

#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)
const SyntaxTreegetSyntaxTree () const

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 22 of file expressionParser.h.


Constructor & Destructor Documentation


Member Function Documentation

Return the parsed system

Exceptions:
Exception::NullPointerif the syntax tree is NULL

Parse an expression.

Exceptions:
Exception::ParseErrorif a syntax error was encountered

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines