nonTerminalsOfG {xegaBNF}R Documentation

Returns the list of symbol identifiers of nonterminal symbols in G.

Description

Returns the list of symbol identifiers of nonterminal symbols in G.

Usage

nonTerminalsOfG(G)

Arguments

G

A compiled context-free grammar.

Value

The list of the symbol identifiers of all nonterminal symbols of grammar G

See Also

Other Compilation of short production table: allTerminal(), cL(), directRecursion(), expandGrid(), expandRules(), findNextRuleForExpansion(), finiteRulesOfG(), smallestRules()

Examples

g<-compileBNF(booleanGrammar())
nonTerminalsOfG(g)


[Package xegaBNF version 1.0.0.5 Index]