| Home | Libraries | People | FAQ | More

##### PrimitiveParser

###### Description

PrimitiveParser is the most basic building block that the client uses to build more complex parsers.

###### Refinement of

> `Parser`

###### Pre-skip

Upon entry to the `parse` member function, a PrimitiveParser is required to do a pre-skip. Leading `skip` characters/tokens will be skipped prior to parsing. Only PrimitiveParsers are required to perform this pre-skip. This is typically carried out through a call to `qi::skip_over`:

    qi::skip_over(f, l, skip);

###### Type Expressions

Expression | Description
--- | ---
`traits::is_primitive_parser<P>::type` | Metafunction that evaluates to `mpl::true_` if a certain type, `P`, is a PrimitiveParser, `mpl::false_` otherwise (See MPL Boolean Constant).

###### Models

- `attr(attrib)`
- `eoi`
- `eol`
- `eps`
- `symbols<>`