Lines Matching refs:state
451 """A special tuple for marking a point in the state that can have
607 state: t.Optional[str] = None,
610 stream = self.tokeniter(source, name, filename, state)
672 state: t.Optional[str] = None,
691 if state is not None and state != "root":
692 assert state in ("variable", "block"), "invalid state"
693 stack.append(state + "_begin")
824 # handle state changes
826 # remove the uppermost state
829 # resolve the new state by group checking
837 f"{regex!r} wanted to resolve the new state dynamically"
840 # direct state name given