matchOperatorAsTokenString method

String? matchOperatorAsTokenString()

Implementation

String? matchOperatorAsTokenString() => switch (_op) {
      TokenKind.EQUALS => 'EQUALS',
      TokenKind.INCLUDES => 'INCLUDES',
      TokenKind.DASH_MATCH => 'DASH_MATCH',
      TokenKind.PREFIX_MATCH => 'PREFIX_MATCH',
      TokenKind.SUFFIX_MATCH => 'SUFFIX_MATCH',
      TokenKind.SUBSTRING_MATCH => 'SUBSTRING_MATCH',
      _ => null
    };