public abstract class Lang extends Object
getFileExtensions() should be overridden.| Modifier and Type | Field and Description |
|---|---|
protected List<Lang> |
extendedLangs
See
LangCss for example. |
protected List<List<Object>> |
fallthroughStylePatterns
Similar to those in JavaScript prettify.js.
|
protected List<List<Object>> |
shortcutStylePatterns
Similar to those in JavaScript prettify.js.
|
| Constructor and Description |
|---|
Lang()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Lang> |
getExtendedLangs()
Get the extended languages list.
|
List<List<Object>> |
getFallthroughStylePatterns() |
static List<String> |
getFileExtensions()
This method should be overridden by the child class.
|
List<List<Object>> |
getShortcutStylePatterns() |
void |
setExtendedLangs(List<Lang> extendedLangs)
Set extended languages.
|
void |
setFallthroughStylePatterns(List<List<Object>> fallthroughStylePatterns) |
void |
setShortcutStylePatterns(List<List<Object>> shortcutStylePatterns) |
protected List<List<Object>> shortcutStylePatterns
protected List<List<Object>> fallthroughStylePatterns
public static List<String> getFileExtensions()
Lang to use. See JavaScript prettify.js.public void setShortcutStylePatterns(List<List<Object>> shortcutStylePatterns)
public void setFallthroughStylePatterns(List<List<Object>> fallthroughStylePatterns)
public List<Lang> getExtendedLangs()
Copyright © 2015. All rights reserved.