Skip to content
  • Mark OLESEN's avatar
    ENH: minor improvements, cleanup of token class · c9cb4ce3
    Mark OLESEN authored
    - relax casting rules
      * down-cast of labelToken to boolToken
      * up-cast of wordToken to stringToken.
        Can use isStringType() test for word or string types
    
    - simplify constructors, move construct etc.
    
    - expose reset() method as public, which resets to UNDEFINED and
      clears allocated storage etc.
    
    DEFEATURE: remove assign from word or string pointer.
    
    - This was deprecated 2017-11 and now removed.
      For this type of content transfer, move assignment should be used
      instead of stealing pointers.
    c9cb4ce3