Class |
RiGrammar |
||
---|---|---|---|
Name |
expand |
||
Description | Expands a grammar from the supplied rule. If no rule is provided the $start and <start> symbols will be checked respectively. If a context is needed, it should be passed in when the grammar is created (see 3rd example below). |
||
Example |
rg = RiTa.grammar(rules); |
||
Parameters |
|
||
Returns |
|
||
Syntax |
expand(); |
||
Platform | Java / JavaScript | ||