Class FuncVarPtg

    • Field Detail

      • SUM

        public static final OperationPtg SUM
        Single instance of this token for 'sum() taking a single argument'
    • Method Detail

      • create

        public static FuncVarPtg create​(LittleEndianInput in)
        Creates new function pointer from a byte array usually called while reading an excel file.
      • create

        public static FuncVarPtg create​(java.lang.String pName,
                                        int numArgs)
        Create a function ptg from a string tokenised by the parser
      • getSid

        public byte getSid()
        Specified by:
        getSid in class Ptg
        Returns:
        structure id of the parsed thing, or -1 if the record has no sid
      • getSize

        public int getSize​(SpreadsheetVersion version)
        Specified by:
        getSize in class Ptg
        Returns:
        the encoded length of this Ptg, including the initial Ptg type identifier byte.
      • copy

        public FuncVarPtg copy()
        Specified by:
        copy in interface Duplicatable
        Specified by:
        copy in class Ptg
        Returns:
        a deep copy of the implementing class / instance
      • isExternal

        public boolean isExternal()