buffalo
Loading...
Searching...
No Matches
bf::ValueToken< G > Struct Template Reference

#include <buffalo.h>

Public Member Functions

 operator typename G::ValueType ()
 
 ValueToken (std::string_view raw, Location location, typename G::ValueType &&value)
 

Public Attributes

std::string_view raw
 
Location location
 
G::ValueType value
 

Detailed Description

template<IGrammar G>
struct bf::ValueToken< G >

VALUE TOKEN Passed in array to NonTerminals at transduction time.

Definition at line 296 of file buffalo.h.

Constructor & Destructor Documentation

◆ ValueToken()

template<IGrammar G>
bf::ValueToken< G >::ValueToken ( std::string_view  raw,
Location  location,
typename G::ValueType &&  value 
)
inline

Definition at line 307 of file buffalo.h.

Member Function Documentation

◆ operator typename G::ValueType()

template<IGrammar G>
bf::ValueToken< G >::operator typename G::ValueType ( )
inline

Definition at line 302 of file buffalo.h.

Member Data Documentation

◆ location

template<IGrammar G>
Location bf::ValueToken< G >::location

Definition at line 299 of file buffalo.h.

◆ raw

template<IGrammar G>
std::string_view bf::ValueToken< G >::raw

Definition at line 298 of file buffalo.h.

◆ value

template<IGrammar G>
G::ValueType bf::ValueToken< G >::value

Definition at line 300 of file buffalo.h.


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