isKindIdentifier static method
Implementation
static bool isKindIdentifier(int kind) {
switch (kind) {
// Synthesized tokens.
case TokenKind.DIRECTIVE_IMPORT:
case TokenKind.DIRECTIVE_MEDIA:
case TokenKind.DIRECTIVE_PAGE:
case TokenKind.DIRECTIVE_CHARSET:
case TokenKind.DIRECTIVE_STYLET:
case TokenKind.DIRECTIVE_KEYFRAMES:
case TokenKind.DIRECTIVE_WEB_KIT_KEYFRAMES:
case TokenKind.DIRECTIVE_MOZ_KEYFRAMES:
case TokenKind.DIRECTIVE_MS_KEYFRAMES:
case TokenKind.DIRECTIVE_O_KEYFRAMES:
case TokenKind.DIRECTIVE_FONTFACE:
case TokenKind.DIRECTIVE_NAMESPACE:
case TokenKind.DIRECTIVE_HOST:
case TokenKind.DIRECTIVE_MIXIN:
case TokenKind.DIRECTIVE_INCLUDE:
case TokenKind.DIRECTIVE_CONTENT:
return true;
default:
return false;
}
}