Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Ast::Import
Inherits
IrNode
<
Struct
<
Value
<
Object
Constructors
new
(location :
Location
, path : ::
String
, module_alias : ::
String
| ::
Nil
, bindings : ::
Array
(::
Tuple
(::
String
, ::
String
)) | ::
Nil
)
Source
Instance methods
bindings
Source
bindings=
(bindings : ::
Array
(::
Tuple
(::
String
, ::
String
)) | ::
Nil
)
Source
location
Source
location=
(location :
Location
)
Source
module_alias
Source
module_alias=
(module_alias : ::
String
| ::
Nil
)
Source
path
Source
path=
(path : ::
String
)
Source
to_s
(io :
IO
)
Same as
#inspect(io)
.
Source