klyn.code.highlighters.AnsiSyntax.constant
method
public static constant(text as String) as StyledSpan
Description

Styles a language constant.

Parameters
ParameterDescription
textConstant spelling to render.
Returns

A span using the constant color.

Example
span = AnsiSyntax.constant("null")