001// Copyright (c) FIRST and other WPILib contributors. 002// Open Source Software; you can modify and/or share it under the terms of 003// the WPILib BSD license file in the root directory of this project. 004 005package org.wpilib.util.struct.parser; 006 007import java.util.Map; 008 009/** Raw struct schema declaration. */ 010public class ParsedDeclaration { 011 /** Type string. */ 012 public String typeString; 013 014 /** Name. */ 015 public String name; 016 017 /** Enum values. */ 018 public Map<String, Long> enumValues; 019 020 /** Array size. */ 021 public int arraySize = 1; 022 023 /** Bit width. */ 024 public int bitWidth; 025 026 /** Default constructor. */ 027 public ParsedDeclaration() {} 028}