Interface TypeAttribute

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_TYPE
      the default type
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setType​(java.lang.String type)
      Set the lexical type.
      java.lang.String type()
      Returns this Token's lexical type.
    • Field Detail

      • DEFAULT_TYPE

        static final java.lang.String DEFAULT_TYPE
        the default type
        See Also:
        Constant Field Values
    • Method Detail

      • type

        java.lang.String type()
        Returns this Token's lexical type. Defaults to "word".
        See Also:
        setType(String)
      • setType

        void setType​(java.lang.String type)
        Set the lexical type.
        See Also:
        type()