YappService
The following operations are supported. For a formal definition, please review the Service Description.
-
ExtractOnly
Do not highlight (for better performance when extracting) Extract a string array of unique keywords in source code, unique comment words, and unique strings in the source code.
Four strings are returned in the resulting array:
[0]=a blank string (for parity with HighlightAndExtract)
[1]=unique source words
[2]=unique comment words
[3]=unique strings in the source
Pass a starting line number value > 0 to generate line numbers. -
Highlight
Syntax highlight a block of source code as HTML. Pass a starting line number value > 0 to generate line numbers. -
GetSupportedLanguages
Get string array of supported language types -
HighlightAndExtract
Syntax highlight a block of source code as HTML. A String array of unique keywords in source code, unique comment words, and unique strings in the source code will be returned.
Four strings are returned in the resulting array:
[0]=the HTML highlighted source
[1]=unique source words
[2]=unique comment words
[3]=unique strings in the source
Pass a starting line number value > 0 to generate line numbers. -
RTFHighlight
Syntax highlight a block of source code as RTF. Completely untested.