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) |
static int |
getScore(NScorableContext context) |
String |
id() |
NText |
next(StringReaderExt reader,
boolean exitOnClosedCurlBrace,
boolean exitOnClosedPar,
boolean exitOnDblQuote,
boolean exitOnAntiQuote) |
NText |
nextDoubleQuotes(StringReaderExt reader) |
NText |
stringToText(String text) |
NText |
tokenToText(String text,
String nodeType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcodeHighlighters, of, registerCodeHighlighter, unregisterCodeHighlighterpublic String id()
id in interface NCodeHighlighterpublic static int getScore(NScorableContext context)
public NText tokenToText(String text, String nodeType)
tokenToText in interface NCodeHighlighterpublic NText stringToText(String text)
stringToText in interface NCodeHighlighterpublic NText next(StringReaderExt reader, boolean exitOnClosedCurlBrace, boolean exitOnClosedPar, boolean exitOnDblQuote, boolean exitOnAntiQuote)
public NText nextDoubleQuotes(StringReaderExt reader)
Copyright © 2026 vpc open source initiative. All rights reserved.