_layouts.api-page.html Maven / Gradle / Ivy
The newest version!
---
layout: main
extraCSS:
- css/sidebar.css
- css/toolbar.css
- css/api-page.css
---
{% include "toolbar" %}
{% assign sidebarTop = "75px" %}
{% include "sidebar" %}
{% for annot in entity.annotations %}@{{ annot | split: '.' | last }} {% endfor %}
{{ entity.modifiers | join: " " }}
{{ entity.kind }}
{{ entity.name }}
{% if entity.typeParams.size > 0 %}
[
{% for param in entity.typeParams %}
{% if forloop.last %}
{{ param }}
{% else %}
{{ param }},
{% endif %}
{% endfor %}
]
{% endif %}
{% if entity.superTypes.size > 0 %}
{% for super in entity.superTypes %}
{% if forloop.first %}
extends
{% else %}
with
{% endif %}
{% renderLink super %}
{% endfor %}
{% endif %}
{% if entity.comment.body %}
{{ entity.comment.body }}
{% endif %}
Constructors
{% for constructor in entity.constructors %}
{% for plist in constructor %}
{{ entity.name }}
(
{% if plist.isImplicit %}
implicit
{% endif %}
{% for namedRef in plist.list %}
{{ namedRef.title }}:{% if namedRef.isByName %} =>{% endif %}
{% renderRef namedRef.ref %}
{% if forloop.last != true %}
,
{% endif %}
{% endfor %}
)
{% endfor %}
{% endfor %}
Members
{% for member in entity.members %}
{% for annot in member.annotations %}@{{ annot | split: '.' | last }} {% endfor %}
{{ member.modifiers | join: " " }}
{{ member.kind }}
{% if member.kind == "class" or member.kind == "case class" or member.kind == "object" or member.kind == "trait" %}
{{ member.name }}
{% elsif member.kind == "package" %}
{{ member.name }}
{% else %}
{{ member.name }}
{% endif %}
{% if member.kind == "def" and member.paramLists.size > 0 %}
{% for plist in member.paramLists %}
(
{% if plist.isImplicit %}
implicit
{% endif %}
{% for namedRef in plist.list %}
{{ namedRef.title }}:{% if namedRef.isByName %} =>{% endif %}
{% renderRef namedRef.ref %}
{% if forloop.last != true %}
,
{% endif %}
{% endfor %}
)
{% endfor %}
{% endif %}
{% if member.kind == "type" %}
{% for tparam in member.typeParams %}
{% if forloop.first %}
[
{% endif %}
{% if forloop.last %}
{{ tparam }}
]
{% else %}
{{ tparam }},
{% endif %}
{% endfor %}
{% if member.alias != null %}
=
{% renderRef member.alias %}
{% endif %}
{% endif %}
{% if member.returnValue %}
: {% renderRef member.returnValue %}
{% endif %}
{{ member.comment.body }}
{% endfor %}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy