int BNF_ntCnt(BNF_BNF Bnf)
| Number of nonterminals
|
BNF_NTM BNF_ntNth(BNF_BNF Bnf, int Nth)
| Nth nonterminal ( Nth >= 1 )
|
int BNF_ntIntern(BNF_BNF Bnf, BNF_NTM Nt)
| Nonterminal to symbol id
|
c_string BNF_ntName(BNF_BNF Bnf, BNF_NTM Nt)
| Nonterminal to name
|
BNF_NTM BNF_ntId(BNF_BNF Bnf, c_string NtName)
| Name to nonterminal
|
BNF_NTM BNF_internNt(BNF_BNF Bnf, int symbol)
| Symbol id to nonterminal
|
int BNF_ntProdCnt(BNF_BNF Bnf, BNF_NTM Nt)
| Number of productions
|
BNF_PRD BNF_ntProdNth(BNF_BNF Bnf, BNF_NTM Nt, int Nth)
| Nth production ( Nth >= 1 )
|
int BNF_prodIntern(BNF_BNF Bnf, BNF_PRD Prd)
| Production to id
|
c_string BNF_prodName(BNF_BNF Bnf, BNF_PRD Prd)
| Production to name
|
BNF_PRD BNF_ntProdId(BNF_BNF Bnf, BNF_NTM Nt, c_string ProdName)
| Name to production
|
BNF_NTM BNF_prodNtId(BNF_BNF Bnf, BNF_PRD Prd)
| Production nonterminal
|
BNF_PRD BNF_internProd(BNF_BNF Bnf, int symbol)
| Id to production
|
int BNF_prodMbrCnt(BNF_BNF Bnf, BNF_PRD Prd)
| Number of production symbols
|
BNF_MBR BNF_prodMbrNth(BNF_BNF Bnf, BNF_PRD Prd, int Nth)
| Nth production symbol ( Nth >= 1 )
|
c_bool BNF_isMbrNtm(BNF_BNF Bnf, BNF_MBR Mbr)
| Production symbol is nonterminal ?
|
c_bool BNF_isMbrTok(BNF_BNF Bnf, BNF_MBR Mbr)
| Production symbol is token ?
|
c_bool BNF_isMbrKey(BNF_BNF Bnf, BNF_MBR Mbr)
| Production symbol is keyword ?
|
BNF_NTM BNF_MbrNtm(BNF_BNF Bnf, BNF_MBR Mbr)
| Production symbol to nonterminal
|
BNF_TOK BNF_MbrTok(BNF_BNF Bnf, BNF_MBR Mbr)
| Production symbol to token
|
BNF_KEY BNF_MbrKey(BNF_BNF Bnf, BNF_MBR Mbr)
| Production symbol to keyword
|