24 drracket:module-language
The only language that implements this interface is DrRacket’s “Use
the language declared in the source” language.
Returns the name of the language that is declared in the source, as a string.
This method is called when a new language is evident in the
definitions window (by editing the #lang line.
Returns #t when the current language setting
(from the language dialog) is “The Racket Language”.
This interface signals an implementation of a tab
that specially handles programs beginning with
#lang.
This interface signals an implementation of a frame
that specially handles programs beginning with
#lang.
Adds the module language to DrRacket. This is called during DrRacket’s startup.
Extends
super% by overriding the
put-file method
to use a default name from the buffer, if the buffer contains something like
(module name ...).