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

#include "text-engine.h"

Inheritance diagram for octave::text_parser_tex:
Collaboration diagram for octave::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 * buffer_state
 
text_elementresult
 
void * scanner
 

Detailed Description

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

Constructor & Destructor Documentation

◆ text_parser_tex()

octave::text_parser_tex::text_parser_tex ( void  )
inline

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

◆ ~text_parser_tex()

octave::text_parser_tex::~text_parser_tex ( void  )
inline

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

Member Function Documentation

◆ destroy_lexer()

void octave::text_parser_tex::destroy_lexer ( void  )
private

◆ get_parse_result()

text_element* octave::text_parser_tex::get_parse_result ( void  )
inline

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

◆ get_scanner()

void* octave::text_parser_tex::get_scanner ( void  )
inline

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

References scanner.

◆ init_lexer()

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

◆ parse() [1/2]

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

Implements octave::text_parser.

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

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

◆ parse() [2/2]

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

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

References octave::base_parser::reset().

◆ set_parse_result()

void octave::text_parser_tex::set_parse_result ( text_element e)
inline

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

Referenced by octave_tex_parse().

Member Data Documentation

◆ buffer_state

void* octave::text_parser_tex::buffer_state
private

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

Referenced by destroy_lexer(), and init_lexer().

◆ result

text_element* octave::text_parser_tex::result
private

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

Referenced by parse().

◆ scanner

void* octave::text_parser_tex::scanner
private

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

Referenced by destroy_lexer(), and init_lexer().


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