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