Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F630846
template.util.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
838 B
Referenced Files
None
Subscribers
None
template.util.html
View Options
<
%def name="type(name)">
<
%
cname = name
if cname.startswith("const "):
cname = cname[6:]
if cname.endswith("@"):
cname = cname[:-1]
if cname.endswith("
&
"):
cname = cname[:-1]
cname = cname.strip()
%>
% if cname in data["classmap"]:
<
a
href
=
"
${
engine
}
.class.
${
cname
}
.html"
>${
name
}</
a
>
% elif cname in data["enummap"]:
<
a
href
=
"
${
engine
}
.enum.
${
cname
}
.html"
>${
name
}</
a
>
% else:
${
name
}
% endif
<
/%def>
<
%def name="func(f, link=None)">
${
type
(
f
[
"return"
][
"type"
])}
% if link is not None:
<
a
href
=
"
${
link
}
"
>${
f
[
"name"
]}</
a
>
(
% else:
${
f
[
"name"
]}
(
% endif
% for i, arg in enumerate(f["arguments"]):
${
type
(
arg
[
"type"
])}
${
arg
[
"name"
]}
<
%
d = ""
if "default" in arg:
d = " = "+arg["default"]
%>
${
d
}${
","
if
i
!= len(f["arguments"]) - 1 else ""
}
% endfor
)
${
"const"
if
f
[
"const"
]
else
""
}
<
/%def>
File Metadata
Details
Attached
Mime Type
text/html
Expires
Sun, Nov 15, 10:33 AM (2 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
135534
Default Alt Text
template.util.html (838 B)
Attached To
Mode
R80 StarRuler2-Source
Attached
Detach File
Event Timeline