Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101821459
declaration.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
Fri, Feb 14, 01:48
Size
495 B
Mime Type
text/x-c++
Expires
Sun, Feb 16, 01:48 (2 d)
Engine
blob
Format
Raw Data
Handle
24237392
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
declaration.js
View Options
'use strict'
let
Node
=
require
(
'./node'
)
class
Declaration
extends
Node
{
constructor
(
defaults
)
{
if
(
defaults
&&
typeof
defaults
.
value
!==
'undefined'
&&
typeof
defaults
.
value
!==
'string'
)
{
defaults
=
{
...
defaults
,
value
:
String
(
defaults
.
value
)
}
}
super
(
defaults
)
this
.
type
=
'decl'
}
get
variable
()
{
return
this
.
prop
.
startsWith
(
'--'
)
||
this
.
prop
[
0
]
===
'$'
}
}
module
.
exports
=
Declaration
Declaration
.
default
=
Declaration
Event Timeline
Log In to Comment