OpenWalnut
1.5.0dev
|
This namespace contains the WStructuredTextParser data types and the parser. More...
Classes | |
struct | KeyValueType |
KeyValueType - a tuple containing name and value. More... | |
struct | ObjectType |
An object is always a name and contains several further nodes. More... | |
Typedefs | |
typedef std::string | KeyType |
we use these quite often, so define some short alias for them: More... | |
typedef std::string | ValueType |
The type used for values. More... | |
typedef std::string | CommentType |
The type used for comments. More... | |
typedef boost::variant< boost::recursive_wrapper< ObjectType >, KeyValueType, CommentType > | MemberType |
A node inside the AST is either another object or a key-value pair. More... | |
typedef std::vector< MemberType > | FileType |
An object representing all objects and comments on file level. More... | |
This namespace contains the WStructuredTextParser data types and the parser.
It builds up the abstract syntax tree (AST) for the given input which later can be traversed.
typedef std::string WStructuredTextParser::CommentType |
The type used for comments.
Definition at line 90 of file WStructuredTextParser.h.
typedef std::vector< MemberType > WStructuredTextParser::FileType |
An object representing all objects and comments on file level.
Definition at line 142 of file WStructuredTextParser.h.
typedef std::string WStructuredTextParser::KeyType |
we use these quite often, so define some short alias for them:
we use these quite often, so define some short alias for them: we use these quite often, so define some short alias for them: we use these quite often, so define some short alias for them: we use these quite often, so define some short alias for them: The type used for keys
Definition at line 80 of file WStructuredTextParser.h.
typedef boost::variant< boost::recursive_wrapper< ObjectType >, KeyValueType, CommentType > WStructuredTextParser::MemberType |
A node inside the AST is either another object or a key-value pair.
Definition at line 121 of file WStructuredTextParser.h.
typedef std::string WStructuredTextParser::ValueType |
The type used for values.
Definition at line 85 of file WStructuredTextParser.h.