Class Declaration


  • public class Declaration
    extends java.lang.Object
    Container for information about a Declaration that is accumulated during parsing.
    • Constructor Detail

      • Declaration

        public Declaration()
      • Declaration

        public Declaration​(java.lang.String name)
      • Declaration

        public Declaration​(DataType dt)
      • Declaration

        public Declaration​(DataType dt,
                           java.lang.String name)
      • Declaration

        public Declaration​(DataType dt,
                           java.lang.String name,
                           java.lang.String comment)
    • Method Detail

      • getComment

        public java.lang.String getComment()
      • getQualifier

        public int getQualifier()
      • getDataType

        public DataType getDataType()
      • getName

        public java.lang.String getName()
      • setComment

        public void setComment​(java.lang.String string)
      • setQualifier

        public void setQualifier​(int qualifier)
      • setDataType

        public void setDataType​(DataType type)
      • setName

        public void setName​(java.lang.String string)
      • getBitFieldSize

        public int getBitFieldSize()
        Returns:
        the currently set bitfield size