Lang::Program
Inherits Reference < Object
Constructors
new(main : Routine)
SourceInstance methods
imports
Sourceimports=(imports : Hash(String, Program))
Sourceinspect
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
This method should usually not be overridden. It delegates to
#inspect(IO) which can be overridden for custom implementations.
Also see #to_s.
main
Sourcemain=(main : Routine)
Sourceroutines
Sourceroutines=(routines : Hash(String, Routine))
Source