| | 1 | # Warning: This file is mechanically written. Your changes will be overwritten. |
| | 2 | package Regexp::ModuleA::AST { |
| | 3 | |
| | 4 | class Pat5 is BaseClass { |
| | 5 | has $.match; |
| | 6 | has $.pat; |
| | 7 | has $.notes; |
| | 8 | |
| | 9 | method newp($match,$pat) { self.new('match', $match, 'pat', $pat) } |
| | 10 | method callback($emitter) { $emitter.cb__Pat5(self) } |
| | 11 | method node_name() { 'Pat5' } |
| | 12 | method field_names() { ['pat'] } |
| | 13 | method field_values() { [$.pat] } |
| | 14 | method irx1_describe() { |
| | 15 | 'Pat5('~$.pat.irx1_describe~')' |
| | 16 | } |
| | 17 | |
| | 18 | } |
| | 19 | class Exact is BaseClass { |
| | 20 | has $.match; |
| | 21 | has $.text; |
| | 22 | has $.notes; |
| | 23 | |
| | 24 | method newp($match,$text) { self.new('match', $match, 'text', $text) } |
| | 25 | method callback($emitter) { $emitter.cb__Exact(self) } |
| | 26 | method node_name() { 'Exact' } |
| | 27 | method field_names() { ['text'] } |
| | 28 | method field_values() { [$.text] } |
| | 29 | method irx1_describe() { |
| | 30 | 'Exact('~$.text.irx1_describe~')' |
| | 31 | } |
| | 32 | |
| | 33 | } |
| | 34 | class Mod_expr is Mod_Base { |
| | 35 | has $.match; |
| | 36 | has $.mods; |
| | 37 | has $.expr; |
| | 38 | has $.notes; |
| | 39 | |
| | 40 | method newp($match,$mods,$expr) { self.new('match', $match, 'mods', $mods, 'expr', $expr) } |
| | 41 | method callback($emitter) { $emitter.cb__Mod_expr(self) } |
| | 42 | method node_name() { 'Mod_expr' } |
| | 43 | method field_names() { ['mods','expr'] } |
| | 44 | method field_values() { [$.mods,$.expr] } |
| | 45 | method irx1_describe() { |
| | 46 | 'Mod_expr('~$.mods.irx1_describe~','~$.expr.irx1_describe~')' |
| | 47 | } |
| | 48 | |
| | 49 | } |
| | 50 | class Mod_inline is Mod_Base { |
| | 51 | has $.match; |
| | 52 | has $.mods; |
| | 53 | has $.notes; |
| | 54 | |
| | 55 | method newp($match,$mods) { self.new('match', $match, 'mods', $mods) } |
| | 56 | method callback($emitter) { $emitter.cb__Mod_inline(self) } |
| | 57 | method node_name() { 'Mod_inline' } |
| | 58 | method field_names() { ['mods'] } |
| | 59 | method field_values() { [$.mods] } |
| | 60 | method irx1_describe() { |
| | 61 | 'Mod_inline('~$.mods.irx1_describe~')' |
| | 62 | } |
| | 63 | |
| | 64 | } |
| | 65 | class Backref is BaseClass { |
| | 66 | has $.match; |
| | 67 | has $.backref_n; |
| | 68 | has $.notes; |
| | 69 | |
| | 70 | method newp($match,$backref_n) { self.new('match', $match, 'backref_n', $backref_n) } |
| | 71 | method callback($emitter) { $emitter.cb__Backref(self) } |
| | 72 | method node_name() { 'Backref' } |
| | 73 | method field_names() { ['backref_n'] } |
| | 74 | method field_values() { [$.backref_n] } |
| | 75 | method irx1_describe() { |
| | 76 | 'Backref('~$.backref_n.irx1_describe~')' |
| | 77 | } |
| | 78 | |
| | 79 | } |
| | 80 | class Cap is BaseClass { |
| | 81 | has $.match; |
| | 82 | has $.expr; |
| | 83 | has $.notes; |
| | 84 | |
| | 85 | method newp($match,$expr) { self.new('match', $match, 'expr', $expr) } |
| | 86 | method callback($emitter) { $emitter.cb__Cap(self) } |
| | 87 | method node_name() { 'Cap' } |
| | 88 | method field_names() { ['expr'] } |
| | 89 | method field_values() { [$.expr] } |
| | 90 | method irx1_describe() { |
| | 91 | 'Cap('~$.expr.irx1_describe~')' |
| | 92 | } |
| | 93 | |
| | 94 | } |
| | 95 | class Grp is BaseClass { |
| | 96 | has $.match; |
| | 97 | has $.expr; |
| | 98 | has $.notes; |
| | 99 | |
| | 100 | method newp($match,$expr) { self.new('match', $match, 'expr', $expr) } |
| | 101 | method callback($emitter) { $emitter.cb__Grp(self) } |
| | 102 | method node_name() { 'Grp' } |
| | 103 | method field_names() { ['expr'] } |
| | 104 | method field_values() { [$.expr] } |
| | 105 | method irx1_describe() { |
| | 106 | 'Grp('~$.expr.irx1_describe~')' |
| | 107 | } |
| | 108 | |
| | 109 | } |
| | 110 | class Alias is BaseClass { |
| | 111 | has $.match; |
| | 112 | has $.target; |
| | 113 | has $.target_spec; |
| | 114 | has $.expr; |
| | 115 | has $.notes; |
| | 116 | |
| | 117 | method newp($match,$target,$target_spec,$expr) { self.new('match', $match, 'target', $target, 'target_spec', $target_spec, 'expr', $expr) } |
| | 118 | method callback($emitter) { $emitter.cb__Alias(self) } |
| | 119 | method node_name() { 'Alias' } |
| | 120 | method field_names() { ['target','target_spec','expr'] } |
| | 121 | method field_values() { [$.target,$.target_spec,$.expr] } |
| | 122 | method irx1_describe() { |
| | 123 | 'Alias('~$.target.irx1_describe~','~$.target_spec.irx1_describe~','~$.expr.irx1_describe~')' |
| | 124 | } |
| | 125 | |
| | 126 | } |
| | 127 | class Quant is BaseClass { |
| | 128 | has $.match; |
| | 129 | has $.min; |
| | 130 | has $.max; |
| | 131 | has $.expr; |
| | 132 | has $.nongreedy; |
| | 133 | has $.notes; |
| | 134 | |
| | 135 | method newp($match,$min,$max,$expr,$nongreedy) { self.new('match', $match, 'min', $min, 'max', $max, 'expr', $expr, 'nongreedy', $nongreedy) } |
| | 136 | method callback($emitter) { $emitter.cb__Quant(self) } |
| | 137 | method node_name() { 'Quant' } |
| | 138 | method field_names() { ['min','max','expr','nongreedy'] } |
| | 139 | method field_values() { [$.min,$.max,$.expr,$.nongreedy] } |
| | 140 | method irx1_describe() { |
| | 141 | 'Quant('~$.min.irx1_describe~','~$.max.irx1_describe~','~$.expr.irx1_describe~','~$.nongreedy.irx1_describe~')' |
| | 142 | } |
| | 143 | |
| | 144 | } |
| | 145 | class Alt is BaseClass { |
| | 146 | has $.match; |
| | 147 | has $.exprs; |
| | 148 | has $.notes; |
| | 149 | |
| | 150 | method newp($match,$exprs) { self.new('match', $match, 'exprs', $exprs) } |
| | 151 | method callback($emitter) { $emitter.cb__Alt(self) } |
| | 152 | method node_name() { 'Alt' } |
| | 153 | method field_names() { ['exprs'] } |
| | 154 | method field_values() { [$.exprs] } |
| | 155 | method irx1_describe() { |
| | 156 | 'Alt('~$.exprs.irx1_describe~')' |
| | 157 | } |
| | 158 | |
| | 159 | } |
| | 160 | class Conj is BaseClass { |
| | 161 | has $.match; |
| | 162 | has $.exprs; |
| | 163 | has $.notes; |
| | 164 | |
| | 165 | method newp($match,$exprs) { self.new('match', $match, 'exprs', $exprs) } |
| | 166 | method callback($emitter) { $emitter.cb__Conj(self) } |
| | 167 | method node_name() { 'Conj' } |
| | 168 | method field_names() { ['exprs'] } |
| | 169 | method field_values() { [$.exprs] } |
| | 170 | method irx1_describe() { |
| | 171 | 'Conj('~$.exprs.irx1_describe~')' |
| | 172 | } |
| | 173 | |
| | 174 | } |
| | 175 | class Seq is BaseClass { |
| | 176 | has $.match; |
| | 177 | has $.exprs; |
| | 178 | has $.notes; |
| | 179 | |
| | 180 | method newp($match,$exprs) { self.new('match', $match, 'exprs', $exprs) } |
| | 181 | method callback($emitter) { $emitter.cb__Seq(self) } |
| | 182 | method node_name() { 'Seq' } |
| | 183 | method field_names() { ['exprs'] } |
| | 184 | method field_values() { [$.exprs] } |
| | 185 | method irx1_describe() { |
| | 186 | 'Seq('~$.exprs.irx1_describe~')' |
| | 187 | } |
| | 188 | |
| | 189 | } |
| | 190 | class ASpace is BaseClass { |
| | 191 | has $.match; |
| | 192 | has $.aspace_inpkg; |
| | 193 | has $.text; |
| | 194 | has $.notes; |
| | 195 | |
| | 196 | method newp($match,$aspace_inpkg,$text) { self.new('match', $match, 'aspace_inpkg', $aspace_inpkg, 'text', $text) } |
| | 197 | method callback($emitter) { $emitter.cb__ASpace(self) } |
| | 198 | method node_name() { 'ASpace' } |
| | 199 | method field_names() { ['aspace_inpkg','text'] } |
| | 200 | method field_values() { [$.aspace_inpkg,$.text] } |
| | 201 | method irx1_describe() { |
| | 202 | 'ASpace('~$.aspace_inpkg.irx1_describe~','~$.text.irx1_describe~')' |
| | 203 | } |
| | 204 | |
| | 205 | } |
| | 206 | class Subrule is BaseClass { |
| | 207 | has $.match; |
| | 208 | has $.created_in_pkg; |
| | 209 | has $.name; |
| | 210 | has $.exprs; |
| | 211 | has $.neg; |
| | 212 | has $.nocap; |
| | 213 | has $.notes; |
| | 214 | |
| | 215 | method newp($match,$created_in_pkg,$name,$exprs,$neg,$nocap) { self.new('match', $match, 'created_in_pkg', $created_in_pkg, 'name', $name, 'exprs', $exprs, 'neg', $neg, 'nocap', $nocap) } |
| | 216 | method callback($emitter) { $emitter.cb__Subrule(self) } |
| | 217 | method node_name() { 'Subrule' } |
| | 218 | method field_names() { ['created_in_pkg','name','exprs','neg','nocap'] } |
| | 219 | method field_values() { [$.created_in_pkg,$.name,$.exprs,$.neg,$.nocap] } |
| | 220 | method irx1_describe() { |
| | 221 | 'Subrule('~$.created_in_pkg.irx1_describe~','~$.name.irx1_describe~','~$.exprs.irx1_describe~','~$.neg.irx1_describe~','~$.nocap.irx1_describe~')' |
| | 222 | } |
| | 223 | |
| | 224 | } |
| | 225 | class ARegex is BaseClass { |
| | 226 | has $.match; |
| | 227 | has $.modpat; |
| | 228 | has $.mods; |
| | 229 | has $.expr; |
| | 230 | has $.notes; |
| | 231 | |
| | 232 | method newp($match,$modpat,$mods,$expr) { self.new('match', $match, 'modpat', $modpat, 'mods', $mods, 'expr', $expr) } |
| | 233 | method callback($emitter) { $emitter.cb__ARegex(self) } |
| | 234 | method node_name() { 'ARegex' } |
| | 235 | method field_names() { ['modpat','mods','expr'] } |
| | 236 | method field_values() { [$.modpat,$.mods,$.expr] } |
| | 237 | method irx1_describe() { |
| | 238 | 'ARegex('~$.modpat.irx1_describe~','~$.mods.irx1_describe~','~$.expr.irx1_describe~')' |
| | 239 | } |
| | 240 | |
| | 241 | } |
| | 242 | class Biind is BaseClass { |
| | 243 | has $.match; |
| | 244 | has $.created_in_pkg; |
| | 245 | has $.name; |
| | 246 | has $.expr; |
| | 247 | has $.notes; |
| | 248 | |
| | 249 | method newp($match,$created_in_pkg,$name,$expr) { self.new('match', $match, 'created_in_pkg', $created_in_pkg, 'name', $name, 'expr', $expr) } |
| | 250 | method callback($emitter) { $emitter.cb__Biind(self) } |
| | 251 | method node_name() { 'Biind' } |
| | 252 | method field_names() { ['created_in_pkg','name','expr'] } |
| | 253 | method field_values() { [$.created_in_pkg,$.name,$.expr] } |
| | 254 | method irx1_describe() { |
| | 255 | 'Biind('~$.created_in_pkg.irx1_describe~','~$.name.irx1_describe~','~$.expr.irx1_describe~')' |
| | 256 | } |
| | 257 | |
| | 258 | } |
| | 259 | class Namespace is BaseClass { |
| | 260 | has $.match; |
| | 261 | has $.created_in_pkg; |
| | 262 | has $.nsname; |
| | 263 | has $.bindings; |
| | 264 | has $.pkg; |
| | 265 | has $.notes; |
| | 266 | |
| | 267 | method newp($match,$created_in_pkg,$nsname,$bindings,$pkg) { self.new('match', $match, 'created_in_pkg', $created_in_pkg, 'nsname', $nsname, 'bindings', $bindings, 'pkg', $pkg) } |
| | 268 | method callback($emitter) { $emitter.cb__Namespace(self) } |
| | 269 | method node_name() { 'Namespace' } |
| | 270 | method field_names() { ['created_in_pkg','nsname','bindings','pkg'] } |
| | 271 | method field_values() { [$.created_in_pkg,$.nsname,$.bindings,$.pkg] } |
| | 272 | method irx1_describe() { |
| | 273 | 'Namespace('~$.created_in_pkg.irx1_describe~','~$.nsname.irx1_describe~','~$.bindings.irx1_describe~','~$.pkg.irx1_describe~')' |
| | 274 | } |
| | 275 | |
| | 276 | } |
| | 277 | class Code is BaseClass { |
| | 278 | has $.match; |
| | 279 | has $.code; |
| | 280 | has $.notes; |
| | 281 | |
| | 282 | method newp($match,$code) { self.new('match', $match, 'code', $code) } |
| | 283 | method callback($emitter) { $emitter.cb__Code(self) } |
| | 284 | method node_name() { 'Code' } |
| | 285 | method field_names() { ['code'] } |
| | 286 | method field_values() { [$.code] } |
| | 287 | method irx1_describe() { |
| | 288 | 'Code('~$.code.irx1_describe~')' |
| | 289 | } |
| | 290 | |
| | 291 | } |
| | 292 | class CodeRx is BaseClass { |
| | 293 | has $.match; |
| | 294 | has $.code; |
| | 295 | has $.notes; |
| | 296 | |
| | 297 | method newp($match,$code) { self.new('match', $match, 'code', $code) } |
| | 298 | method callback($emitter) { $emitter.cb__CodeRx(self) } |
| | 299 | method node_name() { 'CodeRx' } |
| | 300 | method field_names() { ['code'] } |
| | 301 | method field_values() { [$.code] } |
| | 302 | method irx1_describe() { |
| | 303 | 'CodeRx('~$.code.irx1_describe~')' |
| | 304 | } |
| | 305 | |
| | 306 | } |
| | 307 | class Independent is BaseClass { |
| | 308 | has $.match; |
| | 309 | has $.expr; |
| | 310 | has $.notes; |
| | 311 | |
| | 312 | method newp($match,$expr) { self.new('match', $match, 'expr', $expr) } |
| | 313 | method callback($emitter) { $emitter.cb__Independent(self) } |
| | 314 | method node_name() { 'Independent' } |
| | 315 | method field_names() { ['expr'] } |
| | 316 | method field_values() { [$.expr] } |
| | 317 | method irx1_describe() { |
| | 318 | 'Independent('~$.expr.irx1_describe~')' |
| | 319 | } |
| | 320 | |
| | 321 | } |
| | 322 | class Conditional is BaseClass { |
| | 323 | has $.match; |
| | 324 | has $.test; |
| | 325 | has $.expr_then; |
| | 326 | has $.expr_else; |
| | 327 | has $.notes; |
| | 328 | |
| | 329 | method newp($match,$test,$expr_then,$expr_else) { self.new('match', $match, 'test', $test, 'expr_then', $expr_then, 'expr_else', $expr_else) } |
| | 330 | method callback($emitter) { $emitter.cb__Conditional(self) } |
| | 331 | method node_name() { 'Conditional' } |
| | 332 | method field_names() { ['test','expr_then','expr_else'] } |
| | 333 | method field_values() { [$.test,$.expr_then,$.expr_else] } |
| | 334 | method irx1_describe() { |
| | 335 | 'Conditional('~$.test.irx1_describe~','~$.expr_then.irx1_describe~','~$.expr_else.irx1_describe~')' |
| | 336 | } |
| | 337 | |
| | 338 | } |
| | 339 | class Lookaround is BaseClass { |
| | 340 | has $.match; |
| | 341 | has $.is_forward; |
| | 342 | has $.is_positive; |
| | 343 | has $.expr; |
| | 344 | has $.notes; |
| | 345 | |
| | 346 | method newp($match,$is_forward,$is_positive,$expr) { self.new('match', $match, 'is_forward', $is_forward, 'is_positive', $is_positive, 'expr', $expr) } |
| | 347 | method callback($emitter) { $emitter.cb__Lookaround(self) } |
| | 348 | method node_name() { 'Lookaround' } |
| | 349 | method field_names() { ['is_forward','is_positive','expr'] } |
| | 350 | method field_values() { [$.is_forward,$.is_positive,$.expr] } |
| | 351 | method irx1_describe() { |
| | 352 | 'Lookaround('~$.is_forward.irx1_describe~','~$.is_positive.irx1_describe~','~$.expr.irx1_describe~')' |
| | 353 | } |
| | 354 | |
| | 355 | } |
| | 356 | class CommitSequence is BaseClass { |
| | 357 | has $.match; |
| | 358 | has $.notes; |
| | 359 | |
| | 360 | method newp($match) { self.new('match', $match) } |
| | 361 | method callback($emitter) { $emitter.cb__CommitSequence(self) } |
| | 362 | method node_name() { 'CommitSequence' } |
| | 363 | method field_names() { [] } |
| | 364 | method field_values() { [] } |
| | 365 | method irx1_describe() { |
| | 366 | 'CommitSequence('~')' |
| | 367 | } |
| | 368 | |
| | 369 | } |
| | 370 | class CommitGroup is BaseClass { |
| | 371 | has $.match; |
| | 372 | has $.notes; |
| | 373 | |
| | 374 | method newp($match) { self.new('match', $match) } |
| | 375 | method callback($emitter) { $emitter.cb__CommitGroup(self) } |
| | 376 | method node_name() { 'CommitGroup' } |
| | 377 | method field_names() { [] } |
| | 378 | method field_values() { [] } |
| | 379 | method irx1_describe() { |
| | 380 | 'CommitGroup('~')' |
| | 381 | } |
| | 382 | |
| | 383 | } |
| | 384 | class CommitRegex is BaseClass { |
| | 385 | has $.match; |
| | 386 | has $.notes; |
| | 387 | |
| | 388 | method newp($match) { self.new('match', $match) } |
| | 389 | method callback($emitter) { $emitter.cb__CommitRegex(self) } |
| | 390 | method node_name() { 'CommitRegex' } |
| | 391 | method field_names() { [] } |
| | 392 | method field_values() { [] } |
| | 393 | method irx1_describe() { |
| | 394 | 'CommitRegex('~')' |
| | 395 | } |
| | 396 | |
| | 397 | } |
| | 398 | class CommitMatch is BaseClass { |
| | 399 | has $.match; |
| | 400 | has $.notes; |
| | 401 | |
| | 402 | method newp($match) { self.new('match', $match) } |
| | 403 | method callback($emitter) { $emitter.cb__CommitMatch(self) } |
| | 404 | method node_name() { 'CommitMatch' } |
| | 405 | method field_names() { [] } |
| | 406 | method field_values() { [] } |
| | 407 | method irx1_describe() { |
| | 408 | 'CommitMatch('~')' |
| | 409 | } |
| | 410 | |
| | 411 | } |
| | 412 | } |