LOOS  v2.3.2
loos::internal::matchRegex Class Reference

Regular expression matching: ARG1 regexp(S) More...

#include <KernelActions.hpp>

Inheritance diagram for loos::internal::matchRegex:
Collaboration diagram for loos::internal::matchRegex:

Public Member Functions

 matchRegex (const std::string s)
 
void execute (void)
 
std::string name (void) const
 
- Public Member Functions inherited from loos::internal::Action
 Action (const std::string s)
 
void setStack (ValueStack *)
 
void setAtom (pAtom &)
 

Additional Inherited Members

- Protected Member Functions inherited from loos::internal::Action
int binComp (void)
 Compare the top two items on the stack...
 
bool negativeOperand (void)
 
void binaryFalseResult (void)
 
void requireAtom (void)
 Check to make sure an atom has been set...
 
- Protected Attributes inherited from loos::internal::Action
ValueStackstack
 Pointer to the data stack.
 
pAtom atom
 Pointer to the atom we'll be working on...
 
std::string my_name
 Record of command-name (for printing)
 

Detailed Description

Regular expression matching: ARG1 regexp(S)

Compiles the passed string into a regex pattern at instantiation, then at execution matches the top stack entry against the pattern...

Definition at line 187 of file KernelActions.hpp.


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