-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
874 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | ||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | ||
<html> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> | ||
<head> | ||
<title>lua-tree-sitter Reference</title> | ||
<link rel="stylesheet" href="../ldoc.css" type="text/css" /> | ||
</head> | ||
<body> | ||
|
||
<div id="container"> | ||
|
||
<div id="product"> | ||
<div id="product_logo"></div> | ||
<div id="product_name"><big><b></b></big></div> | ||
<div id="product_description"></div> | ||
</div> <!-- id="product" --> | ||
|
||
|
||
<div id="main"> | ||
|
||
|
||
<!-- Menu --> | ||
|
||
<div id="navigation"> | ||
<br/> | ||
<h1>lua-tree-sitter</h1> | ||
|
||
|
||
<ul> | ||
<li><a href="../index.html">Index</a></li> | ||
</ul> | ||
|
||
<h2>Contents</h2> | ||
<ul> | ||
<li><a href="#Functions">Functions </a></li> | ||
</ul> | ||
|
||
|
||
<h2>Classes</h2> | ||
<ul class="nowrap"> | ||
<li><a href="../classes/Language.html">Language</a></li> | ||
<li><a href="../classes/Node.html">Node</a></li> | ||
<li><a href="../classes/Parser.html">Parser</a></li> | ||
<li><a href="../classes/Point.html">Point</a></li> | ||
<li><strong>Query</strong></li> | ||
<li><a href="../classes/QueryCapture.html">QueryCapture</a></li> | ||
<li><a href="../classes/QueryCursor.html">QueryCursor</a></li> | ||
<li><a href="../classes/QueryMatch.html">QueryMatch</a></li> | ||
<li><a href="../classes/Range.html">Range</a></li> | ||
<li><a href="../classes/RangeArray.html">RangeArray</a></li> | ||
<li><a href="../classes/Tree.html">Tree</a></li> | ||
</ul> | ||
<h2>Modules</h2> | ||
<ul class="nowrap"> | ||
<li><a href="../modules/tree_sitter.html">tree_sitter</a></li> | ||
</ul> | ||
|
||
</div> | ||
|
||
<div id="content"> | ||
|
||
<h1>Class <code>Query</code></h1> | ||
<p>A query that can be ran on <a href="../classes/Node.html#">Node</a>s of a given <a href="../classes/Language.html#">Language</a>.</p> | ||
<p> Analogous to <code>TSQuery</code>.</p> | ||
|
||
|
||
<h2><a href="#Functions">Functions </a></h2> | ||
<table class="function_list"> | ||
<tr> | ||
<td class="name" nowrap><a href="#Query.new">Query.new (lang, source)</a></td> | ||
<td class="summary">Create a new query for a given <a href="../classes/Language.html#">Language</a> from a source <a href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a>.</td> | ||
</tr> | ||
</table> | ||
|
||
<br/> | ||
<br/> | ||
|
||
|
||
<h2 class="section-header "><a name="Functions"></a>Functions </h2> | ||
|
||
<dl class="function"> | ||
<dt> | ||
<a name = "Query.new"></a> | ||
<strong>Query.new (lang, source)</strong> | ||
</dt> | ||
<dd> | ||
Create a new query for a given <a href="../classes/Language.html#">Language</a> from a source <a href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a>. | ||
|
||
|
||
<h3>Parameters:</h3> | ||
<ul> | ||
<li><span class="parameter">lang</span> | ||
<span class="types"><a class="type" href="../classes/Language.html#">Language</a></span> | ||
|
||
|
||
|
||
</li> | ||
<li><span class="parameter">source</span> | ||
<span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span> | ||
|
||
|
||
|
||
</li> | ||
</ul> | ||
|
||
<h3>Returns:</h3> | ||
<ol> | ||
|
||
<span class="types"><a class="type" href="../classes/Query.html#">Query</a></span> | ||
|
||
|
||
|
||
</ol> | ||
|
||
<h3>Raises:</h3> | ||
Invalid pattern in the source. | ||
|
||
|
||
|
||
</dd> | ||
</dl> | ||
|
||
|
||
</div> <!-- id="content" --> | ||
</div> <!-- id="main" --> | ||
<div id="about"> | ||
<i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i> | ||
<i style="float:right;">Last updated 2023-10-11 18:58:57 </i> | ||
</div> <!-- id="about" --> | ||
</div> <!-- id="container" --> | ||
</body> | ||
</html> |
Oops, something went wrong.