Returns the collected grammar rules with the given nonterminal as start symbol. Returns null if the grammar is not well defined.
@param startSymbol the nonterminal which is used as start symbol for the returned grammar @return the collected grammar
See Implementation
Returns the collected grammar rules with the given nonterminal as start symbol. Returns null if the grammar is not well defined.
@param startSymbol the nonterminal which is used as start symbol for the returned grammar @return the collected grammar