XmlGenerator Class |
Namespace: Syntactik.Compiler.Generator
public class XmlGenerator : AliasResolvingVisitor
The XmlGenerator type exposes the following members.
Name | Description | |
---|---|---|
XmlGenerator |
This constructor should be used if output depends on the name of the document.
|
Name | Description | |
---|---|---|
AliasContext |
Keeps track of nested aliases.
(Inherited from AliasResolvingVisitor.) | |
Context |
Provides access to CompilerContext.
(Inherited from AliasResolvingVisitor.) | |
CurrentDocument |
Property is used to keep track of current visiting Document.
(Inherited from AliasResolvingVisitor.) | |
LocationMap | LocationMap is used to map XML validation errors to Syntactik code.
| |
ScopeContext |
Keeps track of nested namespace scopes.
(Inherited from AliasResolvingVisitor.) |
Name | Description | |
---|---|---|
AddLocationMapRecord |
Adds record about IMappedPair in the LocationMap.
| |
EnterChoiceContainer |
Tries to resolve a pair as a choice.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEncoding |
Gets encoding of xml-document from Syntactik comments.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsLegalXmlChar |
Whether a given character is allowed by XML 1.0.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnPair |
Method is wrapping call to Accept method of every node.
(Inherited from SyntactikDepthFirstVisitor.) | |
OnValue |
Method called when the value of the current pair is resolved.
(Overrides AliasResolvingVisitorOnValue(String, ValueType).) | |
ResolveAttributes |
Go through all entities and resolve attributes for the current node.
(Inherited from AliasResolvingVisitor.) | |
ResolveAttributesInAlias |
Resolves attributes in Alias. Elements are ignored.
(Inherited from AliasResolvingVisitor.) | |
ResolveAttributesInParameter |
Resolves attributes in Parameter. Elements are ignored.
(Inherited from AliasResolvingVisitor.) | |
ResolveChoiceValue |
Method is called for pair with literal choice assignment =::.
(Overrides AliasResolvingVisitorResolveChoiceValue(Pair, ValueType).) | |
ResolveDqsEscape |
Resolves escape sequence
(Overrides AliasResolvingVisitorResolveDqsEscape(EscapeMatch, StringBuilder).) | |
ResolveDqsEscapeChar |
Converts EscapeMatch to Char.
(Inherited from AliasResolvingVisitor.) | |
ResolvePairValue |
Resolves literal value of the pair.
(Inherited from AliasResolvingVisitor.) | |
ResolveValue |
Resolves literal value of the Pair.
(Inherited from AliasResolvingVisitor.) | |
ResolveValueAlias |
Resolves literal value of Alias.
(Inherited from AliasResolvingVisitor.) | |
ResolveValueParameter |
Resolves value of the value parameter.
(Inherited from AliasResolvingVisitor.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Visit(Alias) |
Visit method for Alias.
(Overrides AliasResolvingVisitorVisit(Alias).) | |
Visit(AliasDefinition) |
Visit method for AliasDefinition.
(Inherited from AliasResolvingVisitor.) | |
Visit(Argument) |
Visit method for Argument.
(Inherited from SyntactikDepthFirstVisitor.) | |
Visit(Attribute) |
Visit method for Attribute.
(Overrides SyntactikDepthFirstVisitorVisit(Attribute).) | |
Visit(Comment) |
Visit method for Comment.
(Overrides SyntactikDepthFirstVisitorVisit(Comment).) | |
Visit(CompileUnit) |
Visit method for CompileUnit.
(Inherited from SyntactikDepthFirstVisitor.) | |
Visit(Document) |
Visit method for Document.
(Overrides SyntactikDepthFirstVisitorVisit(Document).) | |
Visit(Element) |
Visit method for Element.
(Overrides AliasResolvingVisitorVisit(Element).) | |
Visit(Module) |
Visit method for Module.
(Overrides SyntactikDepthFirstVisitorVisit(Module).) | |
Visit(NamespaceDefinition) |
Visit method for NamespaceDefinition.
(Inherited from SyntactikDepthFirstVisitor.) | |
Visit(Pair) |
Asks visitor to visit a pair.
(Inherited from SyntactikDepthFirstVisitor.) | |
Visit(Parameter) |
Visit method for Parameter.
(Inherited from AliasResolvingVisitor.) | |
Visit(Scope) |
Visit method for Scope.
(Inherited from AliasResolvingVisitor.) | |
VisitT(IEnumerableT) |
Asks visitor to visit each pair in collection.
(Inherited from SyntactikDepthFirstVisitor.) | |
WriteStartDocument |
Writes start of xml document.
|
Name | Description | |
---|---|---|
_readerDelegate |
Delegate is called to create XmlReader to validate each generated XML document.
| |
ChoiceStack |
Stack of ChoiceInfo.
| |
CurrentModuleMember | ||
DocumentElementAdded |
True if document element is added. Used to identify document element in the visitor.
| |
NamespaceResolver |
Provides access to services of NamespaceResolver.
(Inherited from AliasResolvingVisitor.) | |
WriterDelegate | ||
XmlTextWriter | XmlWriter is used to generate XML text.
|