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

#include "text-engine.h"

Inheritance diagram for text_parser_tex:
Collaboration diagram for text_parser_tex:

Public Member Functions

 text_parser_tex (void)
 
 ~text_parser_tex (void)
 
text_elementget_parse_result (void)
 
void * get_scanner (void)
 
text_elementparse (const std::string &s)
 
void set_parse_result (text_element *e)
 

Static Public Member Functions

static text_elementparse (const std::string &s, const caseless_str &interpreter)
 

Private Member Functions

void destroy_lexer (void)
 
bool init_lexer (const std::string &s)
 

Private Attributes

void * m_buffer_state
 
text_elementm_result
 
void * m_scanner
 

Detailed Description

Definition at line 425 of file text-engine.h.

Constructor & Destructor Documentation

◆ text_parser_tex()

text_parser_tex::text_parser_tex ( void  )
inline

Definition at line 430 of file text-engine.h.

◆ ~text_parser_tex()

text_parser_tex::~text_parser_tex ( void  )
inline

Definition at line 435 of file text-engine.h.

Member Function Documentation

◆ destroy_lexer()

void text_parser_tex::destroy_lexer ( void  )
private

◆ get_parse_result()

text_element* text_parser_tex::get_parse_result ( void  )
inline

Definition at line 444 of file text-engine.h.

◆ get_scanner()

void* text_parser_tex::get_scanner ( void  )
inline

Definition at line 440 of file text-engine.h.

References m_scanner.

◆ init_lexer()

bool text_parser_tex::init_lexer ( const std::string &  s)
private

◆ parse() [1/2]

text_element * text_parser_tex::parse ( const std::string &  s)
virtual

Implements text_parser.

Definition at line 1638 of file oct-tex-parser.cc.

References init_lexer(), m_result, and octave_tex_parse().

◆ parse() [2/2]

text_element * text_parser::parse ( const std::string &  s,
const caseless_str interpreter 
)
inlinestaticinherited

Definition at line 461 of file text-engine.h.

References base_parser::reset().

◆ set_parse_result()

void text_parser_tex::set_parse_result ( text_element e)
inline

Definition at line 442 of file text-engine.h.

Member Data Documentation

◆ m_buffer_state

void* text_parser_tex::m_buffer_state
private

Definition at line 455 of file text-engine.h.

Referenced by destroy_lexer().

◆ m_result

text_element* text_parser_tex::m_result
private

Definition at line 457 of file text-engine.h.

Referenced by parse().

◆ m_scanner

void* text_parser_tex::m_scanner
private

Definition at line 453 of file text-engine.h.

Referenced by destroy_lexer().


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