Click or drag to resize

PairFactoryForXmlCreateMappedPair Method

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.

Namespace:  Syntactik.Compiler.Steps
Assembly:  Syntactik (in Syntactik.dll) Version: 0.3.0-beta1
Syntax
C#
public Pair CreateMappedPair(
	ITextSource textSource,
	int nameQuotesType,
	Interval nameInterval,
	AssignmentEnum assignment,
	Interval assignmentInterval,
	int valueQuotesType,
	Interval valueInterval,
	int valueIndent
)

Parameters

textSource
Type: Syntactik.IOITextSource
ITextSource is used to get name of the pair and literal values.
nameQuotesType
Type: SystemInt32
Quotes used to define name. 0 - no quotes 1 - single quotes 2 - double quotes
nameInterval
Type: Syntactik.DOMInterval
Interval used to define name of the pair.
assignment
Type: Syntactik.DOMAssignmentEnum
Pair assignment.
assignmentInterval
Type: Syntactik.DOMInterval
Interval used to define pair assignment.
valueQuotesType
Type: SystemInt32
Quotes used to define literal value. 0 - no quotes 1 - single quotes 2 - double quotes
valueInterval
Type: Syntactik.DOMInterval
Interval used to define literal value of the pair.
valueIndent
Type: SystemInt32
Indent of the value in the source code.

Return Value

Type: Pair
Instance of Pair.

Implements

IPairFactoryCreateMappedPair(ITextSource, Int32, Interval, AssignmentEnum, Interval, Int32, Interval, Int32)
See Also