GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
text_parser_tex Class Reference

#include "txt-eng.h"

Inheritance diagram for text_parser_tex:
Inheritance graph
[legend]
Collaboration diagram for text_parser_tex:
Collaboration graph
[legend]

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 405 of file txt-eng.h.

Constructor & Destructor Documentation

text_parser_tex::text_parser_tex ( void  )
inline

Definition at line 410 of file txt-eng.h.

text_parser_tex::~text_parser_tex ( void  )
inline

Definition at line 414 of file txt-eng.h.

Member Function Documentation

void text_parser_tex::destroy_lexer ( void  )
private
text_element* text_parser_tex::get_parse_result ( void  )
inline

Definition at line 423 of file txt-eng.h.

void* text_parser_tex::get_scanner ( void  )
inline

Definition at line 419 of file txt-eng.h.

References scanner.

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

Definition at line 439 of file txt-eng.h.

References caseless_str::compare(), and text_parser::parse().

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

Implements text_parser.

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

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

void text_parser_tex::set_parse_result ( text_element e)
inline

Definition at line 421 of file txt-eng.h.

Referenced by octave_tex_parse().

Member Data Documentation

void* text_parser_tex::buffer_state
private

Definition at line 433 of file txt-eng.h.

Referenced by destroy_lexer(), and init_lexer().

text_element* text_parser_tex::result
private

Definition at line 435 of file txt-eng.h.

Referenced by parse().

void* text_parser_tex::scanner
private

Definition at line 431 of file txt-eng.h.

Referenced by destroy_lexer(), and init_lexer().


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