Commit 00fa8780 authored by aniket-engg's avatar aniket-engg Committed by Aniket

abstract methods for reftype and valuetype

parent d57f93a4
...@@ -16,6 +16,14 @@ export class RefType { ...@@ -16,6 +16,14 @@ export class RefType {
this.basicType = 'RefType' this.basicType = 'RefType'
} }
decodeFromStorage(input1? : any, input2? : any) {
throw new Error('This method is abstract');
}
decodeFromMemoryInternal(input1? : any, input2? : any, input3?: any) {
throw new Error('This method is abstract');
}
/** /**
* decode the type from the stack * decode the type from the stack
* *
......
...@@ -14,6 +14,10 @@ export class ValueType { ...@@ -14,6 +14,10 @@ export class ValueType {
this.basicType = 'ValueType' this.basicType = 'ValueType'
} }
decodeValue(input? : any) {
throw new Error('This method is abstract');
}
/** /**
* decode the type with the @arg location from the storage * decode the type with the @arg location from the storage
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment