EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Data Structures | Defines | Functions | Variables

BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg.h File Reference

#include "pcctscfg.h"
#include "set.h"

Go to the source code of this file.

Data Structures

struct  Attrib

Defines

#define TRUE   1
#define FALSE   0
#define IN   input_stream
#define OUT   output_stream
#define MAX_MODES   50
#define MAX_ON_LINE   10
#define NFA_MIN   64
#define DFA_MIN   64
#define DEFAULT_CLASSNAME   "DLGLexer"
#define MIN_CHAR   (-1)
#define MAX_CHAR   255
#define CHAR_RANGE   (1+(MAX_CHAR) - (MIN_CHAR))
#define NIL_INDEX   0
#define HASH_SIZE   211
#define nfa_node   struct _nfa_node
#define dfa_node   struct _dfa_node
#define NFA(x)   (nfa_array[x])
#define DFA(x)   (dfa_array[x])
#define DFA_NO(x)   ( (x) ? (x)->node_no : NIL_INDEX)
#define NFA_NO(x)   ( (x) ? (x)->node_no : NIL_INDEX)
#define zzcr_attr(attr, token, text)
#define zzd_attr(a)   set_free((a)->label);

Functions

char * dlg_malloc ()
char * dlg_calloc ()
int reach ()
set closure ()
dfa_node * new_dfa_node ()
nfa_node * new_nfa_node ()
dfa_node * dfastate ()
dfa_node ** nfa_to_dfa ()
void internal_error ()
FILEread_stream ()
FILEwrite_stream ()
void make_nfa_model_node ()
void make_dfa_model_node ()
char * ClassName ()
char * OutMetaName ()
void error ()
void warning ()
void p_head ()
void p_class_hdr ()
void p_includes ()
void p_tables ()
void p_tail ()
void p_class_def1 ()
void new_automaton_mode ()
int relabel ()
void p_shift_table ()
void p_bshift_table ()
void p_class_table ()
void p_mode_def ()
void init ()
void p_class_def2 ()
void clear_hash ()
void p_alternative_table ()
void p_node_table ()
void p_dfa_table ()
void p_accept_table ()
void p_action_table ()
void p_base_table ()
void p_single_node ()
char * minsize ()
void close1 ()
void partition ()
void intersect_nfa_labels ()
void r_intersect ()
void label_node ()
void label_with_classes ()

Variables

char program []
char version []
char * file_str []
int err_found
int action_no
int func_action
set used_chars
set used_classes
int class_no
set class_sets []
set normal_chars
int comp_level
int interactive
int mode_counter
int dfa_basep []
int dfa_class_nop []
int nfa_allocated
int dfa_allocated
nfa_node ** nfa_array
dfa_node ** dfa_array
int operation_no
FILEinput_stream
FILEoutput_stream
FILEmode_stream
FILEclass_stream
char * mode_file
int gen_ansi
int case_insensitive
int warn_ambig
int gen_cpp
char * cl_file_str
int firstLexMember
char * OutputDirectory
char * class_name

Define Documentation

#define CHAR_RANGE   (1+(MAX_CHAR) - (MIN_CHAR))

Definition at line 60 of file dlg.h.

#define DEFAULT_CLASSNAME   "DLGLexer"

Definition at line 54 of file dlg.h.

#define DFA (   x)    (dfa_array[x])

Definition at line 94 of file dlg.h.

#define DFA_MIN   64

Definition at line 52 of file dlg.h.

#define DFA_NO (   x)    ( (x) ? (x)->node_no : NIL_INDEX)

Definition at line 95 of file dlg.h.

#define dfa_node   struct _dfa_node

Definition at line 77 of file dlg.h.

#define FALSE   0

Definition at line 42 of file dlg.h.

#define HASH_SIZE   211

Definition at line 66 of file dlg.h.

#define IN   input_stream

Definition at line 45 of file dlg.h.

#define MAX_CHAR   255

Definition at line 59 of file dlg.h.

#define MAX_MODES   50

Definition at line 48 of file dlg.h.

#define MAX_ON_LINE   10

Definition at line 49 of file dlg.h.

#define MIN_CHAR   (-1)

Definition at line 58 of file dlg.h.

#define NFA (   x)    (nfa_array[x])

Definition at line 93 of file dlg.h.

#define NFA_MIN   64

Definition at line 51 of file dlg.h.

#define NFA_NO (   x)    ( (x) ? (x)->node_no : NIL_INDEX)

