Enum ShellToken

    • Enum Constant Detail

      • CLOSE_FD

        public static final ShellToken CLOSE_FD
      • VQ

        public static final ShellToken VQ
        If variable values need to be quoted when they include spaces, this will contain quotation mark
      • FNCL

        public static final ShellToken FNCL
        Left hand side of the function declaration directly before the name of the function.
      • FNCR

        public static final ShellToken FNCR
        Right hand side of the function declaration directly after the name of the function. opens the code block
      • FNCE

        public static final ShellToken FNCE
        End the function. exits successfully and closes the code block.
      • BEGIN_SCRIPT

        public static final ShellToken BEGIN_SCRIPT
      • END_SCRIPT

        public static final ShellToken END_SCRIPT
      • BEGIN_FUNCTIONS

        public static final ShellToken BEGIN_FUNCTIONS
      • END_FUNCTIONS

        public static final ShellToken END_FUNCTIONS
      • LIBRARY_PATH_VARIABLE

        public static final ShellToken LIBRARY_PATH_VARIABLE
    • Method Detail

      • values

        public static ShellToken[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ShellToken c : ShellToken.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ShellToken valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null