Facts
struct FactsImplements Movable
- Fields
available: Boolerrors: Int: Parse errors the server reported: types may be missing when > 0.local_types: Dict[String, String]local_uses: Dict[String, List[Pos]]: Every reference to a local, declaration first, sorted.field_types: Dict[String, String]signatures: Dict[String, String]
__init__
def __init__(out self) local_type
def local_type(self, f: Func, name: String) -> String The resolved type of local name in f; empty if unknown.
last_use
def last_use(self, f: Func, name: String) -> Optional[Pos] The last reference to local name after its declaration.
field_type
def field_type(self, s: Struct, field: String) -> String signature
def signature(self, f: Func) -> String def f(...) with every type resolved; empty if unknown.