public static interface Prism4j.Node
Prism4j.Text,
Prism4j.Syntax| Modifier and Type | Method and Description |
|---|---|
boolean |
isSyntax()
As we have only two types maybe doing a lot of `instanceof` checks is not that required
|
int |
textLength() |
int textLength()
Prism4j.Text node it\'s Prism4j.Text.literal() length
and for Prism4j.Syntax it is Prism4j.Syntax.matchedString() lengthboolean isSyntax()
Prism4j.Syntax