GrammarBuilder.getGrammar

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

struct GrammarBuilder
getGrammar

Meta