Lyricdev
GitHub

struct ImportDecl

pub struct ImportDecl :: [Debug]

Conforms to Debug.

An import: import a.b;, import a.b { x, y as z } (names with renames by index, "" where a name keeps its own), import a.b as c;.

Fields

pub path: string[]
pub names: ?string[]
pub renames: string[]
pub alias: ?string
pub isPub: bool
pub span: Span