mirror of
https://github.com/esiur/esiur-js.git
synced 2026-04-04 22:08:21 +00:00
2.0.0
This commit is contained in:
@@ -26,10 +26,21 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
import DC from '../../Data/DataConverter.js';
|
||||
import DC from '../../Data/DC.js';
|
||||
|
||||
|
||||
export default class MemberTemplate {
|
||||
compose() {
|
||||
return DC.stringToBytes(this.name);
|
||||
}
|
||||
}
|
||||
|
||||
constructor(template, index, name, inherited) {
|
||||
this.template = template;
|
||||
this.index = index;
|
||||
this.name = name;
|
||||
this.inherited = inherited;
|
||||
}
|
||||
|
||||
get fullname() {return this.template.className + "." + this.name;}
|
||||
|
||||
compose() {
|
||||
return DC.stringToBytes(this.name);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user