|
Doxygen
|
#include <stdint.h>#include <stdio.h>#include "sqlcode.h"#include "entry.h"#include "doxygen.h"#include "outputlist.h"#include "util.h"#include "membername.h"#include "searchindex.h"#include "config.h"#include "filedef.h"#include "tooltip.h"#include "message.h"#include "debug.h"#include "doxygen_lex.h"#include "sqlcode.l.h"Go to the source code of this file.
Classes | |
| struct | sqlcodeYY_state |
| struct | SQLCodeParser::Private |
Macros | |
| #define | YY_TYPEDEF_YY_SCANNER_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 | 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 |
Definition at line 311 of file sqlcode.l.
References codifyLines(), DString::DString(), and nextCodeLine().
Referenced by codifyLines(), and stateToString().
|
static |
counts the number of lines in the input
Definition at line 345 of file sqlcode.l.
References countLines().
Referenced by countLines(), SQLCodeParser::parseCode(), and stateToString().
|
static |
Definition at line 288 of file sqlcode.l.
References endCodeLine(), and endFontClass().
Referenced by endCodeLine(), nextCodeLine(), SQLCodeParser::parseCode(), and stateToString().
|
static |
Definition at line 278 of file sqlcode.l.
References endFontClass().
Referenced by endCodeLine(), endFontClass(), startFontClass(), and stateToString().
|
inlinestatic |
|
static |
Definition at line 296 of file sqlcode.l.
References endCodeLine(), nextCodeLine(), and startCodeLine().
Referenced by codifyLines(), nextCodeLine(), and stateToString().
Definition at line 211 of file sqlcode.l.
References Doxygen::searchIndex, SearchIndexIntf::setCurrentDoc(), and setCurrentDoc().
Referenced by SQLCodeParser::parseCode(), setCurrentDoc(), startCodeLine(), and stateToString().
|
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 231 of file sqlcode.l.
References DString::DString(), Definition::getOutputFileBase(), Definition::getReference(), Definition::isLinkableInProject(), Definition::name(), setCurrentDoc(), DString::sprintf(), and startCodeLine().
Referenced by nextCodeLine(), SQLCodeParser::parseCode(), startCodeLine(), and stateToString().
|
static |
Definition at line 336 of file sqlcode.l.
References endFontClass(), and startFontClass().
Referenced by startFontClass(), and stateToString().
|
static |
References codifyLines(), countLines(), endCodeLine(), endFontClass(), nextCodeLine(), setCurrentDoc(), startCodeLine(), startFontClass(), stateToString(), and yyread().
| int yylex | ( | yyscan_t | yyscanner | ) |
Definition at line 134 of file sqlcode.l.
|
static |
Definition at line 364 of file sqlcode.l.
References yyread().