Syntactik.NET Documentation
Syntactik.NET Documentation
API Reference
Syntactik.Compiler.Steps
PairFactoryForXml Class
PairFactoryForXml Methods
AppendChild Method
CreateMappedPair Method
EndPair Method
ProcessComment Method
PairFactoryForXml
ProcessComment 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#
Copy
public
Comment
ProcessComment
(
ITextSource
textSource
,
int
commentType
,
Interval
commentInterval
)
Parameters
textSource
Type:
Syntactik.IO
ITextSource
ITextSource
is used to get text of the comment.
commentType
Type:
System
Int32
1 - single line comment. 2 - multi-line comment
commentInterval
Type:
Syntactik.DOM
Interval
Interval of the comment in the source code.
Return Value
Type:
Comment
Instance of
Comment
.
Implements
IPairFactory
ProcessComment(ITextSource, Int32, Interval)
See Also
Reference
PairFactoryForXml Class
Syntactik.Compiler.Steps Namespace
Send comments on this topic to
info@syntactik.com