| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public String | highlight(String s)
Implements io. Highlights the given Java source string. |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean |
| KEYWORD_END | back to summary |
|---|---|
| private static final int KEYWORD_END | |
| KEYWORD_START | back to summary |
|---|---|
| private static final int KEYWORD_START | |
| NUM_END | back to summary |
|---|---|
| private static final int NUM_END | |
| NUM_START | back to summary |
|---|---|
| private static final int NUM_START | |
| GoSyntaxHighlighter | back to summary |
|---|---|
| public GoSyntaxHighlighter() | |
| GoSyntaxHighlighter | back to summary |
|---|---|
| public GoSyntaxHighlighter(boolean showLineNumbers) | |
| GoSyntaxHighlighter | back to summary |
|---|---|
| public GoSyntaxHighlighter(SyntaxTheme theme) | |
| GoSyntaxHighlighter | back to summary |
|---|---|
| public GoSyntaxHighlighter(SyntaxTheme theme, boolean showLineNumbers) | |
| applyStyles | back to summary |
|---|---|
| pack-priv void applyStyles(Token token, StyleBuilder sb) | |
| applyWithLines | back to summary |
|---|---|
| pack-priv void applyWithLines(List<Token> tokens, StyleBuilder sb) | |
| applyWithoutLines | back to summary |
|---|---|
| pack-priv void applyWithoutLines(List<Token> tokens, StyleBuilder sb) | |
| highlight | back to summary |
|---|---|
| public String highlight(String s) Implements io. Doc from io. Highlights the given Java source string.
| |
| isComment | back to summary |
|---|---|
| pack-priv boolean isComment(int type) | |
| isEOF | back to summary |
|---|---|
| pack-priv boolean isEOF(int type) | |
| isKeyword | back to summary |
|---|---|
| pack-priv boolean isKeyword(int type) | |
| isLineEnding | back to summary |
|---|---|
| pack-priv boolean isLineEnding(Token token) | |
| isMultiLineToken | back to summary |
|---|---|
| pack-priv boolean isMultiLineToken(Token token) | |
| isNumber | back to summary |
|---|---|
| pack-priv boolean isNumber(int type) | |
| isString | back to summary |
|---|---|
| pack-priv boolean isString(int type) | |
| isWhitespace | back to summary |
|---|---|
| pack-priv boolean isWhitespace(int type) | |