-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathvaluetype.py
37 lines (25 loc) · 935 Bytes
/
valuetype.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
from .symboltype import SymbolType
import llvmlite.ir as ir
class ValueType(SymbolType):
def isValueType(self) -> bool:
return True
def isNone(self) -> bool:
return False
def toJSON(self, dump_location=True) -> dict:
raise Exception("unsupported")
def getCILName(self) -> str:
raise Exception("unsupported")
def getCILSignature(self) -> str:
raise Exception("unsupported")
def getJavaName(self, isList: bool = False) -> str:
raise Exception("unsupported")
def getJavaSignature(self, isList: bool = False) -> str:
raise Exception("unsupported")
def isJavaRef(self) -> bool:
raise Exception("unsupported")
def isListType(self) -> bool:
raise Exception("unsupported")
def getLLVMType(self) -> ir.Type:
raise Exception("unsupported")
def getWasmName(self) -> str:
raise Exception("unsupported")