def get_value(node): rep = IT.get_rep(node) args = (self,) + rep return CT.CFunArgs(*args)
def f(index,key): return CT.CTypBuiltinVaargs(self,index,tags,args) return self.typ_table.add(IT.get_key(tags,args),f)
def f(index,key): return CT.CTypArray(self,index,tags,args) return self.typ_table.add(IT.get_key(tags,args),f)
def f(index,key): return CT.CFunArgs(self,index,tags,args) return self.funargs_table.add(IT.get_key(tags,args),f)
'cnapp': lambda x:CE.CExpCnApp(*x) } lhost_constructors = { 'var': lambda x:CH.CLHostVar(*x), 'mem': lambda x:CH.CLHostMem(*x) } offset_constructors = { 'n': lambda x:CO.CNoOffset(*x), 'f': lambda x:CO.CFieldOffset(*x), 'i': lambda x:CO.CIndexOffset(*x) } typ_constructors = { 'tvoid': lambda x:CT.CTypVoid(*x), 'tint': lambda x:CT.CTypInt(*x), 'tfloat': lambda x:CT.CTypFloat(*x), 'tnamed': lambda x:CT.CTypNamed(*x), 'tcomp': lambda x:CT.CTypComp(*x), 'tenum': lambda x:CT.CTypEnum(*x), 'tbuiltin-va-list': lambda x:CT.CTypBuiltinVaargs(*x), 'tbuiltinvaargs': lambda x:CT.CTypBuiltinVaargs(*x), 'tptr': lambda x:CT.CTypPtr(*x), 'tarray': lambda x:CT.CTypArray(*x), 'tfun': lambda x:CT.CTypFun(*x) } typsig_constructors = { 'tsarray': lambda x:CS.CTypsigArray(*x), 'tsptr': lambda x:CS.CTypsigPtr(*x),
def f(index: int, key: Tuple[str, str]) -> CT.CFunArg: return CT.CFunArg(self, index, tags, args)