def index_lval(self, lval: CLval, subst: Dict[Any, Any] = {}, fid: int = -1) -> int: args = [ self.index_lhost(lval.get_lhost(), subst=subst, fid=fid), self.index_offset(lval.get_offset()), ] def f(index: int, key: object) -> CLval: return CLval(self, index, [], args) return self.lval_table.add(IT.get_key([], args), f)
def get_value(node: ET.Element) -> CLval: rep = IT.get_rep(node) args = (self,) + rep return CLval(*args)
def f(index: int, key: object) -> CLval: return CLval(self, index, [], args)
def f(index: int, key: Tuple[str, str]) -> CLval: return CLval(self, index, tags, args)