Class Tuple.WarningTuple

java.lang.Object
io.jawk.intermediate.Tuple
io.jawk.intermediate.Tuple.WarningTuple
All Implemented Interfaces:
Serializable
Enclosing class:
Tuple

public static final class Tuple.WarningTuple extends Tuple
Tuple carrying a diagnostic message that the interpreter prints to the warning stream when executed. The parser plants these before the instruction they describe, so warnings appear in runtime order, exactly where gawk would emit them.
See Also:
  • Method Details

    • getMessage

      public String getMessage()
      Returns the warning message to print.
      Returns:
      warning text
    • toString

      public String toString()
      Overrides:
      toString in class Object