Definition at line 96 of file dlg.h.

#define nfa_node   struct _nfa_node

Definition at line 68 of file dlg.h.

#define NIL_INDEX   0

Definition at line 63 of file dlg.h.

#define OUT   output_stream

Definition at line 46 of file dlg.h.

#define TRUE   1

Definition at line 41 of file dlg.h.

#define zzcr_attr (   attr,
  token,
  text 
)
Value:
{                                       \
        (attr)->letter = text[0]; (attr)->l = NULL;                     \
        (attr)->r = NULL; (attr)->label = empty;                        \
}

Definition at line 110 of file dlg.h.

#define zzd_attr (   a)    set_free((a)->label);

Definition at line 114 of file dlg.h.


Function Documentation

char* ClassName ( )
void clear_hash ( )

Definition at line 184 of file automata.c.

void close1 ( )
set closure ( )
dfa_node* dfastate ( )
char* dlg_calloc ( )
char* dlg_malloc ( )
void error ( )

Definition at line 1195 of file antlr.c.

void init ( )

Definition at line 247 of file main.c.

void internal_error ( )
void intersect_nfa_labels ( )
void label_node ( )
void label_with_classes ( )
void make_dfa_model_node ( )
void make_nfa_model_node ( )

Definition at line 839 of file dlg_p.c.

char* minsize ( )
void new_automaton_mode ( )

Definition at line 276 of file main.c.

dfa_node* new_dfa_node ( )
nfa_node* new_nfa_node ( )

Definition at line 804 of file dlg_p.c.

dfa_node** nfa_to_dfa ( )
char* OutMetaName ( )
void p_accept_table ( )

Definition at line 463 of file output.c.

void p_action_table ( )

Definition at line 545 of file output.c.

void p_alternative_table ( )

Definition at line 666 of file output.c.

void p_base_table ( )

Definition at line 613 of file output.c.

void p_bshift_table ( )

Definition at line 649 of file output.c.

void p_class_def1 ( )

Definition at line 176 of file output.c.

void p_class_def2 ( )

Definition at line 187 of file output.c.

void p_class_hdr ( )

Definition at line 146 of file output.c.

void p_class_table ( )

Definition at line 630 of file output.c.

void p_dfa_table ( )

Definition at line 445 of file output.c.

void p_head ( )

Definition at line 267 of file output.c.

void p_includes ( )

Definition at line 290 of file output.c.

void p_mode_def ( )
void p_node_table ( )

Definition at line 386 of file output.c.

void p_shift_table ( )
void p_single_node ( )
void p_tables ( )

Definition at line 328 of file output.c.

void p_tail ( )

Definition at line 303 of file output.c.

void partition ( )
void r_intersect ( )
int reach ( )
FILE* read_stream ( )
int relabel ( )
void warning ( )
FILE* write_stream ( )

Variable Documentation

int action_no

Definition at line 42 of file dlg_p.c.

Definition at line 43 of file main.c.

char* cl_file_str
char* class_name

Definition at line 37 of file main.c.

int class_no

Definition at line 45 of file relabel.c.

Definition at line 47 of file relabel.c.

Definition at line 93 of file output.c.

Definition at line 41 of file main.c.

Definition at line 48 of file automata.c.

dfa_node** dfa_array

Definition at line 49 of file automata.c.

int dfa_basep[]

Definition at line 85 of file output.c.

Definition at line 86 of file output.c.

int err_found

Definition at line 41 of file support.c.

char* file_str[]

Definition at line 35 of file main.c.

Definition at line 61 of file dlg_a.c.

Definition at line 49 of file dlg_a.c.

int gen_ansi

Definition at line 88 of file output.c.

int gen_cpp

Definition at line 45 of file main.c.

Definition at line 90 of file output.c.

Definition at line 42 of file main.c.

Definition at line 52 of file dlg_p.c.

char* mode_file

Definition at line 36 of file main.c.

Definition at line 92 of file output.c.

Definition at line 43 of file dlg_p.c.

nfa_node** nfa_array

Definition at line 44 of file dlg_p.c.

Definition at line 48 of file dlg_p.c.

Definition at line 84 of file output.c.

Definition at line 91 of file output.c.

Definition at line 408 of file globals.c.

char program[]

Definition at line 32 of file main.c.

Definition at line 46 of file dlg_p.c.

Definition at line 47 of file dlg_p.c.

char version[]

Definition at line 27 of file setup.py.

Definition at line 44 of file main.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines