|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectprettify.lang.Lang
prettify.lang.LangR
public class LangR
This is similar to the lang-r.js in JavaScript Prettify.
To use, include prettify.js and this file in your HTML page. Then put your code in an HTML tag likecodeLanguage definition from http://cran.r-project.org/doc/manuals/R-lang.html. Many of the regexes are shared with the pygments SLexer, http://pygments.org/. Original: https://raw.github.com/jrnold/prettify-lang-r-bugs/master/lang-r.js
| Field Summary |
|---|
| Fields inherited from class prettify.lang.Lang |
|---|
extendedLangs, fallthroughStylePatterns, shortcutStylePatterns |
| Constructor Summary | |
|---|---|
LangR()
|
|
| 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 LangR()
| 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 | |||||||||