1ParseOk 2 ( Module 3 SrcSpanInfo 4 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 1 1 7 1 5 , srcInfoPoints = 6 [ SrcSpan "tests/examples/PatternSplice.hs" 1 1 1 1 7 , SrcSpan "tests/examples/PatternSplice.hs" 2 1 2 1 8 , SrcSpan "tests/examples/PatternSplice.hs" 2 1 2 1 9 , SrcSpan "tests/examples/PatternSplice.hs" 4 1 4 1 10 , SrcSpan "tests/examples/PatternSplice.hs" 5 1 5 1 11 , SrcSpan "tests/examples/PatternSplice.hs" 6 1 6 1 12 , SrcSpan "tests/examples/PatternSplice.hs" 7 1 7 1 13 , SrcSpan "tests/examples/PatternSplice.hs" 7 1 7 1 14 ] 15 } 16 (Just 17 (ModuleHead 18 SrcSpanInfo 19 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 2 1 2 31 20 , srcInfoPoints = 21 [ SrcSpan "tests/examples/PatternSplice.hs" 2 1 2 7 22 , SrcSpan "tests/examples/PatternSplice.hs" 2 26 2 31 23 ] 24 } 25 (ModuleName 26 SrcSpanInfo 27 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 2 8 2 25 28 , srcInfoPoints = [] 29 } 30 "PatternSpliceTest") 31 Nothing 32 Nothing)) 33 [ LanguagePragma 34 SrcSpanInfo 35 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 1 1 1 33 36 , srcInfoPoints = 37 [ SrcSpan "tests/examples/PatternSplice.hs" 1 1 1 13 38 , SrcSpan "tests/examples/PatternSplice.hs" 1 30 1 33 39 ] 40 } 41 [ Ident 42 SrcSpanInfo 43 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 1 14 1 29 44 , srcInfoPoints = [] 45 } 46 "TemplateHaskell" 47 ] 48 ] 49 [] 50 [ TypeSig 51 SrcSpanInfo 52 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 4 1 4 19 53 , srcInfoPoints = 54 [ SrcSpan "tests/examples/PatternSplice.hs" 4 5 4 7 ] 55 } 56 [ Ident 57 SrcSpanInfo 58 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 4 1 4 4 59 , srcInfoPoints = [] 60 } 61 "foo" 62 ] 63 (TyFun 64 SrcSpanInfo 65 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 4 8 4 19 66 , srcInfoPoints = 67 [ SrcSpan "tests/examples/PatternSplice.hs" 4 12 4 14 ] 68 } 69 (TyCon 70 SrcSpanInfo 71 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 4 8 4 11 72 , srcInfoPoints = [] 73 } 74 (UnQual 75 SrcSpanInfo 76 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 4 8 4 11 77 , srcInfoPoints = [] 78 } 79 (Ident 80 SrcSpanInfo 81 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 4 8 4 11 82 , srcInfoPoints = [] 83 } 84 "Int"))) 85 (TyCon 86 SrcSpanInfo 87 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 4 15 4 19 88 , srcInfoPoints = [] 89 } 90 (UnQual 91 SrcSpanInfo 92 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 4 15 4 19 93 , srcInfoPoints = [] 94 } 95 (Ident 96 SrcSpanInfo 97 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 4 15 4 19 98 , srcInfoPoints = [] 99 } 100 "Bool")))) 101 , FunBind 102 SrcSpanInfo 103 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 5 1 6 27 104 , srcInfoPoints = [] 105 } 106 [ Match 107 SrcSpanInfo 108 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 5 1 5 26 109 , srcInfoPoints = [] 110 } 111 (Ident 112 SrcSpanInfo 113 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 5 1 5 4 114 , srcInfoPoints = [] 115 } 116 "foo") 117 [ PSplice 118 SrcSpanInfo 119 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 5 5 5 19 120 , srcInfoPoints = 121 [ SrcSpan "tests/examples/PatternSplice.hs" 5 5 5 7 122 , SrcSpan "tests/examples/PatternSplice.hs" 5 18 5 19 123 ] 124 } 125 (ParenSplice 126 SrcSpanInfo 127 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 5 5 5 19 128 , srcInfoPoints = 129 [ SrcSpan "tests/examples/PatternSplice.hs" 5 5 5 7 130 , SrcSpan "tests/examples/PatternSplice.hs" 5 18 5 19 131 ] 132 } 133 (BracketExp 134 SrcSpanInfo 135 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 5 8 5 17 136 , srcInfoPoints = 137 [ SrcSpan "tests/examples/PatternSplice.hs" 5 8 5 11 138 , SrcSpan "tests/examples/PatternSplice.hs" 5 15 5 17 139 ] 140 } 141 (PatBracket 142 SrcSpanInfo 143 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 5 8 5 17 144 , srcInfoPoints = 145 [ SrcSpan "tests/examples/PatternSplice.hs" 5 8 5 11 146 , SrcSpan "tests/examples/PatternSplice.hs" 5 15 5 17 147 ] 148 } 149 (PLit 150 SrcSpanInfo 151 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 5 12 5 14 152 , srcInfoPoints = [] 153 } 154 (Signless 155 SrcSpanInfo 156 { srcInfoSpan = 157 SrcSpan "tests/examples/PatternSplice.hs" 5 12 5 14 158 , srcInfoPoints = [] 159 }) 160 (Int 161 SrcSpanInfo 162 { srcInfoSpan = 163 SrcSpan "tests/examples/PatternSplice.hs" 5 12 5 14 164 , srcInfoPoints = [] 165 } 166 42 167 "42"))))) 168 ] 169 (UnGuardedRhs 170 SrcSpanInfo 171 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 5 20 5 26 172 , srcInfoPoints = 173 [ SrcSpan "tests/examples/PatternSplice.hs" 5 20 5 21 ] 174 } 175 (Con 176 SrcSpanInfo 177 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 5 22 5 26 178 , srcInfoPoints = [] 179 } 180 (UnQual 181 SrcSpanInfo 182 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 5 22 5 26 183 , srcInfoPoints = [] 184 } 185 (Ident 186 SrcSpanInfo 187 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 5 22 5 26 188 , srcInfoPoints = [] 189 } 190 "True")))) 191 Nothing 192 , Match 193 SrcSpanInfo 194 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 6 1 6 27 195 , srcInfoPoints = [] 196 } 197 (Ident 198 SrcSpanInfo 199 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 6 1 6 4 200 , srcInfoPoints = [] 201 } 202 "foo") 203 [ PWildCard 204 SrcSpanInfo 205 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 6 5 6 6 206 , srcInfoPoints = [] 207 } 208 ] 209 (UnGuardedRhs 210 SrcSpanInfo 211 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 6 20 6 27 212 , srcInfoPoints = 213 [ SrcSpan "tests/examples/PatternSplice.hs" 6 20 6 21 ] 214 } 215 (Con 216 SrcSpanInfo 217 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 6 22 6 27 218 , srcInfoPoints = [] 219 } 220 (UnQual 221 SrcSpanInfo 222 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 6 22 6 27 223 , srcInfoPoints = [] 224 } 225 (Ident 226 SrcSpanInfo 227 { srcInfoSpan = SrcSpan "tests/examples/PatternSplice.hs" 6 22 6 27 228 , srcInfoPoints = [] 229 } 230 "False")))) 231 Nothing 232 ] 233 ] 234 , [] 235 ) 236