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

Styles an annotation, decorator, or preprocessor directive.

Parameters
ParameterDescription
textDecorator or directive slice.
Returns

A StyledSpan with the decorator style.

Example
span = AnsiSyntax.decorator("@Test")