blob: 76f431e0c3271356bc8d55d39f93855c20fff939 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_27) on Sat Nov 19 13:55:44 CST 2011 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
P-Index (Java Prettify)
</TITLE>
<META NAME="date" CONTENT="2011-11-19">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="P-Index (Java Prettify)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="index-15.html"><B>PREV LETTER</B></A>&nbsp;
&nbsp;<A HREF="index-17.html"><B>NEXT LETTER</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?index-filesindex-16.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="index-16.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">J</A> <A HREF="index-11.html">K</A> <A HREF="index-12.html">L</A> <A HREF="index-13.html">M</A> <A HREF="index-14.html">N</A> <A HREF="index-15.html">O</A> <A HREF="index-16.html">P</A> <A HREF="index-17.html">R</A> <A HREF="index-18.html">S</A> <A HREF="index-19.html">T</A> <A HREF="index-20.html">U</A> <A HREF="index-21.html">V</A> <HR>
<A NAME="_P_"><!-- --></A><H2>
<B>P</B></H2>
<DL>
<DT><A HREF="../prettify/JTextComponentRowHeader.html#paint(java.awt.Graphics)"><B>paint(Graphics)</B></A> -
Method in class prettify.<A HREF="../prettify/JTextComponentRowHeader.html" title="class in prettify">JTextComponentRowHeader</A>
<DD>
<DT><A HREF="../prettify/JTextComponentRowHeader.html#panelWidth"><B>panelWidth</B></A> -
Variable in class prettify.<A HREF="../prettify/JTextComponentRowHeader.html" title="class in prettify">JTextComponentRowHeader</A>
<DD>The cached panel width.
<DT><A HREF="../prettify/Prettify.html#PERL_KEYWORDS"><B>PERL_KEYWORDS</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>&nbsp;
<DT><A HREF="../prettify/Theme.html#plain"><B>plain</B></A> -
Variable in class prettify.<A HREF="../prettify/Theme.html" title="class in prettify">Theme</A>
<DD>&nbsp;
<DT><A HREF="../prettify/Prettify.html#PR_ATTRIB_NAME"><B>PR_ATTRIB_NAME</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>token style for an sgml attribute name.
<DT><A HREF="../prettify/Prettify.html#PR_ATTRIB_VALUE"><B>PR_ATTRIB_VALUE</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>token style for an sgml attribute value.
<DT><A HREF="../prettify/Prettify.html#PR_COMMENT"><B>PR_COMMENT</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>token style for a comment
<DT><A HREF="../prettify/Prettify.html#PR_DECLARATION"><B>PR_DECLARATION</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>token style for a markup declaration such as a DOCTYPE.
<DT><A HREF="../prettify/lang/LangXq.html#PR_FUNCTION"><B>PR_FUNCTION</B></A> -
Static variable in class prettify.lang.<A HREF="../prettify/lang/LangXq.html" title="class in prettify.lang">LangXq</A>
<DD>&nbsp;
<DT><A HREF="../prettify/Prettify.html#PR_KEYWORD"><B>PR_KEYWORD</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>token style for a keyword
<DT><A HREF="../prettify/Prettify.html#PR_LITERAL"><B>PR_LITERAL</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>token style for a literal value.
<DT><A HREF="../prettify/Prettify.html#PR_NOCODE"><B>PR_NOCODE</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>A class that indicates a section of markup that is not code, e.g. to allow
embedding of line numbers within code listings.
<DT><A HREF="../prettify/Prettify.html#PR_PLAIN"><B>PR_PLAIN</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>token style for a plain text.
<DT><A HREF="../prettify/Prettify.html#PR_PUNCTUATION"><B>PR_PUNCTUATION</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>token style for a punctuation string.
<DT><A HREF="../prettify/Prettify.html#PR_SOURCE"><B>PR_SOURCE</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>token style for embedded source.
<DT><A HREF="../prettify/Prettify.html#PR_STRING"><B>PR_STRING</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>token style for a string literal
<DT><A HREF="../prettify/Prettify.html#PR_TAG"><B>PR_TAG</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>token style for an sgml tag.
<DT><A HREF="../prettify/Prettify.html#PR_TYPE"><B>PR_TYPE</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>token style for a type
<DT><A HREF="../prettify/lang/LangXq.html#PR_VARIABLE"><B>PR_VARIABLE</B></A> -
Static variable in class prettify.lang.<A HREF="../prettify/lang/LangXq.html" title="class in prettify.lang">LangXq</A>
<DD>&nbsp;
<DT><A HREF="../prettify/package-summary.html"><B>prettify</B></A> - package prettify<DD>&nbsp;<DT><A HREF="../prettify/Prettify.html" title="class in prettify"><B>Prettify</B></A> - Class in <A HREF="../prettify/package-summary.html">prettify</A><DD>This is similar to the prettify.js in JavaScript Prettify.<DT><A HREF="../prettify/Prettify.html#Prettify()"><B>Prettify()</B></A> -
Constructor for class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>&nbsp;
<DT><A HREF="../prettify/SyntaxHighlighter.html#prettify"><B>prettify</B></A> -
Variable in class prettify.<A HREF="../prettify/SyntaxHighlighter.html" title="class in prettify">SyntaxHighlighter</A>
<DD>The Prettify object.
<DT><A HREF="../prettify/Prettify.CreateSimpleLexer.html" title="class in prettify"><B>Prettify.CreateSimpleLexer</B></A> - Class in <A HREF="../prettify/package-summary.html">prettify</A><DD>&nbsp;<DT><A HREF="../prettify/Prettify.CreateSimpleLexer.html#Prettify.CreateSimpleLexer(java.util.List, java.util.List)"><B>Prettify.CreateSimpleLexer(List&lt;List&lt;Object&gt;&gt;, List&lt;List&lt;Object&gt;&gt;)</B></A> -
Constructor for class prettify.<A HREF="../prettify/Prettify.CreateSimpleLexer.html" title="class in prettify">Prettify.CreateSimpleLexer</A>
<DD>Given triples of [style, pattern, context] returns a lexing function,
The lexing function interprets the patterns to find token boundaries and
returns a decoration list of the form
[index_0, style_0, index_1, style_1, ..., index_n, style_n]
where index_n is an index into the sourceCode, and style_n is a style
constant like PR_PLAIN.
<DT><A HREF="../prettify/example/package-summary.html"><B>prettify.example</B></A> - package prettify.example<DD>Usage example.<DT><A HREF="../prettify/lang/package-summary.html"><B>prettify.lang</B></A> - package prettify.lang<DD>All languages that comes with release.<DT><A HREF="../prettify/theme/package-summary.html"><B>prettify.theme</B></A> - package prettify.theme<DD>All themes that comes with release.<DT><A HREF="../prettify/Theme.html#punctuation"><B>punctuation</B></A> -
Variable in class prettify.<A HREF="../prettify/Theme.html" title="class in prettify">Theme</A>
<DD>&nbsp;
<DT><A HREF="../prettify/Prettify.html#PYTHON_KEYWORDS"><B>PYTHON_KEYWORDS</B></A> -
Static variable in class prettify.<A HREF="../prettify/Prettify.html" title="class in prettify">Prettify</A>
<DD>&nbsp;
</DL>
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="index-15.html"><B>PREV LETTER</B></A>&nbsp;
&nbsp;<A HREF="index-17.html"><B>NEXT LETTER</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../index.html?index-filesindex-16.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="index-16.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">H</A> <A HREF="index-9.html">I</A> <A HREF="index-10.html">J</A> <A HREF="index-11.html">K</A> <A HREF="index-12.html">L</A> <A HREF="index-13.html">M</A> <A HREF="index-14.html">N</A> <A HREF="index-15.html">O</A> <A HREF="index-16.html">P</A> <A HREF="index-17.html">R</A> <A HREF="index-18.html">S</A> <A HREF="index-19.html">T</A> <A HREF="index-20.html">U</A> <A HREF="index-21.html">V</A> <HR>
</BODY>
</HTML>