Persistate API documentation
CreateProduction Method (nonTerminal)
NamespacesPersistate.LanguageSyntaxParserCreateProduction(String)

[This is preliminary documentation and is subject to change.]

Adds a new Production to the parser with a given LHS.
Declaration Syntax
C#
public Production CreateProduction(
	string nonTerminal
)
Parameters
nonTerminal (String)
A string containing the text of the Production's LHS.
Return Value
The added Production. This does not as yet contain any elements in its RHS.
Remarks
After creating the Production, you must populate its RHS. You can do this using the Add, Choice, Repeat and Option methods.

Assembly: Persistate.Language (Module: Persistate.Language) Version: 0.6.1.20 (0.6.1.20)