PandA-2024.02
Public Member Functions | Data Fields
XmlFlexLexer Struct Reference

#include <xmlLexer.hpp>

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

Public Member Functions

 XmlFlexLexer (const std::string &_name, std::istream *argin=nullptr, std::ostream *argout=nullptr)
 
 ~XmlFlexLexer () override=default
 
void yyerror (const char *msg)
 
void LexerError (const char *msg) override
 
int yywrap () override
 
int yylex () override
 

Data Fields

const std::string name
 The name of the parsed file/string. More...
 
int keep
 To store start condition. More...
 
YYSTYPElvalp
 

Detailed Description

Definition at line 61 of file xmlLexer.hpp.

Constructor & Destructor Documentation

◆ XmlFlexLexer()

XmlFlexLexer::XmlFlexLexer ( const std::string &  _name,
std::istream *  argin = nullptr,
std::ostream *  argout = nullptr 
)
inline

Definition at line 66 of file xmlLexer.hpp.

References ~XmlFlexLexer().

Here is the call graph for this function:

◆ ~XmlFlexLexer()

XmlFlexLexer::~XmlFlexLexer ( )
overridedefault

Referenced by XmlFlexLexer().

Here is the caller graph for this function:

Member Function Documentation

◆ LexerError()

void XmlFlexLexer::LexerError ( const char *  msg)
inlineoverride

Definition at line 75 of file xmlLexer.hpp.

References exit_code, INDENT_OUT_MEX, STR, and THROW_ERROR.

Referenced by yyerror().

Here is the caller graph for this function:

◆ yyerror()

void XmlFlexLexer::yyerror ( const char *  msg)
inline

Definition at line 71 of file xmlLexer.hpp.

References LexerError().

Here is the call graph for this function:

◆ yylex()

int XmlFlexLexer::yylex ( )
override

◆ yywrap()

int XmlFlexLexer::yywrap ( )
inlineoverride

Definition at line 81 of file xmlLexer.hpp.

Field Documentation

◆ keep

int XmlFlexLexer::keep

To store start condition.

Definition at line 86 of file xmlLexer.hpp.

◆ lvalp

YYSTYPE* XmlFlexLexer::lvalp

Definition at line 87 of file xmlLexer.hpp.

◆ name

const std::string XmlFlexLexer::name

The name of the parsed file/string.

Definition at line 64 of file xmlLexer.hpp.


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

Generated on Mon Feb 12 2024 13:04:11 for PandA-2024.02 by doxygen 1.8.13