mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +00:00
docs(lex): Clarify context-sensitive lexing
This commit is contained in:
parent
687d361a97
commit
530db327db
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
|||
//! Minimal, flexible command-line parser
|
||||
//!
|
||||
//! As opposed to a declarative parser, this processes arguments as a stream. The caller
|
||||
//! decides when to treat an argument as a flag or value.
|
||||
//! As opposed to a declarative parser, this processes arguments as a stream of tokens. As lexing
|
||||
//! a command-line is not context-free, we rely on the caller to decide how to interpret the
|
||||
//! arguments.
|
||||
//!
|
||||
//! # Examples
|
||||
//!
|
||||
|
|
Loading…
Reference in a new issue