import Foo
import Foo_42.Bar as Foobar
import Foo.Bar as Foo.Baz
import List exposing (map)
import Json.Decode as Json exposing (Decoder)

----------------------------------------------------

[
	["import-statement", [
		["keyword", "import"],
		" Foo"
	]],
	["import-statement", [
		["keyword", "import"],
		" Foo_42.Bar ",
		["keyword", "as"],
		" Foobar"
	]],
	["import-statement", [
		["keyword", "import"],
		" Foo.Bar ",
		["keyword", "as"],
		" Foo.Baz"
	]],
	["import-statement", [
		["keyword", "import"],
		" List ",
		["keyword", "exposing"]
	]],
	["punctuation", "("],
	["hvariable", "map"],
	["punctuation", ")"],
	["import-statement", [
		["keyword", "import"],
		" Json.Decode ",
		["keyword", "as"],
		" Json ",
		["keyword", "exposing"]
	]],
	["punctuation", "("],
	["constant", "Decoder"],
	["punctuation", ")"]
]

----------------------------------------------------

Checks for import statement.
