Common Notation

| Home | Libraries | People | FAQ | More

#### Common Notation

Notation

`P`

  Parser type

`p, a, b, c`

  Parser objects

`A, B, C`

  Attribute types of parsers `a`, `b` and `c`

`I`

  The iterator type used for parsing

`Unused`

  An `unused_type`

`Context`

  The enclosing rule's `Context` type

`attrib`

  An attribute value

`Attrib`

  An attribute type

`b`

  A boolean expression

`fp`

  A (lazy parser) function with signature `P(Unused, Context)`

`fa`

  A (semantic action) function with signature `void(Attrib, Context, bool&)`. The third parameter is a boolean flag that can be set to false to force the parse to fail. Both `Context` and the boolean flag are optional.

`first`

  An iterator pointing to the start of input

`last`

  An iterator pointing to the end of input

`Ch`

  Character-class specific character type (See Character Class Types)

`ch`

  Character-class specific character (See Character Class Types)

`ch2`

  Character-class specific character (See Character Class Types)

`charset`

  Character-set specifier string (example: "a-z0-9")

`str`

  Character-class specific string (See Character Class Types)

`Str`

  Attribute of `str`: `std::basic_string<T>` where `T` is the underlying character type of `str`

`tuple<>`

  Used as a placeholder for a fusion sequence

`vector<>`

  Used as a placeholder for an STL container

`variant<>`

  Used as a placeholder for a boost::variant

`optional<>`

  Used as a placeholder for a boost::optional