isKeyword property

bool isKeyword

Return true if this type of token is a keyword.

Implementation

bool get isKeyword => kind == KEYWORD_TOKEN;