Constructor for ParserGramarProperties. @param grammar The grammar of which to present the properties.
Yields an iterator that iterates the nonterminals which may appear as the leading symbol in a right-derivation from the given nonterminal <code>symbol</code>.
Returns whether the symbol is nullable or not.
Returns whether the symbol is productive or not.
Returns whether the symbol can be reached from the grammar's start symbol by applying derivation rules.
Returns true if the given symbol is strong nullable. A symbol is strong nullable if and only if it derives only the empty word.
Return whether the given Alternative is the first (or "simplest") in its Rule structure which has been proven to be productive.
Return the first (or "simplest") Alternative in the given Rule structure which has been proven to be productive.
Returns whether the grammar is reduced.
Extended grammar properties for LR parser generation.