public class BashCodeHighlighter extends Object implements NCodeHighlighter
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
BashCodeHighlighter() |
| Modifier and Type | Method and Description |
|---|---|
NText |
commandToNode(String text,
NTexts txt) |
String |
getId() |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisValidScore, query, querypublic String getId()
getId in interface NCodeHighlighterpublic int getScore(NScorableContext context)
getScore in interface NCodeHighlightergetScore in interface NComponentgetScore in interface NScorablepublic 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 © 2025 vpc open source initiative. All rights reserved.