cpython ~master (2016-02-02T15:55:08Z)
Dub
Repo
dfa
deimos
python
grammar
A DFA
extern (
C
)
struct
dfa {
int
d_type
;
char
*
d_name
;
int
d_initial
;
int
d_nstates
;
state
*
d_state
;
void
*
d_first
;
}
Members
Variables
d_first
void
*
d_first
;
_
d_initial
int
d_initial
;
Initial state
d_name
char
*
d_name
;
For printing
d_nstates
int
d_nstates
;
_
d_state
state
*
d_state
;
Array of states
d_type
int
d_type
;
Non-terminal this represents
Meta
Source
See Implementation
deimos
python
grammar
functions
PyGrammar_AddAccelerators
PyGrammar_FindDFA
PyGrammar_LabelRepr
PyGrammar_RemoveAccelerators
addarc
adddfa
addfirstsets
addlabel
addstate
findlabel
newgrammar
printgrammar
printnonterminals
translatelabels
manifest constants
EMPTY
structs
arc
dfa
grammar
label
labellist
state
A DFA