public class WinCmdBlocTextHighlighter extends Object implements NCodeHighlighter
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
WinCmdBlocTextHighlighter(NWorkspace workspace) |
| 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) |
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 WinCmdBlocTextHighlighter(NWorkspace workspace)
public String getId()
getId in interface NCodeHighlighterpublic int getScore(NScorableContext context)
getScore in interface NCodeHighlightergetScore in interface NComponentgetScore in interface NScorablepublic NText stringToText(String text, NTexts txt)
stringToText in interface NCodeHighlighterpublic NText tokenToText(String text, String nodeType, NTexts txt)
tokenToText in interface NCodeHighlighterpublic NText next(StringReaderExt reader, boolean exitOnClosedCurlBrace, boolean exitOnClosedPar, boolean exitOnDblQuote, boolean exitOnAntiQuote, NTexts txt)
public NText nextDoubleQuotes(StringReaderExt reader)
Copyright © 2025 vpc open source initiative. All rights reserved.