| Package | Description |
|---|---|
| prettify.parser |
The Prettify parser.
|
| Modifier and Type | Method and Description |
|---|---|
Prettify.CreateSimpleLexer |
Prettify.langHandlerForExtension(String extension,
String source)
Get the parser for the extension specified.
|
protected Prettify.CreateSimpleLexer |
Prettify.sourceDecorator(Map<String,Object> options)
returns a function that produces a list of decorations from source text.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
Prettify.appendDecorations(int basePos,
String sourceCode,
Prettify.CreateSimpleLexer langHandler,
List<Object> out)
Apply the given language handler to sourceCode and add the resulting
decorations to out.
|
protected void |
Prettify.registerLangHandler(Prettify.CreateSimpleLexer handler,
List<String> fileExtensions)
Register a language handler for the given file extensions.
|
Copyright © 2015. All rights reserved.