|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprettify.lang.Lang
prettify.lang.LangCss
public class LangCss
This is similar to the lang-css.js in JavaScript Prettify. All comments are adapted from the JavaScript Prettify.
Registers a language handler for CSS. To use, include prettify.js and this file in your HTML page. Then put your code in an HTML tag like
http://www.w3.org/TR/CSS21/grammar.html Section G2 defines the lexical grammar. This scheme does not recognize keywords containing escapes.
| Nested Class Summary | |
|---|---|
protected static class |
LangCss.LangCssKeyword
|
protected static class |
LangCss.LangCssString
|
| Field Summary |
|---|
| Fields inherited from class prettify.lang.Lang |
|---|
extendedLangs, fallthroughStylePatterns, shortcutStylePatterns |
| Constructor Summary | |
|---|---|
LangCss()
|
|
| Method Summary | |
|---|---|
static java.util.List<java.lang.String> |
getFileExtensions()
|
| Methods inherited from class prettify.lang.Lang |
|---|
getExtendedLangs, getFallthroughStylePatterns, getShortcutStylePatterns, setExtendedLangs, setFallthroughStylePatterns, setShortcutStylePatterns |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LangCss()
| Method Detail |
|---|
public static java.util.List<java.lang.String> getFileExtensions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||