public class ShCodeHighlighter extends Object implements net.thevpc.nuts.spi.NCodeHighlighter
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
opOnly |
| Constructor and Description |
|---|
ShCodeHighlighter() |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.text.NText |
commandToNode(String text,
net.thevpc.nuts.text.NTexts txt) |
static int |
getScore(net.thevpc.nuts.util.NScorableContext context) |
String |
id() |
net.thevpc.nuts.text.NText |
next(StringReaderExt reader,
boolean exitOnClosedCurlBrace,
boolean exitOnClosedPar,
boolean exitOnDblQuote,
boolean exitOnAntiQuote,
net.thevpc.nuts.text.NTexts txt) |
net.thevpc.nuts.text.NText |
nextDoubleQuotes(StringReaderExt reader,
net.thevpc.nuts.text.NTexts txt) |
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 id()
id in interface net.thevpc.nuts.spi.NCodeHighlighterpublic static int getScore(net.thevpc.nuts.util.NScorableContext context)
public net.thevpc.nuts.text.NText tokenToText(String text, String nodeType, net.thevpc.nuts.text.NTexts txt)
tokenToText in interface net.thevpc.nuts.spi.NCodeHighlighterpublic net.thevpc.nuts.text.NText stringToText(String text, net.thevpc.nuts.text.NTexts txt)
stringToText in interface net.thevpc.nuts.spi.NCodeHighlighterpublic net.thevpc.nuts.text.NText next(StringReaderExt reader, boolean exitOnClosedCurlBrace, boolean exitOnClosedPar, boolean exitOnDblQuote, boolean exitOnAntiQuote, net.thevpc.nuts.text.NTexts txt)
public net.thevpc.nuts.text.NText nextDoubleQuotes(StringReaderExt reader, net.thevpc.nuts.text.NTexts txt)
public net.thevpc.nuts.text.NText commandToNode(String text, net.thevpc.nuts.text.NTexts txt)
Copyright © 2026 vpc open source initiative. All rights reserved.