CppHighlighter
classin packageklyn.code.cpp
public class CppHighlighter extends Object implements SyntaxHighlighter
└ CppHighlighter
All Implemented Interfaces: SyntaxHighlighter

Syntax highlighter for C and C++ backed by klyn.code.cpp.CppTokenizer.

Example
import klyn.code.cpp

spans = CppHighlighter().highlight("std::vector<int> values;")
Inherited Properties
propertyInherited Properties from Object: type
Methods
Modifier and Type Member Description
public highlight
highlight(line as String) as List<StyledSpan>
Highlights one C/C++ source line.
Inherited Methods
methodInherited Methods from Object: deepCopy, fromJson, hash, toDict, toJson, toMap, toString, toXml