blob: fd6e31c84b3a7cb1fb16573bf6133d6223edd55f [file] [log] [blame]
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Well-known attribute names."""
# Attribute names which may be used by other parts of the front end.
ADDRESSABLE_UNIT_SIZE = "addressable_unit_size"
BYTE_ORDER = "byte_order"
RANGE = "range"
FIXED_SIZE = "fixed_size_in_bits"
IS_INTEGER = "is_integer"
REQUIRES = "requires"
STATIC_REQUIREMENTS = "static_requirements"
TEXT_OUTPUT = "text_output"