Class OctaveEngine.NameDesc

    • Field Detail

      • type

        public final String type
        The type of the object tied to name. This may be null, depending on category. Seemingly, "function" represents the type "user-defined function". Seemingly, else this is a type as returned by 'typeinfo'.
      • file

        public final File file
        The file of the object tied to name. This may be null, depending on category. If this is a function defined by an m-file, this is the location of that m-file. Then the type is 'function', meaning 'user defined function'. For built-in functions this seems to be something rooted in "libinterp" but without leading file separator if returned by which. Thus for built-in functions, this 'file' does not exist. Nevertheless, these functions seem to be all defined in liboctinterp.so (linux).