Persistate API documentation
CreateParser Method (start, generator)
NamespacesPersistate.LanguageSyntaxParserCreateParser(Production, IGeneratorClass)

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

Fully creates a parser which has been given its full complement of completed Productions.
Declaration Syntax
C#
public string CreateParser(
	Production start,
	IGeneratorClass generator
)
Parameters
start (Production)
The Production to mark as the 'start' production.
generator (IGeneratorClass)
The object to be used for generating code. This should have one method with the same name LHS name as each production you want to handle during the code generation process.
Return Value
If any shift/reduce or reduce/reduce conflicts occurred creating the parser, then this contains a String with details of the conflicts. If no conflicts occurred, then this contains null.
Remarks
You need to call this method only if you have created a SyntaxParser using the zero parameter constructor, and added Productions using the CreateProduction method.

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