Package kawa.standard

Class syntax_error

  • All Implemented Interfaces:
    gnu.kawa.format.Printable, Named

    public class syntax_error
    extends Syntax
    Implements the "syntax-error" form. Prints out its arguments in an error message.
    • Field Detail

      • syntax_error

        public static final syntax_error syntax_error
    • Constructor Detail

      • syntax_error

        public syntax_error()
    • Method Detail

      • rewrite

        public Expression rewrite​(Object obj,
                                  Translator tr)
        Description copied from class: Syntax
        Re-write an expression that is an "application" of this Syntax object.
        Overrides:
        rewrite in class Syntax
        Parameters:
        obj - the arguments to this "application" (i.e. the cdr of the macro/builtin invocation)
        tr - the Translator that provides context
        Returns:
        the re-written expression