|
Doxygen
|
#include <stdint.h>#include "xmlcode.h"#include <memory>#include "config.h"#include "debug.h"#include "doxygen.h"#include "filedef.h"#include "message.h"#include "outputlist.h"#include "searchindex.h"#include "util.h"#include "doxygen_lex.h"#include "xmlcode.l.h"Go to the source code of this file.
Classes | |
| struct | xmlcodeYY_state |
| struct | XMLCodeParser::Private |
Macros | |
| #define | YY_TYPEDEF_YY_SCANNER_T |
| #define | yyguts_t xmlcodeYYguts_t |
| #define | YY_NEVER_INTERACTIVE 1 |
| #define | YY_NO_INPUT 1 |
| #define | YY_NO_UNISTD_H 1 |
| #define | YY_INPUT(buf, result, max_size) |
Typedefs | |
| typedef yyguts_t * | yyscan_t |
Functions | |
| static const char * | stateToString (int state) |
| static void | codify (yyscan_t yyscanner, const char *text) |
| static void | setCurrentDoc (yyscan_t yyscanner, const DString &anchor) |
| static void | startCodeLine (yyscan_t yyscanner) |
| static void | endFontClass (yyscan_t yyscanner) |
| static void | endCodeLine (yyscan_t yyscanner) |
| static void | nextCodeLine (yyscan_t yyscanner) |
| static void | codifyLines (yyscan_t yyscanner, const char *text) |
| static void | startFontClass (yyscan_t yyscanner, const char *s) |
| static int | countLines (yyscan_t yyscanner) |
| static int | yyread (yyscan_t yyscanner, char *buf, int max_size) |
| static const char * | getLexerFILE () |
| int | yylex (yyscan_t yyscanner) |
| #define YY_INPUT | ( | buf, | |
| result, | |||
| max_size ) |
|
static |
|
static |
Definition at line 335 of file xmlcode.l.
References nextCodeLine(), and yyguts_t.
|
static |
counts the number of lines in the input
Definition at line 369 of file xmlcode.l.
References yyguts_t.
Referenced by XMLCodeParser::parseCode().
|
static |
Definition at line 312 of file xmlcode.l.
References endFontClass(), and yyguts_t.
Referenced by nextCodeLine(), and XMLCodeParser::parseCode().
|
static |
Definition at line 302 of file xmlcode.l.
References yyguts_t.
Referenced by endCodeLine(), and startFontClass().
|
inlinestatic |
|
static |
Definition at line 320 of file xmlcode.l.
References endCodeLine(), startCodeLine(), and yyguts_t.
Referenced by codifyLines().
Definition at line 234 of file xmlcode.l.
References Doxygen::searchIndex, SearchIndexIntf::setCurrentDoc(), and yyguts_t.
Referenced by XMLCodeParser::parseCode(), and startCodeLine().
|
static |
start a new line of code, inserting a line number if yyextra->sourceFileDef is true. If a definition starts at the current line, then the line number is linked to the documentation of that definition.
Definition at line 254 of file xmlcode.l.
References Definition::getOutputFileBase(), Definition::getReference(), Definition::isLinkableInProject(), Definition::name(), setCurrentDoc(), DString::sprintf(), and yyguts_t.
Referenced by nextCodeLine(), and XMLCodeParser::parseCode().
|
static |
Definition at line 360 of file xmlcode.l.
References endFontClass(), and yyguts_t.
|
static |
| int yylex | ( | yyscan_t | yyscanner | ) |
Definition at line 130 of file xmlcode.l.
|
static |
Definition at line 213 of file xmlcode.l.
References yyguts_t.