Click or drag to resize

IPairFactory Interface

Parser calls IPairFactory methods reporting all information necessary to create a Document Object Model. Parser also calls IPairFactory methods to report data that can be useful for code editor, like comments and boundaries of blocks.

Namespace:  Syntactik.DOM
Assembly:  Syntactik (in Syntactik.dll) Version: 0.3.0-beta1
Syntax
C#
public interface IPairFactory

The IPairFactory type exposes the following members.

Methods
  NameDescription
Public methodAppendChild
When child pair is create, parser calls this method to add child pair to parent.
Public methodCreateMappedPair
If a pair has a literal value then parser calls this method when name, assignment and value are parsed. If a pair has a block or pair value then parser calls this method when name and assignment are parsed.
Public methodEndPair
Parser calls this method to provide location of end of pair.
Public methodProcessComment
Method is called when parser finds a comment.
Top
See Also