Table of Contents

Class XmlRepository

Namespace
Alternet.Syntax.CodeCompletion
Assembly
Alternet.Syntax.Parsers.Advanced.v10.dll

Represents properties and methods to perform code completion functionality for Xml schema-based parser.

public class XmlRepository : CodeCompletionRepository, IXmlRepository, ICodeCompletionRepository, IDisposable
Inheritance
XmlRepository
Implements

Constructors

XmlRepository(bool, ISyntaxTree)

Initializes a new instance of the XmlRepository class with specified parameters.

Properties

Images

Gets Alpha ImageList attached to this CodeCompletionRepository.

ImagesHighDpi

Gets Alpha ImageList attached to this CodeCompletionRepository for high DPI.

Schema

Gets or sets an XmlSchema used to define XML document structure.

SchemaTypes
Templates

Gets a list of templates used for code completion.

Methods

CodeCompletion(string, Point, CodeCompletionArgs, ISyntaxNode)

Performs code completion for the specified text representing language element.

CreateListMembers()
FillAttribute(IListMembers, XmlSchemaAttribute, ISyntaxNode, bool)
FillAttributes(IListMembers, XmlSchemaType, ISyntaxNode, bool)
FillElement(IListMembers, XmlSchemaGroupBase, XmlSchemaObject, ISyntaxNode, Point, bool)
FillElements(IListMembers, XmlSchemaType, ISyntaxNode, Point, bool)
FillFacetElement(IListMembers, XmlSchemaFacet, ISyntaxNode)
FillGroupElements(IListMembers, XmlSchemaGroupBase, ISyntaxNode, Point, bool)
FillRestrictions(IListMembers, XmlSchemaSimpleType, ISyntaxNode)
FillSchemaElement(IListMembers, XmlSchemaObject, bool)
FillSchemaElements(IListMembers, XmlSchema, bool)
FillTemplates(IListMembers, bool)
GetAttributeType(XmlSchemaType, string)
GetCodeSnippets(string)

Returns code snippets for the given language.

GetElementName(XmlSchemaElement)
GetNodePath(ISyntaxNode)
GetSchemaType(string)
GetSchemaType(XmlSchemaObject, out string)
InitTemplates()
IsIdentifierChar(char)
LoadImages()
LoadRootSchemaTypes(XmlSchemaObjectCollection)
LoadSchemaTypes(string, XmlSchemaObjectCollection, HashSet<XmlSchemaType>, int)
Members_ClosePopup(object, ClosingEventArgs)
UpdateSchemaTypes()