Home /Modules/api/common-rails.html

common-rails.html

api/sleela/3.1/version-029/package/common-rails.html · 443 line(s) · html

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Package common-rails — SleelaDoc API</title>
<link rel="stylesheet" href="../style.css">

</head>
<body>
<header class="top">
  <div class="brand"><a href="../index.html">SleelaDoc API</a></div>
  <div class="tag">HTML documentation for the SLeeLa standard library (/lib)</div>
</header>
<div class="wrap">
<nav class="side">
  <a href="../index.html"><strong>Home</strong></a>
  <a href="../packages.html"><strong>All packages</strong></a>
  <a href="../glossary.html"><strong>Glossary</strong></a>
  <a href="../authorship.html"><strong>Authorship</strong></a>
  <h2>Packages</h2><ul>
<li><a href="../package/advantage.html">advantage</a></li>
<li><a href="../package/alphabet.html">alphabet</a></li>
<li><a href="../package/antivirus.html">antivirus</a></li>
<li><a href="../package/api.html">api</a></li>
<li><a href="../package/array.html">array</a></li>
<li><a href="../package/audio.html">audio</a></li>
<li><a href="../package/autocad.html">autocad</a></li>
<li><a href="../package/ballum.html">ballum</a></li>
<li><a href="../package/bash.html">bash</a></li>
<li><a href="../package/boolean.html">boolean</a></li>
<li><a href="../package/cdma.html">cdma</a></li>
<li><a href="../package/char.html">char</a></li>
<li><a href="../package/character.html">character</a></li>
<li><a href="../package/character-recognition.html">character-recognition</a></li>
<li><a href="../package/churn.html">churn</a></li>
<li><a href="../package/citizen.html">citizen</a></li>
<li><a href="../package/codecs.html">codecs</a></li>
<li><a href="../package/collections.html">collections</a></li>
<li><a href="../package/common-rails.html">common-rails</a></li>
<li><a href="../package/compiler.html">compiler</a></li>
<li><a href="../package/compression.html">compression</a></li>
<li><a href="../package/config.html">config</a></li>
<li><a href="../package/connector.html">connector</a></li>
<li><a href="../package/coorenagraph.html">coorenagraph</a></li>
<li><a href="../package/core.html">core</a></li>
<li><a href="../package/cpu.html">cpu</a></li>
<li><a href="../package/crypto.html">crypto</a></li>
<li><a href="../package/data.html">data</a></li>
<li><a href="../package/data-structures.html">data-structures</a></li>
<li><a href="../package/database.html">database</a></li>
<li><a href="../package/debugger.html">debugger</a></li>
<li><a href="../package/decompiler.html">decompiler</a></li>
<li><a href="../package/deliberation.html">deliberation</a></li>
<li><a href="../package/drivers.html">drivers</a></li>
<li><a href="../package/examples.html">examples</a></li>
<li><a href="../package/filesystem.html">filesystem</a></li>
<li><a href="../package/gameplay.html">gameplay</a></li>
<li><a href="../package/governance.html">governance</a></li>
<li><a href="../package/gui.html">gui</a></li>
<li><a href="../package/guidoc.html">guidoc</a></li>
<li><a href="../package/hotlink.html">hotlink</a></li>
<li><a href="../package/html.html">html</a></li>
<li><a href="../package/http.html">http</a></li>
<li><a href="../package/http-1.0.html">http-1.0</a></li>
<li><a href="../package/http-2.0.html">http-2.0</a></li>
<li><a href="../package/http-3.0.html">http-3.0</a></li>
<li><a href="../package/http-4.0.html">http-4.0</a></li>
<li><a href="../package/http-5.0.html">http-5.0</a></li>
<li><a href="../package/http-6.0.html">http-6.0</a></li>
<li><a href="../package/http-7.0.html">http-7.0</a></li>
<li><a href="../package/http-8.0.html">http-8.0</a></li>
<li><a href="../package/http-9.0.html">http-9.0</a></li>
<li><a href="../package/http-servers.html">http-servers</a></li>
<li><a href="../package/ide.html">ide</a></li>
<li><a href="../package/ide-workbench.html">ide-workbench</a></li>
<li><a href="../package/idea.html">idea</a></li>
<li><a href="../package/inference-model.html">inference-model</a></li>
<li><a href="../package/inputs.html">inputs</a></li>
<li><a href="../package/international-criminal-court.html">international-criminal-court</a></li>
<li><a href="../package/io.html">io</a></li>
<li><a href="../package/java.html">java</a></li>
<li><a href="../package/java28.html">java28</a></li>
<li><a href="../package/journey.html">journey</a></li>
<li><a href="../package/languages.html">languages</a></li>
<li><a href="../package/large-language-models.html">large-language-models</a></li>
<li><a href="../package/ledger.html">ledger</a></li>
<li><a href="../package/linux-editors.html">linux-editors</a></li>
<li><a href="../package/manifesto.html">manifesto</a></li>
<li><a href="../package/math.html">math</a></li>
<li><a href="../package/memory.html">memory</a></li>
<li><a href="../package/modules.html">modules</a></li>
<li><a href="../package/moral-capacitor.html">moral-capacitor</a></li>
<li><a href="../package/munction.html">munction</a></li>
<li><a href="../package/native.html">native</a></li>
<li><a href="../package/net.html">net</a></li>
<li><a href="../package/neural-nets.html">neural-nets</a></li>
<li><a href="../package/nordshrift.html">nordshrift</a></li>
<li><a href="../package/observer.html">observer</a></li>
<li><a href="../package/opcodes.html">opcodes</a></li>
<li><a href="../package/operating-system.html">operating-system</a></li>
<li><a href="../package/os-level-support.html">os-level-support</a></li>
<li><a href="../package/philosophers.html">philosophers</a></li>
<li><a href="../package/philosophy.html">philosophy</a></li>
<li><a href="../package/politico.html">politico</a></li>
<li><a href="../package/process.html">process</a></li>
<li><a href="../package/psychiatry.html">psychiatry</a></li>
<li><a href="../package/public.html">public</a></li>
<li><a href="../package/reflection.html">reflection</a></li>
<li><a href="../package/regex.html">regex</a></li>
<li><a href="../package/registry.html">registry</a></li>
<li><a href="../package/rmi.html">rmi</a></li>
<li><a href="../package/rrs.html">rrs</a></li>
<li><a href="../package/runtime.html">runtime</a></li>
<li><a href="../package/security.html">security</a></li>
<li><a href="../package/server-edition.html">server-edition</a></li>
<li><a href="../package/signal-processing.html">signal-processing</a></li>
<li><a href="../package/sldocument.html">sldocument</a></li>
<li><a href="../package/sleela.html">sleela</a></li>
<li><a href="../package/sleela-sql.html">sleela-sql</a></li>
<li><a href="../package/sleela-terminal.html">sleela-terminal</a></li>
<li><a href="../package/sleeladoc.html">sleeladoc</a></li>
<li><a href="../package/slrtp.html">slrtp</a></li>
<li><a href="../package/social-model.html">social-model</a></li>
<li><a href="../package/softlisten.html">softlisten</a></li>
<li><a href="../package/sommeliers.html">sommeliers</a></li>
<li><a href="../package/spatial.html">spatial</a></li>
<li><a href="../package/sst.html">sst</a></li>
<li><a href="../package/synchro.html">synchro</a></li>
<li><a href="../package/systems.html">systems</a></li>
<li><a href="../package/telephony-skya.html">telephony-skya</a></li>
<li><a href="../package/terminal.html">terminal</a></li>
<li><a href="../package/terminal_pixel.html">terminal_pixel</a></li>
<li><a href="../package/text.html">text</a></li>
<li><a href="../package/ui.html">ui</a></li>
<li><a href="../package/us-infrastructure.html">us-infrastructure</a></li>
<li><a href="../package/user-interface.html">user-interface</a></li>
<li><a href="../package/video.html">video</a></li>
<li><a href="../package/vm.html">vm</a></li>
<li><a href="../package/web-server-technology.html">web-server-technology</a></li>
<li><a href="../package/website.html">website</a></li>
<li><a href="../package/wifi.html">wifi</a></li>
<li><a href="../package/xlt.html">xlt</a></li>
<li><a href="../package/xml.html">xml</a></li>
</ul>
</nav>
<main>
<div class="crumbs"><a href="../index.html">Home</a> &rsaquo; <a href="../packages.html">Packages</a> &rsaquo; common-rails</div>
<h1>Package <code>common-rails</code></h1>
<div class="lead">This package contains <strong>14</strong> source unit(s) defining <strong>14</strong> class(es) / struct(s). Each unit below lists its fields (the values it stores) and methods (the actions it performs), with a plain explanation of each.</div>
<input class="search" placeholder="Filter on this page (Ctrl+F also works)…" oninput="flt(this.value)">
<h2 class="section" data-u="common-rails">common-rails <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/common-rails.sleela)</span></h2>
<div data-u="common-rails printrail">
<h3 id="PrintRail">PrintRail <span class="pill">class</span></h3>
<p class="desc">the self-contained, runnable build of the SLeeLa common-rails</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
<p class="muted"><strong>Fields</strong> — the named values this unit stores.</p>
<table class="members"><tr><th>Field</th><th>Declaration</th><th>What it holds</th></tr>
<tr><td><code>SQUARE_SIZE</code></td><td><span class="sig">int SQUARE_SIZE   = 21</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>OID_WIDTH</code></td><td><span class="sig">int OID_WIDTH     = 10</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>CURRENT_WIDTH</code></td><td><span class="sig">int CURRENT_WIDTH = 39</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>PRINT_WIDTH</code></td><td><span class="sig">int PRINT_WIDTH   = 80</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>STATE_FIELD</code></td><td><span class="sig">int STATE_FIELD   = 10</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>FULL</code></td><td><span class="sig">String FULL  = &quot;█&quot;</span></td><td class="desc">Progress-square glyphs: FULL is the filled cell, LIGHT the empty cell.</td></tr>
<tr><td><code>LIGHT</code></td><td><span class="sig">String LIGHT = &quot;░&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>BOX_TL</code></td><td><span class="sig">String BOX_TL = &quot;┌&quot;;  String BOX_TM = &quot;┬&quot;;  String BOX_TR = &quot;┐&quot;</span></td><td class="desc">Box-drawing glyph set that frames a table (meaning survives without color).</td></tr>
<tr><td><code>BOX_ML</code></td><td><span class="sig">String BOX_ML = &quot;├&quot;;  String BOX_MM = &quot;┼&quot;;  String BOX_MR = &quot;┤&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>BOX_BL</code></td><td><span class="sig">String BOX_BL = &quot;└&quot;;  String BOX_BM = &quot;┴&quot;;  String BOX_BR = &quot;┘&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>BOX_H</code></td><td><span class="sig">String BOX_H  = &quot;─&quot;;  String BOX_V  = &quot;│&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
<p class="muted"><strong>Methods</strong> — the actions this unit can perform.</p>
<table class="members"><tr><th>Method</th><th>Signature</th><th>What it does</th></tr>
<tr><td><code>repeat</code></td><td><span class="sig">String repeat(String s, int n)</span></td><td class="desc">repeat(s, n): the core String has no repeat; build it by concatenation.</td></tr>
<tr><td><code>digitCount</code></td><td><span class="sig">int digitCount(int v)</span></td><td class="desc">digitCount(v): number of decimal digits in a non-negative int.</td></tr>
<tr><td><code>padZeros</code></td><td><span class="sig">String padZeros(int value, int width)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>groupInt</code></td><td><span class="sig">String groupInt(int value)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>padRight</code></td><td><span class="sig">String padRight(String content, int contentChars, int width)</span></td><td class="desc">padRight(content, contentChars, width): content then right-pad spaces.</td></tr>
<tr><td><code>padLeft</code></td><td><span class="sig">String padLeft(String content, int contentChars, int width)</span></td><td class="desc">padLeft(content, contentChars, width): left-pad spaces then content.</td></tr>
<tr><td><code>widthLine</code></td><td><span class="sig">String widthLine(String content, int contentChars)</span></td><td class="desc">A fixed-width content line, PRINT_WIDTH columns wide.</td></tr>
<tr><td><code>padCurrent</code></td><td><span class="sig">String padCurrent(String name, int nameChars)</span></td><td class="desc">padCurrent(name, nameChars): &quot;[Current: @Name&quot; + spaces + &quot;]&quot;.</td></tr>
<tr><td><code>componentLine</code></td><td><span class="sig">String componentLine(String name, int nameChars, int oid, int dateSeq, String message)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>stateLineText</code></td><td><span class="sig">String stateLineText(String state, int stateChars, String message, int messageChars)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>tableRule</code></td><td><span class="sig">String tableRule(String left, String mid, String right, int w0, int w1)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>tableRowText</code></td><td><span class="sig">String tableRowText(</span></td><td class="desc">A table row &quot;│ cell0 │ cell1 │&quot;; leftAlign selects alignment for both cells.</td></tr>
<tr><td><code>printComponent</code></td><td><span class="sig">void printComponent(String name, int nameChars, int oid, int dateSeq, String message)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printState</code></td><td><span class="sig">void printState(String state, int stateChars, String message, int messageChars)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printTableTop</code></td><td><span class="sig">void printTableTop(int w0, int w1)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printTableSeparator</code></td><td><span class="sig">void printTableSeparator(int w0, int w1)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printTableBottom</code></td><td><span class="sig">void printTableBottom(int w0, int w1)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printTableRow</code></td><td><span class="sig">void printTableRow(</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printTable</code></td><td><span class="sig">void printTable(</span></td><td class="desc">A complete two-column table: top, header, separator, two rows, bottom.</td></tr>
<tr><td><code>printPair</code></td><td><span class="sig">void printPair(String field, int fieldChars, String value, int valueChars, boolean table)</span></td><td class="desc">Field/value renderer with a `table` switch: framed table vs plain line.</td></tr>
<tr><td><code>clampPercent</code></td><td><span class="sig">int clampPercent(int percent)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>percentToCells</code></td><td><span class="sig">int percentToCells(int percent)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printSquare</code></td><td><span class="sig">void printSquare(int filledCells)</span></td><td class="desc">`filled` cells are filled in order bottom-right to left, then up a row.</td></tr>
<tr><td><code>printSquarePercent</code></td><td><span class="sig">void printSquarePercent(int percent)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printPixel</code></td><td><span class="sig">void printPixel(int filledCells)</span></td><td class="desc">Single-pixel indicator: the most compact rendering, one glyph.</td></tr>
<tr><td><code>printPixelPercent</code></td><td><span class="sig">void printPixelPercent(int percent)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>toolLine</code></td><td><span class="sig">String toolLine(String tool, int toolChars, String message, int messageChars)</span></td><td class="desc">A tool banner line, for example: sleelvac, then the source and artifact.</td></tr>
<tr><td><code>compilerState</code></td><td><span class="sig">void compilerState(String state, int stateChars, String message, int messageChars)</span></td><td class="desc">The COMPILER (Sleelvac) rail.</td></tr>
<tr><td><code>nordshriftState</code></td><td><span class="sig">void nordshriftState(String state, int stateChars, String message, int messageChars)</span></td><td class="desc">The NORDSHRIFT rail.</td></tr>
<tr><td><code>debugFrame</code></td><td><span class="sig">void debugFrame(String symbol, int symbolChars, String location, int locationChars)</span></td><td class="desc">The DEBUGGER rail: one stack frame rendered into the two-column table.</td></tr>
<tr><td><code>main</code></td><td><span class="sig">void main()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
</div>
<h2 class="section" data-u="printcomponent">PrintComponent <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/PrintComponent.sleela)</span></h2>
<div data-u="printcomponent printcomponent">
<h3 id="PrintComponent">PrintComponent <span class="pill">class</span></h3>
<p class="desc">Defines the SLeeLa standard-library type PrintComponent used within the common-rails library family.</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
<p class="muted"><strong>Fields</strong> — the named values this unit stores.</p>
<table class="members"><tr><th>Field</th><th>Declaration</th><th>What it holds</th></tr>
<tr><td><code>value</code></td><td><span class="sig">String value=&quot;&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
<p class="muted"><strong>Methods</strong> — the actions this unit can perform.</p>
<table class="members"><tr><th>Method</th><th>Signature</th><th>What it does</th></tr>
<tr><td><code>set</code></td><td><span class="sig">void set(String v)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>get</code></td><td><span class="sig">String get()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
</div>
<h2 class="section" data-u="printcontracttest">PrintContractTest <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/PrintContractTest.sleela)</span></h2>
<div data-u="printcontracttest printcontracttest">
<h3 id="PrintContractTest">PrintContractTest <span class="pill">class</span></h3>
<p class="desc">Defines the SLeeLa standard-library type PrintContractTest used within the common-rails library family.</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
<p class="muted"><strong>Fields</strong> — the named values this unit stores.</p>
<table class="members"><tr><th>Field</th><th>Declaration</th><th>What it holds</th></tr>
<tr><td><code>value</code></td><td><span class="sig">String value=&quot;&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
<p class="muted"><strong>Methods</strong> — the actions this unit can perform.</p>
<table class="members"><tr><th>Method</th><th>Signature</th><th>What it does</th></tr>
<tr><td><code>set</code></td><td><span class="sig">void set(String v)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>get</code></td><td><span class="sig">String get()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
</div>
<h2 class="section" data-u="printfield">PrintField <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/PrintField.sleela)</span></h2>
<div data-u="printfield printfield">
<h3 id="PrintField">PrintField <span class="pill">class</span></h3>
<p class="desc">Defines the SLeeLa standard-library type PrintField used within the common-rails library family.</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
<p class="muted"><strong>Fields</strong> — the named values this unit stores.</p>
<table class="members"><tr><th>Field</th><th>Declaration</th><th>What it holds</th></tr>
<tr><td><code>value</code></td><td><span class="sig">String value=&quot;&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
<p class="muted"><strong>Methods</strong> — the actions this unit can perform.</p>
<table class="members"><tr><th>Method</th><th>Signature</th><th>What it does</th></tr>
<tr><td><code>set</code></td><td><span class="sig">void set(String v)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>get</code></td><td><span class="sig">String get()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
</div>
<h2 class="section" data-u="printformatter">PrintFormatter <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/PrintFormatter.sleela)</span></h2>
<div data-u="printformatter printformatter">
<h3 id="PrintFormatter">PrintFormatter <span class="pill">class</span></h3>
<p class="desc">Defines the SLeeLa standard-library type PrintFormatter used within the common-rails library family.</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
<p class="muted"><strong>Fields</strong> — the named values this unit stores.</p>
<table class="members"><tr><th>Field</th><th>Declaration</th><th>What it holds</th></tr>
<tr><td><code>value</code></td><td><span class="sig">String value=&quot;&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
<p class="muted"><strong>Methods</strong> — the actions this unit can perform.</p>
<table class="members"><tr><th>Method</th><th>Signature</th><th>What it does</th></tr>
<tr><td><code>set</code></td><td><span class="sig">void set(String v)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>get</code></td><td><span class="sig">String get()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
</div>
<h2 class="section" data-u="printglyphs">PrintGlyphs <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/PrintGlyphs.sleela)</span></h2>
<div data-u="printglyphs printglyphs">
<h3 id="PrintGlyphs">PrintGlyphs <span class="pill">class</span></h3>
<p class="desc">Defines the SLeeLa standard-library type PrintGlyphs used within the common-rails library family.</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
</div>
<h2 class="section" data-u="printlayout">PrintLayout <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/PrintLayout.sleela)</span></h2>
<div data-u="printlayout printlayout">
<h3 id="PrintLayout">PrintLayout <span class="pill">class</span></h3>
<p class="desc">Defines the SLeeLa standard-library type PrintLayout used within the common-rails library family.</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
<p class="muted"><strong>Fields</strong> — the named values this unit stores.</p>
<table class="members"><tr><th>Field</th><th>Declaration</th><th>What it holds</th></tr>
<tr><td><code>value</code></td><td><span class="sig">String value=&quot;&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
<p class="muted"><strong>Methods</strong> — the actions this unit can perform.</p>
<table class="members"><tr><th>Method</th><th>Signature</th><th>What it does</th></tr>
<tr><td><code>set</code></td><td><span class="sig">void set(String v)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>get</code></td><td><span class="sig">String get()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
</div>
<h2 class="section" data-u="printline">PrintLine <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/PrintLine.sleela)</span></h2>
<div data-u="printline printline">
<h3 id="PrintLine">PrintLine <span class="pill">class</span></h3>
<p class="desc">Defines the SLeeLa standard-library type PrintLine used within the common-rails library family.</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
<p class="muted"><strong>Fields</strong> — the named values this unit stores.</p>
<table class="members"><tr><th>Field</th><th>Declaration</th><th>What it holds</th></tr>
<tr><td><code>value</code></td><td><span class="sig">String value=&quot;&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
<p class="muted"><strong>Methods</strong> — the actions this unit can perform.</p>
<table class="members"><tr><th>Method</th><th>Signature</th><th>What it does</th></tr>
<tr><td><code>set</code></td><td><span class="sig">void set(String v)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>get</code></td><td><span class="sig">String get()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
</div>
<h2 class="section" data-u="printprogress">PrintProgress <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/PrintProgress.sleela)</span></h2>
<div data-u="printprogress printprogress">
<h3 id="PrintProgress">PrintProgress <span class="pill">class</span></h3>
<p class="desc">Defines the SLeeLa standard-library type PrintProgress used within the common-rails library family.</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
<p class="muted"><strong>Fields</strong> — the named values this unit stores.</p>
<table class="members"><tr><th>Field</th><th>Declaration</th><th>What it holds</th></tr>
<tr><td><code>side</code></td><td><span class="sig">int side=21</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
<p class="muted"><strong>Methods</strong> — the actions this unit can perform.</p>
<table class="members"><tr><th>Method</th><th>Signature</th><th>What it does</th></tr>
<tr><td><code>cells</code></td><td><span class="sig">int cells()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>clamp</code></td><td><span class="sig">int clamp(int percent)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>percentToCells</code></td><td><span class="sig">int percentToCells(int percent)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
</div>
<h2 class="section" data-u="printrail">PrintRail <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/PrintRail.sleela)</span></h2>
<div data-u="printrail printrail">
<h3 id="PrintRail">PrintRail <span class="pill">class</span></h3>
<p class="desc">PrintRail -- the one professional-printing surface the SLeeLa</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
<p class="muted"><strong>Fields</strong> — the named values this unit stores.</p>
<table class="members"><tr><th>Field</th><th>Declaration</th><th>What it holds</th></tr>
<tr><td><code>SQUARE_SIZE</code></td><td><span class="sig">int SQUARE_SIZE   = 21</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>OID_WIDTH</code></td><td><span class="sig">int OID_WIDTH     = 10</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>CURRENT_WIDTH</code></td><td><span class="sig">int CURRENT_WIDTH = 39</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>PRINT_WIDTH</code></td><td><span class="sig">int PRINT_WIDTH   = 80</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>STATE_FIELD</code></td><td><span class="sig">int STATE_FIELD   = 10</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>FULL</code></td><td><span class="sig">String FULL  = &quot;█&quot;</span></td><td class="desc">Progress-square glyphs: FULL is the filled cell, LIGHT the empty cell.</td></tr>
<tr><td><code>LIGHT</code></td><td><span class="sig">String LIGHT = &quot;░&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>BOX_TL</code></td><td><span class="sig">String BOX_TL = &quot;┌&quot;;  String BOX_TM = &quot;┬&quot;;  String BOX_TR = &quot;┐&quot;</span></td><td class="desc">Box-drawing glyph set that frames a table (meaning survives without color).</td></tr>
<tr><td><code>BOX_ML</code></td><td><span class="sig">String BOX_ML = &quot;├&quot;;  String BOX_MM = &quot;┼&quot;;  String BOX_MR = &quot;┤&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>BOX_BL</code></td><td><span class="sig">String BOX_BL = &quot;└&quot;;  String BOX_BM = &quot;┴&quot;;  String BOX_BR = &quot;┘&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>BOX_H</code></td><td><span class="sig">String BOX_H  = &quot;─&quot;;  String BOX_V  = &quot;│&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
<p class="muted"><strong>Methods</strong> — the actions this unit can perform.</p>
<table class="members"><tr><th>Method</th><th>Signature</th><th>What it does</th></tr>
<tr><td><code>repeat</code></td><td><span class="sig">String repeat(String s, int n)</span></td><td class="desc">repeat(s, n): the core String has no repeat; build it by concatenation.</td></tr>
<tr><td><code>digitCount</code></td><td><span class="sig">int digitCount(int v)</span></td><td class="desc">digitCount(v): number of decimal digits in a non-negative int.</td></tr>
<tr><td><code>padZeros</code></td><td><span class="sig">String padZeros(int value, int width)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>groupInt</code></td><td><span class="sig">String groupInt(int value)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>padRight</code></td><td><span class="sig">String padRight(String content, int contentChars, int width)</span></td><td class="desc">padRight(content, contentChars, width): content then right-pad spaces.</td></tr>
<tr><td><code>padLeft</code></td><td><span class="sig">String padLeft(String content, int contentChars, int width)</span></td><td class="desc">padLeft(content, contentChars, width): left-pad spaces then content.</td></tr>
<tr><td><code>widthLine</code></td><td><span class="sig">String widthLine(String content, int contentChars)</span></td><td class="desc">A fixed-width content line, PRINT_WIDTH columns wide.</td></tr>
<tr><td><code>padCurrent</code></td><td><span class="sig">String padCurrent(String name, int nameChars)</span></td><td class="desc">padCurrent(name, nameChars): &quot;[Current: @Name&quot; + spaces + &quot;]&quot;.</td></tr>
<tr><td><code>componentLine</code></td><td><span class="sig">String componentLine(String name, int nameChars, int oid, int dateSeq, String message)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>stateLineText</code></td><td><span class="sig">String stateLineText(String state, int stateChars, String message, int messageChars)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>tableRule</code></td><td><span class="sig">String tableRule(String left, String mid, String right, int w0, int w1)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>tableRowText</code></td><td><span class="sig">String tableRowText(</span></td><td class="desc">A table row &quot;│ cell0 │ cell1 │&quot;; leftAlign selects alignment for both cells.</td></tr>
<tr><td><code>printComponent</code></td><td><span class="sig">void printComponent(String name, int nameChars, int oid, int dateSeq, String message)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printState</code></td><td><span class="sig">void printState(String state, int stateChars, String message, int messageChars)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printTableTop</code></td><td><span class="sig">void printTableTop(int w0, int w1)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printTableSeparator</code></td><td><span class="sig">void printTableSeparator(int w0, int w1)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printTableBottom</code></td><td><span class="sig">void printTableBottom(int w0, int w1)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printTableRow</code></td><td><span class="sig">void printTableRow(</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printTable</code></td><td><span class="sig">void printTable(</span></td><td class="desc">A complete two-column table: top, header, separator, two rows, bottom.</td></tr>
<tr><td><code>printPair</code></td><td><span class="sig">void printPair(String field, int fieldChars, String value, int valueChars, boolean table)</span></td><td class="desc">Field/value renderer with a `table` switch: framed table vs plain line.</td></tr>
<tr><td><code>clampPercent</code></td><td><span class="sig">int clampPercent(int percent)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>percentToCells</code></td><td><span class="sig">int percentToCells(int percent)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printSquare</code></td><td><span class="sig">void printSquare(int filledCells)</span></td><td class="desc">`filled` cells are filled in order bottom-right to left, then up a row.</td></tr>
<tr><td><code>printSquarePercent</code></td><td><span class="sig">void printSquarePercent(int percent)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>printPixel</code></td><td><span class="sig">void printPixel(int filledCells)</span></td><td class="desc">Single-pixel indicator: the most compact rendering, one glyph.</td></tr>
<tr><td><code>printPixelPercent</code></td><td><span class="sig">void printPixelPercent(int percent)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>toolLine</code></td><td><span class="sig">String toolLine(String tool, int toolChars, String message, int messageChars)</span></td><td class="desc">A tool banner line, for example: sleelvac, then the source and artifact.</td></tr>
<tr><td><code>compilerState</code></td><td><span class="sig">void compilerState(String state, int stateChars, String message, int messageChars)</span></td><td class="desc">The COMPILER (Sleelvac) rail.</td></tr>
<tr><td><code>nordshriftState</code></td><td><span class="sig">void nordshriftState(String state, int stateChars, String message, int messageChars)</span></td><td class="desc">The NORDSHRIFT rail.</td></tr>
<tr><td><code>debugFrame</code></td><td><span class="sig">void debugFrame(String symbol, int symbolChars, String location, int locationChars)</span></td><td class="desc">The DEBUGGER rail: one stack frame rendered into the two-column table.</td></tr>
</table>
</div>
<h2 class="section" data-u="printrenderer">PrintRenderer <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/PrintRenderer.sleela)</span></h2>
<div data-u="printrenderer printrenderer">
<h3 id="PrintRenderer">PrintRenderer <span class="pill">class</span></h3>
<p class="desc">Defines the SLeeLa standard-library type PrintRenderer used within the common-rails library family.</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
<p class="muted"><strong>Fields</strong> — the named values this unit stores.</p>
<table class="members"><tr><th>Field</th><th>Declaration</th><th>What it holds</th></tr>
<tr><td><code>value</code></td><td><span class="sig">String value=&quot;&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
<p class="muted"><strong>Methods</strong> — the actions this unit can perform.</p>
<table class="members"><tr><th>Method</th><th>Signature</th><th>What it does</th></tr>
<tr><td><code>set</code></td><td><span class="sig">void set(String v)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>get</code></td><td><span class="sig">String get()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
</div>
<h2 class="section" data-u="printstate">PrintState <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/PrintState.sleela)</span></h2>
<div data-u="printstate printstate">
<h3 id="PrintState">PrintState <span class="pill">class</span></h3>
<p class="desc">Defines the SLeeLa standard-library type PrintState used within the common-rails library family.</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
<p class="muted"><strong>Fields</strong> — the named values this unit stores.</p>
<table class="members"><tr><th>Field</th><th>Declaration</th><th>What it holds</th></tr>
<tr><td><code>value</code></td><td><span class="sig">String value=&quot;&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
<p class="muted"><strong>Methods</strong> — the actions this unit can perform.</p>
<table class="members"><tr><th>Method</th><th>Signature</th><th>What it does</th></tr>
<tr><td><code>set</code></td><td><span class="sig">void set(String v)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>get</code></td><td><span class="sig">String get()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
</div>
<h2 class="section" data-u="printwriter">PrintWriter <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/PrintWriter.sleela)</span></h2>
<div data-u="printwriter printwriter">
<h3 id="PrintWriter">PrintWriter <span class="pill">class</span></h3>
<p class="desc">Defines the SLeeLa standard-library type PrintWriter used within the common-rails library family.</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
<p class="muted"><strong>Fields</strong> — the named values this unit stores.</p>
<table class="members"><tr><th>Field</th><th>Declaration</th><th>What it holds</th></tr>
<tr><td><code>value</code></td><td><span class="sig">String value=&quot;&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
<p class="muted"><strong>Methods</strong> — the actions this unit can perform.</p>
<table class="members"><tr><th>Method</th><th>Signature</th><th>What it does</th></tr>
<tr><td><code>set</code></td><td><span class="sig">void set(String v)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>get</code></td><td><span class="sig">String get()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
</div>
<h2 class="section" data-u="slpackage">SLPackage <span class="pill syntax">#sleela 2.5</span> <span class="muted" style="font-size:13px">(lib/common-rails/SLPackage.sleela)</span></h2>
<div data-u="slpackage commonrails">
<h3 id="CommonRails">CommonRails <span class="pill">class</span></h3>
<p class="desc">Defines the SLeeLa standard-library package for common-rails.</p>
<div class="meta-note">Carries the standard <strong>Metadata Class record</strong> — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.</div>
<p class="muted"><strong>Fields</strong> — the named values this unit stores.</p>
<table class="members"><tr><th>Field</th><th>Declaration</th><th>What it holds</th></tr>
<tr><td><code>source</code></td><td><span class="sig">String source = &quot;lib/common-rails/PrintRail.sleela&quot;</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
<p class="muted"><strong>Methods</strong> — the actions this unit can perform.</p>
<table class="members"><tr><th>Method</th><th>Signature</th><th>What it does</th></tr>
<tr><td><code>entryClass</code></td><td><span class="sig">String entryClass()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>configure</code></td><td><span class="sig">void configure(String path)</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>path</code></td><td><span class="sig">String path()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
<tr><td><code>available</code></td><td><span class="sig">boolean available()</span></td><td class="desc"><span class="muted">No description in source.</span></td></tr>
</table>
</div>
<script>function flt(q){q=q.toLowerCase();document.querySelectorAll('[data-u]').forEach(function(el){el.style.display = el.getAttribute('data-u').indexOf(q)>=0||q==''?'':'none';});}</script>
<footer>
Generated by <code>tools/generate-sleeladoc-api.py</code> from the live
<code>/lib</code> tree on 2026-11-16 00:06 UTC.
SleelaDoc — the SLeeLa documentation brand. SLeeLa — MEARVK LLC · Max Rupplin · UNCW, NCSU, Harvard · 2026 · George Soros 2507-2608.
</footer>
</main>
</div>
</body>
</html>