scan.c File Reference

#include "pcctscfg.h"
#include "pccts_stdio.h"
#include "charbuf.h"
#include "stringbuffer.h"
#include "libicl.h"
#include "libicl_private.h"
#include "glib.h"
#include <stdio.h>
#include "antlr.h"
#include "ast.h"
#include "tokens.h"
#include "dlgdef.h"
#include "mode.h"
#include "dlgauto.h"

Go to the source code of this file.

Defines

#define ANTLR_VERSION   13333
#define AST_FIELDS   int isDefined; int type; char* tokenData; size_t tokenLen;
#define ZZCOL
#define USER_ZZSYN
#define ZZLEXBUFSIZE   10485760
#define zzcr_ast(ast, attr, ttype, text)
#define LL_K   2
#define DfaStates   72
#define ZZINTERACTIVE
#define ZZSHIFT(c)   (b_class_no[zzauto][1+c])
#define MAX_MODE   3

Typedefs

typedef unsigned char DfaState

Functions

ICLTermparser_getTermFromString (char *str, size_t len)
ICLTermparser_getTermFromStringDebug (char *str, size_t len)
int parser_getTermFromBuf (ICLTerm **result, stringbuffer_t *buf, int *lookedAhead)
int parser_getNetTermFromBuf (ICLTerm **result, stringbuffer_t *buf)
int parser_setDebug (int b)
void handleDblQuotedData ()
LOOKAHEAD void zzerraction ()

Variables

GByteArray * parser_dblQuoteBuf
char * parser_tmpStrIn
int parser_dblQuoteLen
int parser_error
DfaStatedfa [72]
DfaState accepts [73]
void(*[43]) actions ()


Detailed Description

Definition in file scan.c.


Define Documentation

#define ANTLR_VERSION   13333

Definition at line 12 of file scan.c.

#define AST_FIELDS   int isDefined; int type; char* tokenData; size_t tokenLen;

Definition at line 27 of file scan.c.

#define DfaStates   72

Definition at line 512 of file scan.c.

#define LL_K   2

Definition at line 133 of file scan.c.

#define MAX_MODE   3

Definition at line 1283 of file scan.c.

#define USER_ZZSYN

Definition at line 31 of file scan.c.

#define ZZCOL

Definition at line 29 of file scan.c.

#define zzcr_ast ( ast,
attr,
ttype,
text   ) 

Definition at line 86 of file scan.c.

#define ZZINTERACTIVE

Definition at line 1201 of file scan.c.

#define ZZLEXBUFSIZE   10485760

Definition at line 34 of file scan.c.

#define ZZSHIFT (  )     (b_class_no[zzauto][1+c])

Definition at line 1282 of file scan.c.


Typedef Documentation

typedef unsigned char DfaState

Definition at line 513 of file scan.c.


Function Documentation

void handleDblQuotedData (  ) 

int parser_getNetTermFromBuf ( ICLTerm **  result,
stringbuffer_t buf 
)

int parser_getTermFromBuf ( ICLTerm **  result,
stringbuffer_t buf,
int *  lookedAhead 
)

ICLTerm* parser_getTermFromString ( char *  str,
size_t  len 
)

ICLTerm* parser_getTermFromStringDebug ( char *  str,
size_t  len 
)

int parser_setDebug ( int  b  ) 

LOOKAHEAD void zzerraction (  ) 

Definition at line 144 of file scan.c.


Variable Documentation

DfaState accepts[73]

Initial value:

 {
  0, 1, 32, 32, 32, 4, 5, 6, 7, 8, 
  9, 12, 16, 13, 14, 15, 17, 18, 19, 20, 
  21, 22, 23, 24, 25, 26, 33, 29, 30, 30, 
  31, 34, 35, 32, 32, 32, 10, 11, 31, 31, 
  31, 27, 0, 27, 25, 0, 33, 30, 32, 32, 
  31, 0, 0, 28, 27, 2, 32, 0, 27, 32, 
  32, 32, 3, 0, 36, 38, 39, 40, 37, 0, 
  41, 42, 0
}

Definition at line 1132 of file scan.c.

void(*[43]) actions()

Definition at line 1143 of file scan.c.

DfaState* dfa[72]

Definition at line 1056 of file scan.c.

GByteArray* parser_dblQuoteBuf

Definition at line 162 of file parser.c.

int parser_dblQuoteLen

Definition at line 161 of file parser.c.

int parser_error

Definition at line 159 of file parser.c.

char* parser_tmpStrIn

Definition at line 163 of file parser.c.


Generated on Wed May 23 17:20:16 2007 using doxygen 1.5.2