Interface CompletingParsedLine

All Superinterfaces:
ParsedLine
All Known Implementing Classes:
DefaultParser.ArgumentList

public interface CompletingParsedLine extends ParsedLine
An extension of ParsedLine that, being aware of the quoting and escaping rules of the Parser that produced it, knows if and how a completion candidate should be escaped/quoted.

This interface adds methods to handle the raw (unprocessed) form of words, including any quotes and escape characters that may be present in the original input. It also provides functionality to properly escape completion candidates according to the parser's syntax rules.

Implementations of this interface are crucial for proper tab completion in shells that support complex quoting and escaping mechanisms, ensuring that completed text is properly formatted according to the shell's syntax.

See Also: