hobbes
a language, embedded compiler, and runtime for efficient dynamic expression evaluation, data storage and analysis
Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
hobbes::MatchAny Class Reference

#include <pattern.H>

Inheritance diagram for hobbes::MatchAny:
Inheritance graph
Collaboration diagram for hobbes::MatchAny:
Collaboration graph

Public Member Functions

 MatchAny (const std::string &vn, const LexicalAnnotation &)
 
const std::string & value () const
 
void show (std::ostream &) const
 
bool operator== (const Pattern &) const
 
- Public Member Functions inherited from hobbes::PatternCase< MatchAny >
 PatternCase (const LexicalAnnotation &)
 
- Public Member Functions inherited from hobbes::Pattern
const std::string & name () const
 
void name (const std::string &)
 
int case_id () const
 
- Public Member Functions inherited from hobbes::LexicallyAnnotated
 LexicallyAnnotated (const LexicallyAnnotated &)
 
 LexicallyAnnotated (const LexicalAnnotation &)
 
 LexicallyAnnotated (const LexRange &)
 
 LexicallyAnnotated (const Pos &, const Pos &)
 
const LexicalAnnotationla () const
 

Static Public Attributes

static const int type_case_id = 1
 

Private Member Functions

void assignSubNames (const std::string &)
 

Private Attributes

std::string vn
 

Additional Inherited Members

- Public Types inherited from hobbes::PatternCase< MatchAny >
typedef PatternCase< MatchAnyBase
 
- Static Public Member Functions inherited from hobbes::LexicallyAnnotated
static void pushFileContext (const std::string &)
 
static void pushLiteralContext (const std::string &)
 
static void popContext ()
 
static LexicalAnnotation make (const Pos &, const Pos &)
 
- Protected Member Functions inherited from hobbes::Pattern
 Pattern (int cid, const LexicalAnnotation &)
 

Constructor & Destructor Documentation

◆ MatchAny()

hobbes::MatchAny::MatchAny ( const std::string &  vn,
const LexicalAnnotation la 
)

Member Function Documentation

◆ assignSubNames()

void hobbes::MatchAny::assignSubNames ( const std::string &  )
privatevirtual

Implements hobbes::Pattern.

◆ operator==()

bool hobbes::MatchAny::operator== ( const Pattern rhs) const
virtual

Implements hobbes::Pattern.

◆ show()

void hobbes::MatchAny::show ( std::ostream &  out) const
virtual

Implements hobbes::Pattern.

◆ value()

const std::string & hobbes::MatchAny::value ( ) const

Member Data Documentation

◆ type_case_id

const int hobbes::MatchAny::type_case_id = 1
static

◆ vn

std::string hobbes::MatchAny::vn
private

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