Class FunctionDictionary<T extends Types.FunctionBlock>


  • public class FunctionDictionary<T extends Types.FunctionBlock>
    extends Object
    Dictionary of all functions of a namespace, represented as a simple key-value map of function names and function statement blocks.
    • Constructor Detail

      • FunctionDictionary

        public FunctionDictionary()
    • Method Detail

      • addFunction

        public void addFunction​(String fname,
                                T fsb)
      • addFunction

        public void addFunction​(String fname,
                                T fsb,
                                boolean opt)
      • removeFunction

        public void removeFunction​(String fname)
      • getFunction

        public T getFunction​(String fname)
      • getFunction

        public T getFunction​(String fname,
                             boolean opt)
      • containsFunction

        public boolean containsFunction​(String fname)
      • containsFunction

        public boolean containsFunction​(String fname,
                                        boolean opt)
      • getFunctions

        public Map<String,​T> getFunctions()
      • getFunctions

        public Map<String,​T> getFunctions​(boolean opt)
      • copyOriginalFunctions

        public void copyOriginalFunctions()