KeywordRule constructor
const
KeywordRule(})
Creates a keyword rule.
Implementation
const KeywordRule(
this.keywords, {
this.word = r'(?<!\w)[A-Za-z_]\w*',
this.otherwise = const [],
});
Creates a keyword rule.
const KeywordRule(
this.keywords, {
this.word = r'(?<!\w)[A-Za-z_]\w*',
this.otherwise = const [],
});