Skip to content
YosoiDocs

text_literal

yosoi.locators.text_literal

def text_literal(expression: str) -> Query:

Author decoded-text literal range query intent without document I/O.

Args: expression: Authored expression in the selected query vocabulary.

Returns: Immutable Rust-checked intent, not acquired matches. Execution can still reject document capabilities, parser support, or resource limits.

Raises: LocatorError: Authored expression or supported syntax checks reject input.

Source: python/yosoi/locators.py:803