Click or drag to resize

PairFactoryForJsonProcessComment Method

Method is called when parser finds a comment.

Namespace:  Syntactik.Compiler.Steps
Assembly:  Syntactik (in Syntactik.dll) Version: 0.3.0-beta1
Syntax
C#
public Comment ProcessComment(
	ITextSource textSource,
	int commentType,
	Interval commentInterval
)

Parameters

textSource
Type: Syntactik.IOITextSource
ITextSource is used to get text of the comment.
commentType
Type: SystemInt32
1 - single line comment. 2 - multi-line comment
commentInterval
Type: Syntactik.DOMInterval
Interval of the comment in the source code.

Return Value

Type: Comment
Instance of Comment.

Implements

IPairFactoryProcessComment(ITextSource, Int32, Interval)
See Also