Trait parsel::ast::KeywordList

source ·
pub trait KeywordList {
    const KEYWORDS: &'static [&'static str];
}
Expand description

A trait for parameterizing CustomIdent over a set of keywords.

Required Associated Constants§

source

const KEYWORDS: &'static [&'static str]

The exhaustive list of keywords that should not be allowed as an identifier.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl KeywordList for AllowAll

source§

const KEYWORDS: &'static [&'static str] = _