TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Public Member Functions | Protected Attributes | List of all members
JSonScanner Class Reference

#include <json_scanner.h>

+ Inheritance diagram for JSonScanner:

Public Member Functions

 JSonScanner (QIODevice *io)
 
 ~JSonScanner ()
 
void allowSpecialNumbers (bool allow)
 
int yylex (YYSTYPE *yylval, yy::location *yylloc)
 
int yylex ()
 
int LexerInput (char *buf, int max_size)
 
- Public Member Functions inherited from yyFlexLexer
 yyFlexLexer (FLEX_STD istream *arg_yyin=0, FLEX_STD ostream *arg_yyout=0)
 
virtual ~yyFlexLexer ()
 
void yy_switch_to_buffer (struct yy_buffer_state *new_buffer)
 
struct yy_buffer_state * yy_create_buffer (FLEX_STD istream *s, int size)
 
void yy_delete_buffer (struct yy_buffer_state *b)
 
void yyrestart (FLEX_STD istream *s)
 
void yypush_buffer_state (struct yy_buffer_state *new_buffer)
 
void yypop_buffer_state ()
 
virtual void switch_streams (FLEX_STD istream *new_in, FLEX_STD ostream *new_out=0)
 
virtual int yywrap ()
 
- Public Member Functions inherited from FlexLexer
virtual ~FlexLexer ()
 
const char * YYText () const
 
int YYLeng () const
 
int yylex (FLEX_STD istream *new_in, FLEX_STD ostream *new_out=0)
 
int lineno () const
 
int debug () const
 
void set_debug (int flag)
 

Protected Attributes

bool m_allowSpecialNumbers
 
QIODevice * m_io
 
YYSTYPEm_yylval
 
yy::location * m_yylloc
 
bool m_criticalError
 
QString m_currentString
 
QLocale m_C_locale
 
- Protected Attributes inherited from yyFlexLexer
int yy_start_stack_ptr
 
int yy_start_stack_depth
 
intyy_start_stack
 
FLEX_STD istream * yyin
 
FLEX_STD ostream * yyout
 
char yy_hold_char
 
int yy_n_chars
 
char * yy_c_buf_p
 
int yy_init
 
int yy_start
 
int yy_did_buffer_switch_on_eof
 
size_t yy_buffer_stack_top
 index of top of stack. More...
 
size_t yy_buffer_stack_max
 capacity of stack. More...
 
struct yy_buffer_state ** yy_buffer_stack
 Stack as an array. More...
 
yy_state_type yy_last_accepting_state
 
char * yy_last_accepting_cpos
 
yy_state_typeyy_state_buf
 
yy_state_typeyy_state_ptr
 
char * yy_full_match
 
intyy_full_state
 
int yy_full_lp
 
int yy_lp
 
int yy_looking_for_trail_begin
 
int yy_more_flag
 
int yy_more_len
 
int yy_more_offset
 
int yy_prev_more_offset
 
- Protected Attributes inherited from FlexLexer
char * yytext
 
int yyleng
 
int yylineno
 
int yy_flex_debug
 

Additional Inherited Members

- Protected Member Functions inherited from yyFlexLexer
virtual void LexerOutput (const char *buf, int size)
 
virtual void LexerError (const char *msg)
 
void yyunput (int c, char *buf_ptr)
 
int yyinput ()
 
void yy_load_buffer_state ()
 
void yy_init_buffer (struct yy_buffer_state *b, FLEX_STD istream *s)
 
void yy_flush_buffer (struct yy_buffer_state *b)
 
void yy_push_state (int new_state)
 
void yy_pop_state ()
 
int yy_top_state ()
 
yy_state_type yy_get_previous_state ()
 
yy_state_type yy_try_NUL_trans (yy_state_type current_state)
 
int yy_get_next_buffer ()
 
void yyensure_buffer_stack (void)
 

Detailed Description

Definition at line 44 of file json_scanner.h.

Constructor & Destructor Documentation

JSonScanner::JSonScanner ( QIODevice *  io)
explicit

Definition at line 30 of file json_scanner.cpp.

JSonScanner::~JSonScanner ( )

Definition at line 39 of file json_scanner.cpp.

Member Function Documentation

void JSonScanner::allowSpecialNumbers ( bool  allow)

Definition at line 43 of file json_scanner.cpp.

References m_allowSpecialNumbers.

int JSonScanner::LexerInput ( char *  buf,
int  max_size 
)
virtual

Reimplemented from yyFlexLexer.

Definition at line 62 of file json_scanner.cpp.

References m_criticalError, and m_io.

int JSonScanner::yylex ( YYSTYPE yylval,
yy::location *  yylloc 
)

Definition at line 48 of file json_scanner.cpp.

References m_criticalError, m_yylloc, m_yylval, and yylex().

int JSonScanner::yylex ( )
virtual

Reimplemented from yyFlexLexer.

Referenced by yylex().

Member Data Documentation

bool JSonScanner::m_allowSpecialNumbers
protected

Definition at line 57 of file json_scanner.h.

Referenced by allowSpecialNumbers().

QLocale JSonScanner::m_C_locale
protected

Definition at line 64 of file json_scanner.h.

bool JSonScanner::m_criticalError
protected

Definition at line 62 of file json_scanner.h.

Referenced by LexerInput(), and yylex().

QString JSonScanner::m_currentString
protected

Definition at line 63 of file json_scanner.h.

QIODevice* JSonScanner::m_io
protected

Definition at line 58 of file json_scanner.h.

Referenced by LexerInput().

yy::location* JSonScanner::m_yylloc
protected

Definition at line 61 of file json_scanner.h.

Referenced by yylex().

YYSTYPE* JSonScanner::m_yylval
protected

Definition at line 60 of file json_scanner.h.

Referenced by yylex().


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