JavaPatternMatching/doc/LambdaJavadoc/mycompiler/myclass/Constant.html
2014-02-04 17:44:03 +01:00

479 lines
19 KiB
HTML
Executable File
Raw Blame History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_25) on Wed Sep 18 10:43:03 CEST 2013 -->
<title>Constant</title>
<meta name="date" content="2013-09-18">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Constant";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Constant.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-files/index-1.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../mycompiler/myclass/ClassHelper.html" title="class in mycompiler.myclass"><span class="strong">Prev Class</span></a></li>
<li><a href="../../mycompiler/myclass/Constructor.html" title="class in mycompiler.myclass"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?mycompiler/myclass/Constant.html" target="_top">Frames</a></li>
<li><a href="Constant.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">mycompiler.myclass</div>
<h2 title="Class Constant" class="title">Class Constant</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../mycompiler/myclass/FieldDecl.html" title="class in mycompiler.myclass">mycompiler.myclass.FieldDecl</a></li>
<li>
<ul class="inheritance">
<li>mycompiler.myclass.Constant</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">Constant</span>
extends <a href="../../mycompiler/myclass/FieldDecl.html" title="class in mycompiler.myclass">FieldDecl</a></pre>
<div class="block">Enthaelt die Eigenschaften einer Konstante (Name, Typ, Modifier, Wert)</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>SCJU</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../mycompiler/myclass/Constant.html#Constant(java.lang.String, mycompiler.mymodifier.Modifiers)">Constant</a></strong>(java.lang.String&nbsp;name,
<a href="../../mycompiler/mymodifier/Modifiers.html" title="class in mycompiler.mymodifier">Modifiers</a>&nbsp;mod)</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#codegen(mycompiler.mybytecode.ClassFile, java.util.Vector)">codegen</a></strong>(<a href="../../mycompiler/mybytecode/ClassFile.html" title="class in mycompiler.mybytecode">ClassFile</a>&nbsp;classfile,
java.util.Vector&nbsp;paralist)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../typinferenz/TypeAssumptions.html" title="class in typinferenz">TypeAssumptions</a></code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#createTypeAssumptions(mycompiler.myclass.Class)">createTypeAssumptions</a></strong>(<a href="../../mycompiler/myclass/Class.html" title="class in mycompiler.myclass">Class</a>&nbsp;classmember)</code>
<div class="block">Diese Methode generiert die Assumptions f<>r dieses Feld der Klasse classmember</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#getLineNumber()">getLineNumber</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../mycompiler/mymodifier/Modifiers.html" title="class in mycompiler.mymodifier">Modifiers</a></code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#getModifiers()">getModifiers</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#getName()">getName</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#getOffset()">getOffset</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a></code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#getType()">getType</a></strong>()</code>
<div class="block">Gibt den Typ der Konstantendefinition zurueck.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#getTypeName()">getTypeName</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../mycompiler/mystatement/Expr.html" title="class in mycompiler.mystatement">Expr</a></code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#getValue()">getValue</a></strong>()</code>
<div class="block">Gibt den Wert der Konstantendefinition zurueck.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#printJavaCode(typinferenz.ResultSet)">printJavaCode</a></strong>(<a href="../../typinferenz/ResultSet.html" title="class in typinferenz">ResultSet</a>&nbsp;resultSet)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#setModifiers(mycompiler.mymodifier.Modifiers)">setModifiers</a></strong>(<a href="../../mycompiler/mymodifier/Modifiers.html" title="class in mycompiler.mymodifier">Modifiers</a>&nbsp;modifiers)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#setName(java.lang.String)">setName</a></strong>(java.lang.String&nbsp;name)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#setType(mycompiler.mytype.Type)">setType</a></strong>(<a href="../../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>&nbsp;typ)</code>
<div class="block">Legt den Typ der Konstantendefinition fest</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../mycompiler/myclass/Constant.html#setValue(mycompiler.mystatement.Expr)">setValue</a></strong>(<a href="../../mycompiler/mystatement/Expr.html" title="class in mycompiler.mystatement">Expr</a>&nbsp;exp)</code>
<div class="block">Legt den Wert der Konstantendefinition fest.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_mycompiler.myclass.FieldDecl">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;mycompiler.myclass.<a href="../../mycompiler/myclass/FieldDecl.html" title="class in mycompiler.myclass">FieldDecl</a></h3>
<code><a href="../../mycompiler/myclass/FieldDecl.html#get_Name()">get_Name</a>, <a href="../../mycompiler/myclass/FieldDecl.html#getDeclIdVector()">getDeclIdVector</a>, <a href="../../mycompiler/myclass/FieldDecl.html#set_DeclId(mycompiler.myclass.DeclId)">set_DeclId</a>, <a href="../../mycompiler/myclass/FieldDecl.html#setDeclIdVector(java.util.Vector)">setDeclIdVector</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="Constant(java.lang.String, mycompiler.mymodifier.Modifiers)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>Constant</h4>
<pre>public&nbsp;Constant(java.lang.String&nbsp;name,
<a href="../../mycompiler/mymodifier/Modifiers.html" title="class in mycompiler.mymodifier">Modifiers</a>&nbsp;mod)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getValue()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre>public&nbsp;<a href="../../mycompiler/mystatement/Expr.html" title="class in mycompiler.mystatement">Expr</a>&nbsp;getValue()</pre>
<div class="block">Gibt den Wert der Konstantendefinition zurueck.</div>
</li>
</ul>
<a name="setValue(mycompiler.mystatement.Expr)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValue</h4>
<pre>public&nbsp;void&nbsp;setValue(<a href="../../mycompiler/mystatement/Expr.html" title="class in mycompiler.mystatement">Expr</a>&nbsp;exp)</pre>
<div class="block">Legt den Wert der Konstantendefinition fest.</div>
</li>
</ul>
<a name="getType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre>public&nbsp;<a href="../../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>&nbsp;getType()</pre>
<div class="block">Gibt den Typ der Konstantendefinition zurueck.</div>
</li>
</ul>
<a name="setType(mycompiler.mytype.Type)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setType</h4>
<pre>public&nbsp;void&nbsp;setType(<a href="../../mycompiler/mytype/Type.html" title="class in mycompiler.mytype">Type</a>&nbsp;typ)</pre>
<div class="block">Legt den Typ der Konstantendefinition fest</div>
</li>
</ul>
<a name="getTypeName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTypeName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getTypeName()</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../mycompiler/myclass/FieldDecl.html#getTypeName()">getTypeName</a></code>&nbsp;in class&nbsp;<code><a href="../../mycompiler/myclass/FieldDecl.html" title="class in mycompiler.myclass">FieldDecl</a></code></dd>
</dl>
</li>
</ul>
<a name="getName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getName()</pre>
</li>
</ul>
<a name="setName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setName</h4>
<pre>public&nbsp;void&nbsp;setName(java.lang.String&nbsp;name)</pre>
</li>
</ul>
<a name="getModifiers()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getModifiers</h4>
<pre>public&nbsp;<a href="../../mycompiler/mymodifier/Modifiers.html" title="class in mycompiler.mymodifier">Modifiers</a>&nbsp;getModifiers()</pre>
</li>
</ul>
<a name="setModifiers(mycompiler.mymodifier.Modifiers)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setModifiers</h4>
<pre>public&nbsp;void&nbsp;setModifiers(<a href="../../mycompiler/mymodifier/Modifiers.html" title="class in mycompiler.mymodifier">Modifiers</a>&nbsp;modifiers)</pre>
</li>
</ul>
<a name="codegen(mycompiler.mybytecode.ClassFile, java.util.Vector)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>codegen</h4>
<pre>public&nbsp;void&nbsp;codegen(<a href="../../mycompiler/mybytecode/ClassFile.html" title="class in mycompiler.mybytecode">ClassFile</a>&nbsp;classfile,
java.util.Vector&nbsp;paralist)
throws <a href="../../mycompiler/myexception/JVMCodeException.html" title="class in mycompiler.myexception">JVMCodeException</a></pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../mycompiler/myclass/FieldDecl.html#codegen(mycompiler.mybytecode.ClassFile, java.util.Vector)">codegen</a></code>&nbsp;in class&nbsp;<code><a href="../../mycompiler/myclass/FieldDecl.html" title="class in mycompiler.myclass">FieldDecl</a></code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../mycompiler/myexception/JVMCodeException.html" title="class in mycompiler.myexception">JVMCodeException</a></code></dd></dl>
</li>
</ul>
<a name="getOffset()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getOffset</h4>
<pre>public&nbsp;int&nbsp;getOffset()</pre>
</li>
</ul>
<a name="getLineNumber()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLineNumber</h4>
<pre>public&nbsp;int&nbsp;getLineNumber()</pre>
</li>
</ul>
<a name="printJavaCode(typinferenz.ResultSet)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>printJavaCode</h4>
<pre>public&nbsp;java.lang.String&nbsp;printJavaCode(<a href="../../typinferenz/ResultSet.html" title="class in typinferenz">ResultSet</a>&nbsp;resultSet)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../mycompiler/myclass/FieldDecl.html#printJavaCode(typinferenz.ResultSet)">printJavaCode</a></code>&nbsp;in class&nbsp;<code><a href="../../mycompiler/myclass/FieldDecl.html" title="class in mycompiler.myclass">FieldDecl</a></code></dd>
</dl>
</li>
</ul>
<a name="createTypeAssumptions(mycompiler.myclass.Class)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>createTypeAssumptions</h4>
<pre>public&nbsp;<a href="../../typinferenz/TypeAssumptions.html" title="class in typinferenz">TypeAssumptions</a>&nbsp;createTypeAssumptions(<a href="../../mycompiler/myclass/Class.html" title="class in mycompiler.myclass">Class</a>&nbsp;classmember)</pre>
<div class="block"><strong>Description copied from class:&nbsp;<code><a href="../../mycompiler/myclass/FieldDecl.html#createTypeAssumptions(mycompiler.myclass.Class)">FieldDecl</a></code></strong></div>
<div class="block">Diese Methode generiert die Assumptions f<>r dieses Feld der Klasse classmember</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../mycompiler/myclass/FieldDecl.html#createTypeAssumptions(mycompiler.myclass.Class)">createTypeAssumptions</a></code>&nbsp;in class&nbsp;<code><a href="../../mycompiler/myclass/FieldDecl.html" title="class in mycompiler.myclass">FieldDecl</a></code></dd>
<dt><span class="strong">Returns:</span></dt><dd></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/Constant.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../index-files/index-1.html">Index</a></li>
<li><a href="../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../mycompiler/myclass/ClassHelper.html" title="class in mycompiler.myclass"><span class="strong">Prev Class</span></a></li>
<li><a href="../../mycompiler/myclass/Constructor.html" title="class in mycompiler.myclass"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../index.html?mycompiler/myclass/Constant.html" target="_top">Frames</a></li>
<li><a href="Constant.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>