Class Attribute



  • public class Attribute
    extends Object
    Track the names of attributes define in arg lists, return values, scope blocks etc...
    • Field Detail

      • decl

        public String decl
        The entire declaration such as "String foo;"
      • type

        public String type
        The type; might be empty such as for Python which has no static typing
      • name

        public String name
        The name of the attribute "foo"
      • token

        public Token token
        A Token giving the position of the name of this attribute in the grammar.
      • initValue

        public String initValue
        The optional attribute initialization expression
    • Constructor Detail

      • Attribute

        public Attribute()
      • Attribute

        public Attribute(String name)
    • Method Detail

      • toString

        public String toString()