Imported Upstream version 5.4.0.167

Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-08-21 15:34:15 +00:00
parent e49d6f06c0
commit 536cd135cc
12856 changed files with 563812 additions and 223249 deletions

View File

@ -0,0 +1 @@
/helper.js -crlf

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

View File

@ -0,0 +1,45 @@
/*
* base.css: CSS applied to all the docs
*
* Author: Mario Sopena
*/
body, table {
margin: 0px;
}
body, table, pre, p {
font-family: @@FONT_FAMILY@@, sans-serif;
/* font-size: @@FONT_SIZE@@pt; */
font-size: 11pt;
}
div.header {
background-color: #FAFBFD;
font-size: 1.7em;
font-weight: bold;
padding: 8px 0 0 10px;
font-family: 'Segoe UI',Verdana,Arial;
}
div.title {
font-size: 130%;
font-weight: bolder;
margin-top: 0.3em;
margin-left: 0.2em;
margin-bottom: 0.1em;
}
.subtitle {
font-style: italic;
}
.attributionlogo {
display:none;
float:right;
}
div:hover > .attributionlogo,p:hover > .attributionlogo,td:hover > .attributionlogo,blockquote:hover > .attributionlogo {
display:inline;
float:right;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@ -0,0 +1,98 @@
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:monodoc="monodoc:///extensions"
exclude-result-prefixes="monodoc"
>
<xsl:output omit-xml-declaration="yes" />
<xsl:template match="/clause">
<div class="header" id="ecmaspec">
<div class="subtitle">ECMA-334 C# Language Specification</div>
<div class="title"><xsl:value-of select="@number"/>: <xsl:value-of select="@title"/>
<xsl:if test="@informative"> (informative) </xsl:if></div>
</div>
<xsl:apply-templates />
</xsl:template>
<xsl:template match="paragraph">
<p>
<xsl:apply-templates />
</p>
</xsl:template>
<xsl:template match="keyword">
<span class="keyword"> <xsl:apply-templates/></span> <xsl:text> </xsl:text>
</xsl:template>
<xsl:template match="hyperlink">
<a href="ecmaspec:{.}">
<xsl:value-of select="." />
</a>
</xsl:template>
<xsl:template match="list">
<ul>
<xsl:for-each select="list_item|list">
<li><xsl:apply-templates /></li>
</xsl:for-each>
</ul>
</xsl:template>
<xsl:template match="code_example">
<div class="code_example">
<div class="code_ex_title">Code example</div>
<span class="code">
<xsl:value-of select="monodoc:Colorize(string(descendant-or-self::text()), string('csharp'))" disable-output-escaping="yes" />
</span>
</div>
</xsl:template>
<xsl:template match="symbol">
<span class="symbol">
<xsl:apply-templates />
</span>
</xsl:template>
<xsl:template match="grammar_production">
<dl class="nt_{name/non_terminal/.}">
<dt><xsl:value-of select="name/non_terminal/." /></dt>
<xsl:for-each select="rhs">
<dd>
<xsl:apply-templates select="node()" />
</dd>
</xsl:for-each>
</dl>
</xsl:template>
<xsl:template match="non_terminal">
<span class="non_terminal"><xsl:text> </xsl:text><xsl:value-of select="." /></span>
</xsl:template>
<xsl:template match="terminal">
<span class="terminal"><xsl:text> </xsl:text><xsl:value-of select="." /></span>
</xsl:template>
<xsl:template match="opt">
<xsl:text> (</xsl:text><span class="opt">optional</span><xsl:text>) </xsl:text>
</xsl:template>
<xsl:template match="note|example">
<div class="note">
<xsl:apply-templates />
</div>
</xsl:template>
<xsl:template match="table_line">
<xsl:apply-templates /><br />
</xsl:template>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,96 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output omit-xml-declaration="yes" />
<xsl:template match="/clause">
<table width="100%" cellpadding="5">
<tr bgcolor="#b0c4de"><td>
<i>ECMA-334 C# Language Specification</i>
<h3>
<xsl:value-of select="@number"/>: <xsl:value-of select="@title"/>
<xsl:if test="@informative">
(informative)
</xsl:if>
</h3>
</td></tr>
</table>
<xsl:apply-templates />
</xsl:template>
<xsl:template match="paragraph">
<p>
<xsl:apply-templates />
</p>
</xsl:template>
<xsl:template match="keyword">
<i> <xsl:apply-templates/></i> <xsl:text> </xsl:text>
</xsl:template>
<xsl:template match="hyperlink">
<a href="ecmaspec:{.}">
<xsl:value-of select="." />
</a>
</xsl:template>
<xsl:template match="list">
<ul>
<xsl:for-each select="list_item|list">
<li><xsl:apply-templates /></li>
</xsl:for-each>
</ul>
</xsl:template>
<xsl:template match="code_example">
<table bgcolor="#f5f5dd" border="1" cellpadding="5">
<tr>
<td>
<pre>
<xsl:apply-templates />
</pre>
</td>
</tr>
</table>
</xsl:template>
<xsl:template match="symbol">
<code>
<xsl:apply-templates />
</code>
</xsl:template>
<xsl:template match="grammar_production">
<dl id="nt_{name/non_terminal/.}">
<dt><xsl:value-of select="name/non_terminal/." /></dt>
<xsl:for-each select="rhs">
<dd>
<xsl:apply-templates select="node()" />
</dd>
</xsl:for-each>
</dl>
</xsl:template>
<xsl:template match="non_terminal">
<code><xsl:text> </xsl:text><xsl:value-of select="." /></code>
</xsl:template>
<xsl:template match="terminal">
<code><xsl:text> </xsl:text><xsl:value-of select="." /></code>
</xsl:template>
<xsl:template match="opt">
<sub>opt</sub>
</xsl:template>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

View File

@ -0,0 +1,68 @@
/*
* ecmaspec.css: CSS applied to ECMA C# specs
*
* Author: Mario Sopena
*/
#ecmaspec {
background: #a4dda4; /*#83b183;*/
border: 2px solid #556655;
}
p {
margin-top: .5em;
margin-bottom: .5em;
}
span.keyword {
color: #a6563a;
}
a:link {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
div.code_example {
background: #f5f5dd;
border: 1px solid #cdcd82;
border: 1px solid black;
padding-left: 1em;
padding-bottom: 1em;
margin-top: 1em;
font-family: fixed;
white-space: pre;
margin-bottom: 1em;
}
div.code_ex_title {
position: relative;
top: -1em;
left: 30%;
background: #cdcd82;
border: 1px solid black;
color: black;
text-transform: uppercase;
width: 40%;
padding: 0.3em;
text-align: center;
}
span.symbol {
font-weight: bolder;
}
span.optional {
font-style: italic;
}
div.note {
background: #cdcd82;
border: 1px solid black;
padding: 1em;
margin-top: 1em;
margin-bottom: 1em;
}

View File

@ -0,0 +1,12 @@
function toggle_display (block) {
var w = document.getElementById (block);
var t = document.getElementById (block + ":toggle");
if (w.style.display == "none") {
w.style.display = "block";
t.getElementsByTagName("img")[0].setAttribute ("src", "xtree/images/clean/Lminus.gif"); // <img src="xtree/images/clean/Lminus.gif">
} else {
w.style.display = "none";
t.getElementsByTagName("img")[0].setAttribute ("src", "xtree/images/clean/Lplus.gif"); // <img src="xtree/images/clean/Lplus.gif">
}
}

View File

@ -0,0 +1,17 @@
<html>
<head>
<link type="text/css" rel="stylesheet" href="mono-ecma.css"/>
</head>
<body>
<div class="Content">
<p>The following documentation collections are available:</p>
<div id="docs">
<ul>
@@API_DOCS@@
</ul>
</div>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 806 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 344 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 723 B

Some files were not shown because too many files have changed in this diff Show More