Trait python_ast::lexer::Ident [−] [src]

pub trait Ident where
    Self: AsChar, 
{ fn is_ident_start(&self) -> bool; fn is_ident(&self) -> bool; }

The Ident trait and related function ident() are special forms if nom::alphanum to handle the special rules around identifiers instead of creating a more complex ident parser.

Required Methods

Implementors