On this page:
drracket:  language:  module-language<%>
get-users-language-name
drracket:  module-language:  add-module-language
drracket:  module-language:  module-language-put-file-mixin

23 drracket:module-language

interface

drracket:language:module-language<%> : interface?

The only language that implements this interface is DrRacket’s “Use the language declared in the source” language.

method

(send a-drracket:language:module-language get-users-language-name)

  string
Returns the name of the language that is declared in the source, as a string.

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 ...).