existsMacro {xegaBNF} | R Documentation |
Does the grammar contain macros?
Description
Macros (R-code) in grammars starts and ends
with the pattern " //R//"
.
existsMacro()
tests if macro patterns are present
in a grammar file.
Usage
existsMacro(BNFfn)
Arguments
BNFfn |
A constant function which returns a BNF. |
Value
Boolean.
See Also
Other Grammar Preprocessor:
evenMacro()
,
pastePart()
,
preBNF()
Examples
existsMacro(booleanGrammar)
existsMacro(booleanGrammarK)
[Package xegaBNF version 1.0.0.5 Index]