classdef (Sealed) TET < handle
    %TET provides the global settings for the Tabular Expression Toolbox
    %   TET provides the system through which all global settings are
    %   accssed and changed.  It also provides a convient place for some
    %   globals used in the TET.

    properties (Access = private)
        variableParser = ca.mcmaster.cas.tabularexpressiontoolbox.parsers.VariableParser
    end

    methods
        function variableParser = getVariableParser(obj)
                variableParser = obj.variableParser;
        end
    end

    methods (Access = private)
        function obj = TET
        end
    end
    methods (Static)
      function singleObj = getInstance
         persistent localObj
         if isempty(localObj) || ~isvalid(localObj)
            localObj = TET;
         end
         singleObj = localObj;
      end
   end

end

