Click or drag to resize

JsonGeneratorEnterChoiceContainer Method

Tries to resolve a pair as a choice.

Namespace:  Syntactik.Compiler.Generator
Assembly:  Syntactik (in Syntactik.dll) Version: 0.3.0-beta1
Syntax
C#
protected bool EnterChoiceContainer(
	Pair pair,
	PairCollection<Entity> entities,
	Pair implementationPair = null
)

Parameters

pair
Type: Syntactik.DOMPair
Pair being resolved.
entities
Type: Syntactik.DOMPairCollectionEntity
Entities of the pair.
implementationPair (Optional)
Type: Syntactik.DOMPair
If pair is an Alias then this parameter should get be an AliasDefinition.

Return Value

Type: Boolean
True if pair is choice.
See Also