Persistate API documentation
Persistate.Language Namespace
NamespacesPersistate.Language

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

This namespace contains all the classes which support the compiler used for Persistate definition files. See the SyntaxParser class for details.
Declaration Syntax
C#
namespace Persistate.Language
Types
All TypesClassesInterfacesDelegates
IconTypeDescription
CodeGenerator
This delegate is used to store code generation methods in IGeneratorClass classes.

CommentToken
A Token representing a comment in a source text.

DateTimeToken
A Token representing a DateTime literal in the source text.

Element
Represents an element on the RHS of a production rule.

ErrorToken
Represents either one or a collection of errors.

FloatingToken
Represents a floating point literal token in a source text.

GeneratedToken
Represents a token containing a reference to a generated object.

IGeneratorClass
This interface must be implemented by classes used to generate code.

IntegerToken
Represents an integer literal token in the source text.

IProduction
This interface is implemented by Production and ProductionTransit, an internal class of the PersistateLanguage namespace.

ParserConflictException
This exception is thrown during the creation of the transition table.

Production
Represents a grammar production rule used in syntax parsing.

ProductionToken
This class is used for nodes of the abstract syntax tree (AST) output by the SyntaxParser.

StringToken
A Token representing a section of source text containing a string literal.

SymbolToken
Represents a symbol token in a source text.

SyntaxErrorEventArgs
Defines the arguments to a SyntaxErrorEventHandler used to handle syntax error events from a SyntaxParser object.

SyntaxErrorEventHandler
This delegate defines methods used to handle syntax error events from a SyntaxParser object.

SyntaxParser
Represents a syntax parser for a particular context free grammar.

Token
Represents a token in a source file, or produced during the compilation process.