Class FnTrace

  • Direct Known Subclasses:
    ProfDump

    public class FnTrace
    extends StandardFunc
    Function implementation.
    Author:
    BaseX Team 2005-23, BSD License, Christian Gruen
    • Constructor Detail

      • FnTrace

        public FnTrace()
    • Method Detail

      • opt

        protected Expr opt​(CompileContext cc)
        Description copied from class: StandardFunc
        Performs function specific optimizations.
        Overrides:
        opt in class StandardFunc
        Parameters:
        cc - compilation context
        Returns:
        optimized or original expression
      • ddo

        public boolean ddo()
        Description copied from class: Expr
        Indicates if this expression returns items in document order without duplicates.
        Overrides:
        ddo in class Expr
        Returns:
        result of check
      • trace

        public static void trace​(byte[] value,
                                 byte[] label,
                                 QueryContext qc)
        Dumps the specified info to standard error or the info view of the GUI.
        Parameters:
        value - traced value
        label - additional label to display (may be null)
        qc - query context