pub fn ident(data: Span) -> ParseResult<ast::Ident> {
    let _ = alpha1(data)?;
    let (i, o) = alphanum_and_underscore0(data)?;
    let _ = not(alt((tag("let"), tag("module"), tag("namespace"))))(o)?;
    Ok((i, o))
}
/// Get ident token
///
/// First always should be Alpha char.
/// ## RULES:
/// ```js
/// ident = (alpha+)(alpha | number | '_')*
/// ```
Get ident token
First always should be Alpha char.
Get ident token First always should be Alpha char .
pub fn ident(data: Span) -> ParseResult<ast::Ident> {
    let _ = alpha1(data)?;
    let (i, o) = alphanum_and_underscore0(data)?;
    let _ = not(alt((tag("let"), tag("module"), tag("namespace"))))(o)?;
    Ok((i, o))
}
pub fn ident ( data : Span ) -> ParseResult < ast :: Ident > { let _ = alpha1 ( data ) ? ; let ( i , o ) = alphanum_and_underscore0 ( data ) ? ; let _ = not ( alt ( ( tag ( " " ) , tag ( " " ) , tag ( " " ) ) ) ) ( o ) ? ; Ok ( ( i , o ) ) }
Get ident token
First always should be Alpha char.
Get ident token First always should be Alpha char .
data
Span
rules:
None