GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
regexp::match_element Class Reference

#include "lo-regexp.h"

Collaboration diagram for regexp::match_element:

Public Member Functions

 match_element (const match_element &)=default
 
 match_element (const string_vector &nt, const string_vector &t, const std::string &ms, const Matrix &te, double s, double e)
 
double end (void) const
 
std::string match_string (void) const
 
string_vector named_tokens (void) const
 
match_elementoperator= (const match_element &)=default
 
double start (void) const
 
Matrix token_extents (void) const
 
string_vector tokens (void) const
 

Private Attributes

double m_end
 
std::string m_match_string
 
string_vector m_named_tokens
 
double m_start
 
Matrix m_token_extents
 
string_vector m_tokens
 

Detailed Description

Definition at line 163 of file lo-regexp.h.

Constructor & Destructor Documentation

◆ match_element() [1/2]

regexp::match_element::match_element ( const string_vector nt,
const string_vector t,
const std::string &  ms,
const Matrix te,
double  s,
double  e 
)
inline

Definition at line 167 of file lo-regexp.h.

◆ match_element() [2/2]

regexp::match_element::match_element ( const match_element )
default

Member Function Documentation

◆ end()

double regexp::match_element::end ( void  ) const
inline

Definition at line 183 of file lo-regexp.h.

◆ match_string()

std::string regexp::match_element::match_string ( void  ) const
inline

Definition at line 178 of file lo-regexp.h.

◆ named_tokens()

string_vector regexp::match_element::named_tokens ( void  ) const
inline

Definition at line 179 of file lo-regexp.h.

◆ operator=()

match_element& regexp::match_element::operator= ( const match_element )
default

◆ start()

double regexp::match_element::start ( void  ) const
inline

Definition at line 182 of file lo-regexp.h.

◆ token_extents()

Matrix regexp::match_element::token_extents ( void  ) const
inline

Definition at line 181 of file lo-regexp.h.

◆ tokens()

string_vector regexp::match_element::tokens ( void  ) const
inline

Definition at line 180 of file lo-regexp.h.

Member Data Documentation

◆ m_end

double regexp::match_element::m_end
private

Definition at line 196 of file lo-regexp.h.

◆ m_match_string

std::string regexp::match_element::m_match_string
private

Definition at line 187 of file lo-regexp.h.

◆ m_named_tokens

string_vector regexp::match_element::m_named_tokens
private

Definition at line 188 of file lo-regexp.h.

◆ m_start

double regexp::match_element::m_start
private

Definition at line 195 of file lo-regexp.h.

◆ m_token_extents

Matrix regexp::match_element::m_token_extents
private

Definition at line 190 of file lo-regexp.h.

◆ m_tokens

string_vector regexp::match_element::m_tokens
private

Definition at line 189 of file lo-regexp.h.


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