public class PlainCodeHighlighter extends Object implements NCodeHighlighter
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
PlainCodeHighlighter(NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
int |
getScore(NScorableContext context) |
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 PlainCodeHighlighter(NWorkspace workspace)
public String getId()
getId in interface NCodeHighlighterpublic NText tokenToText(String text, String nodeType, NTexts txt)
tokenToText in interface NCodeHighlighterpublic NText stringToText(String text, NTexts txt)
stringToText in interface NCodeHighlighterpublic int getScore(NScorableContext context)
getScore in interface NCodeHighlightergetScore in interface NComponentgetScore in interface NScorableCopyright © 2025 vpc open source initiative. All rights reserved.