UNPKG
diamante-js-xdr
Version:
latest (1.0.1)
1.0.1
Read/write XDR encoded data structures (RFC 4506)
github.com/diamcircle/js-xdr
diamcircle/js-xdr
diamante-js-xdr
/
src
/
reference.js
12 lines
(10 loc)
•
317 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{
XdrPrimitiveType
}
from
'./xdr-type'
;
import
{
XdrDefinitionError
}
from
'./errors'
;
export
class
Reference
extends
XdrPrimitiveType
{
/* jshint unused: false */
resolve
(
) {
throw
new
XdrDefinitionError
(
'"resolve" method should be implemented in the descendant class'
); } }