miniMVC/docs/classes/JSTokenizer.html

332 lines
17 KiB
HTML
Raw Normal View History

<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>miniMVC » \JSTokenizer</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">miniMVC</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
<li><a href="../packages/miniMVC.html"><i class="icon-folder-open"></i> miniMVC</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
2012-04-27 16:28:25 -04:00
<span class="label label-info">89</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul><li>fixme 
2012-04-27 16:28:25 -04:00
<span class="label label-info">1</span>
</li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li>
<li class="method public "><a href="#__construct" title="__construct :: "><span class="description">__construct()
</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#currentToken" title="currentToken :: "><span class="description">currentToken()
</span><pre>currentToken()</pre></a></li>
<li class="method public "><a href="#get" title="get :: "><span class="description">get()
</span><pre>get()</pre></a></li>
<li class="method public "><a href="#getInput" title="getInput :: "><span class="description">getInput()
</span><pre>getInput()</pre></a></li>
<li class="method public "><a href="#init" title="init :: "><span class="description">init()
</span><pre>init()</pre></a></li>
<li class="method public "><a href="#isDone" title="isDone :: "><span class="description">isDone()
</span><pre>isDone()</pre></a></li>
<li class="method public "><a href="#match" title="match :: "><span class="description">match()
</span><pre>match()</pre></a></li>
<li class="method public "><a href="#mustMatch" title="mustMatch :: "><span class="description">mustMatch()
</span><pre>mustMatch()</pre></a></li>
<li class="method public "><a href="#newSyntaxError" title="newSyntaxError :: "><span class="description">newSyntaxError()
</span><pre>newSyntaxError()</pre></a></li>
<li class="method public "><a href="#peek" title="peek :: "><span class="description">peek()
</span><pre>peek()</pre></a></li>
<li class="method public "><a href="#peekOnSameLine" title="peekOnSameLine :: "><span class="description">peekOnSameLine()
</span><pre>peekOnSameLine()</pre></a></li>
<li class="method public "><a href="#unget" title="unget :: "><span class="description">unget()
</span><pre>unget()</pre></a></li>
<li class="nav-header">
<i class="icon-custom icon-property"></i> Properties</li>
<li class="property public "><a href="#%24filename" title="$filename :: "><span class="description">$filename</span><pre>$filename</pre></a></li>
<li class="property public "><a href="#%24lineno" title="$lineno :: "><span class="description">$lineno</span><pre>$lineno</pre></a></li>
<li class="property public "><a href="#%24lookahead" title="$lookahead :: "><span class="description">$lookahead</span><pre>$lookahead</pre></a></li>
<li class="property public "><a href="#%24scanNewlines" title="$scanNewlines :: "><span class="description">$scanNewlines</span><pre>$scanNewlines</pre></a></li>
<li class="property public "><a href="#%24scanOperand" title="$scanOperand :: "><span class="description">$scanOperand</span><pre>$scanOperand</pre></a></li>
<li class="property public "><a href="#%24tokenIndex" title="$tokenIndex :: "><span class="description">$tokenIndex</span><pre>$tokenIndex</pre></a></li>
<li class="property public "><a href="#%24tokens" title="$tokens :: "><span class="description">$tokens</span><pre>$tokens</pre></a></li>
<li class="nav-header private">» Private</li>
<li class="property private "><a href="#%24assignOps" title="$assignOps :: "><span class="description">$assignOps</span><pre>$assignOps</pre></a></li>
<li class="property private "><a href="#%24cursor" title="$cursor :: "><span class="description">$cursor</span><pre>$cursor</pre></a></li>
<li class="property private "><a href="#%24keywords" title="$keywords :: "><span class="description">$keywords</span><pre>$keywords</pre></a></li>
<li class="property private "><a href="#%24opRegExp" title="$opRegExp :: "><span class="description">$opRegExp</span><pre>$opRegExp</pre></a></li>
<li class="property private "><a href="#%24opTypeNames" title="$opTypeNames :: "><span class="description">$opTypeNames</span><pre>$opTypeNames</pre></a></li>
<li class="property private "><a href="#%24source" title="$source :: "><span class="description">$source</span><pre>$source</pre></a></li>
</ul>
</div>
<div class="span8">
<a name="%5CJSTokenizer" id="\JSTokenizer"></a><div href="../classes/JSTokenizer.html" class="element class"><div class="details">
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>__construct()
</h2>
<pre>__construct() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="currentToken" id="currentToken"></a><div class="element clickable method public currentToken" data-toggle="collapse" data-target=".currentToken .collapse">
<h2>currentToken()
</h2>
<pre>currentToken() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="get" id="get"></a><div class="element clickable method public get" data-toggle="collapse" data-target=".get .collapse">
<h2>get()
</h2>
<pre>get($chunksize) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$chunksize</h4>
<code></code>
</div>
</div></div>
</div>
<a name="getInput" id="getInput"></a><div class="element clickable method public getInput" data-toggle="collapse" data-target=".getInput .collapse">
<h2>getInput()
</h2>
<pre>getInput($chunksize) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$chunksize</h4>
<code></code>
</div>
</div></div>
</div>
<a name="init" id="init"></a><div class="element clickable method public init" data-toggle="collapse" data-target=".init .collapse">
<h2>init()
</h2>
<pre>init($source, $filename, $lineno) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$source</h4>
<code></code>
</div>
<div class="subelement argument">
<h4>$filename</h4>
<code></code>
</div>
<div class="subelement argument">
<h4>$lineno</h4>
<code></code>
</div>
</div></div>
</div>
<a name="isDone" id="isDone"></a><div class="element clickable method public isDone" data-toggle="collapse" data-target=".isDone .collapse">
<h2>isDone()
</h2>
<pre>isDone() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="match" id="match"></a><div class="element clickable method public match" data-toggle="collapse" data-target=".match .collapse">
<h2>match()
</h2>
<pre>match($tt) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$tt</h4>
<code></code>
</div>
</div></div>
</div>
<a name="mustMatch" id="mustMatch"></a><div class="element clickable method public mustMatch" data-toggle="collapse" data-target=".mustMatch .collapse">
<h2>mustMatch()
</h2>
<pre>mustMatch($tt) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$tt</h4>
<code></code>
</div>
</div></div>
</div>
<a name="newSyntaxError" id="newSyntaxError"></a><div class="element clickable method public newSyntaxError" data-toggle="collapse" data-target=".newSyntaxError .collapse">
<h2>newSyntaxError()
</h2>
<pre>newSyntaxError($m) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$m</h4>
<code></code>
</div>
</div></div>
</div>
<a name="peek" id="peek"></a><div class="element clickable method public peek" data-toggle="collapse" data-target=".peek .collapse">
<h2>peek()
</h2>
<pre>peek() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="peekOnSameLine" id="peekOnSameLine"></a><div class="element clickable method public peekOnSameLine" data-toggle="collapse" data-target=".peekOnSameLine .collapse">
<h2>peekOnSameLine()
</h2>
<pre>peekOnSameLine() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="unget" id="unget"></a><div class="element clickable method public unget" data-toggle="collapse" data-target=".unget .collapse">
<h2>unget()
</h2>
<pre>unget() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<h3>
<i class="icon-custom icon-property"></i> Properties</h3>
<a name="%24filename" id="$filename"> </a><div class="element clickable property public $filename" data-toggle="collapse" data-target=".$filename .collapse">
<h2>$filename</h2>
<pre>$filename </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24lineno" id="$lineno"> </a><div class="element clickable property public $lineno" data-toggle="collapse" data-target=".$lineno .collapse">
<h2>$lineno</h2>
<pre>$lineno </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24lookahead" id="$lookahead"> </a><div class="element clickable property public $lookahead" data-toggle="collapse" data-target=".$lookahead .collapse">
<h2>$lookahead</h2>
<pre>$lookahead </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24scanNewlines" id="$scanNewlines"> </a><div class="element clickable property public $scanNewlines" data-toggle="collapse" data-target=".$scanNewlines .collapse">
<h2>$scanNewlines</h2>
<pre>$scanNewlines </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24scanOperand" id="$scanOperand"> </a><div class="element clickable property public $scanOperand" data-toggle="collapse" data-target=".$scanOperand .collapse">
<h2>$scanOperand</h2>
<pre>$scanOperand </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24tokenIndex" id="$tokenIndex"> </a><div class="element clickable property public $tokenIndex" data-toggle="collapse" data-target=".$tokenIndex .collapse">
<h2>$tokenIndex</h2>
<pre>$tokenIndex </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24tokens" id="$tokens"> </a><div class="element clickable property public $tokens" data-toggle="collapse" data-target=".$tokens .collapse">
<h2>$tokens</h2>
<pre>$tokens </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24assignOps" id="$assignOps"> </a><div class="element clickable property private $assignOps" data-toggle="collapse" data-target=".$assignOps .collapse">
<h2>$assignOps</h2>
<pre>$assignOps </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24cursor" id="$cursor"> </a><div class="element clickable property private $cursor" data-toggle="collapse" data-target=".$cursor .collapse">
<h2>$cursor</h2>
<pre>$cursor </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24keywords" id="$keywords"> </a><div class="element clickable property private $keywords" data-toggle="collapse" data-target=".$keywords .collapse">
<h2>$keywords</h2>
<pre>$keywords </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24opRegExp" id="$opRegExp"> </a><div class="element clickable property private $opRegExp" data-toggle="collapse" data-target=".$opRegExp .collapse">
<h2>$opRegExp</h2>
<pre>$opRegExp </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24opTypeNames" id="$opTypeNames"> </a><div class="element clickable property private $opTypeNames" data-toggle="collapse" data-target=".$opTypeNames .collapse">
<h2>$opTypeNames</h2>
<pre>$opTypeNames </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
<a name="%24source" id="$source"> </a><div class="element clickable property private $source" data-toggle="collapse" data-target=".$source .collapse">
<h2>$source</h2>
<pre>$source </pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
</div></div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
2012-04-27 16:28:25 -04:00
generated on 2012-04-27T13:02:13-04:00.<br></footer></div>
</div>
</body>
</html>