Class Command

All Implemented Interfaces:
ICommand, INode, IPos.IPosable
Direct Known Subclasses:
C_assert, C_check_sat, C_check_sat_assuming, C_comment, C_declare_datatype, C_declare_datatypes, C_declare_fun, C_declare_sort, C_declare_sort_parameter, C_define_fun, C_define_funs_rec, C_define_sort, C_echo, C_exec, C_exit, C_get_assertions, C_get_assignment, C_get_info, C_get_model, C_get_option, C_get_proof, C_get_unsat_assumptions, C_get_unsat_core, C_get_value, C_pop, C_push, C_reset, C_reset_assertions, C_set_info, C_set_logic, C_set_option, C_what

public abstract class Command extends Pos.Printable implements ICommand
This abstract class is the base class for all commands within this implementation.
  • Field Details

    • trailingText

      protected String trailingText
      Whitespace/comment text, if any, that appeared on the same physical source line immediately after this command's closing parenthesis (before the next line terminator) -- typically a trailing "; comment". Captured separately from a standalone comment (which parses as its own C_comment) so that sending this command to a solver stays exactly one real source line per one sent line, regardless of whether a trailing comment is present. Never forwarded to a solver (see AbstractSolver's command dispatch); printed back out here purely for round-trip/echo fidelity, since it was real text in the original source.
  • Constructor Details

    • Command

      public Command()
  • Method Details