Class FunctionState

  • All Implemented Interfaces:
    edu.uiuc.ncsa.security.core.Logable, edu.uiuc.ncsa.security.util.scripting.StateInterface, Serializable
    Direct Known Subclasses:
    State

    public abstract class FunctionState
    extends VariableState

    Created by Jeff Gaynor
    on 2/2/20 at 6:48 AM

    See Also:
    Serialized Form
    • Method Detail

      • resolveFunction

        public FR_WithState resolveFunction​(Polyad polyad,
                                            boolean checkForDuplicates)
        Convenience, just looks up name and arg count
        Parameters:
        polyad -
        Returns:
      • resolveFunction

        public FR_WithState resolveFunction​(String name,
                                            int argCount,
                                            boolean checkForDuplicates)
      • listFunctions

        public TreeSet<String> listFunctions​(boolean useCompactNotation,
                                             String regex,
                                             boolean includeModules,
                                             boolean showIntrinsic)
        Lists the functions for various components.
        Parameters:
        useCompactNotation -
        regex -
        Returns:
      • listFunctions

        protected TreeSet<String> listFunctions​(boolean useCompactNotation,
                                                String regex,
                                                boolean includeModules,
                                                boolean showIntrinsic,
                                                Set<XKey> processedAliases)
        Since multiple aliases may be imported, just stop at the first on in the stack rather then trying to list all of them.
        Parameters:
        useCompactNotation -
        regex -
        includeModules -
        showIntrinsic -
        processedAliases -
        Returns:
      • listAllDocumentation

        public List<String> listAllDocumentation()
      • listModuleDoc

        public List<String> listModuleDoc​(String fname)
        This list the documentation templates by their preferred alias
        Parameters:
        fname -
        Returns:
      • listFunctionDoc

        public List<String> listFunctionDoc​(String fname,
                                            int argCount)