UNPKG
@cran/gql.reflect
Version:
latest (0.1.0)
0.1.0
0.0.3
0.0.2
Cranberry Introspection Utilities for GraphQL
@cran/gql.reflect
/
mjs
/
output
/
ReflectEnumValue.js
13 lines
(12 loc)
•
329 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
import
{
ReflectElement
}
from
"./ReflectElement"
;
export
class
ReflectEnumValue
extends
ReflectElement
{ source; ordinal; fqdn;
constructor
(
$, _, source, ordinal
) {
super
($, _);
this
.
source
= source;
this
.
ordinal
= ordinal;
this
.
fqdn
=
`
${
this
.source.name}
.
${
this
.name}
`
; } }