haskell-src-exts-1.24.0: tests/examples/NestedAsPat.hs.parser.golden
ParseOk
( Module
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 1 1 4 1
, srcInfoPoints =
[ SrcSpan "tests/examples/NestedAsPat.hs" 1 1 1 1
, SrcSpan "tests/examples/NestedAsPat.hs" 1 1 1 1
, SrcSpan "tests/examples/NestedAsPat.hs" 3 1 3 1
, SrcSpan "tests/examples/NestedAsPat.hs" 4 1 4 1
, SrcSpan "tests/examples/NestedAsPat.hs" 4 1 4 1
]
}
(Just
(ModuleHead
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 1 1 1 25
, srcInfoPoints =
[ SrcSpan "tests/examples/NestedAsPat.hs" 1 1 1 7
, SrcSpan "tests/examples/NestedAsPat.hs" 1 20 1 25
]
}
(ModuleName
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 1 8 1 19
, srcInfoPoints = []
}
"NestedAsPat")
Nothing
Nothing))
[]
[]
[ FunBind
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 1 3 37
, srcInfoPoints = []
}
[ Match
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 1 3 37
, srcInfoPoints = []
}
(Ident
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 1 3 12
, srcInfoPoints = []
}
"nestedAsPat")
[ PList
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 13 3 25
, srcInfoPoints =
[ SrcSpan "tests/examples/NestedAsPat.hs" 3 13 3 14
, SrcSpan "tests/examples/NestedAsPat.hs" 3 24 3 25
]
}
[ PAsPat
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 14 3 24
, srcInfoPoints =
[ SrcSpan "tests/examples/NestedAsPat.hs" 3 15 3 16 ]
}
(Ident
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 14 3 15
, srcInfoPoints = []
}
"x")
(PParen
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 16 3 24
, srcInfoPoints =
[ SrcSpan "tests/examples/NestedAsPat.hs" 3 16 3 17
, SrcSpan "tests/examples/NestedAsPat.hs" 3 23 3 24
]
}
(PApp
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 17 3 23
, srcInfoPoints = []
}
(UnQual
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 17 3 21
, srcInfoPoints = []
}
(Ident
SrcSpanInfo
{ srcInfoSpan =
SrcSpan "tests/examples/NestedAsPat.hs" 3 17 3 21
, srcInfoPoints = []
}
"Just"))
[ PWildCard
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 22 3 23
, srcInfoPoints = []
}
]))
]
]
(UnGuardedRhs
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 26 3 37
, srcInfoPoints =
[ SrcSpan "tests/examples/NestedAsPat.hs" 3 26 3 27 ]
}
(Var
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 28 3 37
, srcInfoPoints = []
}
(UnQual
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 28 3 37
, srcInfoPoints = []
}
(Ident
SrcSpanInfo
{ srcInfoSpan = SrcSpan "tests/examples/NestedAsPat.hs" 3 28 3 37
, srcInfoPoints = []
}
"undefined"))))
Nothing
]
]
, []
)