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

BaseTools/Source/C/VfrCompile/Pccts/antlr/build.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "pcctscfg.h"
#include "set.h"
#include "syn.h"
#include "hash.h"
#include "generic.h"
#include "dlgdef.h"

Go to the source code of this file.

Defines

#define SetBlk(g, t, approx, first_set_symbol)

Functions

void addParm (Node *p, char *parm)
Graph buildAction (char *action, int file, int line, int is_predicate)
Graph buildToken (char *text)
Graph buildWildCard (char *text)
void setUpperRange (TokNode *t, char *text)
Graph buildRuleRef (char *text)
Graph Or (Graph g1, Graph g2)
Graph Cat (Graph g1, Graph g2)
Graph makeOpt (Graph g1, int approx, char *pFirstSetSymbol)
Graph makeBlk (Graph g1, int approx, char *pFirstSetSymbol)
Graph makeLoop (Graph g1, int approx, char *pFirstSetSymbol)
Graph makePlus (Graph g1, int approx, char *pFirstSetSymbol)
Graph emptyAlt ()
Graph emptyAlt3 ()
TokNodenewTokNode ()
RuleRefNodenewRNode ()
JunctionnewJunction ()
ActionNodenewActionNode ()
char * makelocks ()

Define Documentation

#define SetBlk (   g,
  t,
  approx,
  first_set_symbol 
)
Value:
{                               \
                        ((Junction *)g.left)->jtype = t;                                                \
                        ((Junction *)g.left)->approx = approx;                                  \
                        ((Junction *)g.left)->pFirstSetSymbol = first_set_symbol;   \
                        ((Junction *)g.left)->end = (Junction *) g.right;               \
                        ((Junction *)g.right)->jtype = EndBlk;}

Definition at line 41 of file build.c.


Function Documentation

void addParm ( Node p,
char *  parm 
)

Definition at line 56 of file build.c.

Graph buildAction ( char *  action,
int  file,
int  line,
int  is_predicate 
)

Definition at line 88 of file build.c.

Graph buildRuleRef ( char *  text)

Definition at line 272 of file build.c.

Graph buildToken ( char *  text)

Definition at line 164 of file build.c.

Graph buildWildCard ( char *  text)

Definition at line 196 of file build.c.

Graph Cat ( Graph  g1,
Graph  g2 
)

Definition at line 341 of file build.c.

Graph emptyAlt ( )

Definition at line 588 of file build.c.

Graph emptyAlt3 ( )

Definition at line 614 of file build.c.

Graph makeBlk ( Graph  g1,
int  approx,
char *  pFirstSetSymbol 
)

Definition at line 421 of file build.c.

char* makelocks ( )

Definition at line 788 of file build.c.

Graph makeLoop ( Graph  g1,
int  approx,
char *  pFirstSetSymbol 
)

Definition at line 468 of file build.c.

Graph makeOpt ( Graph  g1,
int  approx,
char *  pFirstSetSymbol 
)

Definition at line 373 of file build.c.

Graph makePlus ( Graph  g1,
int  approx,
char *  pFirstSetSymbol 
)

Definition at line 520 of file build.c.

ActionNode* newActionNode ( )

Definition at line 747 of file build.c.

Junction* newJunction ( )

Definition at line 708 of file build.c.

RuleRefNode* newRNode ( )

Definition at line 671 of file build.c.

TokNode* newTokNode ( )

Definition at line 637 of file build.c.

Graph Or ( Graph  g1,
Graph  g2 
)

Definition at line 311 of file build.c.

void setUpperRange ( TokNode t,
char *  text 
)

Definition at line 246 of file build.c.

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