pyd ~master (2018-03-05T17:12:37Z)
Home
Dub
Repo
grammar
deimos
python
grammar
A grammar
extern (
C
)
struct
grammar {
int
g_ndfas
;
dfa
*
g_dfa
;
labellist
g_ll
;
int
g_start
;
int
g_accel
;
}
Members
Variables
g_accel
int
g_accel
;
Set if accelerators present
g_dfa
dfa
*
g_dfa
;
Array of DFAs
g_ll
labellist
g_ll
;
_
g_ndfas
int
g_ndfas
;
_
g_start
int
g_start
;
Start symbol of the grammar
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 grammar