allTerminal {xegaBNF} | R Documentation |
Are all symbols of vector of symbols terminal symbols?
Description
Are all symbols of vector of symbols terminal symbols?
Usage
allTerminal(symbols, ST = ST)
Arguments
symbols |
A vector of symbol identifiers. |
ST |
A symbol table. |
Value
Boolean.
See Also
Other Compilation of short production table:
cL()
,
directRecursion()
,
expandGrid()
,
expandRules()
,
findNextRuleForExpansion()
,
finiteRulesOfG()
,
nonTerminalsOfG()
,
smallestRules()
Examples
g<-compileBNF(booleanGrammar())
s<-c(2, 10, 3)
allTerminal(s, g$ST)
[Package xegaBNF version 1.0.0.5 Index]