Artifact Content
Not logged in

Artifact 378b6fe37d6f4ecd2819619791275e5251fa7657



<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="text/javascript" http-equiv="content-script-type">
<title>polemy.ast</title>
<link rel="stylesheet" type="text/css" href="candydoc/style.css">
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="candydoc/ie56hack.css"><![endif]-->
<script language="JavaScript" src="candydoc/util.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/tree.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/explorer.js" type="text/javascript"></script>
</head><body>
<div id="tabarea"></div><div id="explorerclient"></div>
<div id="content"><script>explorer.initialize("polemy.ast");</script>
	<table class="content">
		<tr><td id="docbody"><h1>polemy.ast</h1><!-- Generated by Ddoc from polemy\ast.d -->
<b>Authors:</b><br>
k.inaba
<br><br>
<b>License:</b><br>
NYSL 0.9982 http://www.kmonos.net/nysl/
<br><br>

 Syntax tree for Polemy programming language.<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">abstract class 
<span class="currsymbol">AST</span>
<script>explorer.outline.addDecl('AST');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>

<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">immutable LexPosition 
<span class="currsymbol">pos</span>
<script>explorer.outline.addDecl('pos');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">class 
<span class="currsymbol">Int</span>
<script>explorer.outline.addDecl('Int');</script>

: polemy.ast.AST;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>AST node for integer literal<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BigInt 
<span class="currsymbol">data</span>
<script>explorer.outline.addDecl('data');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">class 
<span class="currsymbol">Str</span>
<script>explorer.outline.addDecl('Str');</script>

: polemy.ast.AST;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>AST node for string literal<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">string 
<span class="currsymbol">data</span>
<script>explorer.outline.addDecl('data');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">class 
<span class="currsymbol">Var</span>
<script>explorer.outline.addDecl('Var');</script>

: polemy.ast.AST;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>AST node for variable reference<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">string 
<span class="currsymbol">name</span>
<script>explorer.outline.addDecl('name');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">class 
<span class="currsymbol">Lay</span>
<script>explorer.outline.addDecl('Lay');</script>

: polemy.ast.AST;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>AST node for @layered(expression)<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">Layer 
<span class="currsymbol">layer</span>
<script>explorer.outline.addDecl('layer');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">AST 
<span class="currsymbol">expr</span>
<script>explorer.outline.addDecl('expr');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">class 
<span class="currsymbol">Let</span>
<script>explorer.outline.addDecl('Let');</script>

: polemy.ast.AST;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>AST node for variable declaration<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">string 
<span class="currsymbol">name</span>
<script>explorer.outline.addDecl('name');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">Layer 
<span class="currsymbol">layer</span>
<script>explorer.outline.addDecl('layer');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">AST 
<span class="currsymbol">init</span>
<script>explorer.outline.addDecl('init');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">AST 
<span class="currsymbol">expr</span>
<script>explorer.outline.addDecl('expr');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">class 
<span class="currsymbol">App</span>
<script>explorer.outline.addDecl('App');</script>

: polemy.ast.AST;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>AST node for function application<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">AST 
<span class="currsymbol">fun</span>
<script>explorer.outline.addDecl('fun');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">AST[] 
<span class="currsymbol">args</span>
<script>explorer.outline.addDecl('args');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">class 
<span class="currsymbol">Parameter</span>
<script>explorer.outline.addDecl('Parameter');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>

<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">string 
<span class="currsymbol">name</span>
<script>explorer.outline.addDecl('name');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">string[] 
<span class="currsymbol">layers</span>
<script>explorer.outline.addDecl('layers');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">class 
<span class="currsymbol">Fun</span>
<script>explorer.outline.addDecl('Fun');</script>

: polemy.ast.AST;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>AST node for function literal<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">Parameter[] 
<span class="currsymbol">params</span>
<script>explorer.outline.addDecl('params');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">AST 
<span class="currsymbol">funbody</span>
<script>explorer.outline.addDecl('funbody');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias 
<span class="currsymbol">ListOfASTTypes</span>
<script>explorer.outline.addDecl('ListOfASTTypes');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>List of AST Types<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">template 
<span class="currsymbol">EasyAST</span>
<script>explorer.outline.addDecl('EasyAST');</script>

()</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Handy Generator for AST nodes. To use this, mixin EasyAst;<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">template 
<span class="currsymbol">genEast</span>
<script>explorer.outline.addDecl('genEast');</script>

(T)</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias 
<span class="currsymbol">strl</span>
<script>explorer.outline.addDecl('strl');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias 
<span class="currsymbol">intl</span>
<script>explorer.outline.addDecl('intl');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">
<span class="currsymbol">funp</span>
<script>explorer.outline.addDecl('funp');</script>

(Parameter[] <span class="funcparam">xs</span>, AST <span class="funcparam">ps</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias 
<span class="currsymbol">var</span>
<script>explorer.outline.addDecl('var');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias 
<span class="currsymbol">lay</span>
<script>explorer.outline.addDecl('lay');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias 
<span class="currsymbol">let</span>
<script>explorer.outline.addDecl('let');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">alias 
<span class="currsymbol">call</span>
<script>explorer.outline.addDecl('call');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">
<span class="currsymbol">param</span>
<script>explorer.outline.addDecl('param');</script>

(string <span class="funcparam">name</span>, string[] <span class="funcparam">lay</span>...);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd><br><br>
</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</td></tr>
		<tr><td id="docfooter">
			Page was generated with
			<img src="candydoc/img/candydoc.gif" style="vertical-align:middle; position:relative; top:-1px">
			on Thu Nov 25 12:13:46 2010

		</td></tr>
	</table>
</div>
<script>
	explorer.packageExplorer.addModule("index");
	explorer.packageExplorer.addModule("main");
	explorer.packageExplorer.addModule("tricks.tricks");
	explorer.packageExplorer.addModule("tricks.test");
	explorer.packageExplorer.addModule("polemy._common");
	explorer.packageExplorer.addModule("polemy.failure");
	explorer.packageExplorer.addModule("polemy.layer");
	explorer.packageExplorer.addModule("polemy.fresh");
	explorer.packageExplorer.addModule("polemy.lex");
	explorer.packageExplorer.addModule("polemy.parse");
	explorer.packageExplorer.addModule("polemy.ast");
	explorer.packageExplorer.addModule("polemy.value");
	explorer.packageExplorer.addModule("polemy.valueconv");
	explorer.packageExplorer.addModule("polemy.eval");
	explorer.packageExplorer.addModule("polemy.runtime");
	explorer.packageExplorer.addModule("polemy.repl");</script>
</body></html>