comunic/3rdparty/luminous/docs/html/classLuminousTokenPresets.html
2016-11-19 12:08:12 +01:00

173 lines
12 KiB
HTML
Executable File

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Luminous: LuminousTokenPresets Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Luminous
&#160;<span id="projectnumber">git-master</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classLuminousTokenPresets-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">LuminousTokenPresets Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A set of pre-defined patterns to match various common tokens.
<a href="classLuminousTokenPresets.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a2a1bb95d9131701b61a28b085f4d3653"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2a1bb95d9131701b61a28b085f4d3653"></a>
static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLuminousTokenPresets.html#a2a1bb95d9131701b61a28b085f4d3653">$C_COMMENT_ML</a> = '% / \* (?&gt; [^\\*]+ | \\*(?!/) )* (?: \\*/ | $) %sx'</td></tr>
<tr class="memdesc:a2a1bb95d9131701b61a28b085f4d3653"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiline C style comment. <br/></td></tr>
<tr class="memitem:aeb1c122a80cc1b3d00eb6eb112da4b1f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeb1c122a80cc1b3d00eb6eb112da4b1f"></a>
static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLuminousTokenPresets.html#aeb1c122a80cc1b3d00eb6eb112da4b1f">$C_COMMENT_SL</a> = '% // .* %x'</td></tr>
<tr class="memdesc:aeb1c122a80cc1b3d00eb6eb112da4b1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Single line c++ style comment. <br/></td></tr>
<tr class="memitem:a74183f045ac39cf2b30e1bdc98c3a34c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a74183f045ac39cf2b30e1bdc98c3a34c"></a>
static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLuminousTokenPresets.html#a74183f045ac39cf2b30e1bdc98c3a34c">$CHAR</a> = &quot;(?: \\\\(?: x[A-F0-9]{1,2}| . ) | . ) (?: '|\$)/ixm&quot;</td></tr>
<tr class="memdesc:a74183f045ac39cf2b30e1bdc98c3a34c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Single quoted c-style character. <br/></td></tr>
<tr class="memitem:ae5053efc9d68d6c83988d0c29dd0bf60"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae5053efc9d68d6c83988d0c29dd0bf60"></a>
static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLuminousTokenPresets.html#ae5053efc9d68d6c83988d0c29dd0bf60">$DOUBLE_STR</a> = '/&quot; (?&gt; [^&quot;\\\\]+ | \\\\.)* (?:&quot;|$)/xs'</td></tr>
<tr class="memdesc:ae5053efc9d68d6c83988d0c29dd0bf60"><td class="mdescLeft">&#160;</td><td class="mdescRight">multi-line double quoted string using backslash escapes <br/></td></tr>
<tr class="memitem:a622c25d34fdb4f6fd66c774a0e8e2a91"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a622c25d34fdb4f6fd66c774a0e8e2a91"></a>
static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLuminousTokenPresets.html#a622c25d34fdb4f6fd66c774a0e8e2a91">$DOUBLE_STR_SL</a> = &quot;/\&quot;(?&gt; [^\\\\\&quot;\n]+ | \\\\.)*(?:\$|\&quot;)/xms&quot;</td></tr>
<tr class="memdesc:a622c25d34fdb4f6fd66c774a0e8e2a91"><td class="mdescLeft">&#160;</td><td class="mdescRight">single line double quoted string using backslash escapes <br/></td></tr>
<tr class="memitem:a7230e06c64a6f4ce165e12f5bd39ec6a"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7230e06c64a6f4ce165e12f5bd39ec6a"></a>
static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLuminousTokenPresets.html#a7230e06c64a6f4ce165e12f5bd39ec6a">$NUM_HEX</a> = '/0[Xx][a-fA-F0-9]+/'</td></tr>
<tr class="memdesc:a7230e06c64a6f4ce165e12f5bd39ec6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">hexadecimal literal <br/></td></tr>
<tr class="memitem:a92cf3ef1206f3045feec2d651266dd76"><td class="memItemLeft" align="right" valign="top">static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLuminousTokenPresets.html#a92cf3ef1206f3045feec2d651266dd76">$NUM_REAL</a></td></tr>
<tr class="memdesc:a92cf3ef1206f3045feec2d651266dd76"><td class="mdescLeft">&#160;</td><td class="mdescRight">Real number, i.e. an integer or a float, optionally with an exponent. <a href="#a92cf3ef1206f3045feec2d651266dd76"></a><br/></td></tr>
<tr class="memitem:aed7c53313969df00c41b6dc62862f12d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aed7c53313969df00c41b6dc62862f12d"></a>
static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLuminousTokenPresets.html#aed7c53313969df00c41b6dc62862f12d">$PERL_COMMENT</a> = '/#.*/'</td></tr>
<tr class="memdesc:aed7c53313969df00c41b6dc62862f12d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perl/Python/Ruby style hash-comment (single line) <br/></td></tr>
<tr class="memitem:a2af434cd51ac824e7c386bf6856bdb52"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2af434cd51ac824e7c386bf6856bdb52"></a>
static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLuminousTokenPresets.html#a2af434cd51ac824e7c386bf6856bdb52">$SINGLE_STR</a> = &quot;/' (?&gt; [^'\\\\]+ | \\\\.)* (?:'|\$)/xs&quot;</td></tr>
<tr class="memdesc:a2af434cd51ac824e7c386bf6856bdb52"><td class="mdescLeft">&#160;</td><td class="mdescRight">multi-line single quote string using backslash escapes <br/></td></tr>
<tr class="memitem:ad012cf604ed4da5e3ef57338527fd5df"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad012cf604ed4da5e3ef57338527fd5df"></a>
static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLuminousTokenPresets.html#ad012cf604ed4da5e3ef57338527fd5df">$SINGLE_STR_SL</a> = &quot;/'(?&gt; [^\\\\'\n]+ | \\\\.)*(?:\$|')/xms&quot;</td></tr>
<tr class="memdesc:ad012cf604ed4da5e3ef57338527fd5df"><td class="mdescLeft">&#160;</td><td class="mdescRight">single line single quoted string using backslash escapes <br/></td></tr>
<tr class="memitem:a20e568ce1f9f82efa80f781033cb7e9c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a20e568ce1f9f82efa80f781033cb7e9c"></a>
static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLuminousTokenPresets.html#a20e568ce1f9f82efa80f781033cb7e9c">$SQL_SINGLE_STR</a> = &quot;/ ' (?&gt; [^']+ | '' )* (?: '|\$)/x&quot;</td></tr>
<tr class="memdesc:a20e568ce1f9f82efa80f781033cb7e9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">SQL style single quoted string using '' to escape. <br/></td></tr>
<tr class="memitem:a7757feb38c55d3fffe8afe16957af183"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7757feb38c55d3fffe8afe16957af183"></a>
static&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classLuminousTokenPresets.html#a7757feb38c55d3fffe8afe16957af183">$SQL_SINGLE_STR_BSLASH</a> = &quot;/ ' (?&gt; [^'\\\\]+ | '' | \\\\. )* (?: '|\$)/x&quot;</td></tr>
<tr class="memdesc:a7757feb38c55d3fffe8afe16957af183"><td class="mdescLeft">&#160;</td><td class="mdescRight">SQL style single quoted string using '' or \' to escape. <br/></td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A set of pre-defined patterns to match various common tokens. </p>
</div><h2>Member Data Documentation</h2>
<a class="anchor" id="a92cf3ef1206f3045feec2d651266dd76"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">LuminousTokenPresets::$NUM_REAL</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line"> <span class="stringliteral">&#39;/</span></div>
<div class="line"><span class="stringliteral"> (?: \d+ (?: \.\d+ )? | \.?\d+) # int, fraction or significand </span></div>
<div class="line"><span class="stringliteral"> (?:e[+-]?\d+)? # exponent</span></div>
<div class="line"><span class="stringliteral"> /ix&#39;</span></div>
</div><!-- fragment -->
<p>Real number, i.e. an integer or a float, optionally with an exponent. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/core/tokenpresets.class.php</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Jan 12 2013 16:03:50 for Luminous by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.2
</small></address>
</body>
</html>