haskell-src-exts-1.17.0: tests/examples/QuasiQuoteLines.hs.parser.golden
ParseOk
( Module
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 1 1 13 1
, srcInfoPoints =
[ SrcSpan "tests/examples/QuasiQuoteLines.hs" 1 1 1 1
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 3 1 3 1
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 3 1 3 1
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 3 1 3 1
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 5 1 5 1
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 6 1 6 1
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 1 11 1
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 1 12 1
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 13 1 13 1
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 13 1 13 1
]
}
Nothing
[ LanguagePragma
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 1 1 1 29
, srcInfoPoints =
[ SrcSpan "tests/examples/QuasiQuoteLines.hs" 1 1 1 13
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 1 26 1 29
]
}
[ Ident
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 1 14 1 25
, srcInfoPoints = []
}
"QuasiQuotes"
]
]
[ ImportDecl
{ importAnn =
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 3 1 3 12
, srcInfoPoints =
[ SrcSpan "tests/examples/QuasiQuoteLines.hs" 3 1 3 7 ]
}
, importModule =
ModuleName
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 3 8 3 12
, srcInfoPoints = []
}
"Here"
, importQualified = False
, importSrc = False
, importSafe = False
, importPkg = Nothing
, importAs = Nothing
, importSpecs = Nothing
}
]
[ TypeSig
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 5 1 5 14
, srcInfoPoints =
[ SrcSpan "tests/examples/QuasiQuoteLines.hs" 5 5 5 7 ]
}
[ Ident
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/QuasiQuoteLines.hs" 5 1 5 4
, srcInfoPoints = []
}
"str"
]
(TyCon
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 5 8 5 14
, srcInfoPoints = []
}
(UnQual
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 5 8 5 14
, srcInfoPoints = []
}
(Ident
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 5 8 5 14
, srcInfoPoints = []
}
"String")))
, PatBind
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 6 1 8 13
, srcInfoPoints = []
}
(PVar
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/QuasiQuoteLines.hs" 6 1 6 4
, srcInfoPoints = []
}
(Ident
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/QuasiQuoteLines.hs" 6 1 6 4
, srcInfoPoints = []
}
"str"))
(UnGuardedRhs
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 6 5 8 13
, srcInfoPoints =
[ SrcSpan "tests/examples/QuasiQuoteLines.hs" 6 5 6 6 ]
}
(QuasiQuote
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 6 7 8 13
, srcInfoPoints = []
}
"here"
"test \ntest \ntest test "))
Nothing
, TypeSig
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 1 11 13
, srcInfoPoints =
[ SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 6 11 8 ]
}
[ Ident
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 1 11 5
, srcInfoPoints = []
}
"main"
]
(TyApp
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 9 11 13
, srcInfoPoints = []
}
(TyCon
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 9 11 11
, srcInfoPoints = []
}
(UnQual
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 9 11 11
, srcInfoPoints = []
}
(Ident
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 9 11 11
, srcInfoPoints = []
}
"IO")))
(TyCon
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 11 11 13
, srcInfoPoints =
[ SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 11 11 12
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 12 11 13
]
}
(Special
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 11 11 13
, srcInfoPoints =
[ SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 11 11 12
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 12 11 13
]
}
(UnitCon
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 11 11 13
, srcInfoPoints =
[ SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 11 11 12
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 11 12 11 13
]
}))))
, PatBind
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 1 12 23
, srcInfoPoints = []
}
(PVar
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 1 12 5
, srcInfoPoints = []
}
(Ident
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 1 12 5
, srcInfoPoints = []
}
"main"))
(UnGuardedRhs
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 6 12 23
, srcInfoPoints =
[ SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 6 12 7 ]
}
(Do
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 8 12 23
, srcInfoPoints =
[ SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 8 12 10
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 11 12 11
, SrcSpan "tests/examples/QuasiQuoteLines.hs" 13 1 13 0
]
}
[ Qualifier
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 11 12 23
, srcInfoPoints = []
}
(App
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 11 12 23
, srcInfoPoints = []
}
(Var
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 11 12 19
, srcInfoPoints = []
}
(UnQual
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 11 12 19
, srcInfoPoints = []
}
(Ident
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 11 12 19
, srcInfoPoints = []
}
"putStrLn")))
(Var
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 20 12 23
, srcInfoPoints = []
}
(UnQual
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 20 12 23
, srcInfoPoints = []
}
(Ident
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/QuasiQuoteLines.hs" 12 20 12 23
, srcInfoPoints = []
}
"str"))))
]))
Nothing
]
, []
)