pstate Struct Reference

Collaboration diagram for pstate:

Collaboration graph
[legend]
List of all members.

Public Types

enum  e_state {
  INITIALIZE, WAITING_FOR_DECL_OR_RULE, WAITING_FOR_DECL_KEYWORD, WAITING_FOR_DECL_ARG,
  WAITING_FOR_PRECEDENCE_SYMBOL, WAITING_FOR_ARROW, IN_RHS, LHS_ALIAS_1,
  LHS_ALIAS_2, LHS_ALIAS_3, RHS_ALIAS_1, RHS_ALIAS_2,
  PRECEDENCE_MARK_1, PRECEDENCE_MARK_2, RESYNC_AFTER_RULE_ERROR, RESYNC_AFTER_DECL_ERROR,
  WAITING_FOR_DESTRUCTOR_SYMBOL, WAITING_FOR_DATATYPE_SYMBOL, WAITING_FOR_FALLBACK_ID
}

Public Attributes

char * filename
int tokenlineno
int errorcnt
char * tokenstart
lemongp
enum pstate::e_state state
symbolfallback
symbollhs
char * lhsalias
int nrhs
symbolrhs [MAXRHS]
char * alias [MAXRHS]
ruleprevrule
char * declkeyword
char ** declargslot
int * decllnslot
enum e_assoc declassoc
int preccounter
rulefirstrule
rulelastrule

Detailed Description

Definition at line 1925 of file lemon.c.


Member Enumeration Documentation

enum pstate::e_state

Enumerator:
INITIALIZE 
WAITING_FOR_DECL_OR_RULE 
WAITING_FOR_DECL_KEYWORD 
WAITING_FOR_DECL_ARG 
WAITING_FOR_PRECEDENCE_SYMBOL 
WAITING_FOR_ARROW 
IN_RHS 
LHS_ALIAS_1 
LHS_ALIAS_2 
LHS_ALIAS_3 
RHS_ALIAS_1 
RHS_ALIAS_2 
PRECEDENCE_MARK_1 
PRECEDENCE_MARK_2 
RESYNC_AFTER_RULE_ERROR 
RESYNC_AFTER_DECL_ERROR 
WAITING_FOR_DESTRUCTOR_SYMBOL 
WAITING_FOR_DATATYPE_SYMBOL 
WAITING_FOR_FALLBACK_ID 

Definition at line 1931 of file lemon.c.


Member Data Documentation

char* pstate::filename

Definition at line 1926 of file lemon.c.

Referenced by Parse().

int pstate::tokenlineno

Definition at line 1927 of file lemon.c.

Referenced by Parse().

int pstate::errorcnt

Definition at line 1928 of file lemon.c.

Referenced by Parse().

char* pstate::tokenstart

Definition at line 1929 of file lemon.c.

Referenced by Parse().

struct lemon* pstate::gp [read]

Definition at line 1930 of file lemon.c.

Referenced by Parse().

enum pstate::e_state pstate::state

Referenced by Parse().

struct symbol* pstate::fallback [read]

Definition at line 1952 of file lemon.c.

struct symbol* pstate::lhs [read]

Definition at line 1953 of file lemon.c.

char* pstate::lhsalias

Definition at line 1954 of file lemon.c.

int pstate::nrhs

Definition at line 1955 of file lemon.c.

struct symbol* pstate::rhs[MAXRHS] [read]

Definition at line 1956 of file lemon.c.

char* pstate::alias[MAXRHS]

Definition at line 1957 of file lemon.c.

struct rule* pstate::prevrule [read]

Definition at line 1958 of file lemon.c.

char* pstate::declkeyword

Definition at line 1959 of file lemon.c.

char** pstate::declargslot

Definition at line 1960 of file lemon.c.

int* pstate::decllnslot

Definition at line 1961 of file lemon.c.

enum e_assoc pstate::declassoc

Definition at line 1962 of file lemon.c.

int pstate::preccounter

Definition at line 1963 of file lemon.c.

struct rule* pstate::firstrule [read]

Definition at line 1964 of file lemon.c.

Referenced by Parse().

struct rule* pstate::lastrule [read]

Definition at line 1965 of file lemon.c.


The documentation for this struct was generated from the following file:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.