import { TokenType } from '../lexer/Token'

export function isQuestionMarkUnknownType (next: TokenType): boolean {
  return next === 'EOF' || next === '|' || next === ',' || next === ')' || next === '>'
}
