Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F103710530
report-base.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Mar 4, 04:57
Size
362 B
Mime Type
text/x-c++
Expires
Thu, Mar 6, 04:57 (2 d)
Engine
blob
Format
Raw Data
Handle
24643718
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
report-base.js
View Options
'use strict'
;
// TODO: switch to class private field when targetting node.js 12
const
_summarizer
=
Symbol
(
'ReportBase.#summarizer'
);
class
ReportBase
{
constructor
(
opts
=
{})
{
this
[
_summarizer
]
=
opts
.
summarizer
;
}
execute
(
context
)
{
context
.
getTree
(
this
[
_summarizer
]).
visit
(
this
,
context
);
}
}
module
.
exports
=
ReportBase
;
Event Timeline
Log In to Comment