src
Public Member Functions | List of all members
re2c::NullOp Class Reference

#include <regexp_null.h>

Inheritance diagram for re2c::NullOp:
Inheritance graph
[legend]
Collaboration diagram for re2c::NullOp:
Collaboration graph
[legend]

Public Member Functions

void split (std::set< uint32_t > &)
 
uint32_t calc_size () const
 
uint32_t fixedLength ()
 
nfa_state_tcompile (nfa_t &nfa, nfa_state_t *n)
 
void display (std::ostream &o) const
 
- Public Member Functions inherited from re2c::RegExp
 RegExp ()
 
virtual ~RegExp ()
 
 FORBID_COPY (RegExp)
 

Additional Inherited Members

- Static Public Attributes inherited from re2c::RegExp
static free_list< RegExp * > vFreeList
 

Detailed Description

Definition at line 9 of file regexp_null.h.

Member Function Documentation

uint32_t re2c::NullOp::calc_size ( ) const
virtual

Implements re2c::RegExp.

Definition at line 37 of file calc_size.cc.

38 {
39  return 0;
40 }
nfa_state_t * re2c::NullOp::compile ( nfa_t nfa,
nfa_state_t n 
)
virtual

Implements re2c::RegExp.

Definition at line 53 of file nfa.cc.

54 {
55  return t;
56 }
void re2c::NullOp::display ( std::ostream &  o) const
virtual

Implements re2c::RegExp.

Definition at line 40 of file display.cc.

41 {
42  o << "_";
43 }
uint32_t re2c::NullOp::fixedLength ( )
virtual

Reimplemented from re2c::RegExp.

Definition at line 49 of file fixed_length.cc.

50 {
51  return 0;
52 }
void re2c::NullOp::split ( std::set< uint32_t > &  )
virtual

Implements re2c::RegExp.

Definition at line 41 of file split.cc.

41 {}

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