public class TsonCodeHighlighter extends Object implements net.thevpc.nuts.spi.NCodeHighlighter
| Constructor and Description |
|---|
TsonCodeHighlighter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
protected boolean |
isIdentifierStart(char c) |
protected boolean |
isJavaIdentifierPart(char c) |
net.thevpc.nuts.text.NText[] |
parseOneLineString(net.thevpc.nuts.text.NTexts txt,
StringReaderExt chars) |
net.thevpc.nuts.text.NText[] |
parseRawString(net.thevpc.nuts.text.NTexts txt,
StringReaderExt chars) |
static net.thevpc.nuts.text.NText[] |
readNumber(net.thevpc.nuts.text.NTexts txt,
StringReaderExt ar) |
static String |
readNumberStr(StringReaderExt ar) |
protected net.thevpc.nuts.text.NTextStyles |
resolveTokenStyle(String token,
String next,
net.thevpc.nuts.text.NText last) |
net.thevpc.nuts.text.NText |
stringToText(String text,
net.thevpc.nuts.text.NTexts txt) |
net.thevpc.nuts.text.NText |
tokenToText(String text,
String nodeType,
net.thevpc.nuts.text.NTexts txt) |
public String getId()
getId in interface net.thevpc.nuts.spi.NCodeHighlighterpublic net.thevpc.nuts.text.NText tokenToText(String text, String nodeType, net.thevpc.nuts.text.NTexts txt)
tokenToText in interface net.thevpc.nuts.spi.NCodeHighlighterpublic int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NCodeHighlightergetSupportLevel in interface net.thevpc.nuts.spi.NComponentpublic net.thevpc.nuts.text.NText stringToText(String text, net.thevpc.nuts.text.NTexts txt)
stringToText in interface net.thevpc.nuts.spi.NCodeHighlighterpublic static String readNumberStr(StringReaderExt ar)
public static net.thevpc.nuts.text.NText[] readNumber(net.thevpc.nuts.text.NTexts txt,
StringReaderExt ar)
protected net.thevpc.nuts.text.NTextStyles resolveTokenStyle(String token, String next, net.thevpc.nuts.text.NText last)
protected boolean isIdentifierStart(char c)
protected boolean isJavaIdentifierPart(char c)
public net.thevpc.nuts.text.NText[] parseOneLineString(net.thevpc.nuts.text.NTexts txt,
StringReaderExt chars)
public net.thevpc.nuts.text.NText[] parseRawString(net.thevpc.nuts.text.NTexts txt,
StringReaderExt chars)
Copyright © 2025 vpc open source initiative. All rights reserved.