prettify.lang
Class LangRd

java.lang.Object
  extended by prettify.lang.Lang
      extended by prettify.lang.LangRd

public class LangRd
extends Lang

This is similar to the lang-rd.js in JavaScript Prettify.

Support for R documentation (Rd) files

Minimal highlighting or Rd files, basically just highlighting macros. It does not try to identify verbatim or R-like regions of macros as that is too complicated for a lexer. Descriptions of the Rd format can be found http://cran.r-project.org/doc/manuals/R-exts.html and http://developer.r-project.org/parseRd.pdf.

Author:
Jeffrey Arnold

Field Summary
 
Fields inherited from class prettify.lang.Lang
extendedLangs, fallthroughStylePatterns, shortcutStylePatterns
 
Constructor Summary
LangRd()
           
 
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

LangRd

public LangRd()
Method Detail

getFileExtensions

public static java.util.List<java.lang.String> getFileExtensions()