9#ifndef FORTRAN_PARSER_CHAR_SET_H_
10#define FORTRAN_PARSER_CHAR_SET_H_
36 }
else if (c < 32 || c >= 127) {
44 bits_ =
static_cast<std::uint64_t
>(1) << (c - 32);
47 constexpr SetOfChars(
const char str[], std::size_t n) {
48 for (std::size_t j{0}; j < n; ++j) {
57 constexpr bool empty()
const {
return bits_ == 0; }
60 return (that.bits_ & ~bits_) == 0;
72 std::string ToString()
const;
75 constexpr SetOfChars(std::uint64_t b) : bits_{b} {}
76 std::uint64_t bits_{0};
Definition: check-expression.h:19
Definition: char-set.h:23
Definition: parse-tree.h:3410