1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.PointerDataType = void 0;
|
4 | const pointer_1 = require("../abstract_data_types/types/pointer");
|
5 | class PointerDataType extends pointer_1.AbstractPointerDataType {
|
6 | constructor(destDataType, parentDataType, dataTypeFactory) {
|
7 | const destDataItem = destDataType.getDataItem();
|
8 | const dataItem = { name: `ptr<${destDataItem.name}>`, type: `ptr<${destDataItem.type}>` };
|
9 | super(dataItem, dataTypeFactory, destDataType, parentDataType);
|
10 | }
|
11 | getSignatureType() {
|
12 | return this._destination.getSignature(false);
|
13 | }
|
14 | getSignature(isDetailed) {
|
15 | return this._destination.getSignature(isDetailed);
|
16 | }
|
17 | getDefaultValue() {
|
18 | const defaultValue = this._destination.getDefaultValue();
|
19 | return defaultValue;
|
20 | }
|
21 | }
|
22 | exports.PointerDataType = PointerDataType;
|
23 |
|
\ | No newline at end of file |