GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
Language.hh File Reference
#include <iostream>
#include <algorithm>
#include "Monoid.hh"
Include dependency graph for Language.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StringRef
class  Language
class  StringRefArray
class  MatchResultArray
class  EmptyLanguage
class  CharLanguage
class  ComposeLanguage
class  LanguageMonoid
class  ComposeArray
class  OrLanguage2
class  OrLanguage
class  Digit
class  Repeat
class  StarLanguage
class  Integer
class  ArrayLanguage
class  StateMachine< State, Event >
class  CharStateMachine
class  ConcatStateMachine< Event >
class  UnionStateMachine< Event >
class  ModifiableStateMachine< State, Event >
class  StateMachineState< State, Event >
class  StateMachineLanguage
class  State

Typedefs

typedef std::pair< State *, State * > SM

Functions

SM CharacterMatch (char c)
SM Concatenation (SM p1, SM p2)
SM Repeat (SM p1)
SM Or (SM p1, SM p2)
SM String (std::string s)
SM Grouping (SM s)
SM Any (std::vector< char > alphabet)
int find (const std::vector< char > &c, char cc)
SM Not (std::vector< char > alphabet, std::vector< char > not_included)
SM Final (SM s)
bool Match (SM sm, const std::string &ss, std::vector< std::string > &res)
void testlang ()

Typedef Documentation

◆ SM

typedef std::pair<State*, State*> SM

Function Documentation

◆ Any()

SM Any ( std::vector< char > alphabet)

◆ CharacterMatch()

SM CharacterMatch ( char c)
Here is the caller graph for this function:

◆ Concatenation()

SM Concatenation ( SM p1,
SM p2 )
Here is the caller graph for this function:

◆ Final()

SM Final ( SM s)
Here is the caller graph for this function:

◆ find()

int find ( const std::vector< char > & c,
char cc )
Here is the caller graph for this function:

◆ Grouping()

SM Grouping ( SM s)
Here is the caller graph for this function:

◆ Match()

bool Match ( SM sm,
const std::string & ss,
std::vector< std::string > & res )
Here is the caller graph for this function:

◆ Not()

SM Not ( std::vector< char > alphabet,
std::vector< char > not_included )

◆ Or()

SM Or ( SM p1,
SM p2 )
Here is the caller graph for this function:

◆ Repeat()

SM Repeat ( SM p1)
Here is the caller graph for this function:

◆ String()

SM String ( std::string s)
Here is the caller graph for this function:

◆ testlang()

void testlang ( )