Skip to content

Commit

Permalink
docs(lex): Clarify context-sensitive lexing
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Apr 15, 2022
1 parent 687d361 commit 530db32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions clap_lex/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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
//!
Expand Down

0 comments on commit 530db32

Please sign in to comment.