Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
Parser< CON > Class Template Reference

#include "lib/parse.hpp"

Description

template<class CON>
class util::parse::Parser< CON >

A Parser function to match and accept some syntax.

This is a typing- and interface-adapter, wrapping a Connex.

Definition at line 704 of file parse.hpp.

Public Types

using Connex = CON
 
using Result = CON::Result
 

Public Member Functions

Eval< Resultoperator() (StrView toParse)
 Parse-Function operator: test input and yield Eval record.
 
template<typename SPEC >
 Parser (SPEC &&spec)
 

Private Types

using PFun = CON::PFun
 

Constructor & Destructor Documentation

◆ Parser()

template<class CON >
template<typename SPEC >
Parser ( SPEC &&  spec)
inline

Definition at line 728 of file parse.hpp.

Member Typedef Documentation

◆ PFun

template<class CON >
using PFun = CON::PFun
private

Definition at line 707 of file parse.hpp.

◆ Connex

template<class CON >
using Connex = CON

Definition at line 711 of file parse.hpp.

◆ Result

template<class CON >
using Result = CON::Result

Definition at line 712 of file parse.hpp.

Member Function Documentation

◆ operator()()

template<class CON >
Eval< Result > operator() ( StrView  toParse)
inline

Parse-Function operator: test input and yield Eval record.

Definition at line 721 of file parse.hpp.

+ Inheritance diagram for Parser< CON >:
+ Collaboration diagram for Parser< CON >:

The documentation for this class was generated from the following file: