(self, line: str, continue_prompt: bool = False)
| 112 | pre_whitespace: str |
| 113 | |
| 114 | def __init__(self, line: str, continue_prompt: bool = False) -> None: |
| 115 | assert isinstance(line, str) |
| 116 | self.line = line |
| 117 | self.continue_prompt = continue_prompt |
| 118 | self.pre, self.esc, self.ifun, self.raw_the_rest = split_user_input(line) |
| 119 | self.the_rest = self.raw_the_rest.lstrip() |
| 120 | |
| 121 | self.pre_char = self.pre.strip() |
| 122 | if self.pre_char: |
| 123 | self.pre_whitespace = "" # No whitespace allowed before esc chars |
| 124 | else: |
| 125 | self.pre_whitespace = self.pre |
| 126 | |
| 127 | def ofind(self, ip) -> OInfo: |
| 128 | """Do a full, attribute-walking lookup of the ifun in the various |
nothing calls this directly
no test coverage detected