#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <assert.h>
#include <ctype.h>
#include <qstring.h>
#include <qstringlist.h>
#include <qlist.h>
#include <qmap.h>
#include <qarray.h>
#include <qstack.h>
#include <qregexp.h>
#include <qfile.h>
#include <qdict.h>
#include "entry.h"
#include "message.h"
#include "config.h"
#include "doxygen.h"
#include "util.h"
#include "defargs.h"
#include "language.h"
#include "commentscan.h"
#include "pre.h"
#include "tclscanner.h"
#include "outputlist.h"
#include "membername.h"
#include "searchindex.h"
#include "commentcnv.h"
#include "bufstr.h"
#include "portable.h"
#include "arguments.h"
#include "namespacedef.h"
#include "filedef.h"
Go to the source code of this file.
Classes | |
struct | yy_buffer_state |
struct | yy_trans_info |
struct | tcl_scan |
Structure containing information about current scan context. More... | |
Typedefs | |
typedef signed char | flex_int8_t |
typedef short int | flex_int16_t |
typedef int | flex_int32_t |
typedef unsigned char | flex_uint8_t |
typedef unsigned short int | flex_uint16_t |
typedef unsigned int | flex_uint32_t |
typedef struct yy_buffer_state * | YY_BUFFER_STATE |
typedef size_t | yy_size_t |
typedef unsigned char | YY_CHAR |
typedef int | yy_state_type |
Functions | |
void | tclscannerYYrestart (FILE *input_file) |
void | tclscannerYY_switch_to_buffer (YY_BUFFER_STATE new_buffer) |
YY_BUFFER_STATE | tclscannerYY_create_buffer (FILE *file, int size) |
void | tclscannerYY_delete_buffer (YY_BUFFER_STATE b) |
void | tclscannerYY_flush_buffer (YY_BUFFER_STATE b) |
void | tclscannerYYpush_buffer_state (YY_BUFFER_STATE new_buffer) |
void | tclscannerYYpop_buffer_state (void) |
static void | tclscannerYYensure_buffer_stack (void) |
static void | tclscannerYY_load_buffer_state (void) |
static void | tclscannerYY_init_buffer (YY_BUFFER_STATE b, FILE *file) |
YY_BUFFER_STATE | tclscannerYY_scan_buffer (char *base, yy_size_t size) |
YY_BUFFER_STATE | tclscannerYY_scan_string (yyconst char *yy_str) |
YY_BUFFER_STATE | tclscannerYY_scan_bytes (yyconst char *bytes, int len) |
void * | tclscannerYYalloc (yy_size_t) |
void * | tclscannerYYrealloc (void *, yy_size_t) |
void | tclscannerYYfree (void *) |
static yy_state_type | yy_get_previous_state (void) |
static yy_state_type | yy_try_NUL_trans (yy_state_type current_state) |
static int | yy_get_next_buffer (void) |
static void | yy_fatal_error (yyconst char msg[]) |
int | TclFindElement (CONST char *list, int listLength, CONST char **elementPtr, CONST char **nextPtr, int *sizePtr, int *bracePtr) |
int | Tcl_SplitList (CONST char *list, int *argcPtr, CONST char ***argvPtr) |
void | tcl_split_list (QString &str, QStringList &list) |
static int | yyread (char *buf, int max_size) |
static tcl_scan * | tcl_scan_start (char type, QString content, QCString ns, Entry *entry_cl, Entry *entry_fn) |
Start new scan context for given 'content'. More... | |
static void | tcl_scan_end () |
Close current scan context. More... | |
static void | tcl_comment (int what, const char *text) |
Handling of comment parsing. More... | |
static void | tcl_word (int what, const char *text) |
Handling of word parsing. More... | |
static void | tcl_command (int what, const char *text) |
Entry * | tcl_entry_new () |
Create new entry. More... | |
void | tcl_protection (Entry *entry) |
Set protection level. More... | |
static void | tcl_name (const QCString &ns0, const QCString &name0, QCString &ns, QCString &name) |
Check name. More... | |
static void | tcl_name_SnippetAware (const QCString &ns0, const QCString &name0, QCString &ns, QCString &name) |
Check name. Strip namespace qualifiers from name0 if inside inlined code segment. More... | |
Entry * | tcl_entry_namespace (const QCString ns) |
Entry * | tcl_entry_class (const QCString cl) |
static int | tcl_keyword (QCString str) |
Check for keywords. More... | |
static void | tcl_font_end () |
End codifying with special font class. More... | |
static void | tcl_codify (const char *s, const char *str) |
Codify 'str' with special font class 's'. More... | |
static void | tcl_codify_cmd (const char *s, int i) |
static tcl_scan * | tcl_codify_token (tcl_scan *myScan, const QCString type, const QCString string) |
codify a string token More... | |
static int | yy_init_globals (void) |
int | tclscannerYYlex_destroy (void) |
int | tclscannerYYget_debug (void) |
void | tclscannerYYset_debug (int debug_flag) |
YY_EXTRA_TYPE | tclscannerYYget_extra (void) |
void | tclscannerYYset_extra (YY_EXTRA_TYPE user_defined) |
FILE * | tclscannerYYget_in (void) |
void | tclscannerYYset_in (FILE *in_str) |
FILE * | tclscannerYYget_out (void) |
void | tclscannerYYset_out (FILE *out_str) |
int | tclscannerYYget_leng (void) |
char * | tclscannerYYget_text (void) |
int | tclscannerYYget_lineno (void) |
void | tclscannerYYset_lineno (int line_number) |
static void | yyunput (int c, char *buf_ptr) |
static void | yy_push_state (int new_state) |
static void | yy_pop_state (void) |
static int | yy_top_state (void) |
int | tclscannerYYlex (void) |
if (!(yy_init)) | |
while (1) | |
static void | yyunput (int c, register char *yy_bp) |
static void | yy_fatal_error (yyconst char *msg) |
static void | tcl_command_ARGLIST (QString &arglist) |
Parse given arglist . More... | |
static void | tcl_codify_link (QCString name) |
Create link. More... | |
static tcl_scan * | tcl_command_ARG (tcl_scan *myScan, unsigned int i, bool ignoreOutermostBraces) |
scan general argument for brackets More... | |
static void | tcl_command_EVAL () |
Handle internal tcl commands. More... | |
static void | tcl_command_SWITCH () |
Handle internal tcl commands. More... | |
static void | tcl_command_CATCH () |
Handle internal tcl commands. More... | |
static void | tcl_command_IF (QStringList type) |
Handle internal tcl commands. More... | |
static void | tcl_command_FOR () |
Handle internal tcl commands. More... | |
static void | tcl_command_FOREACH () |
! Handle internal tcl commands. More... | |
static void | tcl_command_WHILE () |
! Handle internal tcl commands. More... | |
static void | tcl_command_OTHER () |
Handle all other commands. More... | |
static void | tcl_command_PROC () |
Handle proc statements. More... | |
static void | tcl_command_METHOD () |
Handle itcl::body statements and oo::define method and method inside itcl::class statements. More... | |
static void | tcl_command_CONSTRUCTOR () |
Handle constructor statements inside class definitions. More... | |
static void | tcl_command_DESTRUCTOR () |
Handle destructor statements inside class definitions. More... | |
static void | tcl_command_NAMESPACE () |
Handle namespace statements. More... | |
static void | tcl_command_ITCL_CLASS () |
Handle itcl::class statements. More... | |
static void | tcl_command_OO_CLASS () |
Handle oo::class statements. More... | |
static void | tcl_command_OO_DEFINE () |
Handle oo::define statements. More... | |
static void | tcl_command_VARIABLE (int inclass) |
Handle variable statements. More... | |
static void | tcl_init () |
Common initializations. More... | |
static void | tcl_parse (const QCString ns, const QCString cls) |
Start parsing. More... | |
void | tclDummy () |
#define BEGIN (yy_start) = 1 + 2 * |
Definition at line 144 of file tclscanner.cpp.
#define ckalloc malloc |
Definition at line 786 of file tclscanner.cpp.
#define ckfree free |
Definition at line 787 of file tclscanner.cpp.
#define COMMAND 3 |
Definition at line 1494 of file tclscanner.cpp.
#define COMMENT 5 |
Definition at line 1496 of file tclscanner.cpp.
#define COMMENT_CODE 7 |
Definition at line 1498 of file tclscanner.cpp.
#define COMMENT_NL 6 |
Definition at line 1497 of file tclscanner.cpp.
#define COMMENT_VERB 8 |
Definition at line 1499 of file tclscanner.cpp.
#define COMMENTLINE 9 |
Definition at line 1500 of file tclscanner.cpp.
#define COMMENTLINE_NL 10 |
Definition at line 1501 of file tclscanner.cpp.
#define CONST const |
Definition at line 782 of file tclscanner.cpp.
#define D if (0) printf("--- %.4d %d@%d: %s\n",__LINE__,tclscannerYYlineno,yy_start_stack_ptr,tclscannerYYtext); |
Debug message.
Definition at line 775 of file tclscanner.cpp.
#define ECHO do { if (fwrite( tclscannerYYtext, tclscannerYYleng, 1, tclscannerYYout )) {} } while (0) |
Definition at line 1598 of file tclscanner.cpp.
#define EOB_ACT_CONTINUE_SCAN 0 |
Definition at line 179 of file tclscanner.cpp.
#define EOB_ACT_END_OF_FILE 1 |
Definition at line 180 of file tclscanner.cpp.
#define EOB_ACT_LAST_MATCH 2 |
Definition at line 181 of file tclscanner.cpp.
#define ERROR 1 |
Definition at line 1492 of file tclscanner.cpp.
#define FLEX_BETA |
Definition at line 33 of file tclscanner.cpp.
#define FLEX_SCANNER |
Definition at line 28 of file tclscanner.cpp.
#define FLEXINT_H |
Definition at line 49 of file tclscanner.cpp.
#define INITIAL 0 |
Definition at line 1491 of file tclscanner.cpp.
#define INT16_MAX (32767) |
Definition at line 92 of file tclscanner.cpp.
#define INT16_MIN (-32767-1) |
Definition at line 83 of file tclscanner.cpp.
#define INT32_MAX (2147483647) |
Definition at line 95 of file tclscanner.cpp.
#define INT32_MIN (-2147483647-1) |
Definition at line 86 of file tclscanner.cpp.
#define INT8_MAX (127) |
Definition at line 89 of file tclscanner.cpp.
#define INT8_MIN (-128) |
Definition at line 80 of file tclscanner.cpp.
#define MAX_INCLUDE_DEPTH 10 |
Definition at line 756 of file tclscanner.cpp.
#define REJECT reject_used_but_not_detected |
Definition at line 693 of file tclscanner.cpp.
#define tcl_err |
Application error.
Definition at line 759 of file tclscanner.cpp.
#define TCL_ERROR 1 |
Definition at line 784 of file tclscanner.cpp.
#define tcl_inf if (0) printf("--- %.4d %d@%d: ",__LINE__,tclscannerYYlineno,yy_start_stack_ptr) && printf |
Application message.
Definition at line 771 of file tclscanner.cpp.
#define TCL_OK 0 |
Definition at line 785 of file tclscanner.cpp.
#define tcl_war |
Application warning.
Definition at line 766 of file tclscanner.cpp.
#define TclCopyAndCollapse | ( | size, | |
src, | |||
dest | |||
) | memcpy(dest,src,size); *(dest+size)=0 |
Definition at line 788 of file tclscanner.cpp.
#define tclscannerYYwrap | ( | n | ) | 1 |
Definition at line 367 of file tclscanner.cpp.
#define TOP 2 |
Definition at line 1493 of file tclscanner.cpp.
#define UCHAR (unsigned char) |
Definition at line 783 of file tclscanner.cpp.
#define UINT16_MAX (65535U) |
Definition at line 101 of file tclscanner.cpp.
#define UINT32_MAX (4294967295U) |
Definition at line 104 of file tclscanner.cpp.
#define UINT8_MAX (255U) |
Definition at line 98 of file tclscanner.cpp.
#define unput | ( | c | ) | yyunput( c, (yytext_ptr) ) |
Definition at line 212 of file tclscanner.cpp.
#define WORD 4 |
Definition at line 1495 of file tclscanner.cpp.
#define YY_AT_BOL | ( | ) | (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) |
Definition at line 363 of file tclscanner.cpp.
#define YY_BREAK break; |
Definition at line 1677 of file tclscanner.cpp.
#define YY_BUF_SIZE 16384 |
Definition at line 163 of file tclscanner.cpp.
#define YY_BUFFER_EOF_PENDING 2 |
Definition at line 279 of file tclscanner.cpp.
#define YY_BUFFER_NEW 0 |
Definition at line 267 of file tclscanner.cpp.
#define YY_BUFFER_NORMAL 1 |
Definition at line 268 of file tclscanner.cpp.
#define yy_create_buffer tclscannerYY_create_buffer |
Definition at line 9 of file tclscanner.cpp.
#define YY_CURRENT_BUFFER |
Definition at line 295 of file tclscanner.cpp.
#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] |
Definition at line 302 of file tclscanner.cpp.
#define YY_DECL int tclscannerYYlex (void) |
Definition at line 1665 of file tclscanner.cpp.
#define YY_DECL_IS_OURS 1 |
Definition at line 1661 of file tclscanner.cpp.
#define yy_delete_buffer tclscannerYY_delete_buffer |
Definition at line 10 of file tclscanner.cpp.
#define YY_DO_BEFORE_ACTION |
Definition at line 391 of file tclscanner.cpp.
#define YY_END_OF_BUFFER 56 |
Definition at line 400 of file tclscanner.cpp.
#define YY_END_OF_BUFFER_CHAR 0 |
Definition at line 159 of file tclscanner.cpp.
#define YY_EXIT_FAILURE 2 |
Definition at line 3200 of file tclscanner.cpp.
#define YY_EXTRA_TYPE void * |
Definition at line 1512 of file tclscanner.cpp.
#define YY_FATAL_ERROR | ( | msg | ) | yy_fatal_error( msg ) |
Definition at line 1652 of file tclscanner.cpp.
#define yy_flex_debug tclscannerYY_flex_debug |
Definition at line 11 of file tclscanner.cpp.
#define YY_FLEX_MAJOR_VERSION 2 |
Definition at line 29 of file tclscanner.cpp.
#define YY_FLEX_MINOR_VERSION 5 |
Definition at line 30 of file tclscanner.cpp.
#define YY_FLEX_SUBMINOR_VERSION 35 |
Definition at line 31 of file tclscanner.cpp.
#define yy_flush_buffer tclscannerYY_flush_buffer |
Definition at line 13 of file tclscanner.cpp.
#define YY_FLUSH_BUFFER tclscannerYY_flush_buffer(YY_CURRENT_BUFFER ) |
Definition at line 331 of file tclscanner.cpp.
#define yy_init_buffer tclscannerYY_init_buffer |
Definition at line 12 of file tclscanner.cpp.
Definition at line 1477 of file tclscanner.cpp.
#define YY_INT_ALIGNED short int |
Definition at line 5 of file tclscanner.cpp.
#define YY_LESS_LINENO | ( | n | ) |
Definition at line 190 of file tclscanner.cpp.
#define yy_load_buffer_state tclscannerYY_load_buffer_state |
Definition at line 14 of file tclscanner.cpp.
#define YY_MORE_ADJ (yy_more_len) |
Definition at line 697 of file tclscanner.cpp.
#define yy_new_buffer tclscannerYY_create_buffer |
Definition at line 341 of file tclscanner.cpp.
#define YY_NEW_FILE tclscannerYYrestart(tclscannerYYin ) |
Definition at line 157 of file tclscanner.cpp.
#define YY_NO_INPUT 1 |
Definition at line 753 of file tclscanner.cpp.
#define YY_NO_UNISTD_H 1 |
Definition at line 754 of file tclscanner.cpp.
#define YY_NULL 0 |
Definition at line 131 of file tclscanner.cpp.
#define YY_NUM_RULES 55 |
Definition at line 399 of file tclscanner.cpp.
#define YY_READ_BUF_SIZE 8192 |
Definition at line 1590 of file tclscanner.cpp.
#define YY_RESTORE_YY_MORE_OFFSET |
Definition at line 698 of file tclscanner.cpp.
#define YY_RULE_SETUP YY_USER_ACTION |
Definition at line 1680 of file tclscanner.cpp.
#define YY_SC_TO_UI | ( | c | ) | ((unsigned int) (unsigned char) c) |
Definition at line 138 of file tclscanner.cpp.
#define yy_set_bol | ( | at_bol | ) |
Definition at line 353 of file tclscanner.cpp.
#define yy_set_interactive | ( | is_interactive | ) |
Definition at line 343 of file tclscanner.cpp.
#define YY_SKIP_YYWRAP |
Definition at line 368 of file tclscanner.cpp.
#define YY_START (((yy_start) - 1) / 2) |
Definition at line 150 of file tclscanner.cpp.
#define YY_START_STACK_INCR 25 |
Definition at line 1647 of file tclscanner.cpp.
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) |
Definition at line 168 of file tclscanner.cpp.
#define YY_STATE_EOF | ( | state | ) | (YY_END_OF_BUFFER + state + 1) |
Definition at line 154 of file tclscanner.cpp.
#define YY_STRUCT_YY_BUFFER_STATE |
Definition at line 220 of file tclscanner.cpp.
#define yy_switch_to_buffer tclscannerYY_switch_to_buffer |
Definition at line 15 of file tclscanner.cpp.
#define YY_TYPEDEF_YY_BUFFER_STATE |
Definition at line 171 of file tclscanner.cpp.
#define YY_TYPEDEF_YY_SIZE_T |
Definition at line 215 of file tclscanner.cpp.
#define YY_USER_ACTION |
Definition at line 1672 of file tclscanner.cpp.
#define yyalloc tclscannerYYalloc |
Definition at line 24 of file tclscanner.cpp.
#define yyconst |
Definition at line 127 of file tclscanner.cpp.
#define yyfree tclscannerYYfree |
Definition at line 26 of file tclscanner.cpp.
#define yyin tclscannerYYin |
Definition at line 16 of file tclscanner.cpp.
#define yyleng tclscannerYYleng |
Definition at line 17 of file tclscanner.cpp.
#define yyless | ( | n | ) |
Definition at line 3212 of file tclscanner.cpp.
#define yyless | ( | n | ) |
Definition at line 3212 of file tclscanner.cpp.
#define yylex tclscannerYYlex |
Definition at line 18 of file tclscanner.cpp.
#define yylineno tclscannerYYlineno |
Definition at line 19 of file tclscanner.cpp.
#define yymore | ( | ) | ((yy_more_flag) = 1) |
Definition at line 696 of file tclscanner.cpp.
#define yyout tclscannerYYout |
Definition at line 20 of file tclscanner.cpp.
#define yyrealloc tclscannerYYrealloc |
Definition at line 25 of file tclscanner.cpp.
#define yyrestart tclscannerYYrestart |
Definition at line 21 of file tclscanner.cpp.
#define YYSTATE YY_START |
Definition at line 151 of file tclscanner.cpp.
#define YYTABLES_NAME "yytables" |
Definition at line 3413 of file tclscanner.cpp.
Definition at line 1642 of file tclscanner.cpp.
#define yytext tclscannerYYtext |
Definition at line 22 of file tclscanner.cpp.
#define yytext_ptr tclscannerYYtext |
Definition at line 381 of file tclscanner.cpp.
#define yywrap tclscannerYYwrap |
Definition at line 23 of file tclscanner.cpp.
typedef short int flex_int16_t |
Definition at line 71 of file tclscanner.cpp.
typedef int flex_int32_t |
Definition at line 72 of file tclscanner.cpp.
typedef signed char flex_int8_t |
Definition at line 70 of file tclscanner.cpp.
typedef unsigned short int flex_uint16_t |
Definition at line 74 of file tclscanner.cpp.
typedef unsigned int flex_uint32_t |
Definition at line 75 of file tclscanner.cpp.
typedef unsigned char flex_uint8_t |
Definition at line 73 of file tclscanner.cpp.
typedef struct yy_buffer_state* YY_BUFFER_STATE |
Definition at line 172 of file tclscanner.cpp.
typedef unsigned char YY_CHAR |
Definition at line 370 of file tclscanner.cpp.
typedef size_t yy_size_t |
Definition at line 216 of file tclscanner.cpp.
typedef int yy_state_type |
Definition at line 374 of file tclscanner.cpp.
if | ( | ! | yy_init | ) |
Definition at line 1695 of file tclscanner.cpp.
|
static |
Codify 'str' with special font class 's'.
Definition at line 1359 of file tclscanner.cpp.
|
static |
Definition at line 1436 of file tclscanner.cpp.
|
static |
Create link.
Definition at line 3939 of file tclscanner.cpp.
|
static |
codify a string token
Definition at line 1446 of file tclscanner.cpp.
|
static |
Handling of command parsing. what=0 -> ... what=1 -> ... what=-1 -> ...
Definition at line 4779 of file tclscanner.cpp.
|
static |
scan general argument for brackets
Definition at line 4058 of file tclscanner.cpp.
|
static |
Parse given arglist
.
Definition at line 3899 of file tclscanner.cpp.
|
static |
Handle internal tcl commands.
Definition at line 4282 of file tclscanner.cpp.
|
static |
Handle constructor
statements inside class definitions.
Definition at line 4485 of file tclscanner.cpp.
|
static |
Handle destructor
statements inside class definitions.
Definition at line 4522 of file tclscanner.cpp.
|
static |
Handle internal tcl commands.
Definition at line 4140 of file tclscanner.cpp.
|
static |
Handle internal tcl commands.
Definition at line 4328 of file tclscanner.cpp.
|
static |
! Handle internal tcl commands.
Definition at line 4347 of file tclscanner.cpp.
|
static |
Handle internal tcl commands.
Definition at line 4298 of file tclscanner.cpp.
|
static |
Handle itcl::class
statements.
Definition at line 4595 of file tclscanner.cpp.
|
static |
Handle itcl::body
statements and oo::define
method and method inside itcl::class
statements.
Definition at line 4443 of file tclscanner.cpp.
|
static |
Handle namespace
statements.
Definition at line 4556 of file tclscanner.cpp.
|
static |
Handle oo::class
statements.
Definition at line 4624 of file tclscanner.cpp.
|
static |
Handle oo::define
statements.
Definition at line 4657 of file tclscanner.cpp.
|
static |
Handle all other commands.
Definition at line 4393 of file tclscanner.cpp.
|
static |
Handle proc
statements.
Definition at line 4403 of file tclscanner.cpp.
|
static |
Handle internal tcl commands.
Definition at line 4161 of file tclscanner.cpp.
|
static |
Handle variable
statements.
Definition at line 4734 of file tclscanner.cpp.
|
static |
! Handle internal tcl commands.
Definition at line 4371 of file tclscanner.cpp.
|
static |
Handling of comment parsing.
Definition at line 3729 of file tclscanner.cpp.
Definition at line 1280 of file tclscanner.cpp.
Definition at line 1256 of file tclscanner.cpp.
Entry* tcl_entry_new | ( | ) |
Create new entry.
Definition at line 1168 of file tclscanner.cpp.
|
static |
|
static |
Common initializations.
Definition at line 5109 of file tclscanner.cpp.
|
static |
Check for keywords.
Definition at line 1299 of file tclscanner.cpp.
|
static |
Check name.
Definition at line 1206 of file tclscanner.cpp.
|
static |
Check name. Strip namespace qualifiers from name0 if inside inlined code segment.
Definition at line 1238 of file tclscanner.cpp.
Start parsing.
Definition at line 5179 of file tclscanner.cpp.
void tcl_protection | ( | Entry * | entry | ) |
Set protection level.
Definition at line 1192 of file tclscanner.cpp.
|
static |
Close current scan context.
Definition at line 3468 of file tclscanner.cpp.
|
static |
Start new scan context for given 'content'.
Definition at line 3421 of file tclscanner.cpp.
void tcl_split_list | ( | QString & | str, |
QStringList & | list | ||
) |
Definition at line 1068 of file tclscanner.cpp.
Definition at line 976 of file tclscanner.cpp.
|
static |
void tclDummy | ( | ) |
Definition at line 5385 of file tclscanner.cpp.
int TclFindElement | ( | CONST char * | list, |
int | listLength, | ||
CONST char ** | elementPtr, | ||
CONST char ** | nextPtr, | ||
int * | sizePtr, | ||
int * | bracePtr | ||
) |
Definition at line 789 of file tclscanner.cpp.
YY_BUFFER_STATE tclscannerYY_create_buffer | ( | FILE * | file, |
int | size | ||
) |
Allocate and initialize an input buffer state.
file | A readable stream. |
size | The character buffer size in bytes. When in doubt, use YY_BUF_SIZE . |
Definition at line 2880 of file tclscanner.cpp.
void tclscannerYY_delete_buffer | ( | YY_BUFFER_STATE | b | ) |
Destroy the buffer.
b | a buffer created with tclscannerYY_create_buffer() |
Definition at line 2908 of file tclscanner.cpp.
void tclscannerYY_flush_buffer | ( | YY_BUFFER_STATE | b | ) |
Discard all buffered characters. On the next scan, YY_INPUT will be called.
b | the buffer state to be flushed, usually YY_CURRENT_BUFFER . |
Definition at line 2955 of file tclscanner.cpp.
|
static |
Definition at line 2927 of file tclscanner.cpp.
|
static |
Definition at line 2866 of file tclscanner.cpp.
YY_BUFFER_STATE tclscannerYY_scan_buffer | ( | char * | base, |
yy_size_t | size | ||
) |
Setup the input buffer state to scan directly from a user-specified character buffer.
base | the character buffer |
size | the size in bytes of the character buffer |
Definition at line 3082 of file tclscanner.cpp.
YY_BUFFER_STATE tclscannerYY_scan_bytes | ( | yyconst char * | yybytes, |
int | _yybytes_len | ||
) |
Setup the input buffer state to scan the given bytes. The next call to tclscannerYYlex() will scan from a copy of bytes.
bytes | the byte buffer to scan |
len | the number of bytes in the buffer pointed to by bytes. |
Definition at line 3132 of file tclscanner.cpp.
YY_BUFFER_STATE tclscannerYY_scan_string | ( | yyconst char * | yystr | ) |
Setup the input buffer state to scan a string. The next call to tclscannerYYlex() will scan from a copy of str.
yystr | a NUL-terminated string to scan |
Definition at line 3119 of file tclscanner.cpp.
void tclscannerYY_switch_to_buffer | ( | YY_BUFFER_STATE | new_buffer | ) |
Switch to a different input buffer.
new_buffer | The new input buffer. |
Definition at line 2835 of file tclscanner.cpp.
void * tclscannerYYalloc | ( | yy_size_t | size | ) |
Definition at line 3391 of file tclscanner.cpp.
|
static |
Definition at line 3033 of file tclscanner.cpp.
void tclscannerYYfree | ( | void * | ptr | ) |
Definition at line 3408 of file tclscanner.cpp.
int tclscannerYYget_debug | ( | void | ) |
Definition at line 3296 of file tclscanner.cpp.
YY_EXTRA_TYPE tclscannerYYget_extra | ( | void | ) |
FILE * tclscannerYYget_in | ( | void | ) |
int tclscannerYYget_leng | ( | void | ) |
int tclscannerYYget_lineno | ( | void | ) |
FILE * tclscannerYYget_out | ( | void | ) |
char * tclscannerYYget_text | ( | void | ) |
int tclscannerYYlex | ( | void | ) |
int tclscannerYYlex_destroy | ( | void | ) |
Definition at line 3342 of file tclscanner.cpp.
void tclscannerYYpop_buffer_state | ( | void | ) |
Removes and deletes the top of the stack, if present. The next element becomes the new top.
Definition at line 3014 of file tclscanner.cpp.
void tclscannerYYpush_buffer_state | ( | YY_BUFFER_STATE | new_buffer | ) |
Pushes the new state onto the stack. The new state becomes the current state. This function will allocate the stack if necessary.
new_buffer | The new state. |
Definition at line 2984 of file tclscanner.cpp.
void * tclscannerYYrealloc | ( | void * | ptr, |
yy_size_t | size | ||
) |
Definition at line 3396 of file tclscanner.cpp.
void tclscannerYYrestart | ( | FILE * | input_file | ) |
Immediately switch to a different input stream.
input_file | A readable stream. |
INITIAL
. Definition at line 2818 of file tclscanner.cpp.
void tclscannerYYset_debug | ( | int | debug_flag | ) |
Definition at line 3301 of file tclscanner.cpp.
void tclscannerYYset_extra | ( | YY_EXTRA_TYPE | user_defined | ) |
void tclscannerYYset_in | ( | FILE * | in_str | ) |
Set the input stream. This does not discard the current input buffer.
in_str | A readable stream. |
Definition at line 3286 of file tclscanner.cpp.
void tclscannerYYset_lineno | ( | int | line_number | ) |
void tclscannerYYset_out | ( | FILE * | out_str | ) |
Definition at line 3291 of file tclscanner.cpp.
while | ( | 1 | ) |
Definition at line 1721 of file tclscanner.cpp.
|
static |
|
static |
Definition at line 3203 of file tclscanner.cpp.
|
static |
Definition at line 2504 of file tclscanner.cpp.
|
static |
Definition at line 2638 of file tclscanner.cpp.
|
static |
Definition at line 3306 of file tclscanner.cpp.
|
static |
Definition at line 3186 of file tclscanner.cpp.
|
static |
Definition at line 3162 of file tclscanner.cpp.
|
static |
Definition at line 3194 of file tclscanner.cpp.
|
static |
Definition at line 2670 of file tclscanner.cpp.
|
static |
Definition at line 5368 of file tclscanner.cpp.
|
static |
|
static |
Definition at line 2693 of file tclscanner.cpp.
int brace_level |
Definition at line 1126 of file tclscanner.cpp.
int bracket_level |
Definition at line 1127 of file tclscanner.cpp.
int bracket_quote |
Definition at line 1128 of file tclscanner.cpp.
QAsciiDict<Entry> cl |
Definition at line 1148 of file tclscanner.cpp.
CodeOutputInterface* code |
Definition at line 1114 of file tclscanner.cpp.
const char* code_font |
Definition at line 1117 of file tclscanner.cpp.
int code_line |
Definition at line 1115 of file tclscanner.cpp.
int code_linenumbers |
Definition at line 1116 of file tclscanner.cpp.
bool collectXRefs |
Definition at line 1153 of file tclscanner.cpp.
int command |
Definition at line 1124 of file tclscanner.cpp.
int comment |
Definition at line 1125 of file tclscanner.cpp.
bool config_autobrief |
Definition at line 1118 of file tclscanner.cpp.
Definition at line 1119 of file tclscanner.cpp.
Definition at line 1150 of file tclscanner.cpp.
Entry* entry_current |
Definition at line 1143 of file tclscanner.cpp.
Entry* entry_file |
Definition at line 1142 of file tclscanner.cpp.
Entry* entry_inside |
Definition at line 1144 of file tclscanner.cpp.
Entry* entry_main |
Definition at line 1141 of file tclscanner.cpp.
QCString file_name |
Definition at line 1122 of file tclscanner.cpp.
QAsciiDict<Entry> fn |
Definition at line 1149 of file tclscanner.cpp.
int input_position |
Definition at line 1121 of file tclscanner.cpp.
QCString input_string |
Definition at line 1120 of file tclscanner.cpp.
int line_body0 |
Definition at line 1133 of file tclscanner.cpp.
int line_body1 |
Definition at line 1134 of file tclscanner.cpp.
int line_command |
Definition at line 1132 of file tclscanner.cpp.
int line_comment |
Definition at line 1130 of file tclscanner.cpp.
int line_commentline |
Definition at line 1131 of file tclscanner.cpp.
QStringList list_commandwords |
Definition at line 1145 of file tclscanner.cpp.
MemberDef* memberdef |
Definition at line 1152 of file tclscanner.cpp.
QAsciiDict<Entry> ns |
Definition at line 1147 of file tclscanner.cpp.
Protection protection |
Definition at line 1151 of file tclscanner.cpp.
Definition at line 1146 of file tclscanner.cpp.
Definition at line 1140 of file tclscanner.cpp.
QCString string_command |
Definition at line 1135 of file tclscanner.cpp.
QCString string_comment |
Definition at line 1138 of file tclscanner.cpp.
QCString string_commentcodify |
Definition at line 1137 of file tclscanner.cpp.
QCString string_commentline |
Definition at line 1136 of file tclscanner.cpp.
QCString string_last |
Definition at line 1139 of file tclscanner.cpp.
struct { ... } tcl |
int tclscannerYY_flex_debug = 0 |
Definition at line 688 of file tclscanner.cpp.
FILE * tclscannerYYin = (FILE *) 0 |
Definition at line 372 of file tclscanner.cpp.
int tclscannerYYleng |
Definition at line 307 of file tclscanner.cpp.
int tclscannerYYlineno = 1 |
Definition at line 378 of file tclscanner.cpp.
FILE * tclscannerYYout = (FILE *) 0 |
Definition at line 372 of file tclscanner.cpp.
char * tclscannerYYtext |
Definition at line 699 of file tclscanner.cpp.
ParserInterface* this_parser |
Definition at line 1123 of file tclscanner.cpp.
char word_is |
Definition at line 1129 of file tclscanner.cpp.
|
static |
Definition at line 408 of file tclscanner.cpp.
register int yy_act |
Definition at line 1689 of file tclscanner.cpp.
|
static |
Definition at line 471 of file tclscanner.cpp.
register char * yy_bp |
Definition at line 1688 of file tclscanner.cpp.
|
static |
Stack as an array.
Definition at line 287 of file tclscanner.cpp.
|
static |
capacity of stack.
Definition at line 286 of file tclscanner.cpp.
|
static |
index of top of stack.
Definition at line 285 of file tclscanner.cpp.
|
static |
Definition at line 310 of file tclscanner.cpp.
|
static |
Definition at line 601 of file tclscanner.cpp.
register char* yy_cp |
Definition at line 1688 of file tclscanner.cpp.
YY_DECL |
The main scanner function which does all the work.
Definition at line 1686 of file tclscanner.cpp.
|
static |
Definition at line 498 of file tclscanner.cpp.
|
static |
Definition at line 317 of file tclscanner.cpp.
|
static |
Definition at line 431 of file tclscanner.cpp.
|
static |
Definition at line 305 of file tclscanner.cpp.
|
static |
Definition at line 311 of file tclscanner.cpp.
|
static |
Definition at line 685 of file tclscanner.cpp.
|
static |
Definition at line 684 of file tclscanner.cpp.
|
static |
Definition at line 463 of file tclscanner.cpp.
|
static |
Definition at line 694 of file tclscanner.cpp.
|
static |
Definition at line 695 of file tclscanner.cpp.
|
static |
Definition at line 306 of file tclscanner.cpp.
|
static |
Definition at line 525 of file tclscanner.cpp.
|
static |
Definition at line 678 of file tclscanner.cpp.
|
static |
Definition at line 312 of file tclscanner.cpp.
|
static |
Definition at line 1580 of file tclscanner.cpp.
|
static |
Definition at line 1579 of file tclscanner.cpp.
|
static |
Definition at line 1578 of file tclscanner.cpp.