| 1 | use 5.010; | ||
| 2 | use utf8; | ||
| 3 | { package STD::STD::P5; | ||
| 4 | use Moose ':all' => { -prefix => "moose_" }; | ||
| 5 | use Encode; | ||
| 6 | moose_extends('STD'); | ||
| 7 | our $ALLROLES = { 'STD::STD::P5', 1 }; | ||
| 8 | our $REGEXES = { | ||
| 9 | ALL => [ qw/POST PRE arglist args babble backslash block blockoid capterm capture category charname charnames charspec comp_unit dec_number declarator def_module_name deflongname desigilname dottyop dottyopish eat_terminator endid escale escape fatarrow hexint hexints ident identifier infixish infixstopper integer label longname methodop modifier_expr morename name nibbler nofun nullterm nulltermish number numish octint octints p5circumfix p5comment p5dotty p5infix p5module_name p5multi_declarator p5number p5package_declarator p5postcircumfix p5postfix p5prefix p5quote p5regex_declarator p5routine_declarator p5rx_mods p5scope_declarator p5sigil p5special_variable p5statement_control p5statement_mod_cond p5statement_mod_loop p5statement_prefix p5term p5terminator p5tr_mods p5type_declarator p5value p5version package_def param_sep parensig pod_comment postop quasiquibble quibble quote radint regex_block routine_def scoped semiarglist semilist sibble signature spacey starter statement statementlist stdstopper stopper sublongname subshortname termish trait tribble type_constraint typename unitstopper unsp unspacey unv variable variable_declarator vnum vws ws xblock/ ], | ||
| 10 | category => [ qw/category__S_000category__PEEK category__S_001p5sigil__PEEK category__S_002p5special_variable__PEEK category__S_003p5comment__PEEK category__S_004p5version__PEEK category__S_005p5module_name__PEEK category__S_006p5value__PEEK category__S_007p5term__PEEK category__S_008p5number__PEEK category__S_009p5quote__PEEK category__S_010p5prefix__PEEK category__S_011p5infix__PEEK category__S_012p5postfix__PEEK category__S_013p5dotty__PEEK category__S_014p5circumfix__PEEK category__S_015p5postcircumfix__PEEK category__S_016p5type_declarator__PEEK category__S_017p5scope_declarator__PEEK category__S_018p5package_declarator__PEEK category__S_019p5routine_declarator__PEEK category__S_020p5regex_declarator__PEEK category__S_021p5statement_prefix__PEEK category__S_022p5statement_control__PEEK category__S_023p5statement_mod_cond__PEEK category__S_024p5statement_mod_loop__PEEK category__S_025p5terminator__PEEK/ ], | ||
| 11 | escape => [ qw/escape__S_117none__PEEK/ ], | ||
| 12 | number => [ qw/number__S_116numish__PEEK/ ], | ||
| 13 | p5circumfix => [ qw/p5circumfix__S_120Lt_Gt__PEEK p5circumfix__S_132sigil__PEEK p5circumfix__S_133Paren_Thesis__PEEK p5circumfix__S_134Bra_Ket__PEEK p5circumfix__S_139Cur_Ly__PEEK/ ], | ||
| 14 | p5comment => [ qw/p5comment__S_026Sharp__PEEK/ ], | ||
| 15 | p5dotty => [ qw/p5dotty__S_135MinusGt__PEEK/ ], | ||
| 16 | p5infix => [ qw/p5infix__S_145StarStar__PEEK p5infix__S_150BangTilde__PEEK p5infix__S_151EqualTilde__PEEK p5infix__S_152Star__PEEK p5infix__S_153Slash__PEEK p5infix__S_154Percent__PEEK p5infix__S_155LtLt__PEEK p5infix__S_156GtGt__PEEK p5infix__S_157x__PEEK p5infix__S_158Dot__PEEK p5infix__S_159Plus__PEEK p5infix__S_160Minus__PEEK p5infix__S_161Amp__PEEK p5infix__S_162also__PEEK p5infix__S_163Vert__PEEK p5infix__S_164Caret__PEEK p5infix__S_169LtEqualGt__PEEK p5infix__S_170cmp__PEEK p5infix__S_171Lt__PEEK p5infix__S_172LtEqual__PEEK p5infix__S_173Gt__PEEK p5infix__S_174GtEqual__PEEK p5infix__S_175eq__PEEK p5infix__S_176ne__PEEK p5infix__S_177lt__PEEK p5infix__S_178le__PEEK p5infix__S_179gt__PEEK p5infix__S_180ge__PEEK p5infix__S_181EqualEqual__PEEK p5infix__S_182BangEqual__PEEK p5infix__S_183AmpAmp__PEEK p5infix__S_184VertVert__PEEK p5infix__S_185CaretCaret__PEEK p5infix__S_186SlashSlash__PEEK p5infix__S_187DotDot__PEEK p5infix__S_188DotDotDot__PEEK p5infix__S_189Question_Colon__PEEK p5infix__S_190Equal__PEEK p5infix__S_191Comma__PEEK p5infix__S_192EqualGt__PEEK p5infix__S_196and__PEEK p5infix__S_197andthen__PEEK p5infix__S_198or__PEEK p5infix__S_199orelse__PEEK p5infix__S_200xor__PEEK/ ], | ||
| 17 | p5module_name => [ qw/p5module_name__S_047normal__PEEK/ ], | ||
| 18 | p5multi_declarator => [ qw/p5multi_declarator__S_054null__PEEK/ ], | ||
| 19 | p5package_declarator => [ qw/p5package_declarator__S_052package__PEEK p5package_declarator__S_053require__PEEK/ ], | ||
| 20 | p5postcircumfix => [ qw/p5postcircumfix__S_136Paren_Thesis__PEEK p5postcircumfix__S_137Bra_Ket__PEEK p5postcircumfix__S_138Cur_Ly__PEEK/ ], | ||
| 21 | p5postfix => [ qw/p5postfix__S_140MinusGt__PEEK p5postfix__S_141PlusPlus__PEEK p5postfix__S_142MinusMinus__PEEK/ ], | ||
| 22 | p5prefix => [ qw/p5prefix__S_143PlusPlus__PEEK p5prefix__S_144MinusMinus__PEEK p5prefix__S_146Bang__PEEK p5prefix__S_147Plus__PEEK p5prefix__S_148Minus__PEEK p5prefix__S_149Tilde__PEEK p5prefix__S_165sleep__PEEK p5prefix__S_166abs__PEEK p5prefix__S_167let__PEEK p5prefix__S_168temp__PEEK/ ], | ||
| 23 | p5quote => [ qw/p5quote__S_118Single_Single__PEEK p5quote__S_119Double_Double__PEEK p5quote__S_121Slash_Slash__PEEK/ ], | ||
| 24 | p5routine_declarator => [ qw/p5routine_declarator__S_055sub__PEEK/ ], | ||
| 25 | p5scope_declarator => [ qw/p5scope_declarator__S_049my__PEEK p5scope_declarator__S_050our__PEEK p5scope_declarator__S_051state__PEEK/ ], | ||
| 26 | p5sigil => [ qw/p5sigil__S_109Dollar__PEEK p5sigil__S_110At__PEEK p5sigil__S_111Percent__PEEK p5sigil__S_112Amp__PEEK/ ], | ||
| 27 | p5special_variable => [ qw/p5special_variable__S_066DollarBang__PEEK p5special_variable__S_067DollarBangCur_Ly__PEEK p5special_variable__S_068DollarSlash__PEEK p5special_variable__S_069DollarTilde__PEEK p5special_variable__S_070DollarGrave__PEEK p5special_variable__S_071DollarAt__PEEK p5special_variable__S_072DollarSharp__PEEK p5special_variable__S_073DollarDollar__PEEK p5special_variable__S_074DollarPercent__PEEK p5special_variable__S_075DollarCaretX__PEEK p5special_variable__S_076DollarCaret__PEEK p5special_variable__S_077DollarAmp__PEEK p5special_variable__S_078DollarStar__PEEK p5special_variable__S_079DollarThesis__PEEK p5special_variable__S_080DollarMinus__PEEK p5special_variable__S_081DollarEqual__PEEK p5special_variable__S_082AtPlus__PEEK p5special_variable__S_083PercentPlus__PEEK p5special_variable__S_084DollarPlusBra_Ket__PEEK p5special_variable__S_085AtPlusBra_Ket__PEEK p5special_variable__S_086AtPlusCur_Ly__PEEK p5special_variable__S_087AtMinus__PEEK p5special_variable__S_088PercentMinus__PEEK p5special_variable__S_089DollarMinusBra_Ket__PEEK p5special_variable__S_090AtMinusBra_Ket__PEEK p5special_variable__S_091PercentMinusCur_Ly__PEEK p5special_variable__S_092DollarPlus__PEEK p5special_variable__S_093DollarCurCaret_Ly__PEEK p5special_variable__S_094ColonColonCur_Ly__PEEK p5special_variable__S_095DollarCur_Ly__PEEK p5special_variable__S_096DollarBra__PEEK p5special_variable__S_097DollarKet__PEEK p5special_variable__S_098DollarBack__PEEK p5special_variable__S_099DollarVert__PEEK p5special_variable__S_100DollarColon__PEEK p5special_variable__S_101DollarSemi__PEEK p5special_variable__S_102DollarSingle__PEEK p5special_variable__S_103DollarDouble__PEEK p5special_variable__S_104DollarComma__PEEK p5special_variable__S_105DollarLt__PEEK p5special_variable__S_106DollarGt__PEEK p5special_variable__S_107DollarDot__PEEK p5special_variable__S_108DollarQuestion__PEEK/ ], | ||
| 28 | p5statement_control => [ qw/p5statement_control__S_027use__PEEK p5statement_control__S_028no__PEEK p5statement_control__S_029if__PEEK p5statement_control__S_030while__PEEK p5statement_control__S_031until__PEEK p5statement_control__S_032for__PEEK p5statement_control__S_033given__PEEK p5statement_control__S_034when__PEEK p5statement_control__S_035default__PEEK p5statement_control__S_039END__PEEK/ ], | ||
| 29 | p5statement_mod_cond => [ qw/p5statement_mod_cond__S_040if__PEEK p5statement_mod_cond__S_041unless__PEEK p5statement_mod_cond__S_042when__PEEK/ ], | ||
| 30 | p5statement_mod_loop => [ qw/p5statement_mod_loop__S_043while__PEEK p5statement_mod_loop__S_044until__PEEK p5statement_mod_loop__S_045for__PEEK p5statement_mod_loop__S_046given__PEEK/ ], | ||
| 31 | p5statement_prefix => [ qw/p5statement_prefix__S_036BEGIN__PEEK p5statement_prefix__S_037CHECK__PEEK p5statement_prefix__S_038INIT__PEEK p5statement_prefix__S_128do__PEEK p5statement_prefix__S_129eval__PEEK/ ], | ||
| 32 | p5term => [ qw/p5term__S_056fatarrow__PEEK p5term__S_057variable__PEEK p5term__S_058package_declarator__PEEK p5term__S_059scope_declarator__PEEK p5term__S_060routine_declarator__PEEK p5term__S_061circumfix__PEEK p5term__S_062dotty__PEEK p5term__S_063value__PEEK p5term__S_064capterm__PEEK p5term__S_065statement_prefix__PEEK p5term__S_130undef__PEEK p5term__S_131continue__PEEK p5term__S_193identifier__PEEK p5term__S_194opfunc__PEEK p5term__S_195name__PEEK/ ], | ||
| 33 | p5terminator => [ qw/p5terminator__S_201Semi__PEEK p5terminator__S_202if__PEEK p5terminator__S_203unless__PEEK p5terminator__S_204while__PEEK p5terminator__S_205until__PEEK p5terminator__S_206for__PEEK p5terminator__S_207given__PEEK p5terminator__S_208when__PEEK p5terminator__S_209Thesis__PEEK p5terminator__S_210Ket__PEEK p5terminator__S_211Ly__PEEK p5terminator__S_212Colon__PEEK/ ], | ||
| 34 | p5value => [ qw/p5value__S_113quote__PEEK p5value__S_114number__PEEK p5value__S_115version__PEEK/ ], | ||
| 35 | p5version => [ qw/p5version__S_048v__PEEK/ ], | ||
| 36 | quote => [ qw/quote__S_122qq__PEEK quote__S_123q__PEEK quote__S_124qr__PEEK quote__S_125m__PEEK quote__S_126s__PEEK quote__S_127tr__PEEK/ ], | ||
| 37 | }; | ||
| 38 | |||
| 39 | |||
| 40 | no warnings 'qw', 'recursion'; | ||
| 41 | my $retree; | ||
| 42 | |||
| 43 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 44 | |||
| 45 | use YAML::XS; | ||
| 46 | |||
| 47 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 48 | " } if $::DEBUG; | ||
| 49 | |||
| 50 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 51 | --- | ||
| 52 | POST: !!perl/hash:RE_ast | ||
| 53 | dba: postfix | ||
| 54 | dic: STD::STD::P5 | ||
| 55 | re: !!perl/hash:RE_sequence | ||
| 56 | zyg: | ||
| 57 | - !!perl/hash:RE_assertion | ||
| 58 | assert: '!' | ||
| 59 | re: !!perl/hash:RE_method | ||
| 60 | name: stdstopper | ||
| 61 | rest: '' | ||
| 62 | - !!perl/hash:RE_assertion | ||
| 63 | assert: '!' | ||
| 64 | re: !!perl/hash:RE_block | ||
| 65 | nobind: 1 | ||
| 66 | - !!perl/hash:RE_bracket | ||
| 67 | re: &1 !!perl/hash:RE_any | ||
| 68 | altname: POST_0 | ||
| 69 | dba: postfix | ||
| 70 | dic: STD::STD::P5 | ||
| 71 | zyg: | ||
| 72 | - !!perl/hash:RE_sequence | ||
| 73 | alt: POST_0 0 | ||
| 74 | zyg: | ||
| 75 | - !!perl/hash:RE_bindnamed | ||
| 76 | atom: !!perl/hash:RE_method | ||
| 77 | name: p5dotty | ||
| 78 | rest: '' | ||
| 79 | - !!perl/hash:RE_block {} | ||
| 80 | - !!perl/hash:RE_sequence | ||
| 81 | alt: POST_0 1 | ||
| 82 | zyg: | ||
| 83 | - !!perl/hash:RE_method | ||
| 84 | name: postop | ||
| 85 | rest: '' | ||
| 86 | - !!perl/hash:RE_block {} | ||
| 87 | POST_0: *1 | ||
| 88 | PRE: !!perl/hash:RE_ast | ||
| 89 | dba: prefix or meta-prefix | ||
| 90 | dic: STD::STD::P5 | ||
| 91 | re: !!perl/hash:RE_sequence | ||
| 92 | zyg: | ||
| 93 | - !!perl/hash:RE_bracket | ||
| 94 | re: !!perl/hash:RE_sequence | ||
| 95 | zyg: | ||
| 96 | - !!perl/hash:RE_bindnamed | ||
| 97 | atom: !!perl/hash:RE_method | ||
| 98 | name: p5prefix | ||
| 99 | rest: '' | ||
| 100 | - !!perl/hash:RE_block {} | ||
| 101 | - !!perl/hash:RE_method | ||
| 102 | name: ws | ||
| 103 | rest: '' | ||
| 104 | arglist: !!perl/hash:RE_ast | ||
| 105 | dba: argument list | ||
| 106 | dic: STD::STD::P5 | ||
| 107 | re: !!perl/hash:RE_sequence | ||
| 108 | zyg: | ||
| 109 | - !!perl/hash:RE_method | ||
| 110 | name: ws | ||
| 111 | rest: '' | ||
| 112 | - !!perl/hash:RE_bracket | ||
| 113 | re: &2 !!perl/hash:RE_any | ||
| 114 | altname: arglist_0 | ||
| 115 | dba: argument list | ||
| 116 | dic: STD::STD::P5 | ||
| 117 | zyg: | ||
| 118 | - !!perl/hash:RE_assertion | ||
| 119 | alt: arglist_0 0 | ||
| 120 | assert: '?' | ||
| 121 | re: !!perl/hash:RE_method | ||
| 122 | name: stdstopper | ||
| 123 | rest: '' | ||
| 124 | - !!perl/hash:RE_sequence | ||
| 125 | alt: arglist_0 1 | ||
| 126 | zyg: | ||
| 127 | - !!perl/hash:RE_method | ||
| 128 | name: EXPR | ||
| 129 | rest: 1 | ||
| 130 | - !!perl/hash:RE_block {} | ||
| 131 | arglist_0: *2 | ||
| 132 | args: !!perl/hash:RE_ast | ||
| 133 | dba: 'extra arglist after (...):' | ||
| 134 | dic: STD::STD::P5 | ||
| 135 | re: !!perl/hash:RE_sequence | ||
| 136 | zyg: | ||
| 137 | - !!perl/hash:RE_bracket | ||
| 138 | re: &3 !!perl/hash:RE_any | ||
| 139 | altname: args_0 | ||
| 140 | dba: argument list | ||
| 141 | dic: STD::STD::P5 | ||
| 142 | zyg: | ||
| 143 | - !!perl/hash:RE_bracket | ||
| 144 | alt: args_0 0 | ||
| 145 | re: !!perl/hash:RE_sequence | ||
| 146 | zyg: | ||
| 147 | - !!perl/hash:RE_string | ||
| 148 | i: 0 | ||
| 149 | text: ( | ||
| 150 | - !!perl/hash:RE_block {} | ||
| 151 | - !!perl/hash:RE_method | ||
| 152 | name: semiarglist | ||
| 153 | rest: '' | ||
| 154 | - !!perl/hash:RE_bracket | ||
| 155 | re: !!perl/hash:RE_first | ||
| 156 | zyg: | ||
| 157 | - !!perl/hash:RE_string | ||
| 158 | i: 0 | ||
| 159 | text: ) | ||
| 160 | - !!perl/hash:RE_method | ||
| 161 | name: FAILGOAL | ||
| 162 | rest: 1 | ||
| 163 | - !!perl/hash:RE_sequence | ||
| 164 | alt: args_0 1 | ||
| 165 | zyg: | ||
| 166 | - !!perl/hash:RE_method | ||
| 167 | name: unsp | ||
| 168 | rest: '' | ||
| 169 | - !!perl/hash:RE_bracket | ||
| 170 | re: !!perl/hash:RE_sequence | ||
| 171 | zyg: | ||
| 172 | - !!perl/hash:RE_string | ||
| 173 | i: 0 | ||
| 174 | text: ( | ||
| 175 | - !!perl/hash:RE_block {} | ||
| 176 | - !!perl/hash:RE_method | ||
| 177 | name: semiarglist | ||
| 178 | rest: '' | ||
| 179 | - !!perl/hash:RE_bracket | ||
| 180 | re: !!perl/hash:RE_first | ||
| 181 | zyg: | ||
| 182 | - !!perl/hash:RE_string | ||
| 183 | i: 0 | ||
| 184 | text: ) | ||
| 185 | - !!perl/hash:RE_method | ||
| 186 | name: FAILGOAL | ||
| 187 | rest: 1 | ||
| 188 | - !!perl/hash:RE_sequence | ||
| 189 | alt: args_0 2 | ||
| 190 | zyg: | ||
| 191 | - !!perl/hash:RE_block {} | ||
| 192 | - !!perl/hash:RE_quantified_atom | ||
| 193 | atom: !!perl/hash:RE_bracket | ||
| 194 | re: !!perl/hash:RE_sequence | ||
| 195 | zyg: | ||
| 196 | - !!perl/hash:RE_assertion | ||
| 197 | assert: '?' | ||
| 198 | re: !!perl/hash:RE_method_re | ||
| 199 | name: before | ||
| 200 | nobind: 1 | ||
| 201 | re: !!perl/hash:RE_meta | ||
| 202 | min: 1 | ||
| 203 | text: \s | ||
| 204 | - !!perl/hash:RE_assertion | ||
| 205 | assert: '!' | ||
| 206 | re: !!perl/hash:RE_block | ||
| 207 | nobind: 1 | ||
| 208 | - !!perl/hash:RE_method | ||
| 209 | name: ws | ||
| 210 | rest: '' | ||
| 211 | - !!perl/hash:RE_assertion | ||
| 212 | assert: '!' | ||
| 213 | re: !!perl/hash:RE_method | ||
| 214 | name: infixstopper | ||
| 215 | rest: '' | ||
| 216 | - !!perl/hash:RE_method | ||
| 217 | name: arglist | ||
| 218 | rest: '' | ||
| 219 | quant: | ||
| 220 | - '?' | ||
| 221 | - !!perl/hash:RE_block {} | ||
| 222 | - !!perl/hash:RE_bracket | ||
| 223 | re: !!perl/hash:RE_first | ||
| 224 | zyg: | ||
| 225 | - !!perl/hash:RE_assertion | ||
| 226 | assert: '?' | ||
| 227 | re: !!perl/hash:RE_block | ||
| 228 | nobind: 1 | ||
| 229 | - !!perl/hash:RE_sequence | ||
| 230 | zyg: | ||
| 231 | - !!perl/hash:RE_string | ||
| 232 | i: 0 | ||
| 233 | text: ':' | ||
| 234 | - !!perl/hash:RE_assertion | ||
| 235 | assert: '?' | ||
| 236 | re: !!perl/hash:RE_method_re | ||
| 237 | name: before | ||
| 238 | nobind: 1 | ||
| 239 | re: !!perl/hash:RE_meta | ||
| 240 | min: 1 | ||
| 241 | text: \s | ||
| 242 | - !!perl/hash:RE_bindnamed | ||
| 243 | atom: !!perl/hash:RE_method | ||
| 244 | name: arglist | ||
| 245 | rest: '' | ||
| 246 | - !!perl/hash:RE_block {} | ||
| 247 | args_0: *3 | ||
| 248 | babble: !!perl/hash:RE_ast | ||
| 249 | dba: babble | ||
| 250 | dic: STD::STD::P5 | ||
| 251 | re: !!perl/hash:RE_sequence | ||
| 252 | zyg: | ||
| 253 | - !!perl/hash:RE_method | ||
| 254 | name: ws | ||
| 255 | rest: '' | ||
| 256 | - !!perl/hash:RE_quantified_atom | ||
| 257 | atom: !!perl/hash:RE_bracket | ||
| 258 | re: !!perl/hash:RE_sequence | ||
| 259 | zyg: | ||
| 260 | - !!perl/hash:RE_method | ||
| 261 | name: quotepair | ||
| 262 | rest: '' | ||
| 263 | - !!perl/hash:RE_method | ||
| 264 | name: ws | ||
| 265 | rest: '' | ||
| 266 | - !!perl/hash:RE_block {} | ||
| 267 | quant: | ||
| 268 | - '*' | ||
| 269 | - !!perl/hash:RE_block {} | ||
| 270 | backslash:*: | ||
| 271 | dic: STD::STD::P5 | ||
| 272 | block: !!perl/hash:RE_ast | ||
| 273 | dba: scoped block | ||
| 274 | dic: STD::STD::P5 | ||
| 275 | re: !!perl/hash:RE_sequence | ||
| 276 | zyg: | ||
| 277 | - !!perl/hash:RE_bracket | ||
| 278 | re: !!perl/hash:RE_first | ||
| 279 | zyg: | ||
| 280 | - !!perl/hash:RE_assertion | ||
| 281 | assert: '?' | ||
| 282 | re: !!perl/hash:RE_method_re | ||
| 283 | name: before | ||
| 284 | nobind: 1 | ||
| 285 | re: !!perl/hash:RE_string | ||
| 286 | i: 0 | ||
| 287 | text: '{' | ||
| 288 | - !!perl/hash:RE_method | ||
| 289 | name: panic | ||
| 290 | rest: 1 | ||
| 291 | - !!perl/hash:RE_method | ||
| 292 | name: newlex | ||
| 293 | rest: '' | ||
| 294 | - !!perl/hash:RE_method | ||
| 295 | name: blockoid | ||
| 296 | rest: '' | ||
| 297 | blockoid: !!perl/hash:RE_ast | ||
| 298 | dba: blockoid | ||
| 299 | dic: STD::STD::P5 | ||
| 300 | re: !!perl/hash:RE_sequence | ||
| 301 | zyg: | ||
| 302 | - !!perl/hash:RE_method | ||
| 303 | name: finishlex | ||
| 304 | rest: '' | ||
| 305 | - !!perl/hash:RE_bracket | ||
| 306 | re: &4 !!perl/hash:RE_any | ||
| 307 | altname: blockoid_0 | ||
| 308 | dba: block | ||
| 309 | dic: STD::STD::P5 | ||
| 310 | zyg: | ||
| 311 | - !!perl/hash:RE_bracket | ||
| 312 | alt: blockoid_0 0 | ||
| 313 | re: !!perl/hash:RE_sequence | ||
| 314 | zyg: | ||
| 315 | - !!perl/hash:RE_string | ||
| 316 | i: 0 | ||
| 317 | text: '{' | ||
| 318 | - !!perl/hash:RE_block {} | ||
| 319 | - !!perl/hash:RE_method | ||
| 320 | name: statementlist | ||
| 321 | rest: '' | ||
| 322 | - !!perl/hash:RE_bracket | ||
| 323 | re: !!perl/hash:RE_first | ||
| 324 | zyg: | ||
| 325 | - !!perl/hash:RE_string | ||
| 326 | i: 0 | ||
| 327 | text: '}' | ||
| 328 | - !!perl/hash:RE_method | ||
| 329 | name: FAILGOAL | ||
| 330 | rest: 1 | ||
| 331 | - !!perl/hash:RE_sequence | ||
| 332 | alt: blockoid_0 1 | ||
| 333 | zyg: | ||
| 334 | - !!perl/hash:RE_assertion | ||
| 335 | assert: '?' | ||
| 336 | re: !!perl/hash:RE_method | ||
| 337 | name: terminator | ||
| 338 | rest: '' | ||
| 339 | - !!perl/hash:RE_method | ||
| 340 | name: panic | ||
| 341 | rest: 1 | ||
| 342 | - !!perl/hash:RE_sequence | ||
| 343 | alt: blockoid_0 2 | ||
| 344 | zyg: | ||
| 345 | - !!perl/hash:RE_assertion | ||
| 346 | assert: '?' | ||
| 347 | re: !!perl/hash:RE_noop | ||
| 348 | nobind: 1 | ||
| 349 | - !!perl/hash:RE_method | ||
| 350 | name: panic | ||
| 351 | rest: 1 | ||
| 352 | - !!perl/hash:RE_bracket | ||
| 353 | re: &5 !!perl/hash:RE_any | ||
| 354 | altname: blockoid_1 | ||
| 355 | dba: blockoid | ||
| 356 | dic: STD::STD::P5 | ||
| 357 | zyg: | ||
| 358 | - !!perl/hash:RE_sequence | ||
| 359 | alt: blockoid_1 0 | ||
| 360 | zyg: | ||
| 361 | - !!perl/hash:RE_assertion | ||
| 362 | assert: '?' | ||
| 363 | re: !!perl/hash:RE_method_re | ||
| 364 | name: before | ||
| 365 | nobind: 1 | ||
| 366 | re: !!perl/hash:RE_sequence | ||
| 367 | zyg: | ||
| 368 | - !!perl/hash:RE_quantified_atom | ||
| 369 | atom: !!perl/hash:RE_meta | ||
| 370 | min: 1 | ||
| 371 | text: \h | ||
| 372 | quant: | ||
| 373 | - '*' | ||
| 374 | - !!perl/hash:RE_meta | ||
| 375 | text: $$ | ||
| 376 | - !!perl/hash:RE_block {} | ||
| 377 | - !!perl/hash:RE_sequence | ||
| 378 | alt: blockoid_1 1 | ||
| 379 | zyg: | ||
| 380 | - !!perl/hash:RE_quantified_atom | ||
| 381 | atom: !!perl/hash:RE_meta | ||
| 382 | min: 1 | ||
| 383 | text: \h | ||
| 384 | quant: | ||
| 385 | - '*' | ||
| 386 | - !!perl/hash:RE_assertion | ||
| 387 | assert: '?' | ||
| 388 | re: !!perl/hash:RE_method_re | ||
| 389 | name: before | ||
| 390 | nobind: 1 | ||
| 391 | re: !!perl/hash:RE_cclass | ||
| 392 | i: 0 | ||
| 393 | text: '[\\,:]' | ||
| 394 | - !!perl/hash:RE_sequence | ||
| 395 | alt: blockoid_1 2 | ||
| 396 | zyg: | ||
| 397 | - !!perl/hash:RE_quantified_atom | ||
| 398 | atom: !!perl/hash:RE_method | ||
| 399 | name: unv | ||
| 400 | rest: '' | ||
| 401 | quant: | ||
| 402 | - '?' | ||
| 403 | - !!perl/hash:RE_meta | ||
| 404 | text: $$ | ||
| 405 | - !!perl/hash:RE_block {} | ||
| 406 | - !!perl/hash:RE_sequence | ||
| 407 | alt: blockoid_1 3 | ||
| 408 | zyg: | ||
| 409 | - !!perl/hash:RE_block {} | ||
| 410 | - !!perl/hash:RE_quantified_atom | ||
| 411 | atom: !!perl/hash:RE_method | ||
| 412 | name: unsp | ||
| 413 | rest: '' | ||
| 414 | quant: | ||
| 415 | - '?' | ||
| 416 | - !!perl/hash:RE_block {} | ||
| 417 | blockoid_0: *4 | ||
| 418 | blockoid_1: *5 | ||
| 419 | capterm: !!perl/hash:RE_ast | ||
| 420 | dba: capterm | ||
| 421 | dic: STD::STD::P5 | ||
| 422 | re: !!perl/hash:RE_sequence | ||
| 423 | zyg: | ||
| 424 | - !!perl/hash:RE_string | ||
| 425 | i: 0 | ||
| 426 | text: \ | ||
| 427 | - !!perl/hash:RE_bracket | ||
| 428 | re: &6 !!perl/hash:RE_any | ||
| 429 | altname: capterm_0 | ||
| 430 | dba: capterm | ||
| 431 | dic: STD::STD::P5 | ||
| 432 | zyg: | ||
| 433 | - !!perl/hash:RE_sequence | ||
| 434 | alt: capterm_0 0 | ||
| 435 | zyg: | ||
| 436 | - !!perl/hash:RE_string | ||
| 437 | i: 0 | ||
| 438 | text: ( | ||
| 439 | - !!perl/hash:RE_quantified_atom | ||
| 440 | atom: !!perl/hash:RE_method | ||
| 441 | name: capture | ||
| 442 | rest: '' | ||
| 443 | quant: | ||
| 444 | - '?' | ||
| 445 | - !!perl/hash:RE_string | ||
| 446 | i: 0 | ||
| 447 | text: ) | ||
| 448 | - !!perl/hash:RE_sequence | ||
| 449 | alt: capterm_0 1 | ||
| 450 | zyg: | ||
| 451 | - !!perl/hash:RE_assertion | ||
| 452 | assert: '?' | ||
| 453 | re: !!perl/hash:RE_method_re | ||
| 454 | name: before | ||
| 455 | nobind: 1 | ||
| 456 | re: !!perl/hash:RE_meta | ||
| 457 | min: 1 | ||
| 458 | text: \S | ||
| 459 | - !!perl/hash:RE_method | ||
| 460 | name: termish | ||
| 461 | rest: '' | ||
| 462 | capterm_0: *6 | ||
| 463 | capture: !!perl/hash:RE_ast | ||
| 464 | dba: capture | ||
| 465 | dic: STD::STD::P5 | ||
| 466 | re: !!perl/hash:RE_sequence | ||
| 467 | zyg: | ||
| 468 | - !!perl/hash:RE_method | ||
| 469 | name: ws | ||
| 470 | rest: '' | ||
| 471 | - !!perl/hash:RE_method | ||
| 472 | name: EXPR | ||
| 473 | rest: '' | ||
| 474 | - !!perl/hash:RE_method | ||
| 475 | name: ws | ||
| 476 | rest: '' | ||
| 477 | category:*: | ||
| 478 | dic: STD::STD::P5 | ||
| 479 | category__S_000category: !!perl/hash:RE_ast | ||
| 480 | dba: category | ||
| 481 | dic: STD::STD::P5 | ||
| 482 | re: !!perl/hash:RE_method | ||
| 483 | i: 0 | ||
| 484 | name: sym | ||
| 485 | rest: '' | ||
| 486 | sym: category | ||
| 487 | category__S_001p5sigil: !!perl/hash:RE_ast | ||
| 488 | dba: category | ||
| 489 | dic: STD::STD::P5 | ||
| 490 | re: !!perl/hash:RE_method | ||
| 491 | i: 0 | ||
| 492 | name: sym | ||
| 493 | rest: '' | ||
| 494 | sym: p5sigil | ||
| 495 | category__S_002p5special_variable: !!perl/hash:RE_ast | ||
| 496 | dba: category | ||
| 497 | dic: STD::STD::P5 | ||
| 498 | re: !!perl/hash:RE_method | ||
| 499 | i: 0 | ||
| 500 | name: sym | ||
| 501 | rest: '' | ||
| 502 | sym: p5special_variable | ||
| 503 | category__S_003p5comment: !!perl/hash:RE_ast | ||
| 504 | dba: category | ||
| 505 | dic: STD::STD::P5 | ||
| 506 | re: !!perl/hash:RE_method | ||
| 507 | i: 0 | ||
| 508 | name: sym | ||
| 509 | rest: '' | ||
| 510 | sym: p5comment | ||
| 511 | category__S_004p5version: !!perl/hash:RE_ast | ||
| 512 | dba: category | ||
| 513 | dic: STD::STD::P5 | ||
| 514 | re: !!perl/hash:RE_method | ||
| 515 | i: 0 | ||
| 516 | name: sym | ||
| 517 | rest: '' | ||
| 518 | sym: p5version | ||
| 519 | category__S_005p5module_name: !!perl/hash:RE_ast | ||
| 520 | dba: category | ||
| 521 | dic: STD::STD::P5 | ||
| 522 | re: !!perl/hash:RE_method | ||
| 523 | i: 0 | ||
| 524 | name: sym | ||
| 525 | rest: '' | ||
| 526 | sym: p5module_name | ||
| 527 | category__S_006p5value: !!perl/hash:RE_ast | ||
| 528 | dba: category | ||
| 529 | dic: STD::STD::P5 | ||
| 530 | re: !!perl/hash:RE_method | ||
| 531 | i: 0 | ||
| 532 | name: sym | ||
| 533 | rest: '' | ||
| 534 | sym: p5value | ||
| 535 | category__S_007p5term: !!perl/hash:RE_ast | ||
| 536 | dba: category | ||
| 537 | dic: STD::STD::P5 | ||
| 538 | re: !!perl/hash:RE_method | ||
| 539 | i: 0 | ||
| 540 | name: sym | ||
| 541 | rest: '' | ||
| 542 | sym: p5term | ||
| 543 | category__S_008p5number: !!perl/hash:RE_ast | ||
| 544 | dba: category | ||
| 545 | dic: STD::STD::P5 | ||
| 546 | re: !!perl/hash:RE_method | ||
| 547 | i: 0 | ||
| 548 | name: sym | ||
| 549 | rest: '' | ||
| 550 | sym: p5number | ||
| 551 | category__S_009p5quote: !!perl/hash:RE_ast | ||
| 552 | dba: category | ||
| 553 | dic: STD::STD::P5 | ||
| 554 | re: !!perl/hash:RE_method | ||
| 555 | i: 0 | ||
| 556 | name: sym | ||
| 557 | rest: '' | ||
| 558 | sym: p5quote | ||
| 559 | category__S_010p5prefix: !!perl/hash:RE_ast | ||
| 560 | dba: category | ||
| 561 | dic: STD::STD::P5 | ||
| 562 | re: !!perl/hash:RE_method | ||
| 563 | i: 0 | ||
| 564 | name: sym | ||
| 565 | rest: '' | ||
| 566 | sym: p5prefix | ||
| 567 | category__S_011p5infix: !!perl/hash:RE_ast | ||
| 568 | dba: category | ||
| 569 | dic: STD::STD::P5 | ||
| 570 | re: !!perl/hash:RE_method | ||
| 571 | i: 0 | ||
| 572 | name: sym | ||
| 573 | rest: '' | ||
| 574 | sym: p5infix | ||
| 575 | category__S_012p5postfix: !!perl/hash:RE_ast | ||
| 576 | dba: category | ||
| 577 | dic: STD::STD::P5 | ||
| 578 | re: !!perl/hash:RE_method | ||
| 579 | i: 0 | ||
| 580 | name: sym | ||
| 581 | rest: '' | ||
| 582 | sym: p5postfix | ||
| 583 | category__S_013p5dotty: !!perl/hash:RE_ast | ||
| 584 | dba: category | ||
| 585 | dic: STD::STD::P5 | ||
| 586 | re: !!perl/hash:RE_method | ||
| 587 | i: 0 | ||
| 588 | name: sym | ||
| 589 | rest: '' | ||
| 590 | sym: p5dotty | ||
| 591 | category__S_014p5circumfix: !!perl/hash:RE_ast | ||
| 592 | dba: category | ||
| 593 | dic: STD::STD::P5 | ||
| 594 | re: !!perl/hash:RE_method | ||
| 595 | i: 0 | ||
| 596 | name: sym | ||
| 597 | rest: '' | ||
| 598 | sym: p5circumfix | ||
| 599 | category__S_015p5postcircumfix: !!perl/hash:RE_ast | ||
| 600 | dba: category | ||
| 601 | dic: STD::STD::P5 | ||
| 602 | re: !!perl/hash:RE_method | ||
| 603 | i: 0 | ||
| 604 | name: sym | ||
| 605 | rest: '' | ||
| 606 | sym: p5postcircumfix | ||
| 607 | category__S_016p5type_declarator: !!perl/hash:RE_ast | ||
| 608 | dba: category | ||
| 609 | dic: STD::STD::P5 | ||
| 610 | re: !!perl/hash:RE_method | ||
| 611 | i: 0 | ||
| 612 | name: sym | ||
| 613 | rest: '' | ||
| 614 | sym: p5type_declarator | ||
| 615 | category__S_017p5scope_declarator: !!perl/hash:RE_ast | ||
| 616 | dba: category | ||
| 617 | dic: STD::STD::P5 | ||
| 618 | re: !!perl/hash:RE_method | ||
| 619 | i: 0 | ||
| 620 | name: sym | ||
| 621 | rest: '' | ||
| 622 | sym: p5scope_declarator | ||
| 623 | category__S_018p5package_declarator: !!perl/hash:RE_ast | ||
| 624 | dba: category | ||
| 625 | dic: STD::STD::P5 | ||
| 626 | re: !!perl/hash:RE_method | ||
| 627 | i: 0 | ||
| 628 | name: sym | ||
| 629 | rest: '' | ||
| 630 | sym: p5package_declarator | ||
| 631 | category__S_019p5routine_declarator: !!perl/hash:RE_ast | ||
| 632 | dba: category | ||
| 633 | dic: STD::STD::P5 | ||
| 634 | re: !!perl/hash:RE_method | ||
| 635 | i: 0 | ||
| 636 | name: sym | ||
| 637 | rest: '' | ||
| 638 | sym: p5routine_declarator | ||
| 639 | category__S_020p5regex_declarator: !!perl/hash:RE_ast | ||
| 640 | dba: category | ||
| 641 | dic: STD::STD::P5 | ||
| 642 | re: !!perl/hash:RE_method | ||
| 643 | i: 0 | ||
| 644 | name: sym | ||
| 645 | rest: '' | ||
| 646 | sym: p5regex_declarator | ||
| 647 | category__S_021p5statement_prefix: !!perl/hash:RE_ast | ||
| 648 | dba: category | ||
| 649 | dic: STD::STD::P5 | ||
| 650 | re: !!perl/hash:RE_method | ||
| 651 | i: 0 | ||
| 652 | name: sym | ||
| 653 | rest: '' | ||
| 654 | sym: p5statement_prefix | ||
| 655 | category__S_022p5statement_control: !!perl/hash:RE_ast | ||
| 656 | dba: category | ||
| 657 | dic: STD::STD::P5 | ||
| 658 | re: !!perl/hash:RE_method | ||
| 659 | i: 0 | ||
| 660 | name: sym | ||
| 661 | rest: '' | ||
| 662 | sym: p5statement_control | ||
| 663 | category__S_023p5statement_mod_cond: !!perl/hash:RE_ast | ||
| 664 | dba: category | ||
| 665 | dic: STD::STD::P5 | ||
| 666 | re: !!perl/hash:RE_method | ||
| 667 | i: 0 | ||
| 668 | name: sym | ||
| 669 | rest: '' | ||
| 670 | sym: p5statement_mod_cond | ||
| 671 | category__S_024p5statement_mod_loop: !!perl/hash:RE_ast | ||
| 672 | dba: category | ||
| 673 | dic: STD::STD::P5 | ||
| 674 | re: !!perl/hash:RE_method | ||
| 675 | i: 0 | ||
| 676 | name: sym | ||
| 677 | rest: '' | ||
| 678 | sym: p5statement_mod_loop | ||
| 679 | category__S_025p5terminator: !!perl/hash:RE_ast | ||
| 680 | dba: category | ||
| 681 | dic: STD::STD::P5 | ||
| 682 | re: !!perl/hash:RE_method | ||
| 683 | i: 0 | ||
| 684 | name: sym | ||
| 685 | rest: '' | ||
| 686 | sym: p5terminator | ||
| 687 | charname: !!perl/hash:RE_ast | ||
| 688 | dba: charname | ||
| 689 | dic: STD::STD::P5 | ||
| 690 | re: !!perl/hash:RE_first | ||
| 691 | zyg: | ||
| 692 | - !!perl/hash:RE_bracket | ||
| 693 | re: &7 !!perl/hash:RE_any | ||
| 694 | altname: charname_0 | ||
| 695 | dba: charname | ||
| 696 | dic: STD::STD::P5 | ||
| 697 | zyg: | ||
| 698 | - !!perl/hash:RE_method | ||
| 699 | alt: charname_0 0 | ||
| 700 | name: radint | ||
| 701 | rest: '' | ||
| 702 | - !!perl/hash:RE_sequence | ||
| 703 | alt: charname_0 1 | ||
| 704 | zyg: | ||
| 705 | - !!perl/hash:RE_cclass | ||
| 706 | i: 0 | ||
| 707 | text: '[a..z A..Z]' | ||
| 708 | - !!perl/hash:RE_quantified_atom | ||
| 709 | atom: !!perl/hash:RE_cclass | ||
| 710 | i: 0 | ||
| 711 | text: -[ \] , \# ] | ||
| 712 | quant: | ||
| 713 | - '*' | ||
| 714 | - !!perl/hash:RE_cclass | ||
| 715 | i: 0 | ||
| 716 | text: '[a..z A..Z ) ]' | ||
| 717 | - !!perl/hash:RE_assertion | ||
| 718 | assert: '?' | ||
| 719 | re: !!perl/hash:RE_method_re | ||
| 720 | name: before | ||
| 721 | nobind: 1 | ||
| 722 | re: !!perl/hash:RE_sequence | ||
| 723 | zyg: | ||
| 724 | - !!perl/hash:RE_quantified_atom | ||
| 725 | atom: !!perl/hash:RE_meta | ||
| 726 | min: 1 | ||
| 727 | text: \s | ||
| 728 | quant: | ||
| 729 | - '*' | ||
| 730 | - !!perl/hash:RE_cclass | ||
| 731 | i: 0 | ||
| 732 | text: '[ \] , \# ]' | ||
| 733 | - !!perl/hash:RE_method | ||
| 734 | name: panic | ||
| 735 | rest: 1 | ||
| 736 | charname_0: *7 | ||
| 737 | charnames: !!perl/hash:RE_ast | ||
| 738 | dba: charnames | ||
| 739 | dic: STD::STD::P5 | ||
| 740 | re: !!perl/hash:RE_quantified_atom | ||
| 741 | atom: !!perl/hash:RE_bracket | ||
| 742 | re: !!perl/hash:RE_sequence | ||
| 743 | zyg: | ||
| 744 | - !!perl/hash:RE_method | ||
| 745 | name: ws | ||
| 746 | rest: '' | ||
| 747 | - !!perl/hash:RE_method | ||
| 748 | name: charname | ||
| 749 | rest: '' | ||
| 750 | - !!perl/hash:RE_method | ||
| 751 | name: ws | ||
| 752 | rest: '' | ||
| 753 | quant: | ||
| 754 | - '**' | ||
| 755 | - ':' | ||
| 756 | - !!perl/hash:RE_string | ||
| 757 | a: 0 | ||
| 758 | dba: charnames | ||
| 759 | dic: STD::STD::P5 | ||
| 760 | i: 0 | ||
| 761 | i_needed: 1 | ||
| 762 | r: 1 | ||
| 763 | s: 0 | ||
| 764 | text: ',' | ||
| 765 | charspec: !!perl/hash:RE_ast | ||
| 766 | dba: charspec | ||
| 767 | dic: STD::STD::P5 | ||
| 768 | re: !!perl/hash:RE_bracket | ||
| 769 | re: &8 !!perl/hash:RE_any | ||
| 770 | altname: charspec_0 | ||
| 771 | dba: character name | ||
| 772 | dic: STD::STD::P5 | ||
| 773 | zyg: | ||
| 774 | - !!perl/hash:RE_bracket | ||
| 775 | alt: charspec_0 0 | ||
| 776 | re: !!perl/hash:RE_sequence | ||
| 777 | zyg: | ||
| 778 | - !!perl/hash:RE_string | ||
| 779 | i: 0 | ||
| 780 | text: '[' | ||
| 781 | - !!perl/hash:RE_block {} | ||
| 782 | - !!perl/hash:RE_method | ||
| 783 | name: charnames | ||
| 784 | rest: '' | ||
| 785 | - !!perl/hash:RE_bracket | ||
| 786 | re: !!perl/hash:RE_first | ||
| 787 | zyg: | ||
| 788 | - !!perl/hash:RE_string | ||
| 789 | i: 0 | ||
| 790 | text: ']' | ||
| 791 | - !!perl/hash:RE_method | ||
| 792 | name: FAILGOAL | ||
| 793 | rest: 1 | ||
| 794 | - !!perl/hash:RE_quantified_atom | ||
| 795 | alt: charspec_0 1 | ||
| 796 | atom: !!perl/hash:RE_meta | ||
| 797 | min: 1 | ||
| 798 | text: \d | ||
| 799 | quant: | ||
| 800 | - + | ||
| 801 | - !!perl/hash:RE_cclass | ||
| 802 | alt: charspec_0 2 | ||
| 803 | i: 0 | ||
| 804 | text: '[ ?..Z \\.._ ]' | ||
| 805 | - !!perl/hash:RE_sequence | ||
| 806 | alt: charspec_0 3 | ||
| 807 | zyg: | ||
| 808 | - !!perl/hash:RE_assertion | ||
| 809 | assert: '?' | ||
| 810 | re: !!perl/hash:RE_noop | ||
| 811 | nobind: 1 | ||
| 812 | - !!perl/hash:RE_method | ||
| 813 | name: panic | ||
| 814 | rest: 1 | ||
| 815 | charspec_0: *8 | ||
| 816 | comp_unit: !!perl/hash:RE_ast | ||
| 817 | dba: comp_unit | ||
| 818 | dic: STD::STD::P5 | ||
| 819 | re: !!perl/hash:RE_sequence | ||
| 820 | zyg: | ||
| 821 | - !!perl/hash:RE_method | ||
| 822 | name: ws | ||
| 823 | rest: '' | ||
| 824 | - !!perl/hash:RE_block {} | ||
| 825 | - !!perl/hash:RE_method | ||
| 826 | name: statementlist | ||
| 827 | rest: '' | ||
| 828 | - !!perl/hash:RE_method | ||
| 829 | name: ws | ||
| 830 | rest: '' | ||
| 831 | - !!perl/hash:RE_bracket | ||
| 832 | re: !!perl/hash:RE_first | ||
| 833 | zyg: | ||
| 834 | - !!perl/hash:RE_assertion | ||
| 835 | assert: '?' | ||
| 836 | re: !!perl/hash:RE_method | ||
| 837 | name: unitstopper | ||
| 838 | rest: '' | ||
| 839 | - !!perl/hash:RE_sequence | ||
| 840 | zyg: | ||
| 841 | - !!perl/hash:RE_method | ||
| 842 | name: panic | ||
| 843 | rest: 1 | ||
| 844 | - !!perl/hash:RE_method | ||
| 845 | name: ws | ||
| 846 | rest: '' | ||
| 847 | - !!perl/hash:RE_block {} | ||
| 848 | dec_number: !!perl/hash:RE_ast | ||
| 849 | dba: decimal number | ||
| 850 | dic: STD::STD::P5 | ||
| 851 | re: !!perl/hash:RE_sequence | ||
| 852 | zyg: | ||
| 853 | - !!perl/hash:RE_bracket | ||
| 854 | re: &9 !!perl/hash:RE_any | ||
| 855 | altname: dec_number_0 | ||
| 856 | dba: decimal number | ||
| 857 | dic: STD::STD::P5 | ||
| 858 | zyg: | ||
| 859 | - !!perl/hash:RE_sequence | ||
| 860 | alt: dec_number_0 0 | ||
| 861 | zyg: | ||
| 862 | - !!perl/hash:RE_bindnamed | ||
| 863 | atom: !!perl/hash:RE_bracket | ||
| 864 | re: !!perl/hash:RE_sequence | ||
| 865 | zyg: | ||
| 866 | - !!perl/hash:RE_string | ||
| 867 | i: 0 | ||
| 868 | text: . | ||
| 869 | - !!perl/hash:RE_quantified_atom | ||
| 870 | atom: !!perl/hash:RE_meta | ||
| 871 | min: 1 | ||
| 872 | text: \d | ||
| 873 | quant: | ||
| 874 | - + | ||
| 875 | - !!perl/hash:RE_quantified_atom | ||
| 876 | atom: !!perl/hash:RE_bracket | ||
| 877 | re: !!perl/hash:RE_sequence | ||
| 878 | zyg: | ||
| 879 | - !!perl/hash:RE_string | ||
| 880 | i: 0 | ||
| 881 | text: _ | ||
| 882 | - !!perl/hash:RE_quantified_atom | ||
| 883 | atom: !!perl/hash:RE_meta | ||
| 884 | min: 1 | ||
| 885 | text: \d | ||
| 886 | quant: | ||
| 887 | - + | ||
| 888 | quant: | ||
| 889 | - '*' | ||
| 890 | - !!perl/hash:RE_quantified_atom | ||
| 891 | atom: !!perl/hash:RE_method | ||
| 892 | name: escale | ||
| 893 | rest: '' | ||
| 894 | quant: | ||
| 895 | - '?' | ||
| 896 | - !!perl/hash:RE_sequence | ||
| 897 | alt: dec_number_0 1 | ||
| 898 | zyg: | ||
| 899 | - !!perl/hash:RE_bindnamed | ||
| 900 | atom: !!perl/hash:RE_bracket | ||
| 901 | re: !!perl/hash:RE_sequence | ||
| 902 | zyg: | ||
| 903 | - !!perl/hash:RE_quantified_atom | ||
| 904 | atom: !!perl/hash:RE_meta | ||
| 905 | min: 1 | ||
| 906 | text: \d | ||
| 907 | quant: | ||
| 908 | - + | ||
| 909 | - !!perl/hash:RE_quantified_atom | ||
| 910 | atom: !!perl/hash:RE_bracket | ||
| 911 | re: !!perl/hash:RE_sequence | ||
| 912 | zyg: | ||
| 913 | - !!perl/hash:RE_string | ||
| 914 | i: 0 | ||
| 915 | text: _ | ||
| 916 | - !!perl/hash:RE_quantified_atom | ||
| 917 | atom: !!perl/hash:RE_meta | ||
| 918 | min: 1 | ||
| 919 | text: \d | ||
| 920 | quant: | ||
| 921 | - + | ||
| 922 | quant: | ||
| 923 | - '*' | ||
| 924 | - !!perl/hash:RE_string | ||
| 925 | i: 0 | ||
| 926 | text: . | ||
| 927 | - !!perl/hash:RE_quantified_atom | ||
| 928 | atom: !!perl/hash:RE_meta | ||
| 929 | min: 1 | ||
| 930 | text: \d | ||
| 931 | quant: | ||
| 932 | - + | ||
| 933 | - !!perl/hash:RE_quantified_atom | ||
| 934 | atom: !!perl/hash:RE_bracket | ||
| 935 | re: !!perl/hash:RE_sequence | ||
| 936 | zyg: | ||
| 937 | - !!perl/hash:RE_string | ||
| 938 | i: 0 | ||
| 939 | text: _ | ||
| 940 | - !!perl/hash:RE_quantified_atom | ||
| 941 | atom: !!perl/hash:RE_meta | ||
| 942 | min: 1 | ||
| 943 | text: \d | ||
| 944 | quant: | ||
| 945 | - + | ||
| 946 | quant: | ||
| 947 | - '*' | ||
| 948 | - !!perl/hash:RE_quantified_atom | ||
| 949 | atom: !!perl/hash:RE_method | ||
| 950 | name: escale | ||
| 951 | rest: '' | ||
| 952 | quant: | ||
| 953 | - '?' | ||
| 954 | - !!perl/hash:RE_sequence | ||
| 955 | alt: dec_number_0 2 | ||
| 956 | zyg: | ||
| 957 | - !!perl/hash:RE_bindnamed | ||
| 958 | atom: !!perl/hash:RE_bracket | ||
| 959 | re: !!perl/hash:RE_sequence | ||
| 960 | zyg: | ||
| 961 | - !!perl/hash:RE_quantified_atom | ||
| 962 | atom: !!perl/hash:RE_meta | ||
| 963 | min: 1 | ||
| 964 | text: \d | ||
| 965 | quant: | ||
| 966 | - + | ||
| 967 | - !!perl/hash:RE_quantified_atom | ||
| 968 | atom: !!perl/hash:RE_bracket | ||
| 969 | re: !!perl/hash:RE_sequence | ||
| 970 | zyg: | ||
| 971 | - !!perl/hash:RE_string | ||
| 972 | i: 0 | ||
| 973 | text: _ | ||
| 974 | - !!perl/hash:RE_quantified_atom | ||
| 975 | atom: !!perl/hash:RE_meta | ||
| 976 | min: 1 | ||
| 977 | text: \d | ||
| 978 | quant: | ||
| 979 | - + | ||
| 980 | quant: | ||
| 981 | - '*' | ||
| 982 | - !!perl/hash:RE_method | ||
| 983 | name: escale | ||
| 984 | rest: '' | ||
| 985 | - !!perl/hash:RE_assertion | ||
| 986 | assert: '!' | ||
| 987 | re: !!perl/hash:RE_assertion | ||
| 988 | assert: '!' | ||
| 989 | nobind: 1 | ||
| 990 | re: !!perl/hash:RE_method_re | ||
| 991 | name: before | ||
| 992 | nobind: 1 | ||
| 993 | re: !!perl/hash:RE_quantified_atom | ||
| 994 | atom: !!perl/hash:RE_bracket | ||
| 995 | re: !!perl/hash:RE_sequence | ||
| 996 | zyg: | ||
| 997 | - !!perl/hash:RE_string | ||
| 998 | i: 0 | ||
| 999 | text: . | ||
| 1000 | - !!perl/hash:RE_assertion | ||
| 1001 | assert: '?' | ||
| 1002 | re: !!perl/hash:RE_method_re | ||
| 1003 | name: before | ||
| 1004 | nobind: 1 | ||
| 1005 | re: !!perl/hash:RE_meta | ||
| 1006 | min: 1 | ||
| 1007 | text: \d | ||
| 1008 | - !!perl/hash:RE_method | ||
| 1009 | name: panic | ||
| 1010 | rest: 1 | ||
| 1011 | quant: | ||
| 1012 | - '?' | ||
| 1013 | dec_number_0: *9 | ||
| 1014 | declarator: !!perl/hash:RE_ast | ||
| 1015 | dba: declarator | ||
| 1016 | dic: STD::STD::P5 | ||
| 1017 | re: !!perl/hash:RE_bracket | ||
| 1018 | re: &10 !!perl/hash:RE_any | ||
| 1019 | altname: declarator_0 | ||
| 1020 | dba: declarator | ||
| 1021 | dic: STD::STD::P5 | ||
| 1022 | zyg: | ||
| 1023 | - !!perl/hash:RE_method | ||
| 1024 | alt: declarator_0 0 | ||
| 1025 | name: constant_declarator | ||
| 1026 | rest: '' | ||
| 1027 | - !!perl/hash:RE_method | ||
| 1028 | alt: declarator_0 1 | ||
| 1029 | name: variable_declarator | ||
| 1030 | rest: '' | ||
| 1031 | - !!perl/hash:RE_sequence | ||
| 1032 | alt: declarator_0 2 | ||
| 1033 | zyg: | ||
| 1034 | - !!perl/hash:RE_bracket | ||
| 1035 | re: !!perl/hash:RE_sequence | ||
| 1036 | zyg: | ||
| 1037 | - !!perl/hash:RE_string | ||
| 1038 | i: 0 | ||
| 1039 | text: ( | ||
| 1040 | - !!perl/hash:RE_block {} | ||
| 1041 | - !!perl/hash:RE_method | ||
| 1042 | name: signature | ||
| 1043 | rest: '' | ||
| 1044 | - !!perl/hash:RE_bracket | ||
| 1045 | re: !!perl/hash:RE_first | ||
| 1046 | zyg: | ||
| 1047 | - !!perl/hash:RE_string | ||
| 1048 | i: 0 | ||
| 1049 | text: ) | ||
| 1050 | - !!perl/hash:RE_method | ||
| 1051 | name: FAILGOAL | ||
| 1052 | rest: 1 | ||
| 1053 | - !!perl/hash:RE_quantified_atom | ||
| 1054 | atom: !!perl/hash:RE_method | ||
| 1055 | name: trait | ||
| 1056 | rest: '' | ||
| 1057 | quant: | ||
| 1058 | - '*' | ||
| 1059 | - !!perl/hash:RE_bindnamed | ||
| 1060 | alt: declarator_0 3 | ||
| 1061 | atom: !!perl/hash:RE_method | ||
| 1062 | name: p5routine_declarator | ||
| 1063 | rest: '' | ||
| 1064 | - !!perl/hash:RE_bindnamed | ||
| 1065 | alt: declarator_0 4 | ||
| 1066 | atom: !!perl/hash:RE_method | ||
| 1067 | name: p5regex_declarator | ||
| 1068 | rest: '' | ||
| 1069 | - !!perl/hash:RE_bindnamed | ||
| 1070 | alt: declarator_0 5 | ||
| 1071 | atom: !!perl/hash:RE_method | ||
| 1072 | name: p5type_declarator | ||
| 1073 | rest: '' | ||
| 1074 | declarator_0: *10 | ||
| 1075 | def_module_name: !!perl/hash:RE_ast | ||
| 1076 | dba: def_module_name | ||
| 1077 | dic: STD::STD::P5 | ||
| 1078 | re: !!perl/hash:RE_sequence | ||
| 1079 | zyg: | ||
| 1080 | - !!perl/hash:RE_method | ||
| 1081 | name: longname | ||
| 1082 | rest: '' | ||
| 1083 | - !!perl/hash:RE_quantified_atom | ||
| 1084 | atom: !!perl/hash:RE_bracket | ||
| 1085 | re: !!perl/hash:RE_sequence | ||
| 1086 | zyg: | ||
| 1087 | - !!perl/hash:RE_assertion | ||
| 1088 | assert: '?' | ||
| 1089 | re: !!perl/hash:RE_method_re | ||
| 1090 | name: before | ||
| 1091 | nobind: 1 | ||
| 1092 | re: !!perl/hash:RE_string | ||
| 1093 | i: 0 | ||
| 1094 | text: '[' | ||
| 1095 | - !!perl/hash:RE_assertion | ||
| 1096 | assert: '?' | ||
| 1097 | re: !!perl/hash:RE_block | ||
| 1098 | nobind: 1 | ||
| 1099 | - !!perl/hash:RE_method | ||
| 1100 | name: newlex | ||
| 1101 | rest: '' | ||
| 1102 | - !!perl/hash:RE_bracket | ||
| 1103 | re: !!perl/hash:RE_sequence | ||
| 1104 | zyg: | ||
| 1105 | - !!perl/hash:RE_string | ||
| 1106 | i: 0 | ||
| 1107 | text: '[' | ||
| 1108 | - !!perl/hash:RE_block {} | ||
| 1109 | - !!perl/hash:RE_method | ||
| 1110 | name: signature | ||
| 1111 | rest: '' | ||
| 1112 | - !!perl/hash:RE_bracket | ||
| 1113 | re: !!perl/hash:RE_first | ||
| 1114 | zyg: | ||
| 1115 | - !!perl/hash:RE_string | ||
| 1116 | i: 0 | ||
| 1117 | text: ']' | ||
| 1118 | - !!perl/hash:RE_method | ||
| 1119 | name: FAILGOAL | ||
| 1120 | rest: 1 | ||
| 1121 | - !!perl/hash:RE_block {} | ||
| 1122 | - !!perl/hash:RE_method | ||
| 1123 | name: finishlex | ||
| 1124 | rest: '' | ||
| 1125 | quant: | ||
| 1126 | - '?' | ||
| 1127 | deflongname: !!perl/hash:RE_ast | ||
| 1128 | dba: new name to be defined | ||
| 1129 | dic: STD::STD::P5 | ||
| 1130 | re: !!perl/hash:RE_sequence | ||
| 1131 | zyg: | ||
| 1132 | - !!perl/hash:RE_method | ||
| 1133 | name: name | ||
| 1134 | rest: '' | ||
| 1135 | - !!perl/hash:RE_bracket | ||
| 1136 | re: &11 !!perl/hash:RE_any | ||
| 1137 | altname: deflongname_0 | ||
| 1138 | dba: new name to be defined | ||
| 1139 | dic: STD::STD::P5 | ||
| 1140 | zyg: | ||
| 1141 | - !!perl/hash:RE_sequence | ||
| 1142 | alt: deflongname_0 0 | ||
| 1143 | zyg: | ||
| 1144 | - !!perl/hash:RE_quantified_atom | ||
| 1145 | atom: !!perl/hash:RE_method | ||
| 1146 | name: colonpair | ||
| 1147 | rest: '' | ||
| 1148 | quant: | ||
| 1149 | - + | ||
| 1150 | - !!perl/hash:RE_block {} | ||
| 1151 | - !!perl/hash:RE_block | ||
| 1152 | alt: deflongname_0 1 | ||
| 1153 | deflongname_0: *11 | ||
| 1154 | desigilname: !!perl/hash:RE_ast | ||
| 1155 | dba: desigilname | ||
| 1156 | dic: STD::STD::P5 | ||
| 1157 | re: !!perl/hash:RE_bracket | ||
| 1158 | re: &12 !!perl/hash:RE_any | ||
| 1159 | altname: desigilname_0 | ||
| 1160 | dba: desigilname | ||
| 1161 | dic: STD::STD::P5 | ||
| 1162 | zyg: | ||
| 1163 | - !!perl/hash:RE_sequence | ||
| 1164 | alt: desigilname_0 0 | ||
| 1165 | zyg: | ||
| 1166 | - !!perl/hash:RE_assertion | ||
| 1167 | assert: '?' | ||
| 1168 | re: !!perl/hash:RE_method_re | ||
| 1169 | name: before | ||
| 1170 | nobind: 1 | ||
| 1171 | re: !!perl/hash:RE_string | ||
| 1172 | i: 0 | ||
| 1173 | text: $ | ||
| 1174 | - !!perl/hash:RE_method | ||
| 1175 | name: variable | ||
| 1176 | rest: '' | ||
| 1177 | - !!perl/hash:RE_block {} | ||
| 1178 | - !!perl/hash:RE_method | ||
| 1179 | alt: desigilname_0 1 | ||
| 1180 | name: longname | ||
| 1181 | rest: '' | ||
| 1182 | desigilname_0: *12 | ||
| 1183 | dottyop: !!perl/hash:RE_ast | ||
| 1184 | dba: dotty method or postfix | ||
| 1185 | dic: STD::STD::P5 | ||
| 1186 | re: !!perl/hash:RE_bracket | ||
| 1187 | re: &13 !!perl/hash:RE_any | ||
| 1188 | altname: dottyop_0 | ||
| 1189 | dba: dotty method or postfix | ||
| 1190 | dic: STD::STD::P5 | ||
| 1191 | zyg: | ||
| 1192 | - !!perl/hash:RE_method | ||
| 1193 | alt: dottyop_0 0 | ||
| 1194 | name: methodop | ||
| 1195 | rest: '' | ||
| 1196 | - !!perl/hash:RE_sequence | ||
| 1197 | alt: dottyop_0 1 | ||
| 1198 | zyg: | ||
| 1199 | - !!perl/hash:RE_assertion | ||
| 1200 | assert: '!' | ||
| 1201 | re: !!perl/hash:RE_method | ||
| 1202 | name: alpha | ||
| 1203 | rest: '' | ||
| 1204 | - !!perl/hash:RE_bindnamed | ||
| 1205 | atom: !!perl/hash:RE_method | ||
| 1206 | name: p5postcircumfix | ||
| 1207 | rest: '' | ||
| 1208 | - !!perl/hash:RE_block {} | ||
| 1209 | dottyop_0: *13 | ||
| 1210 | dottyopish: !!perl/hash:RE_ast | ||
| 1211 | dba: dottyopish | ||
| 1212 | dic: STD::STD::P5 | ||
| 1213 | re: !!perl/hash:RE_bindnamed | ||
| 1214 | atom: !!perl/hash:RE_method | ||
| 1215 | name: dottyop | ||
| 1216 | rest: '' | ||
| 1217 | eat_terminator: !!perl/hash:RE_ast | ||
| 1218 | dba: eat_terminator | ||
| 1219 | dic: STD::STD::P5 | ||
| 1220 | re: !!perl/hash:RE_bracket | ||
| 1221 | re: !!perl/hash:RE_first | ||
| 1222 | zyg: | ||
| 1223 | - !!perl/hash:RE_sequence | ||
| 1224 | zyg: | ||
| 1225 | - !!perl/hash:RE_string | ||
| 1226 | i: 0 | ||
| 1227 | text: ; | ||
| 1228 | - !!perl/hash:RE_quantified_atom | ||
| 1229 | atom: !!perl/hash:RE_bracket | ||
| 1230 | re: !!perl/hash:RE_sequence | ||
| 1231 | zyg: | ||
| 1232 | - !!perl/hash:RE_assertion | ||
| 1233 | assert: '?' | ||
| 1234 | re: !!perl/hash:RE_method_re | ||
| 1235 | name: before | ||
| 1236 | nobind: 1 | ||
| 1237 | re: !!perl/hash:RE_meta | ||
| 1238 | text: $ | ||
| 1239 | - !!perl/hash:RE_block {} | ||
| 1240 | quant: | ||
| 1241 | - '?' | ||
| 1242 | - !!perl/hash:RE_sequence | ||
| 1243 | zyg: | ||
| 1244 | - !!perl/hash:RE_assertion | ||
| 1245 | assert: '?' | ||
| 1246 | re: !!perl/hash:RE_block | ||
| 1247 | nobind: 1 | ||
| 1248 | - !!perl/hash:RE_method | ||
| 1249 | name: ws | ||
| 1250 | rest: '' | ||
| 1251 | - !!perl/hash:RE_assertion | ||
| 1252 | assert: '?' | ||
| 1253 | re: !!perl/hash:RE_method | ||
| 1254 | name: terminator | ||
| 1255 | rest: '' | ||
| 1256 | - !!perl/hash:RE_meta | ||
| 1257 | text: $ | ||
| 1258 | - !!perl/hash:RE_sequence | ||
| 1259 | zyg: | ||
| 1260 | - !!perl/hash:RE_block {} | ||
| 1261 | - !!perl/hash:RE_method | ||
| 1262 | name: panic | ||
| 1263 | rest: 1 | ||
| 1264 | endid: !!perl/hash:RE_ast | ||
| 1265 | dba: endid | ||
| 1266 | dic: STD::STD::P5 | ||
| 1267 | re: !!perl/hash:RE_assertion | ||
| 1268 | assert: '?' | ||
| 1269 | re: !!perl/hash:RE_method_re | ||
| 1270 | name: before | ||
| 1271 | nobind: 1 | ||
| 1272 | re: !!perl/hash:RE_cclass | ||
| 1273 | i: 0 | ||
| 1274 | text: -[ \- \' \w ] | ||
| 1275 | escale: !!perl/hash:RE_ast | ||
| 1276 | dba: escale | ||
| 1277 | dic: STD::STD::P5 | ||
| 1278 | re: !!perl/hash:RE_sequence | ||
| 1279 | zyg: | ||
| 1280 | - !!perl/hash:RE_cclass | ||
| 1281 | i: 0 | ||
| 1282 | text: '[Ee]' | ||
| 1283 | - !!perl/hash:RE_quantified_atom | ||
| 1284 | atom: !!perl/hash:RE_cclass | ||
| 1285 | i: 0 | ||
| 1286 | text: '[+\-]' | ||
| 1287 | quant: | ||
| 1288 | - '?' | ||
| 1289 | - !!perl/hash:RE_quantified_atom | ||
| 1290 | atom: !!perl/hash:RE_meta | ||
| 1291 | min: 1 | ||
| 1292 | text: \d | ||
| 1293 | quant: | ||
| 1294 | - + | ||
| 1295 | - !!perl/hash:RE_quantified_atom | ||
| 1296 | atom: !!perl/hash:RE_bracket | ||
| 1297 | re: !!perl/hash:RE_sequence | ||
| 1298 | zyg: | ||
| 1299 | - !!perl/hash:RE_string | ||
| 1300 | i: 0 | ||
| 1301 | text: _ | ||
| 1302 | - !!perl/hash:RE_quantified_atom | ||
| 1303 | atom: !!perl/hash:RE_meta | ||
| 1304 | min: 1 | ||
| 1305 | text: \d | ||
| 1306 | quant: | ||
| 1307 | - + | ||
| 1308 | quant: | ||
| 1309 | - '*' | ||
| 1310 | escape:*: | ||
| 1311 | dic: STD::STD::P5 | ||
| 1312 | escape__S_117none: !!perl/hash:RE_ast | ||
| 1313 | dba: escape | ||
| 1314 | dic: STD::STD::P5 | ||
| 1315 | re: !!perl/hash:RE_assertion | ||
| 1316 | assert: '!' | ||
| 1317 | re: !!perl/hash:RE_noop | ||
| 1318 | nobind: 1 | ||
| 1319 | fatarrow: !!perl/hash:RE_ast | ||
| 1320 | dba: fatarrow | ||
| 1321 | dic: STD::STD::P5 | ||
| 1322 | re: !!perl/hash:RE_sequence | ||
| 1323 | zyg: | ||
| 1324 | - !!perl/hash:RE_bindnamed | ||
| 1325 | atom: !!perl/hash:RE_method | ||
| 1326 | name: identifier | ||
| 1327 | rest: '' | ||
| 1328 | - !!perl/hash:RE_quantified_atom | ||
| 1329 | atom: !!perl/hash:RE_meta | ||
| 1330 | min: 1 | ||
| 1331 | text: \h | ||
| 1332 | quant: | ||
| 1333 | - '*' | ||
| 1334 | - !!perl/hash:RE_string | ||
| 1335 | i: 0 | ||
| 1336 | text: => | ||
| 1337 | - !!perl/hash:RE_method | ||
| 1338 | name: ws | ||
| 1339 | rest: '' | ||
| 1340 | - !!perl/hash:RE_bindnamed | ||
| 1341 | atom: !!perl/hash:RE_method | ||
| 1342 | name: EXPR | ||
| 1343 | rest: 1 | ||
| 1344 | hexint: !!perl/hash:RE_ast | ||
| 1345 | dba: hexint | ||
| 1346 | dic: STD::STD::P5 | ||
| 1347 | re: !!perl/hash:RE_sequence | ||
| 1348 | zyg: | ||
| 1349 | - !!perl/hash:RE_quantified_atom | ||
| 1350 | atom: !!perl/hash:RE_cclass | ||
| 1351 | i: 0 | ||
| 1352 | text: '[ 0..9 a..f A..F ]' | ||
| 1353 | quant: | ||
| 1354 | - + | ||
| 1355 | - !!perl/hash:RE_quantified_atom | ||
| 1356 | atom: !!perl/hash:RE_bracket | ||
| 1357 | re: !!perl/hash:RE_sequence | ||
| 1358 | zyg: | ||
| 1359 | - !!perl/hash:RE_string | ||
| 1360 | i: 0 | ||
| 1361 | text: _ | ||
| 1362 | - !!perl/hash:RE_quantified_atom | ||
| 1363 | atom: !!perl/hash:RE_cclass | ||
| 1364 | i: 0 | ||
| 1365 | text: '[ 0..9 a..f A..F ]' | ||
| 1366 | quant: | ||
| 1367 | - + | ||
| 1368 | quant: | ||
| 1369 | - '*' | ||
| 1370 | hexints: !!perl/hash:RE_ast | ||
| 1371 | dba: hexints | ||
| 1372 | dic: STD::STD::P5 | ||
| 1373 | re: !!perl/hash:RE_quantified_atom | ||
| 1374 | atom: !!perl/hash:RE_bracket | ||
| 1375 | re: !!perl/hash:RE_sequence | ||
| 1376 | zyg: | ||
| 1377 | - !!perl/hash:RE_method | ||
| 1378 | name: ws | ||
| 1379 | rest: '' | ||
| 1380 | - !!perl/hash:RE_method | ||
| 1381 | name: hexint | ||
| 1382 | rest: '' | ||
| 1383 | - !!perl/hash:RE_method | ||
| 1384 | name: ws | ||
| 1385 | rest: '' | ||
| 1386 | quant: | ||
| 1387 | - '**' | ||
| 1388 | - ':' | ||
| 1389 | - !!perl/hash:RE_string | ||
| 1390 | a: 0 | ||
| 1391 | dba: hexints | ||
| 1392 | dic: STD::STD::P5 | ||
| 1393 | i: 0 | ||
| 1394 | i_needed: 1 | ||
| 1395 | r: 1 | ||
| 1396 | s: 0 | ||
| 1397 | text: ',' | ||
| 1398 | ident: !!perl/hash:RE_ast | ||
| 1399 | dba: ident | ||
| 1400 | dic: STD::STD::P5 | ||
| 1401 | re: !!perl/hash:RE_sequence | ||
| 1402 | zyg: | ||
| 1403 | - !!perl/hash:RE_method | ||
| 1404 | name: alpha | ||
| 1405 | rest: '' | ||
| 1406 | - !!perl/hash:RE_quantified_atom | ||
| 1407 | atom: !!perl/hash:RE_meta | ||
| 1408 | min: 1 | ||
| 1409 | text: \w | ||
| 1410 | quant: | ||
| 1411 | - '*' | ||
| 1412 | identifier: !!perl/hash:RE_ast | ||
| 1413 | dba: identifier | ||
| 1414 | dic: STD::STD::P5 | ||
| 1415 | re: !!perl/hash:RE_sequence | ||
| 1416 | zyg: | ||
| 1417 | - !!perl/hash:RE_method | ||
| 1418 | name: alpha | ||
| 1419 | rest: '' | ||
| 1420 | - !!perl/hash:RE_quantified_atom | ||
| 1421 | atom: !!perl/hash:RE_meta | ||
| 1422 | min: 1 | ||
| 1423 | text: \w | ||
| 1424 | quant: | ||
| 1425 | - '*' | ||
| 1426 | infixish: !!perl/hash:RE_ast | ||
| 1427 | dba: infix or meta-infix | ||
| 1428 | dic: STD::STD::P5 | ||
| 1429 | re: !!perl/hash:RE_sequence | ||
| 1430 | zyg: | ||
| 1431 | - !!perl/hash:RE_assertion | ||
| 1432 | assert: '!' | ||
| 1433 | re: !!perl/hash:RE_method | ||
| 1434 | name: stdstopper | ||
| 1435 | rest: '' | ||
| 1436 | - !!perl/hash:RE_assertion | ||
| 1437 | assert: '!' | ||
| 1438 | re: !!perl/hash:RE_method | ||
| 1439 | name: infixstopper | ||
| 1440 | rest: '' | ||
| 1441 | - !!perl/hash:RE_bindnamed | ||
| 1442 | atom: !!perl/hash:RE_method | ||
| 1443 | name: p5infix | ||
| 1444 | rest: '' | ||
| 1445 | - !!perl/hash:RE_block {} | ||
| 1446 | infixstopper: !!perl/hash:RE_ast | ||
| 1447 | dba: infix stopper | ||
| 1448 | dic: STD::STD::P5 | ||
| 1449 | re: !!perl/hash:RE_bracket | ||
| 1450 | re: &14 !!perl/hash:RE_any | ||
| 1451 | altname: infixstopper_0 | ||
| 1452 | dba: infix stopper | ||
| 1453 | dic: STD::STD::P5 | ||
| 1454 | zyg: | ||
| 1455 | - !!perl/hash:RE_assertion | ||
| 1456 | alt: infixstopper_0 0 | ||
| 1457 | assert: '?' | ||
| 1458 | re: !!perl/hash:RE_method_re | ||
| 1459 | name: before | ||
| 1460 | nobind: 1 | ||
| 1461 | re: !!perl/hash:RE_method | ||
| 1462 | name: stopper | ||
| 1463 | rest: '' | ||
| 1464 | - !!perl/hash:RE_sequence | ||
| 1465 | alt: infixstopper_0 1 | ||
| 1466 | zyg: | ||
| 1467 | - !!perl/hash:RE_assertion | ||
| 1468 | assert: '?' | ||
| 1469 | re: !!perl/hash:RE_method_re | ||
| 1470 | name: before | ||
| 1471 | nobind: 1 | ||
| 1472 | re: !!perl/hash:RE_string | ||
| 1473 | i: 0 | ||
| 1474 | text: ':' | ||
| 1475 | - !!perl/hash:RE_assertion | ||
| 1476 | assert: '?' | ||
| 1477 | re: !!perl/hash:RE_block | ||
| 1478 | nobind: 1 | ||
| 1479 | - !!perl/hash:RE_assertion | ||
| 1480 | alt: infixstopper_0 2 | ||
| 1481 | assert: '?' | ||
| 1482 | re: !!perl/hash:RE_block | ||
| 1483 | nobind: 1 | ||
| 1484 | infixstopper_0: *14 | ||
| 1485 | integer: !!perl/hash:RE_ast | ||
| 1486 | dba: integer | ||
| 1487 | dic: STD::STD::P5 | ||
| 1488 | re: !!perl/hash:RE_bracket | ||
| 1489 | re: &15 !!perl/hash:RE_any | ||
| 1490 | altname: integer_0 | ||
| 1491 | dba: integer | ||
| 1492 | dic: STD::STD::P5 | ||
| 1493 | zyg: | ||
| 1494 | - !!perl/hash:RE_sequence | ||
| 1495 | alt: integer_0 0 | ||
| 1496 | zyg: | ||
| 1497 | - !!perl/hash:RE_string | ||
| 1498 | i: 0 | ||
| 1499 | text: '0' | ||
| 1500 | - !!perl/hash:RE_bracket | ||
| 1501 | re: &16 !!perl/hash:RE_any | ||
| 1502 | altname: integer_1 | ||
| 1503 | dba: integer | ||
| 1504 | dic: STD::STD::P5 | ||
| 1505 | zyg: | ||
| 1506 | - !!perl/hash:RE_sequence | ||
| 1507 | alt: integer_1 0 | ||
| 1508 | zyg: | ||
| 1509 | - !!perl/hash:RE_string | ||
| 1510 | i: 0 | ||
| 1511 | text: b | ||
| 1512 | - !!perl/hash:RE_quantified_atom | ||
| 1513 | atom: !!perl/hash:RE_cclass | ||
| 1514 | i: 0 | ||
| 1515 | text: '[01]' | ||
| 1516 | quant: | ||
| 1517 | - + | ||
| 1518 | - !!perl/hash:RE_quantified_atom | ||
| 1519 | atom: !!perl/hash:RE_bracket | ||
| 1520 | re: !!perl/hash:RE_sequence | ||
| 1521 | zyg: | ||
| 1522 | - !!perl/hash:RE_string | ||
| 1523 | i: 0 | ||
| 1524 | text: _ | ||
| 1525 | - !!perl/hash:RE_quantified_atom | ||
| 1526 | atom: !!perl/hash:RE_cclass | ||
| 1527 | i: 0 | ||
| 1528 | text: '[01]' | ||
| 1529 | quant: | ||
| 1530 | - + | ||
| 1531 | quant: | ||
| 1532 | - '*' | ||
| 1533 | - !!perl/hash:RE_sequence | ||
| 1534 | alt: integer_1 1 | ||
| 1535 | zyg: | ||
| 1536 | - !!perl/hash:RE_string | ||
| 1537 | i: 0 | ||
| 1538 | text: o | ||
| 1539 | - !!perl/hash:RE_quantified_atom | ||
| 1540 | atom: !!perl/hash:RE_cclass | ||
| 1541 | i: 0 | ||
| 1542 | text: '[0..7]' | ||
| 1543 | quant: | ||
| 1544 | - + | ||
| 1545 | - !!perl/hash:RE_quantified_atom | ||
| 1546 | atom: !!perl/hash:RE_bracket | ||
| 1547 | re: !!perl/hash:RE_sequence | ||
| 1548 | zyg: | ||
| 1549 | - !!perl/hash:RE_string | ||
| 1550 | i: 0 | ||
| 1551 | text: _ | ||
| 1552 | - !!perl/hash:RE_quantified_atom | ||
| 1553 | atom: !!perl/hash:RE_cclass | ||
| 1554 | i: 0 | ||
| 1555 | text: '[0..7]' | ||
| 1556 | quant: | ||
| 1557 | - + | ||
| 1558 | quant: | ||
| 1559 | - '*' | ||
| 1560 | - !!perl/hash:RE_sequence | ||
| 1561 | alt: integer_1 2 | ||
| 1562 | zyg: | ||
| 1563 | - !!perl/hash:RE_string | ||
| 1564 | i: 0 | ||
| 1565 | text: x | ||
| 1566 | - !!perl/hash:RE_quantified_atom | ||
| 1567 | atom: !!perl/hash:RE_cclass | ||
| 1568 | i: 0 | ||
| 1569 | text: '[0..9a..fA..F]' | ||
| 1570 | quant: | ||
| 1571 | - + | ||
| 1572 | - !!perl/hash:RE_quantified_atom | ||
| 1573 | atom: !!perl/hash:RE_bracket | ||
| 1574 | re: !!perl/hash:RE_sequence | ||
| 1575 | zyg: | ||
| 1576 | - !!perl/hash:RE_string | ||
| 1577 | i: 0 | ||
| 1578 | text: _ | ||
| 1579 | - !!perl/hash:RE_quantified_atom | ||
| 1580 | atom: !!perl/hash:RE_cclass | ||
| 1581 | i: 0 | ||
| 1582 | text: '[0..9a..fA..F]' | ||
| 1583 | quant: | ||
| 1584 | - + | ||
| 1585 | quant: | ||
| 1586 | - '*' | ||
| 1587 | - !!perl/hash:RE_sequence | ||
| 1588 | alt: integer_1 3 | ||
| 1589 | zyg: | ||
| 1590 | - !!perl/hash:RE_string | ||
| 1591 | i: 0 | ||
| 1592 | text: d | ||
| 1593 | - !!perl/hash:RE_quantified_atom | ||
| 1594 | atom: !!perl/hash:RE_meta | ||
| 1595 | min: 1 | ||
| 1596 | text: \d | ||
| 1597 | quant: | ||
| 1598 | - + | ||
| 1599 | - !!perl/hash:RE_quantified_atom | ||
| 1600 | atom: !!perl/hash:RE_bracket | ||
| 1601 | re: !!perl/hash:RE_sequence | ||
| 1602 | zyg: | ||
| 1603 | - !!perl/hash:RE_string | ||
| 1604 | i: 0 | ||
| 1605 | text: _ | ||
| 1606 | - !!perl/hash:RE_quantified_atom | ||
| 1607 | atom: !!perl/hash:RE_meta | ||
| 1608 | min: 1 | ||
| 1609 | text: \d | ||
| 1610 | quant: | ||
| 1611 | - + | ||
| 1612 | quant: | ||
| 1613 | - '*' | ||
| 1614 | - !!perl/hash:RE_sequence | ||
| 1615 | alt: integer_1 4 | ||
| 1616 | zyg: | ||
| 1617 | - !!perl/hash:RE_quantified_atom | ||
| 1618 | atom: !!perl/hash:RE_meta | ||
| 1619 | min: 1 | ||
| 1620 | text: \d | ||
| 1621 | quant: | ||
| 1622 | - + | ||
| 1623 | - !!perl/hash:RE_quantified_atom | ||
| 1624 | atom: !!perl/hash:RE_bracket | ||
| 1625 | re: !!perl/hash:RE_sequence | ||
| 1626 | zyg: | ||
| 1627 | - !!perl/hash:RE_string | ||
| 1628 | i: 0 | ||
| 1629 | text: _ | ||
| 1630 | - !!perl/hash:RE_quantified_atom | ||
| 1631 | atom: !!perl/hash:RE_meta | ||
| 1632 | min: 1 | ||
| 1633 | text: \d | ||
| 1634 | quant: | ||
| 1635 | - + | ||
| 1636 | quant: | ||
| 1637 | - '*' | ||
| 1638 | - !!perl/hash:RE_assertion | ||
| 1639 | assert: '!' | ||
| 1640 | re: !!perl/hash:RE_assertion | ||
| 1641 | assert: '!' | ||
| 1642 | nobind: 1 | ||
| 1643 | re: !!perl/hash:RE_block | ||
| 1644 | nobind: 1 | ||
| 1645 | - !!perl/hash:RE_sequence | ||
| 1646 | alt: integer_0 1 | ||
| 1647 | zyg: | ||
| 1648 | - !!perl/hash:RE_quantified_atom | ||
| 1649 | atom: !!perl/hash:RE_meta | ||
| 1650 | min: 1 | ||
| 1651 | text: \d | ||
| 1652 | quant: | ||
| 1653 | - + | ||
| 1654 | - !!perl/hash:RE_quantified_atom | ||
| 1655 | atom: !!perl/hash:RE_bracket | ||
| 1656 | re: !!perl/hash:RE_sequence | ||
| 1657 | zyg: | ||
| 1658 | - !!perl/hash:RE_string | ||
| 1659 | i: 0 | ||
| 1660 | text: _ | ||
| 1661 | - !!perl/hash:RE_quantified_atom | ||
| 1662 | atom: !!perl/hash:RE_meta | ||
| 1663 | min: 1 | ||
| 1664 | text: \d | ||
| 1665 | quant: | ||
| 1666 | - + | ||
| 1667 | quant: | ||
| 1668 | - '*' | ||
| 1669 | integer_0: *15 | ||
| 1670 | integer_1: *16 | ||
| 1671 | label: !!perl/hash:RE_ast | ||
| 1672 | dba: label | ||
| 1673 | dic: STD::STD::P5 | ||
| 1674 | re: !!perl/hash:RE_sequence | ||
| 1675 | zyg: | ||
| 1676 | - !!perl/hash:RE_method | ||
| 1677 | name: identifier | ||
| 1678 | rest: '' | ||
| 1679 | - !!perl/hash:RE_string | ||
| 1680 | i: 0 | ||
| 1681 | text: ':' | ||
| 1682 | - !!perl/hash:RE_assertion | ||
| 1683 | assert: '?' | ||
| 1684 | re: !!perl/hash:RE_method_re | ||
| 1685 | name: before | ||
| 1686 | nobind: 1 | ||
| 1687 | re: !!perl/hash:RE_meta | ||
| 1688 | min: 1 | ||
| 1689 | text: \s | ||
| 1690 | - !!perl/hash:RE_method | ||
| 1691 | name: ws | ||
| 1692 | rest: '' | ||
| 1693 | - !!perl/hash:RE_quantified_atom | ||
| 1694 | atom: !!perl/hash:RE_bracket | ||
| 1695 | re: !!perl/hash:RE_sequence | ||
| 1696 | zyg: | ||
| 1697 | - !!perl/hash:RE_assertion | ||
| 1698 | assert: '?' | ||
| 1699 | re: !!perl/hash:RE_block | ||
| 1700 | nobind: 1 | ||
| 1701 | - !!perl/hash:RE_method | ||
| 1702 | name: sorry | ||
| 1703 | rest: 1 | ||
| 1704 | quant: | ||
| 1705 | - '?' | ||
| 1706 | - !!perl/hash:RE_block {} | ||
| 1707 | longname: !!perl/hash:RE_ast | ||
| 1708 | dba: longname | ||
| 1709 | dic: STD::STD::P5 | ||
| 1710 | re: !!perl/hash:RE_sequence | ||
| 1711 | zyg: | ||
| 1712 | - !!perl/hash:RE_method | ||
| 1713 | name: name | ||
| 1714 | rest: '' | ||
| 1715 | - !!perl/hash:RE_quantified_atom | ||
| 1716 | atom: !!perl/hash:RE_method | ||
| 1717 | name: colonpair | ||
| 1718 | rest: '' | ||
| 1719 | quant: | ||
| 1720 | - '*' | ||
| 1721 | methodop: !!perl/hash:RE_ast | ||
| 1722 | dba: method arguments | ||
| 1723 | dic: STD::STD::P5 | ||
| 1724 | re: !!perl/hash:RE_sequence | ||
| 1725 | zyg: | ||
| 1726 | - !!perl/hash:RE_bracket | ||
| 1727 | re: &17 !!perl/hash:RE_any | ||
| 1728 | altname: methodop_0 | ||
| 1729 | dba: methodop | ||
| 1730 | dic: STD::STD::P5 | ||
| 1731 | zyg: | ||
| 1732 | - !!perl/hash:RE_method | ||
| 1733 | alt: methodop_0 0 | ||
| 1734 | name: longname | ||
| 1735 | rest: '' | ||
| 1736 | - !!perl/hash:RE_sequence | ||
| 1737 | alt: methodop_0 1 | ||
| 1738 | zyg: | ||
| 1739 | - !!perl/hash:RE_assertion | ||
| 1740 | assert: '?' | ||
| 1741 | re: !!perl/hash:RE_method_re | ||
| 1742 | name: before | ||
| 1743 | nobind: 1 | ||
| 1744 | re: &18 !!perl/hash:RE_any | ||
| 1745 | altname: methodop_1 | ||
| 1746 | dba: methodop | ||
| 1747 | dic: STD::STD::P5 | ||
| 1748 | zyg: | ||
| 1749 | - !!perl/hash:RE_string | ||
| 1750 | alt: methodop_1 0 | ||
| 1751 | i: 0 | ||
| 1752 | text: $ | ||
| 1753 | - !!perl/hash:RE_string | ||
| 1754 | alt: methodop_1 1 | ||
| 1755 | i: 0 | ||
| 1756 | text: '@' | ||
| 1757 | - !!perl/hash:RE_string | ||
| 1758 | alt: methodop_1 2 | ||
| 1759 | i: 0 | ||
| 1760 | text: '&' | ||
| 1761 | - !!perl/hash:RE_method | ||
| 1762 | name: variable | ||
| 1763 | rest: '' | ||
| 1764 | - !!perl/hash:RE_block {} | ||
| 1765 | - !!perl/hash:RE_quantified_atom | ||
| 1766 | atom: !!perl/hash:RE_bracket | ||
| 1767 | re: !!perl/hash:RE_sequence | ||
| 1768 | zyg: | ||
| 1769 | - !!perl/hash:RE_assertion | ||
| 1770 | assert: '?' | ||
| 1771 | re: !!perl/hash:RE_cclass | ||
| 1772 | i: 0 | ||
| 1773 | nobind: 1 | ||
| 1774 | text: '[\\(]' | ||
| 1775 | - !!perl/hash:RE_method | ||
| 1776 | name: args | ||
| 1777 | rest: '' | ||
| 1778 | quant: | ||
| 1779 | - '?' | ||
| 1780 | methodop_0: *17 | ||
| 1781 | methodop_1: *18 | ||
| 1782 | modifier_expr: !!perl/hash:RE_ast | ||
| 1783 | dba: modifier_expr | ||
| 1784 | dic: STD::STD::P5 | ||
| 1785 | re: !!perl/hash:RE_sequence | ||
| 1786 | zyg: | ||
| 1787 | - !!perl/hash:RE_method | ||
| 1788 | name: ws | ||
| 1789 | rest: '' | ||
| 1790 | - !!perl/hash:RE_method | ||
| 1791 | name: EXPR | ||
| 1792 | rest: '' | ||
| 1793 | - !!perl/hash:RE_method | ||
| 1794 | name: ws | ||
| 1795 | rest: '' | ||
| 1796 | morename: !!perl/hash:RE_ast | ||
| 1797 | dba: morename | ||
| 1798 | dic: STD::STD::P5 | ||
| 1799 | re: !!perl/hash:RE_sequence | ||
| 1800 | zyg: | ||
| 1801 | - !!perl/hash:RE_string | ||
| 1802 | i: 0 | ||
| 1803 | text: '::' | ||
| 1804 | - !!perl/hash:RE_quantified_atom | ||
| 1805 | atom: !!perl/hash:RE_bracket | ||
| 1806 | re: !!perl/hash:RE_sequence | ||
| 1807 | zyg: | ||
| 1808 | - !!perl/hash:RE_assertion | ||
| 1809 | assert: '?' | ||
| 1810 | re: !!perl/hash:RE_method_re | ||
| 1811 | name: before | ||
| 1812 | nobind: 1 | ||
| 1813 | re: &19 !!perl/hash:RE_any | ||
| 1814 | altname: morename_0 | ||
| 1815 | dba: morename | ||
| 1816 | dic: STD::STD::P5 | ||
| 1817 | zyg: | ||
| 1818 | - !!perl/hash:RE_string | ||
| 1819 | alt: morename_0 0 | ||
| 1820 | i: 0 | ||
| 1821 | text: ( | ||
| 1822 | - !!perl/hash:RE_method | ||
| 1823 | alt: morename_0 1 | ||
| 1824 | name: alpha | ||
| 1825 | rest: '' | ||
| 1826 | - !!perl/hash:RE_bracket | ||
| 1827 | re: &20 !!perl/hash:RE_any | ||
| 1828 | altname: morename_1 | ||
| 1829 | dba: indirect name | ||
| 1830 | dic: STD::STD::P5 | ||
| 1831 | zyg: | ||
| 1832 | - !!perl/hash:RE_method | ||
| 1833 | alt: morename_1 0 | ||
| 1834 | name: identifier | ||
| 1835 | rest: '' | ||
| 1836 | - !!perl/hash:RE_bracket | ||
| 1837 | alt: morename_1 1 | ||
| 1838 | re: !!perl/hash:RE_sequence | ||
| 1839 | zyg: | ||
| 1840 | - !!perl/hash:RE_string | ||
| 1841 | i: 0 | ||
| 1842 | text: ( | ||
| 1843 | - !!perl/hash:RE_block {} | ||
| 1844 | - !!perl/hash:RE_method | ||
| 1845 | name: EXPR | ||
| 1846 | rest: '' | ||
| 1847 | - !!perl/hash:RE_bracket | ||
| 1848 | re: !!perl/hash:RE_first | ||
| 1849 | zyg: | ||
| 1850 | - !!perl/hash:RE_string | ||
| 1851 | i: 0 | ||
| 1852 | text: ) | ||
| 1853 | - !!perl/hash:RE_method | ||
| 1854 | name: FAILGOAL | ||
| 1855 | rest: 1 | ||
| 1856 | quant: | ||
| 1857 | - '?' | ||
| 1858 | morename_0: *19 | ||
| 1859 | morename_1: *20 | ||
| 1860 | name: !!perl/hash:RE_ast | ||
| 1861 | dba: name | ||
| 1862 | dic: STD::STD::P5 | ||
| 1863 | re: !!perl/hash:RE_bracket | ||
| 1864 | re: &21 !!perl/hash:RE_any | ||
| 1865 | altname: name_0 | ||
| 1866 | dba: name | ||
| 1867 | dic: STD::STD::P5 | ||
| 1868 | zyg: | ||
| 1869 | - !!perl/hash:RE_sequence | ||
| 1870 | alt: name_0 0 | ||
| 1871 | zyg: | ||
| 1872 | - !!perl/hash:RE_method | ||
| 1873 | name: identifier | ||
| 1874 | rest: '' | ||
| 1875 | - !!perl/hash:RE_quantified_atom | ||
| 1876 | atom: !!perl/hash:RE_method | ||
| 1877 | name: morename | ||
| 1878 | rest: '' | ||
| 1879 | quant: | ||
| 1880 | - '*' | ||
| 1881 | - !!perl/hash:RE_quantified_atom | ||
| 1882 | alt: name_0 1 | ||
| 1883 | atom: !!perl/hash:RE_method | ||
| 1884 | name: morename | ||
| 1885 | rest: '' | ||
| 1886 | quant: | ||
| 1887 | - + | ||
| 1888 | name_0: *21 | ||
| 1889 | nibbler: !!perl/hash:RE_ast | ||
| 1890 | dba: nibbler | ||
| 1891 | dic: STD::STD::P5 | ||
| 1892 | re: !!perl/hash:RE_sequence | ||
| 1893 | zyg: | ||
| 1894 | - !!perl/hash:RE_block {} | ||
| 1895 | - !!perl/hash:RE_quantified_atom | ||
| 1896 | atom: !!perl/hash:RE_bracket | ||
| 1897 | re: !!perl/hash:RE_sequence | ||
| 1898 | zyg: | ||
| 1899 | - !!perl/hash:RE_assertion | ||
| 1900 | assert: '!' | ||
| 1901 | re: !!perl/hash:RE_method_re | ||
| 1902 | name: before | ||
| 1903 | nobind: 1 | ||
| 1904 | re: !!perl/hash:RE_method | ||
| 1905 | name: stopper | ||
| 1906 | rest: '' | ||
| 1907 | - !!perl/hash:RE_bracket | ||
| 1908 | re: !!perl/hash:RE_first | ||
| 1909 | zyg: | ||
| 1910 | - !!perl/hash:RE_sequence | ||
| 1911 | zyg: | ||
| 1912 | - !!perl/hash:RE_method | ||
| 1913 | name: starter | ||
| 1914 | rest: '' | ||
| 1915 | - !!perl/hash:RE_method | ||
| 1916 | name: nibbler | ||
| 1917 | rest: '' | ||
| 1918 | - !!perl/hash:RE_method | ||
| 1919 | name: stopper | ||
| 1920 | rest: '' | ||
| 1921 | - !!perl/hash:RE_block {} | ||
| 1922 | - !!perl/hash:RE_sequence | ||
| 1923 | zyg: | ||
| 1924 | - !!perl/hash:RE_method | ||
| 1925 | name: escape | ||
| 1926 | rest: '' | ||
| 1927 | - !!perl/hash:RE_block {} | ||
| 1928 | - !!perl/hash:RE_sequence | ||
| 1929 | zyg: | ||
| 1930 | - !!perl/hash:RE_meta | ||
| 1931 | min: 1 | ||
| 1932 | text: . | ||
| 1933 | - !!perl/hash:RE_block {} | ||
| 1934 | quant: | ||
| 1935 | - '*' | ||
| 1936 | - !!perl/hash:RE_block {} | ||
| 1937 | nofun: !!perl/hash:RE_ast | ||
| 1938 | dba: nofun | ||
| 1939 | dic: STD::STD::P5 | ||
| 1940 | re: !!perl/hash:RE_assertion | ||
| 1941 | assert: '!' | ||
| 1942 | re: !!perl/hash:RE_method_re | ||
| 1943 | name: before | ||
| 1944 | nobind: 1 | ||
| 1945 | re: &22 !!perl/hash:RE_any | ||
| 1946 | altname: nofun_0 | ||
| 1947 | dba: nofun | ||
| 1948 | dic: STD::STD::P5 | ||
| 1949 | zyg: | ||
| 1950 | - !!perl/hash:RE_string | ||
| 1951 | alt: nofun_0 0 | ||
| 1952 | i: 0 | ||
| 1953 | text: ( | ||
| 1954 | - !!perl/hash:RE_string | ||
| 1955 | alt: nofun_0 1 | ||
| 1956 | i: 0 | ||
| 1957 | text: .( | ||
| 1958 | - !!perl/hash:RE_string | ||
| 1959 | alt: nofun_0 2 | ||
| 1960 | i: 0 | ||
| 1961 | text: \ | ||
| 1962 | - !!perl/hash:RE_string | ||
| 1963 | alt: nofun_0 3 | ||
| 1964 | i: 0 | ||
| 1965 | text: '''' | ||
| 1966 | - !!perl/hash:RE_string | ||
| 1967 | alt: nofun_0 4 | ||
| 1968 | i: 0 | ||
| 1969 | text: '-' | ||
| 1970 | - !!perl/hash:RE_double | ||
| 1971 | alt: nofun_0 5 | ||
| 1972 | i: 0 | ||
| 1973 | text: '''' | ||
| 1974 | - !!perl/hash:RE_meta | ||
| 1975 | alt: nofun_0 6 | ||
| 1976 | min: 1 | ||
| 1977 | text: \w | ||
| 1978 | nofun_0: *22 | ||
| 1979 | nullterm: !!perl/hash:RE_ast | ||
| 1980 | dba: nullterm | ||
| 1981 | dic: STD::STD::P5 | ||
| 1982 | re: !!perl/hash:RE_assertion | ||
| 1983 | assert: '?' | ||
| 1984 | re: !!perl/hash:RE_noop | ||
| 1985 | nobind: 1 | ||
| 1986 | nulltermish: !!perl/hash:RE_ast | ||
| 1987 | dba: null term | ||
| 1988 | dic: STD::STD::P5 | ||
| 1989 | re: !!perl/hash:RE_bracket | ||
| 1990 | re: &23 !!perl/hash:RE_any | ||
| 1991 | altname: nulltermish_0 | ||
| 1992 | dba: null term | ||
| 1993 | dic: STD::STD::P5 | ||
| 1994 | zyg: | ||
| 1995 | - !!perl/hash:RE_assertion | ||
| 1996 | alt: nulltermish_0 0 | ||
| 1997 | assert: '?' | ||
| 1998 | re: !!perl/hash:RE_method | ||
| 1999 | name: stdstopper | ||
| 2000 | rest: '' | ||
| 2001 | - !!perl/hash:RE_sequence | ||
| 2002 | alt: nulltermish_0 1 | ||
| 2003 | zyg: | ||
| 2004 | - !!perl/hash:RE_bindnamed | ||
| 2005 | atom: !!perl/hash:RE_method | ||
| 2006 | name: termish | ||
| 2007 | rest: '' | ||
| 2008 | - !!perl/hash:RE_block {} | ||
| 2009 | - !!perl/hash:RE_assertion | ||
| 2010 | alt: nulltermish_0 2 | ||
| 2011 | assert: '?' | ||
| 2012 | re: !!perl/hash:RE_noop | ||
| 2013 | nobind: 1 | ||
| 2014 | nulltermish_0: *23 | ||
| 2015 | number__S_116numish: !!perl/hash:RE_ast | ||
| 2016 | dba: number | ||
| 2017 | dic: STD::STD::P5 | ||
| 2018 | re: !!perl/hash:RE_method | ||
| 2019 | name: numish | ||
| 2020 | rest: '' | ||
| 2021 | numish: !!perl/hash:RE_ast | ||
| 2022 | dba: numish | ||
| 2023 | dic: STD::STD::P5 | ||
| 2024 | re: !!perl/hash:RE_bracket | ||
| 2025 | re: &24 !!perl/hash:RE_any | ||
| 2026 | altname: numish_0 | ||
| 2027 | dba: numish | ||
| 2028 | dic: STD::STD::P5 | ||
| 2029 | zyg: | ||
| 2030 | - !!perl/hash:RE_method | ||
| 2031 | alt: numish_0 0 | ||
| 2032 | name: integer | ||
| 2033 | rest: '' | ||
| 2034 | - !!perl/hash:RE_method | ||
| 2035 | alt: numish_0 1 | ||
| 2036 | name: dec_number | ||
| 2037 | rest: '' | ||
| 2038 | - !!perl/hash:RE_method | ||
| 2039 | alt: numish_0 2 | ||
| 2040 | name: rad_number | ||
| 2041 | rest: '' | ||
| 2042 | - !!perl/hash:RE_sequence | ||
| 2043 | alt: numish_0 3 | ||
| 2044 | zyg: | ||
| 2045 | - !!perl/hash:RE_string | ||
| 2046 | i: 0 | ||
| 2047 | text: 'NaN' | ||
| 2048 | - !!perl/hash:RE_meta | ||
| 2049 | text: » | ||
| 2050 | - !!perl/hash:RE_sequence | ||
| 2051 | alt: numish_0 4 | ||
| 2052 | zyg: | ||
| 2053 | - !!perl/hash:RE_string | ||
| 2054 | i: 0 | ||
| 2055 | text: 'Inf' | ||
| 2056 | - !!perl/hash:RE_meta | ||
| 2057 | text: » | ||
| 2058 | - !!perl/hash:RE_sequence | ||
| 2059 | alt: numish_0 5 | ||
| 2060 | zyg: | ||
| 2061 | - !!perl/hash:RE_string | ||
| 2062 | i: 0 | ||
| 2063 | text: '+Inf' | ||
| 2064 | - !!perl/hash:RE_meta | ||
| 2065 | text: » | ||
| 2066 | - !!perl/hash:RE_sequence | ||
| 2067 | alt: numish_0 6 | ||
| 2068 | zyg: | ||
| 2069 | - !!perl/hash:RE_string | ||
| 2070 | i: 0 | ||
| 2071 | text: '-Inf' | ||
| 2072 | - !!perl/hash:RE_meta | ||
| 2073 | text: » | ||
| 2074 | numish_0: *24 | ||
| 2075 | octint: !!perl/hash:RE_ast | ||
| 2076 | dba: octint | ||
| 2077 | dic: STD::STD::P5 | ||
| 2078 | re: !!perl/hash:RE_sequence | ||
| 2079 | zyg: | ||
| 2080 | - !!perl/hash:RE_quantified_atom | ||
| 2081 | atom: !!perl/hash:RE_cclass | ||
| 2082 | i: 0 | ||
| 2083 | text: '[ 0..7 ]' | ||
| 2084 | quant: | ||
| 2085 | - + | ||
| 2086 | - !!perl/hash:RE_quantified_atom | ||
| 2087 | atom: !!perl/hash:RE_bracket | ||
| 2088 | re: !!perl/hash:RE_sequence | ||
| 2089 | zyg: | ||
| 2090 | - !!perl/hash:RE_string | ||
| 2091 | i: 0 | ||
| 2092 | text: _ | ||
| 2093 | - !!perl/hash:RE_quantified_atom | ||
| 2094 | atom: !!perl/hash:RE_cclass | ||
| 2095 | i: 0 | ||
| 2096 | text: '[ 0..7 ]' | ||
| 2097 | quant: | ||
| 2098 | - + | ||
| 2099 | quant: | ||
| 2100 | - '*' | ||
| 2101 | octints: !!perl/hash:RE_ast | ||
| 2102 | dba: octints | ||
| 2103 | dic: STD::STD::P5 | ||
| 2104 | re: !!perl/hash:RE_quantified_atom | ||
| 2105 | atom: !!perl/hash:RE_bracket | ||
| 2106 | re: !!perl/hash:RE_sequence | ||
| 2107 | zyg: | ||
| 2108 | - !!perl/hash:RE_method | ||
| 2109 | name: ws | ||
| 2110 | rest: '' | ||
| 2111 | - !!perl/hash:RE_method | ||
| 2112 | name: octint | ||
| 2113 | rest: '' | ||
| 2114 | - !!perl/hash:RE_method | ||
| 2115 | name: ws | ||
| 2116 | rest: '' | ||
| 2117 | quant: | ||
| 2118 | - '**' | ||
| 2119 | - ':' | ||
| 2120 | - !!perl/hash:RE_string | ||
| 2121 | a: 0 | ||
| 2122 | dba: octints | ||
| 2123 | dic: STD::STD::P5 | ||
| 2124 | i: 0 | ||
| 2125 | i_needed: 1 | ||
| 2126 | r: 1 | ||
| 2127 | s: 0 | ||
| 2128 | text: ',' | ||
| 2129 | p5circumfix:*: | ||
| 2130 | dic: STD::STD::P5 | ||
| 2131 | p5circumfix__S_120Lt_Gt: !!perl/hash:RE_ast | ||
| 2132 | dba: p5circumfix | ||
| 2133 | dic: STD::STD::P5 | ||
| 2134 | re: !!perl/hash:RE_sequence | ||
| 2135 | zyg: | ||
| 2136 | - !!perl/hash:RE_string | ||
| 2137 | i: 0 | ||
| 2138 | text: < | ||
| 2139 | - !!perl/hash:RE_method | ||
| 2140 | name: nibble | ||
| 2141 | rest: 1 | ||
| 2142 | - !!perl/hash:RE_string | ||
| 2143 | i: 0 | ||
| 2144 | text: '>' | ||
| 2145 | p5circumfix__S_132sigil: !!perl/hash:RE_ast | ||
| 2146 | dba: contextualizer | ||
| 2147 | dic: STD::STD::P5 | ||
| 2148 | re: !!perl/hash:RE_sequence | ||
| 2149 | zyg: | ||
| 2150 | - !!perl/hash:RE_bindnamed | ||
| 2151 | atom: !!perl/hash:RE_method | ||
| 2152 | name: p5sigil | ||
| 2153 | rest: '' | ||
| 2154 | - !!perl/hash:RE_bracket | ||
| 2155 | re: !!perl/hash:RE_sequence | ||
| 2156 | zyg: | ||
| 2157 | - !!perl/hash:RE_string | ||
| 2158 | i: 0 | ||
| 2159 | text: ( | ||
| 2160 | - !!perl/hash:RE_block {} | ||
| 2161 | - !!perl/hash:RE_method | ||
| 2162 | name: semilist | ||
| 2163 | rest: '' | ||
| 2164 | - !!perl/hash:RE_bracket | ||
| 2165 | re: !!perl/hash:RE_first | ||
| 2166 | zyg: | ||
| 2167 | - !!perl/hash:RE_string | ||
| 2168 | i: 0 | ||
| 2169 | text: ) | ||
| 2170 | - !!perl/hash:RE_method | ||
| 2171 | name: FAILGOAL | ||
| 2172 | rest: 1 | ||
| 2173 | - !!perl/hash:RE_block {} | ||
| 2174 | - !!perl/hash:RE_method | ||
| 2175 | name: O | ||
| 2176 | rest: 1 | ||
| 2177 | p5circumfix__S_133Paren_Thesis: !!perl/hash:RE_ast | ||
| 2178 | dba: parenthesized expression | ||
| 2179 | dic: STD::STD::P5 | ||
| 2180 | re: !!perl/hash:RE_sequence | ||
| 2181 | zyg: | ||
| 2182 | - !!perl/hash:RE_bracket | ||
| 2183 | re: !!perl/hash:RE_sequence | ||
| 2184 | zyg: | ||
| 2185 | - !!perl/hash:RE_string | ||
| 2186 | i: 0 | ||
| 2187 | text: ( | ||
| 2188 | - !!perl/hash:RE_block {} | ||
| 2189 | - !!perl/hash:RE_method | ||
| 2190 | name: semilist | ||
| 2191 | rest: '' | ||
| 2192 | - !!perl/hash:RE_bracket | ||
| 2193 | re: !!perl/hash:RE_first | ||
| 2194 | zyg: | ||
| 2195 | - !!perl/hash:RE_string | ||
| 2196 | i: 0 | ||
| 2197 | text: ) | ||
| 2198 | - !!perl/hash:RE_method | ||
| 2199 | name: FAILGOAL | ||
| 2200 | rest: 1 | ||
| 2201 | - !!perl/hash:RE_method | ||
| 2202 | name: O | ||
| 2203 | rest: 1 | ||
| 2204 | p5circumfix__S_134Bra_Ket: !!perl/hash:RE_ast | ||
| 2205 | dba: array composer | ||
| 2206 | dic: STD::STD::P5 | ||
| 2207 | re: !!perl/hash:RE_sequence | ||
| 2208 | zyg: | ||
| 2209 | - !!perl/hash:RE_bracket | ||
| 2210 | re: !!perl/hash:RE_sequence | ||
| 2211 | zyg: | ||
| 2212 | - !!perl/hash:RE_string | ||
| 2213 | i: 0 | ||
| 2214 | text: '[' | ||
| 2215 | - !!perl/hash:RE_block {} | ||
| 2216 | - !!perl/hash:RE_method | ||
| 2217 | name: semilist | ||
| 2218 | rest: '' | ||
| 2219 | - !!perl/hash:RE_bracket | ||
| 2220 | re: !!perl/hash:RE_first | ||
| 2221 | zyg: | ||
| 2222 | - !!perl/hash:RE_string | ||
| 2223 | i: 0 | ||
| 2224 | text: ']' | ||
| 2225 | - !!perl/hash:RE_method | ||
| 2226 | name: FAILGOAL | ||
| 2227 | rest: 1 | ||
| 2228 | - !!perl/hash:RE_method | ||
| 2229 | name: O | ||
| 2230 | rest: 1 | ||
| 2231 | p5circumfix__S_139Cur_Ly: !!perl/hash:RE_ast | ||
| 2232 | dba: p5circumfix | ||
| 2233 | dic: STD::STD::P5 | ||
| 2234 | re: !!perl/hash:RE_sequence | ||
| 2235 | zyg: | ||
| 2236 | - !!perl/hash:RE_assertion | ||
| 2237 | assert: '?' | ||
| 2238 | re: !!perl/hash:RE_method_re | ||
| 2239 | name: before | ||
| 2240 | nobind: 1 | ||
| 2241 | re: !!perl/hash:RE_string | ||
| 2242 | i: 0 | ||
| 2243 | text: '{' | ||
| 2244 | - !!perl/hash:RE_method | ||
| 2245 | name: pblock | ||
| 2246 | rest: '' | ||
| 2247 | - !!perl/hash:RE_method | ||
| 2248 | name: O | ||
| 2249 | rest: 1 | ||
| 2250 | p5comment:*: | ||
| 2251 | dic: STD::STD::P5 | ||
| 2252 | p5comment__S_026Sharp: !!perl/hash:RE_ast | ||
| 2253 | dba: p5comment | ||
| 2254 | dic: STD::STD::P5 | ||
| 2255 | re: !!perl/hash:RE_sequence | ||
| 2256 | zyg: | ||
| 2257 | - !!perl/hash:RE_string | ||
| 2258 | i: 0 | ||
| 2259 | text: '#' | ||
| 2260 | - !!perl/hash:RE_block {} | ||
| 2261 | - !!perl/hash:RE_quantified_atom | ||
| 2262 | atom: !!perl/hash:RE_meta | ||
| 2263 | min: 1 | ||
| 2264 | text: \N | ||
| 2265 | quant: | ||
| 2266 | - '*' | ||
| 2267 | p5dotty:*: | ||
| 2268 | dic: STD::STD::P5 | ||
| 2269 | p5dotty__S_135MinusGt: !!perl/hash:RE_ast | ||
| 2270 | dba: p5dotty | ||
| 2271 | dic: STD::STD::P5 | ||
| 2272 | re: !!perl/hash:RE_sequence | ||
| 2273 | zyg: | ||
| 2274 | - !!perl/hash:RE_method | ||
| 2275 | endsym: unspacey | ||
| 2276 | i: 0 | ||
| 2277 | name: sym | ||
| 2278 | rest: '' | ||
| 2279 | sym: -> | ||
| 2280 | - !!perl/hash:RE_method | ||
| 2281 | name: unspacey | ||
| 2282 | rest: '' | ||
| 2283 | - !!perl/hash:RE_method | ||
| 2284 | name: dottyop | ||
| 2285 | rest: '' | ||
| 2286 | - !!perl/hash:RE_method | ||
| 2287 | name: O | ||
| 2288 | rest: 1 | ||
| 2289 | p5infix:*: | ||
| 2290 | dic: STD::STD::P5 | ||
| 2291 | p5infix__S_145StarStar: !!perl/hash:RE_ast | ||
| 2292 | dba: p5infix | ||
| 2293 | dic: STD::STD::P5 | ||
| 2294 | re: !!perl/hash:RE_sequence | ||
| 2295 | zyg: | ||
| 2296 | - !!perl/hash:RE_method | ||
| 2297 | i: 0 | ||
| 2298 | name: sym | ||
| 2299 | rest: '' | ||
| 2300 | sym: '**' | ||
| 2301 | - !!perl/hash:RE_method | ||
| 2302 | name: O | ||
| 2303 | rest: 1 | ||
| 2304 | p5infix__S_150BangTilde: !!perl/hash:RE_ast | ||
| 2305 | dba: p5infix | ||
| 2306 | dic: STD::STD::P5 | ||
| 2307 | re: !!perl/hash:RE_sequence | ||
| 2308 | zyg: | ||
| 2309 | - !!perl/hash:RE_method | ||
| 2310 | i: 0 | ||
| 2311 | name: sym | ||
| 2312 | rest: '' | ||
| 2313 | sym: '!~' | ||
| 2314 | - !!perl/hash:RE_method | ||
| 2315 | name: O | ||
| 2316 | rest: 1 | ||
| 2317 | p5infix__S_151EqualTilde: !!perl/hash:RE_ast | ||
| 2318 | dba: p5infix | ||
| 2319 | dic: STD::STD::P5 | ||
| 2320 | re: !!perl/hash:RE_sequence | ||
| 2321 | zyg: | ||
| 2322 | - !!perl/hash:RE_method | ||
| 2323 | i: 0 | ||
| 2324 | name: sym | ||
| 2325 | rest: '' | ||
| 2326 | sym: =~ | ||
| 2327 | - !!perl/hash:RE_method | ||
| 2328 | name: O | ||
| 2329 | rest: 1 | ||
| 2330 | p5infix__S_152Star: !!perl/hash:RE_ast | ||
| 2331 | dba: p5infix | ||
| 2332 | dic: STD::STD::P5 | ||
| 2333 | re: !!perl/hash:RE_sequence | ||
| 2334 | zyg: | ||
| 2335 | - !!perl/hash:RE_method | ||
| 2336 | i: 0 | ||
| 2337 | name: sym | ||
| 2338 | rest: '' | ||
| 2339 | sym: '*' | ||
| 2340 | - !!perl/hash:RE_method | ||
| 2341 | name: O | ||
| 2342 | rest: 1 | ||
| 2343 | p5infix__S_153Slash: !!perl/hash:RE_ast | ||
| 2344 | dba: p5infix | ||
| 2345 | dic: STD::STD::P5 | ||
| 2346 | re: !!perl/hash:RE_sequence | ||
| 2347 | zyg: | ||
| 2348 | - !!perl/hash:RE_method | ||
| 2349 | i: 0 | ||
| 2350 | name: sym | ||
| 2351 | rest: '' | ||
| 2352 | sym: / | ||
| 2353 | - !!perl/hash:RE_method | ||
| 2354 | name: O | ||
| 2355 | rest: 1 | ||
| 2356 | p5infix__S_154Percent: !!perl/hash:RE_ast | ||
| 2357 | dba: p5infix | ||
| 2358 | dic: STD::STD::P5 | ||
| 2359 | re: !!perl/hash:RE_sequence | ||
| 2360 | zyg: | ||
| 2361 | - !!perl/hash:RE_method | ||
| 2362 | i: 0 | ||
| 2363 | name: sym | ||
| 2364 | rest: '' | ||
| 2365 | sym: '%' | ||
| 2366 | - !!perl/hash:RE_method | ||
| 2367 | name: O | ||
| 2368 | rest: 1 | ||
| 2369 | p5infix__S_155LtLt: !!perl/hash:RE_ast | ||
| 2370 | dba: p5infix | ||
| 2371 | dic: STD::STD::P5 | ||
| 2372 | re: !!perl/hash:RE_sequence | ||
| 2373 | zyg: | ||
| 2374 | - !!perl/hash:RE_method | ||
| 2375 | i: 0 | ||
| 2376 | name: sym | ||
| 2377 | rest: '' | ||
| 2378 | sym: << | ||
| 2379 | - !!perl/hash:RE_method | ||
| 2380 | name: O | ||
| 2381 | rest: 1 | ||
| 2382 | p5infix__S_156GtGt: !!perl/hash:RE_ast | ||
| 2383 | dba: p5infix | ||
| 2384 | dic: STD::STD::P5 | ||
| 2385 | re: !!perl/hash:RE_sequence | ||
| 2386 | zyg: | ||
| 2387 | - !!perl/hash:RE_method | ||
| 2388 | i: 0 | ||
| 2389 | name: sym | ||
| 2390 | rest: '' | ||
| 2391 | sym: '>>' | ||
| 2392 | - !!perl/hash:RE_method | ||
| 2393 | name: O | ||
| 2394 | rest: 1 | ||
| 2395 | p5infix__S_157x: !!perl/hash:RE_ast | ||
| 2396 | dba: p5infix | ||
| 2397 | dic: STD::STD::P5 | ||
| 2398 | re: !!perl/hash:RE_sequence | ||
| 2399 | zyg: | ||
| 2400 | - !!perl/hash:RE_method | ||
| 2401 | i: 0 | ||
| 2402 | name: sym | ||
| 2403 | rest: '' | ||
| 2404 | sym: x | ||
| 2405 | - !!perl/hash:RE_method | ||
| 2406 | name: O | ||
| 2407 | rest: 1 | ||
| 2408 | p5infix__S_158Dot: !!perl/hash:RE_ast | ||
| 2409 | dba: p5infix | ||
| 2410 | dic: STD::STD::P5 | ||
| 2411 | re: !!perl/hash:RE_sequence | ||
| 2412 | zyg: | ||
| 2413 | - !!perl/hash:RE_method | ||
| 2414 | i: 0 | ||
| 2415 | name: sym | ||
| 2416 | rest: '' | ||
| 2417 | sym: . | ||
| 2418 | - !!perl/hash:RE_method | ||
| 2419 | name: O | ||
| 2420 | rest: 1 | ||
| 2421 | p5infix__S_159Plus: !!perl/hash:RE_ast | ||
| 2422 | dba: p5infix | ||
| 2423 | dic: STD::STD::P5 | ||
| 2424 | re: !!perl/hash:RE_sequence | ||
| 2425 | zyg: | ||
| 2426 | - !!perl/hash:RE_method | ||
| 2427 | i: 0 | ||
| 2428 | name: sym | ||
| 2429 | rest: '' | ||
| 2430 | sym: + | ||
| 2431 | - !!perl/hash:RE_method | ||
| 2432 | name: O | ||
| 2433 | rest: 1 | ||
| 2434 | p5infix__S_160Minus: !!perl/hash:RE_ast | ||
| 2435 | dba: p5infix | ||
| 2436 | dic: STD::STD::P5 | ||
| 2437 | re: !!perl/hash:RE_sequence | ||
| 2438 | zyg: | ||
| 2439 | - !!perl/hash:RE_method | ||
| 2440 | i: 0 | ||
| 2441 | name: sym | ||
| 2442 | rest: '' | ||
| 2443 | sym: '-' | ||
| 2444 | - !!perl/hash:RE_method | ||
| 2445 | name: O | ||
| 2446 | rest: 1 | ||
| 2447 | p5infix__S_161Amp: !!perl/hash:RE_ast | ||
| 2448 | dba: p5infix | ||
| 2449 | dic: STD::STD::P5 | ||
| 2450 | re: !!perl/hash:RE_sequence | ||
| 2451 | zyg: | ||
| 2452 | - !!perl/hash:RE_method | ||
| 2453 | i: 0 | ||
| 2454 | name: sym | ||
| 2455 | rest: '' | ||
| 2456 | sym: '&' | ||
| 2457 | - !!perl/hash:RE_method | ||
| 2458 | name: O | ||
| 2459 | rest: 1 | ||
| 2460 | p5infix__S_162also: !!perl/hash:RE_ast | ||
| 2461 | dba: p5infix | ||
| 2462 | dic: STD::STD::P5 | ||
| 2463 | re: !!perl/hash:RE_sequence | ||
| 2464 | zyg: | ||
| 2465 | - !!perl/hash:RE_method | ||
| 2466 | i: 0 | ||
| 2467 | name: sym | ||
| 2468 | rest: '' | ||
| 2469 | sym: also | ||
| 2470 | - !!perl/hash:RE_method | ||
| 2471 | name: O | ||
| 2472 | rest: 1 | ||
| 2473 | p5infix__S_163Vert: !!perl/hash:RE_ast | ||
| 2474 | dba: p5infix | ||
| 2475 | dic: STD::STD::P5 | ||
| 2476 | re: !!perl/hash:RE_sequence | ||
| 2477 | zyg: | ||
| 2478 | - !!perl/hash:RE_method | ||
| 2479 | i: 0 | ||
| 2480 | name: sym | ||
| 2481 | rest: '' | ||
| 2482 | sym: '|' | ||
| 2483 | - !!perl/hash:RE_method | ||
| 2484 | name: O | ||
| 2485 | rest: 1 | ||
| 2486 | p5infix__S_164Caret: !!perl/hash:RE_ast | ||
| 2487 | dba: p5infix | ||
| 2488 | dic: STD::STD::P5 | ||
| 2489 | re: !!perl/hash:RE_sequence | ||
| 2490 | zyg: | ||
| 2491 | - !!perl/hash:RE_method | ||
| 2492 | i: 0 | ||
| 2493 | name: sym | ||
| 2494 | rest: '' | ||
| 2495 | sym: ^ | ||
| 2496 | - !!perl/hash:RE_method | ||
| 2497 | name: O | ||
| 2498 | rest: 1 | ||
| 2499 | p5infix__S_169LtEqualGt: !!perl/hash:RE_ast | ||
| 2500 | dba: p5infix | ||
| 2501 | dic: STD::STD::P5 | ||
| 2502 | re: !!perl/hash:RE_sequence | ||
| 2503 | zyg: | ||
| 2504 | - !!perl/hash:RE_method | ||
| 2505 | i: 0 | ||
| 2506 | name: sym | ||
| 2507 | rest: '' | ||
| 2508 | sym: <=> | ||
| 2509 | - !!perl/hash:RE_assertion | ||
| 2510 | assert: '?' | ||
| 2511 | re: !!perl/hash:RE_block | ||
| 2512 | nobind: 1 | ||
| 2513 | - !!perl/hash:RE_method | ||
| 2514 | name: O | ||
| 2515 | rest: 1 | ||
| 2516 | p5infix__S_170cmp: !!perl/hash:RE_ast | ||
| 2517 | dba: p5infix | ||
| 2518 | dic: STD::STD::P5 | ||
| 2519 | re: !!perl/hash:RE_sequence | ||
| 2520 | zyg: | ||
| 2521 | - !!perl/hash:RE_method | ||
| 2522 | i: 0 | ||
| 2523 | name: sym | ||
| 2524 | rest: '' | ||
| 2525 | sym: cmp | ||
| 2526 | - !!perl/hash:RE_assertion | ||
| 2527 | assert: '?' | ||
| 2528 | re: !!perl/hash:RE_block | ||
| 2529 | nobind: 1 | ||
| 2530 | - !!perl/hash:RE_method | ||
| 2531 | name: O | ||
| 2532 | rest: 1 | ||
| 2533 | p5infix__S_171Lt: !!perl/hash:RE_ast | ||
| 2534 | dba: p5infix | ||
| 2535 | dic: STD::STD::P5 | ||
| 2536 | re: !!perl/hash:RE_sequence | ||
| 2537 | zyg: | ||
| 2538 | - !!perl/hash:RE_method | ||
| 2539 | i: 0 | ||
| 2540 | name: sym | ||
| 2541 | rest: '' | ||
| 2542 | sym: < | ||
| 2543 | - !!perl/hash:RE_method | ||
| 2544 | name: O | ||
| 2545 | rest: 1 | ||
| 2546 | p5infix__S_172LtEqual: !!perl/hash:RE_ast | ||
| 2547 | dba: p5infix | ||
| 2548 | dic: STD::STD::P5 | ||
| 2549 | re: !!perl/hash:RE_sequence | ||
| 2550 | zyg: | ||
| 2551 | - !!perl/hash:RE_method | ||
| 2552 | i: 0 | ||
| 2553 | name: sym | ||
| 2554 | rest: '' | ||
| 2555 | sym: <= | ||
| 2556 | - !!perl/hash:RE_method | ||
| 2557 | name: O | ||
| 2558 | rest: 1 | ||
| 2559 | p5infix__S_173Gt: !!perl/hash:RE_ast | ||
| 2560 | dba: p5infix | ||
| 2561 | dic: STD::STD::P5 | ||
| 2562 | re: !!perl/hash:RE_sequence | ||
| 2563 | zyg: | ||
| 2564 | - !!perl/hash:RE_method | ||
| 2565 | i: 0 | ||
| 2566 | name: sym | ||
| 2567 | rest: '' | ||
| 2568 | sym: '>' | ||
| 2569 | - !!perl/hash:RE_method | ||
| 2570 | name: O | ||
| 2571 | rest: 1 | ||
| 2572 | p5infix__S_174GtEqual: !!perl/hash:RE_ast | ||
| 2573 | dba: p5infix | ||
| 2574 | dic: STD::STD::P5 | ||
| 2575 | re: !!perl/hash:RE_sequence | ||
| 2576 | zyg: | ||
| 2577 | - !!perl/hash:RE_method | ||
| 2578 | i: 0 | ||
| 2579 | name: sym | ||
| 2580 | rest: '' | ||
| 2581 | sym: '>=' | ||
| 2582 | - !!perl/hash:RE_method | ||
| 2583 | name: O | ||
| 2584 | rest: 1 | ||
| 2585 | p5infix__S_175eq: !!perl/hash:RE_ast | ||
| 2586 | dba: p5infix | ||
| 2587 | dic: STD::STD::P5 | ||
| 2588 | re: !!perl/hash:RE_sequence | ||
| 2589 | zyg: | ||
| 2590 | - !!perl/hash:RE_method | ||
| 2591 | i: 0 | ||
| 2592 | name: sym | ||
| 2593 | rest: '' | ||
| 2594 | sym: eq | ||
| 2595 | - !!perl/hash:RE_method | ||
| 2596 | name: O | ||
| 2597 | rest: 1 | ||
| 2598 | p5infix__S_176ne: !!perl/hash:RE_ast | ||
| 2599 | dba: p5infix | ||
| 2600 | dic: STD::STD::P5 | ||
| 2601 | re: !!perl/hash:RE_sequence | ||
| 2602 | zyg: | ||
| 2603 | - !!perl/hash:RE_method | ||
| 2604 | i: 0 | ||
| 2605 | name: sym | ||
| 2606 | rest: '' | ||
| 2607 | sym: ne | ||
| 2608 | - !!perl/hash:RE_method | ||
| 2609 | name: O | ||
| 2610 | rest: 1 | ||
| 2611 | p5infix__S_177lt: !!perl/hash:RE_ast | ||
| 2612 | dba: p5infix | ||
| 2613 | dic: STD::STD::P5 | ||
| 2614 | re: !!perl/hash:RE_sequence | ||
| 2615 | zyg: | ||
| 2616 | - !!perl/hash:RE_method | ||
| 2617 | i: 0 | ||
| 2618 | name: sym | ||
| 2619 | rest: '' | ||
| 2620 | sym: lt | ||
| 2621 | - !!perl/hash:RE_method | ||
| 2622 | name: O | ||
| 2623 | rest: 1 | ||
| 2624 | p5infix__S_178le: !!perl/hash:RE_ast | ||
| 2625 | dba: p5infix | ||
| 2626 | dic: STD::STD::P5 | ||
| 2627 | re: !!perl/hash:RE_sequence | ||
| 2628 | zyg: | ||
| 2629 | - !!perl/hash:RE_method | ||
| 2630 | i: 0 | ||
| 2631 | name: sym | ||
| 2632 | rest: '' | ||
| 2633 | sym: le | ||
| 2634 | - !!perl/hash:RE_method | ||
| 2635 | name: O | ||
| 2636 | rest: 1 | ||
| 2637 | p5infix__S_179gt: !!perl/hash:RE_ast | ||
| 2638 | dba: p5infix | ||
| 2639 | dic: STD::STD::P5 | ||
| 2640 | re: !!perl/hash:RE_sequence | ||
| 2641 | zyg: | ||
| 2642 | - !!perl/hash:RE_method | ||
| 2643 | i: 0 | ||
| 2644 | name: sym | ||
| 2645 | rest: '' | ||
| 2646 | sym: gt | ||
| 2647 | - !!perl/hash:RE_method | ||
| 2648 | name: O | ||
| 2649 | rest: 1 | ||
| 2650 | p5infix__S_180ge: !!perl/hash:RE_ast | ||
| 2651 | dba: p5infix | ||
| 2652 | dic: STD::STD::P5 | ||
| 2653 | re: !!perl/hash:RE_sequence | ||
| 2654 | zyg: | ||
| 2655 | - !!perl/hash:RE_method | ||
| 2656 | i: 0 | ||
| 2657 | name: sym | ||
| 2658 | rest: '' | ||
| 2659 | sym: ge | ||
| 2660 | - !!perl/hash:RE_method | ||
| 2661 | name: O | ||
| 2662 | rest: 1 | ||
| 2663 | p5infix__S_181EqualEqual: !!perl/hash:RE_ast | ||
| 2664 | dba: p5infix | ||
| 2665 | dic: STD::STD::P5 | ||
| 2666 | re: !!perl/hash:RE_sequence | ||
| 2667 | zyg: | ||
| 2668 | - !!perl/hash:RE_method | ||
| 2669 | i: 0 | ||
| 2670 | name: sym | ||
| 2671 | rest: '' | ||
| 2672 | sym: == | ||
| 2673 | - !!perl/hash:RE_assertion | ||
| 2674 | assert: '!' | ||
| 2675 | re: !!perl/hash:RE_method_re | ||
| 2676 | name: before | ||
| 2677 | nobind: 1 | ||
| 2678 | re: !!perl/hash:RE_string | ||
| 2679 | i: 0 | ||
| 2680 | text: = | ||
| 2681 | - !!perl/hash:RE_method | ||
| 2682 | name: O | ||
| 2683 | rest: 1 | ||
| 2684 | p5infix__S_182BangEqual: !!perl/hash:RE_ast | ||
| 2685 | dba: p5infix | ||
| 2686 | dic: STD::STD::P5 | ||
| 2687 | re: !!perl/hash:RE_sequence | ||
| 2688 | zyg: | ||
| 2689 | - !!perl/hash:RE_method | ||
| 2690 | i: 0 | ||
| 2691 | name: sym | ||
| 2692 | rest: '' | ||
| 2693 | sym: '!=' | ||
| 2694 | - !!perl/hash:RE_assertion | ||
| 2695 | assert: '?' | ||
| 2696 | re: !!perl/hash:RE_method_re | ||
| 2697 | name: before | ||
| 2698 | nobind: 1 | ||
| 2699 | re: !!perl/hash:RE_meta | ||
| 2700 | min: 1 | ||
| 2701 | text: \s | ||
| 2702 | - !!perl/hash:RE_method | ||
| 2703 | name: O | ||
| 2704 | rest: 1 | ||
| 2705 | p5infix__S_183AmpAmp: !!perl/hash:RE_ast | ||
| 2706 | dba: p5infix | ||
| 2707 | dic: STD::STD::P5 | ||
| 2708 | re: !!perl/hash:RE_sequence | ||
| 2709 | zyg: | ||
| 2710 | - !!perl/hash:RE_method | ||
| 2711 | i: 0 | ||
| 2712 | name: sym | ||
| 2713 | rest: '' | ||
| 2714 | sym: '&&' | ||
| 2715 | - !!perl/hash:RE_method | ||
| 2716 | name: O | ||
| 2717 | rest: 1 | ||
| 2718 | p5infix__S_184VertVert: !!perl/hash:RE_ast | ||
| 2719 | dba: p5infix | ||
| 2720 | dic: STD::STD::P5 | ||
| 2721 | re: !!perl/hash:RE_sequence | ||
| 2722 | zyg: | ||
| 2723 | - !!perl/hash:RE_method | ||
| 2724 | i: 0 | ||
| 2725 | name: sym | ||
| 2726 | rest: '' | ||
| 2727 | sym: '||' | ||
| 2728 | - !!perl/hash:RE_method | ||
| 2729 | name: O | ||
| 2730 | rest: 1 | ||
| 2731 | p5infix__S_185CaretCaret: !!perl/hash:RE_ast | ||
| 2732 | dba: p5infix | ||
| 2733 | dic: STD::STD::P5 | ||
| 2734 | re: !!perl/hash:RE_sequence | ||
| 2735 | zyg: | ||
| 2736 | - !!perl/hash:RE_method | ||
| 2737 | i: 0 | ||
| 2738 | name: sym | ||
| 2739 | rest: '' | ||
| 2740 | sym: ^^ | ||
| 2741 | - !!perl/hash:RE_method | ||
| 2742 | name: O | ||
| 2743 | rest: 1 | ||
| 2744 | p5infix__S_186SlashSlash: !!perl/hash:RE_ast | ||
| 2745 | dba: p5infix | ||
| 2746 | dic: STD::STD::P5 | ||
| 2747 | re: !!perl/hash:RE_sequence | ||
| 2748 | zyg: | ||
| 2749 | - !!perl/hash:RE_method | ||
| 2750 | i: 0 | ||
| 2751 | name: sym | ||
| 2752 | rest: '' | ||
| 2753 | sym: // | ||
| 2754 | - !!perl/hash:RE_method | ||
| 2755 | name: O | ||
| 2756 | rest: 1 | ||
| 2757 | p5infix__S_187DotDot: !!perl/hash:RE_ast | ||
| 2758 | dba: p5infix | ||
| 2759 | dic: STD::STD::P5 | ||
| 2760 | re: !!perl/hash:RE_sequence | ||
| 2761 | zyg: | ||
| 2762 | - !!perl/hash:RE_method | ||
| 2763 | i: 0 | ||
| 2764 | name: sym | ||
| 2765 | rest: '' | ||
| 2766 | sym: .. | ||
| 2767 | - !!perl/hash:RE_method | ||
| 2768 | name: O | ||
| 2769 | rest: 1 | ||
| 2770 | p5infix__S_188DotDotDot: !!perl/hash:RE_ast | ||
| 2771 | dba: p5infix | ||
| 2772 | dic: STD::STD::P5 | ||
| 2773 | re: !!perl/hash:RE_sequence | ||
| 2774 | zyg: | ||
| 2775 | - !!perl/hash:RE_method | ||
| 2776 | i: 0 | ||
| 2777 | name: sym | ||
| 2778 | rest: '' | ||
| 2779 | sym: '...' | ||
| 2780 | - !!perl/hash:RE_method | ||
| 2781 | name: O | ||
| 2782 | rest: 1 | ||
| 2783 | p5infix__S_189Question_Colon: !!perl/hash:RE_ast | ||
| 2784 | dba: p5infix | ||
| 2785 | dic: STD::STD::P5 | ||
| 2786 | re: !!perl/hash:RE_sequence | ||
| 2787 | zyg: | ||
| 2788 | - !!perl/hash:RE_string | ||
| 2789 | i: 0 | ||
| 2790 | text: '?' | ||
| 2791 | - !!perl/hash:RE_method | ||
| 2792 | name: ws | ||
| 2793 | rest: '' | ||
| 2794 | - !!perl/hash:RE_method | ||
| 2795 | name: EXPR | ||
| 2796 | rest: 1 | ||
| 2797 | - !!perl/hash:RE_bracket | ||
| 2798 | re: !!perl/hash:RE_first | ||
| 2799 | zyg: | ||
| 2800 | - !!perl/hash:RE_string | ||
| 2801 | i: 0 | ||
| 2802 | text: ':' | ||
| 2803 | - !!perl/hash:RE_bracket | ||
| 2804 | re: !!perl/hash:RE_first | ||
| 2805 | zyg: | ||
| 2806 | - !!perl/hash:RE_sequence | ||
| 2807 | zyg: | ||
| 2808 | - !!perl/hash:RE_assertion | ||
| 2809 | assert: '?' | ||
| 2810 | re: !!perl/hash:RE_method_re | ||
| 2811 | name: before | ||
| 2812 | nobind: 1 | ||
| 2813 | re: !!perl/hash:RE_string | ||
| 2814 | i: 0 | ||
| 2815 | text: = | ||
| 2816 | - !!perl/hash:RE_method | ||
| 2817 | name: panic | ||
| 2818 | rest: 1 | ||
| 2819 | - !!perl/hash:RE_sequence | ||
| 2820 | zyg: | ||
| 2821 | - !!perl/hash:RE_assertion | ||
| 2822 | assert: '?' | ||
| 2823 | re: !!perl/hash:RE_method_re | ||
| 2824 | name: before | ||
| 2825 | nobind: 1 | ||
| 2826 | re: !!perl/hash:RE_string | ||
| 2827 | i: 0 | ||
| 2828 | text: '!!' | ||
| 2829 | - !!perl/hash:RE_method | ||
| 2830 | name: panic | ||
| 2831 | rest: 1 | ||
| 2832 | - !!perl/hash:RE_sequence | ||
| 2833 | zyg: | ||
| 2834 | - !!perl/hash:RE_assertion | ||
| 2835 | assert: '?' | ||
| 2836 | re: !!perl/hash:RE_method_re | ||
| 2837 | name: before | ||
| 2838 | nobind: 1 | ||
| 2839 | re: !!perl/hash:RE_method | ||
| 2840 | name: infixish | ||
| 2841 | rest: '' | ||
| 2842 | - !!perl/hash:RE_method | ||
| 2843 | name: panic | ||
| 2844 | rest: 1 | ||
| 2845 | - !!perl/hash:RE_method | ||
| 2846 | name: panic | ||
| 2847 | rest: 1 | ||
| 2848 | - !!perl/hash:RE_block {} | ||
| 2849 | - !!perl/hash:RE_method | ||
| 2850 | name: O | ||
| 2851 | rest: 1 | ||
| 2852 | p5infix__S_190Equal: !!perl/hash:RE_ast | ||
| 2853 | dba: p5infix | ||
| 2854 | dic: STD::STD::P5 | ||
| 2855 | re: !!perl/hash:RE_sequence | ||
| 2856 | zyg: | ||
| 2857 | - !!perl/hash:RE_method | ||
| 2858 | i: 0 | ||
| 2859 | name: sym | ||
| 2860 | rest: '' | ||
| 2861 | sym: = | ||
| 2862 | - !!perl/hash:RE_method | ||
| 2863 | name: O | ||
| 2864 | rest: 1 | ||
| 2865 | p5infix__S_191Comma: !!perl/hash:RE_ast | ||
| 2866 | dba: p5infix | ||
| 2867 | dic: STD::STD::P5 | ||
| 2868 | re: !!perl/hash:RE_sequence | ||
| 2869 | zyg: | ||
| 2870 | - !!perl/hash:RE_method | ||
| 2871 | i: 0 | ||
| 2872 | name: sym | ||
| 2873 | rest: '' | ||
| 2874 | sym: ',' | ||
| 2875 | - !!perl/hash:RE_block {} | ||
| 2876 | - !!perl/hash:RE_method | ||
| 2877 | name: O | ||
| 2878 | rest: 1 | ||
| 2879 | p5infix__S_192EqualGt: !!perl/hash:RE_ast | ||
| 2880 | dba: p5infix | ||
| 2881 | dic: STD::STD::P5 | ||
| 2882 | re: !!perl/hash:RE_sequence | ||
| 2883 | zyg: | ||
| 2884 | - !!perl/hash:RE_method | ||
| 2885 | i: 0 | ||
| 2886 | name: sym | ||
| 2887 | rest: '' | ||
| 2888 | sym: => | ||
| 2889 | - !!perl/hash:RE_block {} | ||
| 2890 | - !!perl/hash:RE_method | ||
| 2891 | name: O | ||
| 2892 | rest: 1 | ||
| 2893 | p5infix__S_196and: !!perl/hash:RE_ast | ||
| 2894 | dba: p5infix | ||
| 2895 | dic: STD::STD::P5 | ||
| 2896 | re: !!perl/hash:RE_sequence | ||
| 2897 | zyg: | ||
| 2898 | - !!perl/hash:RE_method | ||
| 2899 | i: 0 | ||
| 2900 | name: sym | ||
| 2901 | rest: '' | ||
| 2902 | sym: and | ||
| 2903 | - !!perl/hash:RE_method | ||
| 2904 | name: O | ||
| 2905 | rest: 1 | ||
| 2906 | p5infix__S_197andthen: !!perl/hash:RE_ast | ||
| 2907 | dba: p5infix | ||
| 2908 | dic: STD::STD::P5 | ||
| 2909 | re: !!perl/hash:RE_sequence | ||
| 2910 | zyg: | ||
| 2911 | - !!perl/hash:RE_method | ||
| 2912 | i: 0 | ||
| 2913 | name: sym | ||
| 2914 | rest: '' | ||
| 2915 | sym: andthen | ||
| 2916 | - !!perl/hash:RE_method | ||
| 2917 | name: O | ||
| 2918 | rest: 1 | ||
| 2919 | p5infix__S_198or: !!perl/hash:RE_ast | ||
| 2920 | dba: p5infix | ||
| 2921 | dic: STD::STD::P5 | ||
| 2922 | re: !!perl/hash:RE_sequence | ||
| 2923 | zyg: | ||
| 2924 | - !!perl/hash:RE_method | ||
| 2925 | i: 0 | ||
| 2926 | name: sym | ||
| 2927 | rest: '' | ||
| 2928 | sym: or | ||
| 2929 | - !!perl/hash:RE_method | ||
| 2930 | name: O | ||
| 2931 | rest: 1 | ||
| 2932 | p5infix__S_199orelse: !!perl/hash:RE_ast | ||
| 2933 | dba: p5infix | ||
| 2934 | dic: STD::STD::P5 | ||
| 2935 | re: !!perl/hash:RE_sequence | ||
| 2936 | zyg: | ||
| 2937 | - !!perl/hash:RE_method | ||
| 2938 | i: 0 | ||
| 2939 | name: sym | ||
| 2940 | rest: '' | ||
| 2941 | sym: orelse | ||
| 2942 | - !!perl/hash:RE_method | ||
| 2943 | name: O | ||
| 2944 | rest: 1 | ||
| 2945 | p5infix__S_200xor: !!perl/hash:RE_ast | ||
| 2946 | dba: p5infix | ||
| 2947 | dic: STD::STD::P5 | ||
| 2948 | re: !!perl/hash:RE_sequence | ||
| 2949 | zyg: | ||
| 2950 | - !!perl/hash:RE_method | ||
| 2951 | i: 0 | ||
| 2952 | name: sym | ||
| 2953 | rest: '' | ||
| 2954 | sym: xor | ||
| 2955 | - !!perl/hash:RE_method | ||
| 2956 | name: O | ||
| 2957 | rest: 1 | ||
| 2958 | p5module_name:*: | ||
| 2959 | dic: STD::STD::P5 | ||
| 2960 | p5module_name__S_047normal: !!perl/hash:RE_ast | ||
| 2961 | dba: p5module_name | ||
| 2962 | dic: STD::STD::P5 | ||
| 2963 | re: !!perl/hash:RE_sequence | ||
| 2964 | zyg: | ||
| 2965 | - !!perl/hash:RE_method | ||
| 2966 | name: longname | ||
| 2967 | rest: '' | ||
| 2968 | - !!perl/hash:RE_quantified_atom | ||
| 2969 | atom: !!perl/hash:RE_bracket | ||
| 2970 | re: !!perl/hash:RE_sequence | ||
| 2971 | zyg: | ||
| 2972 | - !!perl/hash:RE_assertion | ||
| 2973 | assert: '?' | ||
| 2974 | re: !!perl/hash:RE_method_re | ||
| 2975 | name: before | ||
| 2976 | nobind: 1 | ||
| 2977 | re: !!perl/hash:RE_string | ||
| 2978 | i: 0 | ||
| 2979 | text: '[' | ||
| 2980 | - !!perl/hash:RE_bracket | ||
| 2981 | re: !!perl/hash:RE_sequence | ||
| 2982 | zyg: | ||
| 2983 | - !!perl/hash:RE_string | ||
| 2984 | i: 0 | ||
| 2985 | text: '[' | ||
| 2986 | - !!perl/hash:RE_block {} | ||
| 2987 | - !!perl/hash:RE_method | ||
| 2988 | name: arglist | ||
| 2989 | rest: '' | ||
| 2990 | - !!perl/hash:RE_bracket | ||
| 2991 | re: !!perl/hash:RE_first | ||
| 2992 | zyg: | ||
| 2993 | - !!perl/hash:RE_string | ||
| 2994 | i: 0 | ||
| 2995 | text: ']' | ||
| 2996 | - !!perl/hash:RE_method | ||
| 2997 | name: FAILGOAL | ||
| 2998 | rest: 1 | ||
| 2999 | quant: | ||
| 3000 | - '?' | ||
| 3001 | p5multi_declarator__S_054null: !!perl/hash:RE_ast | ||
| 3002 | dba: p5multi_declarator | ||
| 3003 | dic: STD::STD::P5 | ||
| 3004 | re: !!perl/hash:RE_method | ||
| 3005 | name: declarator | ||
| 3006 | rest: '' | ||
| 3007 | p5number:*: | ||
| 3008 | dic: STD::STD::P5 | ||
| 3009 | p5package_declarator:*: | ||
| 3010 | dic: STD::STD::P5 | ||
| 3011 | p5package_declarator__S_052package: !!perl/hash:RE_ast | ||
| 3012 | dba: p5package_declarator | ||
| 3013 | dic: STD::STD::P5 | ||
| 3014 | re: !!perl/hash:RE_sequence | ||
| 3015 | zyg: | ||
| 3016 | - !!perl/hash:RE_method | ||
| 3017 | endsym: spacey | ||
| 3018 | i: 0 | ||
| 3019 | name: sym | ||
| 3020 | rest: '' | ||
| 3021 | sym: package | ||
| 3022 | - !!perl/hash:RE_method | ||
| 3023 | name: spacey | ||
| 3024 | rest: '' | ||
| 3025 | - !!perl/hash:RE_method | ||
| 3026 | name: package_def | ||
| 3027 | rest: '' | ||
| 3028 | p5package_declarator__S_053require: !!perl/hash:RE_ast | ||
| 3029 | dba: p5package_declarator | ||
| 3030 | dic: STD::STD::P5 | ||
| 3031 | re: !!perl/hash:RE_sequence | ||
| 3032 | zyg: | ||
| 3033 | - !!perl/hash:RE_method | ||
| 3034 | endsym: spacey | ||
| 3035 | i: 0 | ||
| 3036 | name: sym | ||
| 3037 | rest: '' | ||
| 3038 | sym: require | ||
| 3039 | - !!perl/hash:RE_method | ||
| 3040 | name: spacey | ||
| 3041 | rest: '' | ||
| 3042 | - !!perl/hash:RE_method | ||
| 3043 | name: ws | ||
| 3044 | rest: '' | ||
| 3045 | - !!perl/hash:RE_bracket | ||
| 3046 | re: !!perl/hash:RE_first | ||
| 3047 | zyg: | ||
| 3048 | - !!perl/hash:RE_sequence | ||
| 3049 | zyg: | ||
| 3050 | - !!perl/hash:RE_bindnamed | ||
| 3051 | atom: !!perl/hash:RE_method | ||
| 3052 | name: p5module_name | ||
| 3053 | rest: '' | ||
| 3054 | - !!perl/hash:RE_quantified_atom | ||
| 3055 | atom: !!perl/hash:RE_method | ||
| 3056 | name: EXPR | ||
| 3057 | rest: '' | ||
| 3058 | quant: | ||
| 3059 | - '?' | ||
| 3060 | - !!perl/hash:RE_method | ||
| 3061 | name: EXPR | ||
| 3062 | rest: '' | ||
| 3063 | p5postcircumfix:*: | ||
| 3064 | dic: STD::STD::P5 | ||
| 3065 | p5postcircumfix__S_136Paren_Thesis: !!perl/hash:RE_ast | ||
| 3066 | dba: argument list | ||
| 3067 | dic: STD::STD::P5 | ||
| 3068 | re: !!perl/hash:RE_sequence | ||
| 3069 | zyg: | ||
| 3070 | - !!perl/hash:RE_bracket | ||
| 3071 | re: !!perl/hash:RE_sequence | ||
| 3072 | zyg: | ||
| 3073 | - !!perl/hash:RE_string | ||
| 3074 | i: 0 | ||
| 3075 | text: ( | ||
| 3076 | - !!perl/hash:RE_block {} | ||
| 3077 | - !!perl/hash:RE_method | ||
| 3078 | name: semiarglist | ||
| 3079 | rest: '' | ||
| 3080 | - !!perl/hash:RE_bracket | ||
| 3081 | re: !!perl/hash:RE_first | ||
| 3082 | zyg: | ||
| 3083 | - !!perl/hash:RE_string | ||
| 3084 | i: 0 | ||
| 3085 | text: ) | ||
| 3086 | - !!perl/hash:RE_method | ||
| 3087 | name: FAILGOAL | ||
| 3088 | rest: 1 | ||
| 3089 | - !!perl/hash:RE_method | ||
| 3090 | name: O | ||
| 3091 | rest: 1 | ||
| 3092 | p5postcircumfix__S_137Bra_Ket: !!perl/hash:RE_ast | ||
| 3093 | dba: subscript | ||
| 3094 | dic: STD::STD::P5 | ||
| 3095 | re: !!perl/hash:RE_sequence | ||
| 3096 | zyg: | ||
| 3097 | - !!perl/hash:RE_bracket | ||
| 3098 | re: !!perl/hash:RE_sequence | ||
| 3099 | zyg: | ||
| 3100 | - !!perl/hash:RE_string | ||
| 3101 | i: 0 | ||
| 3102 | text: '[' | ||
| 3103 | - !!perl/hash:RE_block {} | ||
| 3104 | - !!perl/hash:RE_method | ||
| 3105 | name: semilist | ||
| 3106 | rest: '' | ||
| 3107 | - !!perl/hash:RE_bracket | ||
| 3108 | re: !!perl/hash:RE_first | ||
| 3109 | zyg: | ||
| 3110 | - !!perl/hash:RE_string | ||
| 3111 | i: 0 | ||
| 3112 | text: ']' | ||
| 3113 | - !!perl/hash:RE_method | ||
| 3114 | name: FAILGOAL | ||
| 3115 | rest: 1 | ||
| 3116 | - !!perl/hash:RE_method | ||
| 3117 | name: O | ||
| 3118 | rest: 1 | ||
| 3119 | p5postcircumfix__S_138Cur_Ly: !!perl/hash:RE_ast | ||
| 3120 | dba: subscript | ||
| 3121 | dic: STD::STD::P5 | ||
| 3122 | re: !!perl/hash:RE_sequence | ||
| 3123 | zyg: | ||
| 3124 | - !!perl/hash:RE_bracket | ||
| 3125 | re: !!perl/hash:RE_sequence | ||
| 3126 | zyg: | ||
| 3127 | - !!perl/hash:RE_string | ||
| 3128 | i: 0 | ||
| 3129 | text: '{' | ||
| 3130 | - !!perl/hash:RE_block {} | ||
| 3131 | - !!perl/hash:RE_method | ||
| 3132 | name: semilist | ||
| 3133 | rest: '' | ||
| 3134 | - !!perl/hash:RE_bracket | ||
| 3135 | re: !!perl/hash:RE_first | ||
| 3136 | zyg: | ||
| 3137 | - !!perl/hash:RE_string | ||
| 3138 | i: 0 | ||
| 3139 | text: '}' | ||
| 3140 | - !!perl/hash:RE_method | ||
| 3141 | name: FAILGOAL | ||
| 3142 | rest: 1 | ||
| 3143 | - !!perl/hash:RE_method | ||
| 3144 | name: O | ||
| 3145 | rest: 1 | ||
| 3146 | p5postfix:*: | ||
| 3147 | dic: STD::STD::P5 | ||
| 3148 | p5postfix__S_140MinusGt: !!perl/hash:RE_ast | ||
| 3149 | dba: p5postfix | ||
| 3150 | dic: STD::STD::P5 | ||
| 3151 | re: !!perl/hash:RE_string | ||
| 3152 | i: 0 | ||
| 3153 | text: -> | ||
| 3154 | p5postfix__S_141PlusPlus: !!perl/hash:RE_ast | ||
| 3155 | dba: p5postfix | ||
| 3156 | dic: STD::STD::P5 | ||
| 3157 | re: !!perl/hash:RE_sequence | ||
| 3158 | zyg: | ||
| 3159 | - !!perl/hash:RE_method | ||
| 3160 | i: 0 | ||
| 3161 | name: sym | ||
| 3162 | rest: '' | ||
| 3163 | sym: ++ | ||
| 3164 | - !!perl/hash:RE_method | ||
| 3165 | name: O | ||
| 3166 | rest: 1 | ||
| 3167 | p5postfix__S_142MinusMinus: !!perl/hash:RE_ast | ||
| 3168 | dba: p5postfix | ||
| 3169 | dic: STD::STD::P5 | ||
| 3170 | re: !!perl/hash:RE_sequence | ||
| 3171 | zyg: | ||
| 3172 | - !!perl/hash:RE_method | ||
| 3173 | i: 0 | ||
| 3174 | name: sym | ||
| 3175 | rest: '' | ||
| 3176 | sym: -- | ||
| 3177 | - !!perl/hash:RE_method | ||
| 3178 | name: O | ||
| 3179 | rest: 1 | ||
| 3180 | p5prefix:*: | ||
| 3181 | dic: STD::STD::P5 | ||
| 3182 | p5prefix__S_143PlusPlus: !!perl/hash:RE_ast | ||
| 3183 | dba: p5prefix | ||
| 3184 | dic: STD::STD::P5 | ||
| 3185 | re: !!perl/hash:RE_sequence | ||
| 3186 | zyg: | ||
| 3187 | - !!perl/hash:RE_method | ||
| 3188 | i: 0 | ||
| 3189 | name: sym | ||
| 3190 | rest: '' | ||
| 3191 | sym: ++ | ||
| 3192 | - !!perl/hash:RE_method | ||
| 3193 | name: O | ||
| 3194 | rest: 1 | ||
| 3195 | p5prefix__S_144MinusMinus: !!perl/hash:RE_ast | ||
| 3196 | dba: p5prefix | ||
| 3197 | dic: STD::STD::P5 | ||
| 3198 | re: !!perl/hash:RE_sequence | ||
| 3199 | zyg: | ||
| 3200 | - !!perl/hash:RE_method | ||
| 3201 | i: 0 | ||
| 3202 | name: sym | ||
| 3203 | rest: '' | ||
| 3204 | sym: -- | ||
| 3205 | - !!perl/hash:RE_method | ||
| 3206 | name: O | ||
| 3207 | rest: 1 | ||
| 3208 | p5prefix__S_146Bang: !!perl/hash:RE_ast | ||
| 3209 | dba: p5prefix | ||
| 3210 | dic: STD::STD::P5 | ||
| 3211 | re: !!perl/hash:RE_sequence | ||
| 3212 | zyg: | ||
| 3213 | - !!perl/hash:RE_method | ||
| 3214 | i: 0 | ||
| 3215 | name: sym | ||
| 3216 | rest: '' | ||
| 3217 | sym: '!' | ||
| 3218 | - !!perl/hash:RE_method | ||
| 3219 | name: O | ||
| 3220 | rest: 1 | ||
| 3221 | p5prefix__S_147Plus: !!perl/hash:RE_ast | ||
| 3222 | dba: p5prefix | ||
| 3223 | dic: STD::STD::P5 | ||
| 3224 | re: !!perl/hash:RE_sequence | ||
| 3225 | zyg: | ||
| 3226 | - !!perl/hash:RE_method | ||
| 3227 | i: 0 | ||
| 3228 | name: sym | ||
| 3229 | rest: '' | ||
| 3230 | sym: + | ||
| 3231 | - !!perl/hash:RE_method | ||
| 3232 | name: O | ||
| 3233 | rest: 1 | ||
| 3234 | p5prefix__S_148Minus: !!perl/hash:RE_ast | ||
| 3235 | dba: p5prefix | ||
| 3236 | dic: STD::STD::P5 | ||
| 3237 | re: !!perl/hash:RE_sequence | ||
| 3238 | zyg: | ||
| 3239 | - !!perl/hash:RE_method | ||
| 3240 | i: 0 | ||
| 3241 | name: sym | ||
| 3242 | rest: '' | ||
| 3243 | sym: '-' | ||
| 3244 | - !!perl/hash:RE_method | ||
| 3245 | name: O | ||
| 3246 | rest: 1 | ||
| 3247 | p5prefix__S_149Tilde: !!perl/hash:RE_ast | ||
| 3248 | dba: p5prefix | ||
| 3249 | dic: STD::STD::P5 | ||
| 3250 | re: !!perl/hash:RE_sequence | ||
| 3251 | zyg: | ||
| 3252 | - !!perl/hash:RE_method | ||
| 3253 | i: 0 | ||
| 3254 | name: sym | ||
| 3255 | rest: '' | ||
| 3256 | sym: '~' | ||
| 3257 | - !!perl/hash:RE_method | ||
| 3258 | name: O | ||
| 3259 | rest: 1 | ||
| 3260 | p5prefix__S_165sleep: !!perl/hash:RE_ast | ||
| 3261 | dba: p5prefix | ||
| 3262 | dic: STD::STD::P5 | ||
| 3263 | re: !!perl/hash:RE_sequence | ||
| 3264 | zyg: | ||
| 3265 | - !!perl/hash:RE_method | ||
| 3266 | i: 0 | ||
| 3267 | name: sym | ||
| 3268 | rest: '' | ||
| 3269 | sym: sleep | ||
| 3270 | - !!perl/hash:RE_meta | ||
| 3271 | text: » | ||
| 3272 | - !!perl/hash:RE_assertion | ||
| 3273 | assert: '?' | ||
| 3274 | re: !!perl/hash:RE_method_re | ||
| 3275 | name: before | ||
| 3276 | nobind: 1 | ||
| 3277 | re: !!perl/hash:RE_quantified_atom | ||
| 3278 | atom: !!perl/hash:RE_meta | ||
| 3279 | min: 1 | ||
| 3280 | text: \s | ||
| 3281 | quant: | ||
| 3282 | - '*' | ||
| 3283 | - !!perl/hash:RE_method | ||
| 3284 | name: O | ||
| 3285 | rest: 1 | ||
| 3286 | p5prefix__S_166abs: !!perl/hash:RE_ast | ||
| 3287 | dba: p5prefix | ||
| 3288 | dic: STD::STD::P5 | ||
| 3289 | re: !!perl/hash:RE_sequence | ||
| 3290 | zyg: | ||
| 3291 | - !!perl/hash:RE_method | ||
| 3292 | i: 0 | ||
| 3293 | name: sym | ||
| 3294 | rest: '' | ||
| 3295 | sym: abs | ||
| 3296 | - !!perl/hash:RE_meta | ||
| 3297 | text: » | ||
| 3298 | - !!perl/hash:RE_assertion | ||
| 3299 | assert: '?' | ||
| 3300 | re: !!perl/hash:RE_method_re | ||
| 3301 | name: before | ||
| 3302 | nobind: 1 | ||
| 3303 | re: !!perl/hash:RE_quantified_atom | ||
| 3304 | atom: !!perl/hash:RE_meta | ||
| 3305 | min: 1 | ||
| 3306 | text: \s | ||
| 3307 | quant: | ||
| 3308 | - '*' | ||
| 3309 | - !!perl/hash:RE_method | ||
| 3310 | name: O | ||
| 3311 | rest: 1 | ||
| 3312 | p5prefix__S_167let: !!perl/hash:RE_ast | ||
| 3313 | dba: p5prefix | ||
| 3314 | dic: STD::STD::P5 | ||
| 3315 | re: !!perl/hash:RE_sequence | ||
| 3316 | zyg: | ||
| 3317 | - !!perl/hash:RE_method | ||
| 3318 | i: 0 | ||
| 3319 | name: sym | ||
| 3320 | rest: '' | ||
| 3321 | sym: let | ||
| 3322 | - !!perl/hash:RE_meta | ||
| 3323 | text: » | ||
| 3324 | - !!perl/hash:RE_assertion | ||
| 3325 | assert: '?' | ||
| 3326 | re: !!perl/hash:RE_method_re | ||
| 3327 | name: before | ||
| 3328 | nobind: 1 | ||
| 3329 | re: !!perl/hash:RE_quantified_atom | ||
| 3330 | atom: !!perl/hash:RE_meta | ||
| 3331 | min: 1 | ||
| 3332 | text: \s | ||
| 3333 | quant: | ||
| 3334 | - '*' | ||
| 3335 | - !!perl/hash:RE_method | ||
| 3336 | name: O | ||
| 3337 | rest: 1 | ||
| 3338 | p5prefix__S_168temp: !!perl/hash:RE_ast | ||
| 3339 | dba: p5prefix | ||
| 3340 | dic: STD::STD::P5 | ||
| 3341 | re: !!perl/hash:RE_sequence | ||
| 3342 | zyg: | ||
| 3343 | - !!perl/hash:RE_method | ||
| 3344 | i: 0 | ||
| 3345 | name: sym | ||
| 3346 | rest: '' | ||
| 3347 | sym: temp | ||
| 3348 | - !!perl/hash:RE_meta | ||
| 3349 | text: » | ||
| 3350 | - !!perl/hash:RE_assertion | ||
| 3351 | assert: '?' | ||
| 3352 | re: !!perl/hash:RE_method_re | ||
| 3353 | name: before | ||
| 3354 | nobind: 1 | ||
| 3355 | re: !!perl/hash:RE_quantified_atom | ||
| 3356 | atom: !!perl/hash:RE_meta | ||
| 3357 | min: 1 | ||
| 3358 | text: \s | ||
| 3359 | quant: | ||
| 3360 | - '*' | ||
| 3361 | - !!perl/hash:RE_method | ||
| 3362 | name: O | ||
| 3363 | rest: 1 | ||
| 3364 | p5quote:*: | ||
| 3365 | dic: STD::STD::P5 | ||
| 3366 | p5quote__S_118Single_Single: !!perl/hash:RE_ast | ||
| 3367 | dba: p5quote | ||
| 3368 | dic: STD::STD::P5 | ||
| 3369 | re: !!perl/hash:RE_sequence | ||
| 3370 | zyg: | ||
| 3371 | - !!perl/hash:RE_double | ||
| 3372 | i: 0 | ||
| 3373 | text: '''' | ||
| 3374 | - !!perl/hash:RE_method | ||
| 3375 | name: nibble | ||
| 3376 | rest: 1 | ||
| 3377 | - !!perl/hash:RE_double | ||
| 3378 | i: 0 | ||
| 3379 | text: '''' | ||
| 3380 | p5quote__S_119Double_Double: !!perl/hash:RE_ast | ||
| 3381 | dba: p5quote | ||
| 3382 | dic: STD::STD::P5 | ||
| 3383 | re: !!perl/hash:RE_sequence | ||
| 3384 | zyg: | ||
| 3385 | - !!perl/hash:RE_string | ||
| 3386 | i: 0 | ||
| 3387 | text: '"' | ||
| 3388 | - !!perl/hash:RE_method | ||
| 3389 | name: nibble | ||
| 3390 | rest: 1 | ||
| 3391 | - !!perl/hash:RE_string | ||
| 3392 | i: 0 | ||
| 3393 | text: '"' | ||
| 3394 | p5quote__S_121Slash_Slash: !!perl/hash:RE_ast | ||
| 3395 | dba: p5quote | ||
| 3396 | dic: STD::STD::P5 | ||
| 3397 | re: !!perl/hash:RE_sequence | ||
| 3398 | zyg: | ||
| 3399 | - !!perl/hash:RE_string | ||
| 3400 | i: 0 | ||
| 3401 | text: / | ||
| 3402 | - !!perl/hash:RE_method | ||
| 3403 | name: nibble | ||
| 3404 | rest: 1 | ||
| 3405 | - !!perl/hash:RE_bracket | ||
| 3406 | re: !!perl/hash:RE_first | ||
| 3407 | zyg: | ||
| 3408 | - !!perl/hash:RE_string | ||
| 3409 | i: 0 | ||
| 3410 | text: / | ||
| 3411 | - !!perl/hash:RE_method | ||
| 3412 | name: panic | ||
| 3413 | rest: 1 | ||
| 3414 | - !!perl/hash:RE_quantified_atom | ||
| 3415 | atom: !!perl/hash:RE_method | ||
| 3416 | name: p5rx_mods | ||
| 3417 | rest: '' | ||
| 3418 | quant: | ||
| 3419 | - '?' | ||
| 3420 | p5regex_declarator:*: | ||
| 3421 | dic: STD::STD::P5 | ||
| 3422 | p5routine_declarator:*: | ||
| 3423 | dic: STD::STD::P5 | ||
| 3424 | p5routine_declarator__S_055sub: !!perl/hash:RE_ast | ||
| 3425 | dba: p5routine_declarator | ||
| 3426 | dic: STD::STD::P5 | ||
| 3427 | re: !!perl/hash:RE_sequence | ||
| 3428 | zyg: | ||
| 3429 | - !!perl/hash:RE_method | ||
| 3430 | endsym: nofun | ||
| 3431 | i: 0 | ||
| 3432 | name: sym | ||
| 3433 | rest: '' | ||
| 3434 | sym: sub | ||
| 3435 | - !!perl/hash:RE_method | ||
| 3436 | name: nofun | ||
| 3437 | rest: '' | ||
| 3438 | - !!perl/hash:RE_method | ||
| 3439 | name: routine_def | ||
| 3440 | rest: '' | ||
| 3441 | p5rx_mods: !!perl/hash:RE_ast | ||
| 3442 | dba: p5rx_mods | ||
| 3443 | dic: STD::STD::P5 | ||
| 3444 | re: !!perl/hash:RE_sequence | ||
| 3445 | zyg: | ||
| 3446 | - !!perl/hash:RE_assertion | ||
| 3447 | assert: '!' | ||
| 3448 | re: !!perl/hash:RE_method_re | ||
| 3449 | name: after | ||
| 3450 | nobind: 1 | ||
| 3451 | re: !!perl/hash:RE_meta | ||
| 3452 | min: 1 | ||
| 3453 | text: \s | ||
| 3454 | - !!perl/hash:RE_bindpos | ||
| 3455 | atom: !!perl/hash:RE_paren | ||
| 3456 | re: !!perl/hash:RE_quantified_atom | ||
| 3457 | atom: !!perl/hash:RE_qw | ||
| 3458 | min: 1 | ||
| 3459 | text: < i g s m x c e > | ||
| 3460 | quant: | ||
| 3461 | - + | ||
| 3462 | p5scope_declarator:*: | ||
| 3463 | dic: STD::STD::P5 | ||
| 3464 | p5scope_declarator__S_049my: !!perl/hash:RE_ast | ||
| 3465 | dba: p5scope_declarator | ||
| 3466 | dic: STD::STD::P5 | ||
| 3467 | re: !!perl/hash:RE_sequence | ||
| 3468 | zyg: | ||
| 3469 | - !!perl/hash:RE_method | ||
| 3470 | endsym: nofun | ||
| 3471 | i: 0 | ||
| 3472 | name: sym | ||
| 3473 | rest: '' | ||
| 3474 | sym: my | ||
| 3475 | - !!perl/hash:RE_method | ||
| 3476 | name: nofun | ||
| 3477 | rest: '' | ||
| 3478 | - !!perl/hash:RE_method | ||
| 3479 | name: scoped | ||
| 3480 | rest: 1 | ||
| 3481 | p5scope_declarator__S_050our: !!perl/hash:RE_ast | ||
| 3482 | dba: p5scope_declarator | ||
| 3483 | dic: STD::STD::P5 | ||
| 3484 | re: !!perl/hash:RE_sequence | ||
| 3485 | zyg: | ||
| 3486 | - !!perl/hash:RE_method | ||
| 3487 | endsym: nofun | ||
| 3488 | i: 0 | ||
| 3489 | name: sym | ||
| 3490 | rest: '' | ||
| 3491 | sym: our | ||
| 3492 | - !!perl/hash:RE_method | ||
| 3493 | name: nofun | ||
| 3494 | rest: '' | ||
| 3495 | - !!perl/hash:RE_method | ||
| 3496 | name: scoped | ||
| 3497 | rest: 1 | ||
| 3498 | p5scope_declarator__S_051state: !!perl/hash:RE_ast | ||
| 3499 | dba: p5scope_declarator | ||
| 3500 | dic: STD::STD::P5 | ||
| 3501 | re: !!perl/hash:RE_sequence | ||
| 3502 | zyg: | ||
| 3503 | - !!perl/hash:RE_method | ||
| 3504 | endsym: nofun | ||
| 3505 | i: 0 | ||
| 3506 | name: sym | ||
| 3507 | rest: '' | ||
| 3508 | sym: state | ||
| 3509 | - !!perl/hash:RE_method | ||
| 3510 | name: nofun | ||
| 3511 | rest: '' | ||
| 3512 | - !!perl/hash:RE_method | ||
| 3513 | name: scoped | ||
| 3514 | rest: 1 | ||
| 3515 | p5sigil:*: | ||
| 3516 | dic: STD::STD::P5 | ||
| 3517 | p5sigil__S_109Dollar: !!perl/hash:RE_ast | ||
| 3518 | dba: p5sigil | ||
| 3519 | dic: STD::STD::P5 | ||
| 3520 | re: !!perl/hash:RE_method | ||
| 3521 | i: 0 | ||
| 3522 | name: sym | ||
| 3523 | rest: '' | ||
| 3524 | sym: $ | ||
| 3525 | p5sigil__S_110At: !!perl/hash:RE_ast | ||
| 3526 | dba: p5sigil | ||
| 3527 | dic: STD::STD::P5 | ||
| 3528 | re: !!perl/hash:RE_method | ||
| 3529 | i: 0 | ||
| 3530 | name: sym | ||
| 3531 | rest: '' | ||
| 3532 | sym: '@' | ||
| 3533 | p5sigil__S_111Percent: !!perl/hash:RE_ast | ||
| 3534 | dba: p5sigil | ||
| 3535 | dic: STD::STD::P5 | ||
| 3536 | re: !!perl/hash:RE_method | ||
| 3537 | i: 0 | ||
| 3538 | name: sym | ||
| 3539 | rest: '' | ||
| 3540 | sym: '%' | ||
| 3541 | p5sigil__S_112Amp: !!perl/hash:RE_ast | ||
| 3542 | dba: p5sigil | ||
| 3543 | dic: STD::STD::P5 | ||
| 3544 | re: !!perl/hash:RE_method | ||
| 3545 | i: 0 | ||
| 3546 | name: sym | ||
| 3547 | rest: '' | ||
| 3548 | sym: '&' | ||
| 3549 | p5special_variable:*: | ||
| 3550 | dic: STD::STD::P5 | ||
| 3551 | p5special_variable__S_066DollarBang: !!perl/hash:RE_ast | ||
| 3552 | dba: p5special_variable | ||
| 3553 | dic: STD::STD::P5 | ||
| 3554 | re: !!perl/hash:RE_sequence | ||
| 3555 | zyg: | ||
| 3556 | - !!perl/hash:RE_method | ||
| 3557 | i: 0 | ||
| 3558 | name: sym | ||
| 3559 | rest: '' | ||
| 3560 | sym: $! | ||
| 3561 | - !!perl/hash:RE_assertion | ||
| 3562 | assert: '!' | ||
| 3563 | re: !!perl/hash:RE_method_re | ||
| 3564 | name: before | ||
| 3565 | nobind: 1 | ||
| 3566 | re: !!perl/hash:RE_meta | ||
| 3567 | min: 1 | ||
| 3568 | text: \w | ||
| 3569 | p5special_variable__S_067DollarBangCur_Ly: !!perl/hash:RE_ast | ||
| 3570 | dba: p5special_variable | ||
| 3571 | dic: STD::STD::P5 | ||
| 3572 | re: !!perl/hash:RE_bracket | ||
| 3573 | re: !!perl/hash:RE_sequence | ||
| 3574 | zyg: | ||
| 3575 | - !!perl/hash:RE_string | ||
| 3576 | i: 0 | ||
| 3577 | text: $!{ | ||
| 3578 | - !!perl/hash:RE_block {} | ||
| 3579 | - !!perl/hash:RE_method | ||
| 3580 | name: EXPR | ||
| 3581 | rest: '' | ||
| 3582 | - !!perl/hash:RE_bracket | ||
| 3583 | re: !!perl/hash:RE_first | ||
| 3584 | zyg: | ||
| 3585 | - !!perl/hash:RE_string | ||
| 3586 | i: 0 | ||
| 3587 | text: '}' | ||
| 3588 | - !!perl/hash:RE_method | ||
| 3589 | name: FAILGOAL | ||
| 3590 | rest: 1 | ||
| 3591 | p5special_variable__S_068DollarSlash: !!perl/hash:RE_ast | ||
| 3592 | dba: p5special_variable | ||
| 3593 | dic: STD::STD::P5 | ||
| 3594 | re: !!perl/hash:RE_method | ||
| 3595 | i: 0 | ||
| 3596 | name: sym | ||
| 3597 | rest: '' | ||
| 3598 | sym: $/ | ||
| 3599 | p5special_variable__S_069DollarTilde: !!perl/hash:RE_ast | ||
| 3600 | dba: p5special_variable | ||
| 3601 | dic: STD::STD::P5 | ||
| 3602 | re: !!perl/hash:RE_method | ||
| 3603 | i: 0 | ||
| 3604 | name: sym | ||
| 3605 | rest: '' | ||
| 3606 | sym: $~ | ||
| 3607 | p5special_variable__S_070DollarGrave: !!perl/hash:RE_ast | ||
| 3608 | dba: p5special_variable | ||
| 3609 | dic: STD::STD::P5 | ||
| 3610 | re: !!perl/hash:RE_method | ||
| 3611 | i: 0 | ||
| 3612 | name: sym | ||
| 3613 | rest: '' | ||
| 3614 | sym: $` | ||
| 3615 | p5special_variable__S_071DollarAt: !!perl/hash:RE_ast | ||
| 3616 | dba: p5special_variable | ||
| 3617 | dic: STD::STD::P5 | ||
| 3618 | re: !!perl/hash:RE_method | ||
| 3619 | i: 0 | ||
| 3620 | name: sym | ||
| 3621 | rest: '' | ||
| 3622 | sym: $@ | ||
| 3623 | p5special_variable__S_072DollarSharp: !!perl/hash:RE_ast | ||
| 3624 | dba: p5special_variable | ||
| 3625 | dic: STD::STD::P5 | ||
| 3626 | re: !!perl/hash:RE_method | ||
| 3627 | i: 0 | ||
| 3628 | name: sym | ||
| 3629 | rest: '' | ||
| 3630 | sym: $# | ||
| 3631 | p5special_variable__S_073DollarDollar: !!perl/hash:RE_ast | ||
| 3632 | dba: p5special_variable | ||
| 3633 | dic: STD::STD::P5 | ||
| 3634 | re: !!perl/hash:RE_sequence | ||
| 3635 | zyg: | ||
| 3636 | - !!perl/hash:RE_method | ||
| 3637 | i: 0 | ||
| 3638 | name: sym | ||
| 3639 | rest: '' | ||
| 3640 | sym: $$ | ||
| 3641 | - !!perl/hash:RE_assertion | ||
| 3642 | assert: '!' | ||
| 3643 | re: !!perl/hash:RE_method | ||
| 3644 | name: alpha | ||
| 3645 | rest: '' | ||
| 3646 | p5special_variable__S_074DollarPercent: !!perl/hash:RE_ast | ||
| 3647 | dba: p5special_variable | ||
| 3648 | dic: STD::STD::P5 | ||
| 3649 | re: !!perl/hash:RE_method | ||
| 3650 | i: 0 | ||
| 3651 | name: sym | ||
| 3652 | rest: '' | ||
| 3653 | sym: $% | ||
| 3654 | p5special_variable__S_075DollarCaretX: !!perl/hash:RE_ast | ||
| 3655 | dba: p5special_variable | ||
| 3656 | dic: STD::STD::P5 | ||
| 3657 | re: !!perl/hash:RE_sequence | ||
| 3658 | zyg: | ||
| 3659 | - !!perl/hash:RE_bindnamed | ||
| 3660 | atom: !!perl/hash:RE_method | ||
| 3661 | name: p5sigil | ||
| 3662 | rest: '' | ||
| 3663 | - !!perl/hash:RE_string | ||
| 3664 | i: 0 | ||
| 3665 | text: ^ | ||
| 3666 | - !!perl/hash:RE_bindnamed | ||
| 3667 | atom: !!perl/hash:RE_bracket | ||
| 3668 | re: !!perl/hash:RE_cclass | ||
| 3669 | i: 0 | ||
| 3670 | text: '[A..Z]' | ||
| 3671 | - !!perl/hash:RE_assertion | ||
| 3672 | assert: '?' | ||
| 3673 | re: !!perl/hash:RE_method_re | ||
| 3674 | name: before | ||
| 3675 | nobind: 1 | ||
| 3676 | re: !!perl/hash:RE_meta | ||
| 3677 | min: 1 | ||
| 3678 | text: \W | ||
| 3679 | p5special_variable__S_076DollarCaret: !!perl/hash:RE_ast | ||
| 3680 | dba: p5special_variable | ||
| 3681 | dic: STD::STD::P5 | ||
| 3682 | re: !!perl/hash:RE_method | ||
| 3683 | i: 0 | ||
| 3684 | name: sym | ||
| 3685 | rest: '' | ||
| 3686 | sym: $^ | ||
| 3687 | p5special_variable__S_077DollarAmp: !!perl/hash:RE_ast | ||
| 3688 | dba: p5special_variable | ||
| 3689 | dic: STD::STD::P5 | ||
| 3690 | re: !!perl/hash:RE_method | ||
| 3691 | i: 0 | ||
| 3692 | name: sym | ||
| 3693 | rest: '' | ||
| 3694 | sym: $& | ||
| 3695 | p5special_variable__S_078DollarStar: !!perl/hash:RE_ast | ||
| 3696 | dba: p5special_variable | ||
| 3697 | dic: STD::STD::P5 | ||
| 3698 | re: !!perl/hash:RE_method | ||
| 3699 | i: 0 | ||
| 3700 | name: sym | ||
| 3701 | rest: '' | ||
| 3702 | sym: $* | ||
| 3703 | p5special_variable__S_079DollarThesis: !!perl/hash:RE_ast | ||
| 3704 | dba: p5special_variable | ||
| 3705 | dic: STD::STD::P5 | ||
| 3706 | re: !!perl/hash:RE_method | ||
| 3707 | i: 0 | ||
| 3708 | name: sym | ||
| 3709 | rest: '' | ||
| 3710 | sym: $) | ||
| 3711 | p5special_variable__S_080DollarMinus: !!perl/hash:RE_ast | ||
| 3712 | dba: p5special_variable | ||
| 3713 | dic: STD::STD::P5 | ||
| 3714 | re: !!perl/hash:RE_method | ||
| 3715 | i: 0 | ||
| 3716 | name: sym | ||
| 3717 | rest: '' | ||
| 3718 | sym: $- | ||
| 3719 | p5special_variable__S_081DollarEqual: !!perl/hash:RE_ast | ||
| 3720 | dba: p5special_variable | ||
| 3721 | dic: STD::STD::P5 | ||
| 3722 | re: !!perl/hash:RE_method | ||
| 3723 | i: 0 | ||
| 3724 | name: sym | ||
| 3725 | rest: '' | ||
| 3726 | sym: $= | ||
| 3727 | p5special_variable__S_082AtPlus: !!perl/hash:RE_ast | ||
| 3728 | dba: p5special_variable | ||
| 3729 | dic: STD::STD::P5 | ||
| 3730 | re: !!perl/hash:RE_method | ||
| 3731 | i: 0 | ||
| 3732 | name: sym | ||
| 3733 | rest: '' | ||
| 3734 | sym: '@+' | ||
| 3735 | p5special_variable__S_083PercentPlus: !!perl/hash:RE_ast | ||
| 3736 | dba: p5special_variable | ||
| 3737 | dic: STD::STD::P5 | ||
| 3738 | re: !!perl/hash:RE_method | ||
| 3739 | i: 0 | ||
| 3740 | name: sym | ||
| 3741 | rest: '' | ||
| 3742 | sym: '%+' | ||
| 3743 | p5special_variable__S_084DollarPlusBra_Ket: !!perl/hash:RE_ast | ||
| 3744 | dba: p5special_variable | ||
| 3745 | dic: STD::STD::P5 | ||
| 3746 | re: !!perl/hash:RE_string | ||
| 3747 | i: 0 | ||
| 3748 | text: $+[ | ||
| 3749 | p5special_variable__S_085AtPlusBra_Ket: !!perl/hash:RE_ast | ||
| 3750 | dba: p5special_variable | ||
| 3751 | dic: STD::STD::P5 | ||
| 3752 | re: !!perl/hash:RE_string | ||
| 3753 | i: 0 | ||
| 3754 | text: '@+[' | ||
| 3755 | p5special_variable__S_086AtPlusCur_Ly: !!perl/hash:RE_ast | ||
| 3756 | dba: p5special_variable | ||
| 3757 | dic: STD::STD::P5 | ||
| 3758 | re: !!perl/hash:RE_string | ||
| 3759 | i: 0 | ||
| 3760 | text: '@+{' | ||
| 3761 | p5special_variable__S_087AtMinus: !!perl/hash:RE_ast | ||
| 3762 | dba: p5special_variable | ||
| 3763 | dic: STD::STD::P5 | ||
| 3764 | re: !!perl/hash:RE_method | ||
| 3765 | i: 0 | ||
| 3766 | name: sym | ||
| 3767 | rest: '' | ||
| 3768 | sym: '@-' | ||
| 3769 | p5special_variable__S_088PercentMinus: !!perl/hash:RE_ast | ||
| 3770 | dba: p5special_variable | ||
| 3771 | dic: STD::STD::P5 | ||
| 3772 | re: !!perl/hash:RE_method | ||
| 3773 | i: 0 | ||
| 3774 | name: sym | ||
| 3775 | rest: '' | ||
| 3776 | sym: '%-' | ||
| 3777 | p5special_variable__S_089DollarMinusBra_Ket: !!perl/hash:RE_ast | ||
| 3778 | dba: p5special_variable | ||
| 3779 | dic: STD::STD::P5 | ||
| 3780 | re: !!perl/hash:RE_string | ||
| 3781 | i: 0 | ||
| 3782 | text: $-[ | ||
| 3783 | p5special_variable__S_090AtMinusBra_Ket: !!perl/hash:RE_ast | ||
| 3784 | dba: p5special_variable | ||
| 3785 | dic: STD::STD::P5 | ||
| 3786 | re: !!perl/hash:RE_string | ||
| 3787 | i: 0 | ||
| 3788 | text: '@-[' | ||
| 3789 | p5special_variable__S_091PercentMinusCur_Ly: !!perl/hash:RE_ast | ||
| 3790 | dba: p5special_variable | ||
| 3791 | dic: STD::STD::P5 | ||
| 3792 | re: !!perl/hash:RE_string | ||
| 3793 | i: 0 | ||
| 3794 | text: '@-{' | ||
| 3795 | p5special_variable__S_092DollarPlus: !!perl/hash:RE_ast | ||
| 3796 | dba: p5special_variable | ||
| 3797 | dic: STD::STD::P5 | ||
| 3798 | re: !!perl/hash:RE_method | ||
| 3799 | i: 0 | ||
| 3800 | name: sym | ||
| 3801 | rest: '' | ||
| 3802 | sym: $+ | ||
| 3803 | p5special_variable__S_093DollarCurCaret_Ly: !!perl/hash:RE_ast | ||
| 3804 | dba: p5special_variable | ||
| 3805 | dic: STD::STD::P5 | ||
| 3806 | re: !!perl/hash:RE_sequence | ||
| 3807 | zyg: | ||
| 3808 | - !!perl/hash:RE_bindnamed | ||
| 3809 | atom: !!perl/hash:RE_method | ||
| 3810 | name: p5sigil | ||
| 3811 | rest: '' | ||
| 3812 | - !!perl/hash:RE_string | ||
| 3813 | i: 0 | ||
| 3814 | text: '{^' | ||
| 3815 | - !!perl/hash:RE_meta | ||
| 3816 | text: '::' | ||
| 3817 | - !!perl/hash:RE_bindnamed | ||
| 3818 | atom: !!perl/hash:RE_bracket | ||
| 3819 | re: !!perl/hash:RE_meta | ||
| 3820 | text: .*? | ||
| 3821 | - !!perl/hash:RE_string | ||
| 3822 | i: 0 | ||
| 3823 | text: '}' | ||
| 3824 | p5special_variable__S_094ColonColonCur_Ly: !!perl/hash:RE_ast | ||
| 3825 | dba: p5special_variable | ||
| 3826 | dic: STD::STD::P5 | ||
| 3827 | re: !!perl/hash:RE_sequence | ||
| 3828 | zyg: | ||
| 3829 | - !!perl/hash:RE_string | ||
| 3830 | i: 0 | ||
| 3831 | text: '::' | ||
| 3832 | - !!perl/hash:RE_assertion | ||
| 3833 | assert: '?' | ||
| 3834 | re: !!perl/hash:RE_method_re | ||
| 3835 | name: before | ||
| 3836 | nobind: 1 | ||
| 3837 | re: !!perl/hash:RE_string | ||
| 3838 | i: 0 | ||
| 3839 | text: '{' | ||
| 3840 | p5special_variable__S_095DollarCur_Ly: !!perl/hash:RE_ast | ||
| 3841 | dba: p5special_variable | ||
| 3842 | dic: STD::STD::P5 | ||
| 3843 | re: !!perl/hash:RE_sequence | ||
| 3844 | zyg: | ||
| 3845 | - !!perl/hash:RE_bindnamed | ||
| 3846 | atom: !!perl/hash:RE_method | ||
| 3847 | name: p5sigil | ||
| 3848 | rest: '' | ||
| 3849 | - !!perl/hash:RE_string | ||
| 3850 | i: 0 | ||
| 3851 | text: '{' | ||
| 3852 | - !!perl/hash:RE_block {} | ||
| 3853 | - !!perl/hash:RE_bindnamed | ||
| 3854 | atom: !!perl/hash:RE_bracket | ||
| 3855 | re: !!perl/hash:RE_meta | ||
| 3856 | text: .*? | ||
| 3857 | - !!perl/hash:RE_string | ||
| 3858 | i: 0 | ||
| 3859 | text: '}' | ||
| 3860 | p5special_variable__S_096DollarBra: !!perl/hash:RE_ast | ||
| 3861 | dba: p5special_variable | ||
| 3862 | dic: STD::STD::P5 | ||
| 3863 | re: !!perl/hash:RE_method | ||
| 3864 | i: 0 | ||
| 3865 | name: sym | ||
| 3866 | rest: '' | ||
| 3867 | sym: $[ | ||
| 3868 | p5special_variable__S_097DollarKet: !!perl/hash:RE_ast | ||
| 3869 | dba: p5special_variable | ||
| 3870 | dic: STD::STD::P5 | ||
| 3871 | re: !!perl/hash:RE_method | ||
| 3872 | i: 0 | ||
| 3873 | name: sym | ||
| 3874 | rest: '' | ||
| 3875 | sym: $] | ||
| 3876 | p5special_variable__S_098DollarBack: !!perl/hash:RE_ast | ||
| 3877 | dba: p5special_variable | ||
| 3878 | dic: STD::STD::P5 | ||
| 3879 | re: !!perl/hash:RE_method | ||
| 3880 | i: 0 | ||
| 3881 | name: sym | ||
| 3882 | rest: '' | ||
| 3883 | sym: $\ | ||
| 3884 | p5special_variable__S_099DollarVert: !!perl/hash:RE_ast | ||
| 3885 | dba: p5special_variable | ||
| 3886 | dic: STD::STD::P5 | ||
| 3887 | re: !!perl/hash:RE_method | ||
| 3888 | i: 0 | ||
| 3889 | name: sym | ||
| 3890 | rest: '' | ||
| 3891 | sym: $| | ||
| 3892 | p5special_variable__S_100DollarColon: !!perl/hash:RE_ast | ||
| 3893 | dba: p5special_variable | ||
| 3894 | dic: STD::STD::P5 | ||
| 3895 | re: !!perl/hash:RE_method | ||
| 3896 | i: 0 | ||
| 3897 | name: sym | ||
| 3898 | rest: '' | ||
| 3899 | sym: '$:' | ||
| 3900 | p5special_variable__S_101DollarSemi: !!perl/hash:RE_ast | ||
| 3901 | dba: p5special_variable | ||
| 3902 | dic: STD::STD::P5 | ||
| 3903 | re: !!perl/hash:RE_method | ||
| 3904 | i: 0 | ||
| 3905 | name: sym | ||
| 3906 | rest: '' | ||
| 3907 | sym: $; | ||
| 3908 | p5special_variable__S_102DollarSingle: !!perl/hash:RE_ast | ||
| 3909 | dba: p5special_variable | ||
| 3910 | dic: STD::STD::P5 | ||
| 3911 | re: !!perl/hash:RE_method | ||
| 3912 | i: 0 | ||
| 3913 | name: sym | ||
| 3914 | rest: '' | ||
| 3915 | sym: $' | ||
| 3916 | p5special_variable__S_103DollarDouble: !!perl/hash:RE_ast | ||
| 3917 | dba: p5special_variable | ||
| 3918 | dic: STD::STD::P5 | ||
| 3919 | re: !!perl/hash:RE_sequence | ||
| 3920 | zyg: | ||
| 3921 | - !!perl/hash:RE_method | ||
| 3922 | i: 0 | ||
| 3923 | name: sym | ||
| 3924 | rest: '' | ||
| 3925 | sym: $" | ||
| 3926 | - !!perl/hash:RE_assertion | ||
| 3927 | assert: '!' | ||
| 3928 | re: !!perl/hash:RE_block | ||
| 3929 | nobind: 1 | ||
| 3930 | p5special_variable__S_104DollarComma: !!perl/hash:RE_ast | ||
| 3931 | dba: p5special_variable | ||
| 3932 | dic: STD::STD::P5 | ||
| 3933 | re: !!perl/hash:RE_method | ||
| 3934 | i: 0 | ||
| 3935 | name: sym | ||
| 3936 | rest: '' | ||
| 3937 | sym: $, | ||
| 3938 | p5special_variable__S_105DollarLt: !!perl/hash:RE_ast | ||
| 3939 | dba: p5special_variable | ||
| 3940 | dic: STD::STD::P5 | ||
| 3941 | re: !!perl/hash:RE_method | ||
| 3942 | i: 0 | ||
| 3943 | name: sym | ||
| 3944 | rest: '' | ||
| 3945 | sym: $< | ||
| 3946 | p5special_variable__S_106DollarGt: !!perl/hash:RE_ast | ||
| 3947 | dba: p5special_variable | ||
| 3948 | dic: STD::STD::P5 | ||
| 3949 | re: !!perl/hash:RE_method | ||
| 3950 | i: 0 | ||
| 3951 | name: sym | ||
| 3952 | rest: '' | ||
| 3953 | sym: $> | ||
| 3954 | p5special_variable__S_107DollarDot: !!perl/hash:RE_ast | ||
| 3955 | dba: p5special_variable | ||
| 3956 | dic: STD::STD::P5 | ||
| 3957 | re: !!perl/hash:RE_method | ||
| 3958 | i: 0 | ||
| 3959 | name: sym | ||
| 3960 | rest: '' | ||
| 3961 | sym: $. | ||
| 3962 | p5special_variable__S_108DollarQuestion: !!perl/hash:RE_ast | ||
| 3963 | dba: p5special_variable | ||
| 3964 | dic: STD::STD::P5 | ||
| 3965 | re: !!perl/hash:RE_method | ||
| 3966 | i: 0 | ||
| 3967 | name: sym | ||
| 3968 | rest: '' | ||
| 3969 | sym: $? | ||
| 3970 | p5statement_control:*: | ||
| 3971 | dic: STD::STD::P5 | ||
| 3972 | p5statement_control__S_027use: !!perl/hash:RE_ast | ||
| 3973 | dba: p5statement_control | ||
| 3974 | dic: STD::STD::P5 | ||
| 3975 | re: !!perl/hash:RE_sequence | ||
| 3976 | zyg: | ||
| 3977 | - !!perl/hash:RE_method | ||
| 3978 | endsym: spacey | ||
| 3979 | i: 0 | ||
| 3980 | name: sym | ||
| 3981 | rest: '' | ||
| 3982 | sym: use | ||
| 3983 | - !!perl/hash:RE_method | ||
| 3984 | name: spacey | ||
| 3985 | rest: '' | ||
| 3986 | - !!perl/hash:RE_method | ||
| 3987 | name: ws | ||
| 3988 | rest: '' | ||
| 3989 | - !!perl/hash:RE_bracket | ||
| 3990 | re: &25 !!perl/hash:RE_any | ||
| 3991 | altname: p5statement_control__S_027use_0 | ||
| 3992 | dba: p5statement_control | ||
| 3993 | dic: STD::STD::P5 | ||
| 3994 | zyg: | ||
| 3995 | - !!perl/hash:RE_bindnamed | ||
| 3996 | alt: p5statement_control__S_027use_0 0 | ||
| 3997 | atom: !!perl/hash:RE_method | ||
| 3998 | name: p5version | ||
| 3999 | rest: '' | ||
| 4000 | - !!perl/hash:RE_sequence | ||
| 4001 | alt: p5statement_control__S_027use_0 1 | ||
| 4002 | zyg: | ||
| 4003 | - !!perl/hash:RE_bindnamed | ||
| 4004 | atom: !!perl/hash:RE_method | ||
| 4005 | name: p5module_name | ||
| 4006 | rest: '' | ||
| 4007 | - !!perl/hash:RE_block {} | ||
| 4008 | - !!perl/hash:RE_bracket | ||
| 4009 | re: !!perl/hash:RE_first | ||
| 4010 | zyg: | ||
| 4011 | - !!perl/hash:RE_sequence | ||
| 4012 | zyg: | ||
| 4013 | - !!perl/hash:RE_method | ||
| 4014 | name: spacey | ||
| 4015 | rest: '' | ||
| 4016 | - !!perl/hash:RE_method | ||
| 4017 | name: arglist | ||
| 4018 | rest: '' | ||
| 4019 | - !!perl/hash:RE_block {} | ||
| 4020 | - !!perl/hash:RE_block {} | ||
| 4021 | - !!perl/hash:RE_method | ||
| 4022 | name: ws | ||
| 4023 | rest: '' | ||
| 4024 | p5statement_control__S_027use_0: *25 | ||
| 4025 | p5statement_control__S_028no: !!perl/hash:RE_ast | ||
| 4026 | dba: p5statement_control | ||
| 4027 | dic: STD::STD::P5 | ||
| 4028 | re: !!perl/hash:RE_sequence | ||
| 4029 | zyg: | ||
| 4030 | - !!perl/hash:RE_method | ||
| 4031 | endsym: spacey | ||
| 4032 | i: 0 | ||
| 4033 | name: sym | ||
| 4034 | rest: '' | ||
| 4035 | sym: no | ||
| 4036 | - !!perl/hash:RE_method | ||
| 4037 | name: spacey | ||
| 4038 | rest: '' | ||
| 4039 | - !!perl/hash:RE_method | ||
| 4040 | name: ws | ||
| 4041 | rest: '' | ||
| 4042 | - !!perl/hash:RE_bindnamed | ||
| 4043 | atom: !!perl/hash:RE_method | ||
| 4044 | name: p5module_name | ||
| 4045 | rest: '' | ||
| 4046 | - !!perl/hash:RE_quantified_atom | ||
| 4047 | atom: !!perl/hash:RE_bracket | ||
| 4048 | re: !!perl/hash:RE_sequence | ||
| 4049 | zyg: | ||
| 4050 | - !!perl/hash:RE_method | ||
| 4051 | name: spacey | ||
| 4052 | rest: '' | ||
| 4053 | - !!perl/hash:RE_method | ||
| 4054 | name: arglist | ||
| 4055 | rest: '' | ||
| 4056 | quant: | ||
| 4057 | - '?' | ||
| 4058 | - !!perl/hash:RE_method | ||
| 4059 | name: ws | ||
| 4060 | rest: '' | ||
| 4061 | p5statement_control__S_029if: !!perl/hash:RE_ast | ||
| 4062 | dba: p5statement_control | ||
| 4063 | dic: STD::STD::P5 | ||
| 4064 | re: !!perl/hash:RE_sequence | ||
| 4065 | zyg: | ||
| 4066 | - !!perl/hash:RE_bindnamed | ||
| 4067 | atom: !!perl/hash:RE_bracket | ||
| 4068 | re: &26 !!perl/hash:RE_any | ||
| 4069 | altname: p5statement_control__S_029if_0 | ||
| 4070 | dba: p5statement_control | ||
| 4071 | dic: STD::STD::P5 | ||
| 4072 | zyg: | ||
| 4073 | - !!perl/hash:RE_string | ||
| 4074 | alt: p5statement_control__S_029if_0 0 | ||
| 4075 | i: 0 | ||
| 4076 | text: if | ||
| 4077 | - !!perl/hash:RE_string | ||
| 4078 | alt: p5statement_control__S_029if_0 1 | ||
| 4079 | i: 0 | ||
| 4080 | text: unless | ||
| 4081 | - !!perl/hash:RE_method | ||
| 4082 | name: ws | ||
| 4083 | rest: '' | ||
| 4084 | - !!perl/hash:RE_method | ||
| 4085 | name: xblock | ||
| 4086 | rest: '' | ||
| 4087 | - !!perl/hash:RE_method | ||
| 4088 | name: ws | ||
| 4089 | rest: '' | ||
| 4090 | - !!perl/hash:RE_quantified_atom | ||
| 4091 | atom: !!perl/hash:RE_bracket | ||
| 4092 | re: !!perl/hash:RE_sequence | ||
| 4093 | zyg: | ||
| 4094 | - !!perl/hash:RE_method | ||
| 4095 | name: ws | ||
| 4096 | rest: '' | ||
| 4097 | - !!perl/hash:RE_bracket | ||
| 4098 | re: !!perl/hash:RE_first | ||
| 4099 | zyg: | ||
| 4100 | - !!perl/hash:RE_assertion | ||
| 4101 | assert: '!' | ||
| 4102 | re: !!perl/hash:RE_method_re | ||
| 4103 | name: before | ||
| 4104 | nobind: 1 | ||
| 4105 | re: !!perl/hash:RE_sequence | ||
| 4106 | zyg: | ||
| 4107 | - !!perl/hash:RE_method | ||
| 4108 | name: ws | ||
| 4109 | rest: '' | ||
| 4110 | - !!perl/hash:RE_string | ||
| 4111 | i: 0 | ||
| 4112 | text: else | ||
| 4113 | - !!perl/hash:RE_quantified_atom | ||
| 4114 | atom: !!perl/hash:RE_meta | ||
| 4115 | min: 1 | ||
| 4116 | text: \s | ||
| 4117 | quant: | ||
| 4118 | - '*' | ||
| 4119 | - !!perl/hash:RE_string | ||
| 4120 | i: 0 | ||
| 4121 | text: if | ||
| 4122 | - !!perl/hash:RE_sequence | ||
| 4123 | zyg: | ||
| 4124 | - !!perl/hash:RE_method | ||
| 4125 | name: panic | ||
| 4126 | rest: 1 | ||
| 4127 | - !!perl/hash:RE_method | ||
| 4128 | name: ws | ||
| 4129 | rest: '' | ||
| 4130 | - !!perl/hash:RE_string | ||
| 4131 | i: 0 | ||
| 4132 | text: elsif | ||
| 4133 | - !!perl/hash:RE_assertion | ||
| 4134 | assert: '?' | ||
| 4135 | re: !!perl/hash:RE_method | ||
| 4136 | name: spacey | ||
| 4137 | rest: '' | ||
| 4138 | - !!perl/hash:RE_method | ||
| 4139 | name: ws | ||
| 4140 | rest: '' | ||
| 4141 | - !!perl/hash:RE_bindnamed | ||
| 4142 | atom: !!perl/hash:RE_method | ||
| 4143 | name: xblock | ||
| 4144 | rest: '' | ||
| 4145 | - !!perl/hash:RE_method | ||
| 4146 | name: ws | ||
| 4147 | rest: '' | ||
| 4148 | quant: | ||
| 4149 | - '*' | ||
| 4150 | - !!perl/hash:RE_method | ||
| 4151 | name: ws | ||
| 4152 | rest: '' | ||
| 4153 | - !!perl/hash:RE_quantified_atom | ||
| 4154 | atom: !!perl/hash:RE_bracket | ||
| 4155 | re: !!perl/hash:RE_sequence | ||
| 4156 | zyg: | ||
| 4157 | - !!perl/hash:RE_method | ||
| 4158 | name: ws | ||
| 4159 | rest: '' | ||
| 4160 | - !!perl/hash:RE_string | ||
| 4161 | i: 0 | ||
| 4162 | text: else | ||
| 4163 | - !!perl/hash:RE_assertion | ||
| 4164 | assert: '?' | ||
| 4165 | re: !!perl/hash:RE_method | ||
| 4166 | name: spacey | ||
| 4167 | rest: '' | ||
| 4168 | - !!perl/hash:RE_method | ||
| 4169 | name: ws | ||
| 4170 | rest: '' | ||
| 4171 | - !!perl/hash:RE_bindnamed | ||
| 4172 | atom: !!perl/hash:RE_method | ||
| 4173 | name: pblock | ||
| 4174 | rest: '' | ||
| 4175 | - !!perl/hash:RE_method | ||
| 4176 | name: ws | ||
| 4177 | rest: '' | ||
| 4178 | quant: | ||
| 4179 | - '?' | ||
| 4180 | - !!perl/hash:RE_method | ||
| 4181 | name: ws | ||
| 4182 | rest: '' | ||
| 4183 | p5statement_control__S_029if_0: *26 | ||
| 4184 | p5statement_control__S_030while: !!perl/hash:RE_ast | ||
| 4185 | dba: p5statement_control | ||
| 4186 | dic: STD::STD::P5 | ||
| 4187 | re: !!perl/hash:RE_sequence | ||
| 4188 | zyg: | ||
| 4189 | - !!perl/hash:RE_method | ||
| 4190 | endsym: spacey | ||
| 4191 | i: 0 | ||
| 4192 | name: sym | ||
| 4193 | rest: '' | ||
| 4194 | sym: while | ||
| 4195 | - !!perl/hash:RE_method | ||
| 4196 | name: spacey | ||
| 4197 | rest: '' | ||
| 4198 | - !!perl/hash:RE_method | ||
| 4199 | name: ws | ||
| 4200 | rest: '' | ||
| 4201 | - !!perl/hash:RE_method | ||
| 4202 | name: xblock | ||
| 4203 | rest: '' | ||
| 4204 | - !!perl/hash:RE_method | ||
| 4205 | name: ws | ||
| 4206 | rest: '' | ||
| 4207 | p5statement_control__S_031until: !!perl/hash:RE_ast | ||
| 4208 | dba: p5statement_control | ||
| 4209 | dic: STD::STD::P5 | ||
| 4210 | re: !!perl/hash:RE_sequence | ||
| 4211 | zyg: | ||
| 4212 | - !!perl/hash:RE_method | ||
| 4213 | endsym: spacey | ||
| 4214 | i: 0 | ||
| 4215 | name: sym | ||
| 4216 | rest: '' | ||
| 4217 | sym: until | ||
| 4218 | - !!perl/hash:RE_method | ||
| 4219 | name: spacey | ||
| 4220 | rest: '' | ||
| 4221 | - !!perl/hash:RE_method | ||
| 4222 | name: ws | ||
| 4223 | rest: '' | ||
| 4224 | - !!perl/hash:RE_method | ||
| 4225 | name: xblock | ||
| 4226 | rest: '' | ||
| 4227 | - !!perl/hash:RE_method | ||
| 4228 | name: ws | ||
| 4229 | rest: '' | ||
| 4230 | p5statement_control__S_032for: !!perl/hash:RE_ast | ||
| 4231 | dba: p5statement_control | ||
| 4232 | dic: STD::STD::P5 | ||
| 4233 | re: !!perl/hash:RE_sequence | ||
| 4234 | zyg: | ||
| 4235 | - !!perl/hash:RE_bracket | ||
| 4236 | re: &27 !!perl/hash:RE_any | ||
| 4237 | altname: p5statement_control__S_032for_0 | ||
| 4238 | dba: p5statement_control | ||
| 4239 | dic: STD::STD::P5 | ||
| 4240 | zyg: | ||
| 4241 | - !!perl/hash:RE_string | ||
| 4242 | alt: p5statement_control__S_032for_0 0 | ||
| 4243 | i: 0 | ||
| 4244 | text: for | ||
| 4245 | - !!perl/hash:RE_string | ||
| 4246 | alt: p5statement_control__S_032for_0 1 | ||
| 4247 | i: 0 | ||
| 4248 | text: foreach | ||
| 4249 | - !!perl/hash:RE_method | ||
| 4250 | name: ws | ||
| 4251 | rest: '' | ||
| 4252 | - !!perl/hash:RE_bindnamed | ||
| 4253 | atom: !!perl/hash:RE_quantified_atom | ||
| 4254 | atom: !!perl/hash:RE_paren | ||
| 4255 | re: !!perl/hash:RE_sequence | ||
| 4256 | zyg: | ||
| 4257 | - !!perl/hash:RE_string | ||
| 4258 | i: 0 | ||
| 4259 | text: ( | ||
| 4260 | - !!perl/hash:RE_bracket | ||
| 4261 | re: !!perl/hash:RE_first | ||
| 4262 | zyg: | ||
| 4263 | - !!perl/hash:RE_sequence | ||
| 4264 | zyg: | ||
| 4265 | - !!perl/hash:RE_method | ||
| 4266 | name: ws | ||
| 4267 | rest: '' | ||
| 4268 | - !!perl/hash:RE_quantified_atom | ||
| 4269 | atom: !!perl/hash:RE_bindnamed | ||
| 4270 | atom: !!perl/hash:RE_method | ||
| 4271 | name: EXPR | ||
| 4272 | rest: '' | ||
| 4273 | quant: | ||
| 4274 | - '?' | ||
| 4275 | - !!perl/hash:RE_method | ||
| 4276 | name: ws | ||
| 4277 | rest: '' | ||
| 4278 | - !!perl/hash:RE_string | ||
| 4279 | i: 0 | ||
| 4280 | text: ; | ||
| 4281 | - !!perl/hash:RE_method | ||
| 4282 | name: ws | ||
| 4283 | rest: '' | ||
| 4284 | - !!perl/hash:RE_quantified_atom | ||
| 4285 | atom: !!perl/hash:RE_bindnamed | ||
| 4286 | atom: !!perl/hash:RE_method | ||
| 4287 | name: EXPR | ||
| 4288 | rest: '' | ||
| 4289 | quant: | ||
| 4290 | - '?' | ||
| 4291 | - !!perl/hash:RE_method | ||
| 4292 | name: ws | ||
| 4293 | rest: '' | ||
| 4294 | - !!perl/hash:RE_string | ||
| 4295 | i: 0 | ||
| 4296 | text: ; | ||
| 4297 | - !!perl/hash:RE_method | ||
| 4298 | name: ws | ||
| 4299 | rest: '' | ||
| 4300 | - !!perl/hash:RE_quantified_atom | ||
| 4301 | atom: !!perl/hash:RE_bindnamed | ||
| 4302 | atom: !!perl/hash:RE_method | ||
| 4303 | name: EXPR | ||
| 4304 | rest: '' | ||
| 4305 | quant: | ||
| 4306 | - '?' | ||
| 4307 | - !!perl/hash:RE_method | ||
| 4308 | name: ws | ||
| 4309 | rest: '' | ||
| 4310 | - !!perl/hash:RE_string | ||
| 4311 | i: 0 | ||
| 4312 | text: ) | ||
| 4313 | - !!perl/hash:RE_method | ||
| 4314 | name: panic | ||
| 4315 | rest: 1 | ||
| 4316 | quant: | ||
| 4317 | - '?' | ||
| 4318 | - !!perl/hash:RE_method | ||
| 4319 | name: ws | ||
| 4320 | rest: '' | ||
| 4321 | - !!perl/hash:RE_method | ||
| 4322 | name: block | ||
| 4323 | rest: '' | ||
| 4324 | p5statement_control__S_032for_0: *27 | ||
| 4325 | p5statement_control__S_033given: !!perl/hash:RE_ast | ||
| 4326 | dba: p5statement_control | ||
| 4327 | dic: STD::STD::P5 | ||
| 4328 | re: !!perl/hash:RE_sequence | ||
| 4329 | zyg: | ||
| 4330 | - !!perl/hash:RE_method | ||
| 4331 | endsym: spacey | ||
| 4332 | i: 0 | ||
| 4333 | name: sym | ||
| 4334 | rest: '' | ||
| 4335 | sym: given | ||
| 4336 | - !!perl/hash:RE_method | ||
| 4337 | name: spacey | ||
| 4338 | rest: '' | ||
| 4339 | - !!perl/hash:RE_method | ||
| 4340 | name: ws | ||
| 4341 | rest: '' | ||
| 4342 | - !!perl/hash:RE_method | ||
| 4343 | name: xblock | ||
| 4344 | rest: '' | ||
| 4345 | - !!perl/hash:RE_method | ||
| 4346 | name: ws | ||
| 4347 | rest: '' | ||
| 4348 | p5statement_control__S_034when: !!perl/hash:RE_ast | ||
| 4349 | dba: p5statement_control | ||
| 4350 | dic: STD::STD::P5 | ||
| 4351 | re: !!perl/hash:RE_sequence | ||
| 4352 | zyg: | ||
| 4353 | - !!perl/hash:RE_method | ||
| 4354 | endsym: spacey | ||
| 4355 | i: 0 | ||
| 4356 | name: sym | ||
| 4357 | rest: '' | ||
| 4358 | sym: when | ||
| 4359 | - !!perl/hash:RE_method | ||
| 4360 | name: spacey | ||
| 4361 | rest: '' | ||
| 4362 | - !!perl/hash:RE_method | ||
| 4363 | name: ws | ||
| 4364 | rest: '' | ||
| 4365 | - !!perl/hash:RE_method | ||
| 4366 | name: xblock | ||
| 4367 | rest: '' | ||
| 4368 | - !!perl/hash:RE_method | ||
| 4369 | name: ws | ||
| 4370 | rest: '' | ||
| 4371 | p5statement_control__S_035default: !!perl/hash:RE_ast | ||
| 4372 | dba: p5statement_control | ||
| 4373 | dic: STD::STD::P5 | ||
| 4374 | re: !!perl/hash:RE_sequence | ||
| 4375 | zyg: | ||
| 4376 | - !!perl/hash:RE_method | ||
| 4377 | endsym: spacey | ||
| 4378 | i: 0 | ||
| 4379 | name: sym | ||
| 4380 | rest: '' | ||
| 4381 | sym: default | ||
| 4382 | - !!perl/hash:RE_method | ||
| 4383 | name: spacey | ||
| 4384 | rest: '' | ||
| 4385 | - !!perl/hash:RE_method | ||
| 4386 | name: ws | ||
| 4387 | rest: '' | ||
| 4388 | - !!perl/hash:RE_method | ||
| 4389 | name: block | ||
| 4390 | rest: '' | ||
| 4391 | - !!perl/hash:RE_method | ||
| 4392 | name: ws | ||
| 4393 | rest: '' | ||
| 4394 | p5statement_control__S_039END: !!perl/hash:RE_ast | ||
| 4395 | dba: p5statement_control | ||
| 4396 | dic: STD::STD::P5 | ||
| 4397 | re: !!perl/hash:RE_sequence | ||
| 4398 | zyg: | ||
| 4399 | - !!perl/hash:RE_method | ||
| 4400 | endsym: spacey | ||
| 4401 | i: 0 | ||
| 4402 | name: sym | ||
| 4403 | rest: '' | ||
| 4404 | sym: END | ||
| 4405 | - !!perl/hash:RE_method | ||
| 4406 | name: spacey | ||
| 4407 | rest: '' | ||
| 4408 | - !!perl/hash:RE_method | ||
| 4409 | name: ws | ||
| 4410 | rest: '' | ||
| 4411 | - !!perl/hash:RE_method | ||
| 4412 | name: block | ||
| 4413 | rest: '' | ||
| 4414 | - !!perl/hash:RE_method | ||
| 4415 | name: ws | ||
| 4416 | rest: '' | ||
| 4417 | p5statement_mod_cond:*: | ||
| 4418 | dic: STD::STD::P5 | ||
| 4419 | p5statement_mod_cond__S_040if: !!perl/hash:RE_ast | ||
| 4420 | dba: p5statement_mod_cond | ||
| 4421 | dic: STD::STD::P5 | ||
| 4422 | re: !!perl/hash:RE_sequence | ||
| 4423 | zyg: | ||
| 4424 | - !!perl/hash:RE_method | ||
| 4425 | endsym: nofun | ||
| 4426 | i: 0 | ||
| 4427 | name: sym | ||
| 4428 | rest: '' | ||
| 4429 | sym: if | ||
| 4430 | - !!perl/hash:RE_method | ||
| 4431 | name: nofun | ||
| 4432 | rest: '' | ||
| 4433 | - !!perl/hash:RE_method | ||
| 4434 | name: ws | ||
| 4435 | rest: '' | ||
| 4436 | - !!perl/hash:RE_method | ||
| 4437 | name: modifier_expr | ||
| 4438 | rest: '' | ||
| 4439 | - !!perl/hash:RE_method | ||
| 4440 | name: ws | ||
| 4441 | rest: '' | ||
| 4442 | p5statement_mod_cond__S_041unless: !!perl/hash:RE_ast | ||
| 4443 | dba: p5statement_mod_cond | ||
| 4444 | dic: STD::STD::P5 | ||
| 4445 | re: !!perl/hash:RE_sequence | ||
| 4446 | zyg: | ||
| 4447 | - !!perl/hash:RE_method | ||
| 4448 | endsym: nofun | ||
| 4449 | i: 0 | ||
| 4450 | name: sym | ||
| 4451 | rest: '' | ||
| 4452 | sym: unless | ||
| 4453 | - !!perl/hash:RE_method | ||
| 4454 | name: nofun | ||
| 4455 | rest: '' | ||
| 4456 | - !!perl/hash:RE_method | ||
| 4457 | name: ws | ||
| 4458 | rest: '' | ||
| 4459 | - !!perl/hash:RE_method | ||
| 4460 | name: modifier_expr | ||
| 4461 | rest: '' | ||
| 4462 | - !!perl/hash:RE_method | ||
| 4463 | name: ws | ||
| 4464 | rest: '' | ||
| 4465 | p5statement_mod_cond__S_042when: !!perl/hash:RE_ast | ||
| 4466 | dba: p5statement_mod_cond | ||
| 4467 | dic: STD::STD::P5 | ||
| 4468 | re: !!perl/hash:RE_sequence | ||
| 4469 | zyg: | ||
| 4470 | - !!perl/hash:RE_method | ||
| 4471 | endsym: nofun | ||
| 4472 | i: 0 | ||
| 4473 | name: sym | ||
| 4474 | rest: '' | ||
| 4475 | sym: when | ||
| 4476 | - !!perl/hash:RE_method | ||
| 4477 | name: nofun | ||
| 4478 | rest: '' | ||
| 4479 | - !!perl/hash:RE_method | ||
| 4480 | name: ws | ||
| 4481 | rest: '' | ||
| 4482 | - !!perl/hash:RE_method | ||
| 4483 | name: modifier_expr | ||
| 4484 | rest: '' | ||
| 4485 | - !!perl/hash:RE_method | ||
| 4486 | name: ws | ||
| 4487 | rest: '' | ||
| 4488 | p5statement_mod_loop:*: | ||
| 4489 | dic: STD::STD::P5 | ||
| 4490 | p5statement_mod_loop__S_043while: !!perl/hash:RE_ast | ||
| 4491 | dba: p5statement_mod_loop | ||
| 4492 | dic: STD::STD::P5 | ||
| 4493 | re: !!perl/hash:RE_sequence | ||
| 4494 | zyg: | ||
| 4495 | - !!perl/hash:RE_method | ||
| 4496 | endsym: nofun | ||
| 4497 | i: 0 | ||
| 4498 | name: sym | ||
| 4499 | rest: '' | ||
| 4500 | sym: while | ||
| 4501 | - !!perl/hash:RE_method | ||
| 4502 | name: nofun | ||
| 4503 | rest: '' | ||
| 4504 | - !!perl/hash:RE_method | ||
| 4505 | name: ws | ||
| 4506 | rest: '' | ||
| 4507 | - !!perl/hash:RE_method | ||
| 4508 | name: modifier_expr | ||
| 4509 | rest: '' | ||
| 4510 | - !!perl/hash:RE_method | ||
| 4511 | name: ws | ||
| 4512 | rest: '' | ||
| 4513 | p5statement_mod_loop__S_044until: !!perl/hash:RE_ast | ||
| 4514 | dba: p5statement_mod_loop | ||
| 4515 | dic: STD::STD::P5 | ||
| 4516 | re: !!perl/hash:RE_sequence | ||
| 4517 | zyg: | ||
| 4518 | - !!perl/hash:RE_method | ||
| 4519 | endsym: nofun | ||
| 4520 | i: 0 | ||
| 4521 | name: sym | ||
| 4522 | rest: '' | ||
| 4523 | sym: until | ||
| 4524 | - !!perl/hash:RE_method | ||
| 4525 | name: nofun | ||
| 4526 | rest: '' | ||
| 4527 | - !!perl/hash:RE_method | ||
| 4528 | name: ws | ||
| 4529 | rest: '' | ||
| 4530 | - !!perl/hash:RE_method | ||
| 4531 | name: modifier_expr | ||
| 4532 | rest: '' | ||
| 4533 | - !!perl/hash:RE_method | ||
| 4534 | name: ws | ||
| 4535 | rest: '' | ||
| 4536 | p5statement_mod_loop__S_045for: !!perl/hash:RE_ast | ||
| 4537 | dba: p5statement_mod_loop | ||
| 4538 | dic: STD::STD::P5 | ||
| 4539 | re: !!perl/hash:RE_sequence | ||
| 4540 | zyg: | ||
| 4541 | - !!perl/hash:RE_method | ||
| 4542 | endsym: nofun | ||
| 4543 | i: 0 | ||
| 4544 | name: sym | ||
| 4545 | rest: '' | ||
| 4546 | sym: for | ||
| 4547 | - !!perl/hash:RE_method | ||
| 4548 | name: nofun | ||
| 4549 | rest: '' | ||
| 4550 | - !!perl/hash:RE_method | ||
| 4551 | name: ws | ||
| 4552 | rest: '' | ||
| 4553 | - !!perl/hash:RE_method | ||
| 4554 | name: modifier_expr | ||
| 4555 | rest: '' | ||
| 4556 | - !!perl/hash:RE_method | ||
| 4557 | name: ws | ||
| 4558 | rest: '' | ||
| 4559 | p5statement_mod_loop__S_046given: !!perl/hash:RE_ast | ||
| 4560 | dba: p5statement_mod_loop | ||
| 4561 | dic: STD::STD::P5 | ||
| 4562 | re: !!perl/hash:RE_sequence | ||
| 4563 | zyg: | ||
| 4564 | - !!perl/hash:RE_method | ||
| 4565 | endsym: nofun | ||
| 4566 | i: 0 | ||
| 4567 | name: sym | ||
| 4568 | rest: '' | ||
| 4569 | sym: given | ||
| 4570 | - !!perl/hash:RE_method | ||
| 4571 | name: nofun | ||
| 4572 | rest: '' | ||
| 4573 | - !!perl/hash:RE_method | ||
| 4574 | name: ws | ||
| 4575 | rest: '' | ||
| 4576 | - !!perl/hash:RE_method | ||
| 4577 | name: modifier_expr | ||
| 4578 | rest: '' | ||
| 4579 | - !!perl/hash:RE_method | ||
| 4580 | name: ws | ||
| 4581 | rest: '' | ||
| 4582 | p5statement_prefix:*: | ||
| 4583 | dic: STD::STD::P5 | ||
| 4584 | p5statement_prefix__S_036BEGIN: !!perl/hash:RE_ast | ||
| 4585 | dba: p5statement_prefix | ||
| 4586 | dic: STD::STD::P5 | ||
| 4587 | re: !!perl/hash:RE_sequence | ||
| 4588 | zyg: | ||
| 4589 | - !!perl/hash:RE_method | ||
| 4590 | i: 0 | ||
| 4591 | name: sym | ||
| 4592 | rest: '' | ||
| 4593 | sym: BEGIN | ||
| 4594 | - !!perl/hash:RE_method | ||
| 4595 | name: ws | ||
| 4596 | rest: '' | ||
| 4597 | - !!perl/hash:RE_method | ||
| 4598 | name: block | ||
| 4599 | rest: '' | ||
| 4600 | - !!perl/hash:RE_method | ||
| 4601 | name: ws | ||
| 4602 | rest: '' | ||
| 4603 | p5statement_prefix__S_037CHECK: !!perl/hash:RE_ast | ||
| 4604 | dba: p5statement_prefix | ||
| 4605 | dic: STD::STD::P5 | ||
| 4606 | re: !!perl/hash:RE_sequence | ||
| 4607 | zyg: | ||
| 4608 | - !!perl/hash:RE_method | ||
| 4609 | i: 0 | ||
| 4610 | name: sym | ||
| 4611 | rest: '' | ||
| 4612 | sym: CHECK | ||
| 4613 | - !!perl/hash:RE_method | ||
| 4614 | name: ws | ||
| 4615 | rest: '' | ||
| 4616 | - !!perl/hash:RE_method | ||
| 4617 | name: block | ||
| 4618 | rest: '' | ||
| 4619 | - !!perl/hash:RE_method | ||
| 4620 | name: ws | ||
| 4621 | rest: '' | ||
| 4622 | p5statement_prefix__S_038INIT: !!perl/hash:RE_ast | ||
| 4623 | dba: p5statement_prefix | ||
| 4624 | dic: STD::STD::P5 | ||
| 4625 | re: !!perl/hash:RE_sequence | ||
| 4626 | zyg: | ||
| 4627 | - !!perl/hash:RE_method | ||
| 4628 | i: 0 | ||
| 4629 | name: sym | ||
| 4630 | rest: '' | ||
| 4631 | sym: INIT | ||
| 4632 | - !!perl/hash:RE_method | ||
| 4633 | name: ws | ||
| 4634 | rest: '' | ||
| 4635 | - !!perl/hash:RE_method | ||
| 4636 | name: block | ||
| 4637 | rest: '' | ||
| 4638 | - !!perl/hash:RE_method | ||
| 4639 | name: ws | ||
| 4640 | rest: '' | ||
| 4641 | p5statement_prefix__S_128do: !!perl/hash:RE_ast | ||
| 4642 | dba: p5statement_prefix | ||
| 4643 | dic: STD::STD::P5 | ||
| 4644 | re: !!perl/hash:RE_sequence | ||
| 4645 | zyg: | ||
| 4646 | - !!perl/hash:RE_method | ||
| 4647 | i: 0 | ||
| 4648 | name: sym | ||
| 4649 | rest: '' | ||
| 4650 | sym: do | ||
| 4651 | - !!perl/hash:RE_method | ||
| 4652 | name: ws | ||
| 4653 | rest: '' | ||
| 4654 | - !!perl/hash:RE_method | ||
| 4655 | name: block | ||
| 4656 | rest: '' | ||
| 4657 | - !!perl/hash:RE_method | ||
| 4658 | name: ws | ||
| 4659 | rest: '' | ||
| 4660 | p5statement_prefix__S_129eval: !!perl/hash:RE_ast | ||
| 4661 | dba: p5statement_prefix | ||
| 4662 | dic: STD::STD::P5 | ||
| 4663 | re: !!perl/hash:RE_sequence | ||
| 4664 | zyg: | ||
| 4665 | - !!perl/hash:RE_method | ||
| 4666 | i: 0 | ||
| 4667 | name: sym | ||
| 4668 | rest: '' | ||
| 4669 | sym: eval | ||
| 4670 | - !!perl/hash:RE_method | ||
| 4671 | name: ws | ||
| 4672 | rest: '' | ||
| 4673 | - !!perl/hash:RE_method | ||
| 4674 | name: block | ||
| 4675 | rest: '' | ||
| 4676 | - !!perl/hash:RE_method | ||
| 4677 | name: ws | ||
| 4678 | rest: '' | ||
| 4679 | p5term:*: | ||
| 4680 | dic: STD::STD::P5 | ||
| 4681 | p5term__S_056fatarrow: !!perl/hash:RE_ast | ||
| 4682 | dba: p5term | ||
| 4683 | dic: STD::STD::P5 | ||
| 4684 | re: !!perl/hash:RE_method | ||
| 4685 | name: fatarrow | ||
| 4686 | rest: '' | ||
| 4687 | p5term__S_057variable: !!perl/hash:RE_ast | ||
| 4688 | dba: p5term | ||
| 4689 | dic: STD::STD::P5 | ||
| 4690 | re: !!perl/hash:RE_sequence | ||
| 4691 | zyg: | ||
| 4692 | - !!perl/hash:RE_method | ||
| 4693 | name: variable | ||
| 4694 | rest: '' | ||
| 4695 | - !!perl/hash:RE_block {} | ||
| 4696 | p5term__S_058package_declarator: !!perl/hash:RE_ast | ||
| 4697 | dba: p5term | ||
| 4698 | dic: STD::STD::P5 | ||
| 4699 | re: !!perl/hash:RE_bindnamed | ||
| 4700 | atom: !!perl/hash:RE_method | ||
| 4701 | name: p5package_declarator | ||
| 4702 | rest: '' | ||
| 4703 | p5term__S_059scope_declarator: !!perl/hash:RE_ast | ||
| 4704 | dba: p5term | ||
| 4705 | dic: STD::STD::P5 | ||
| 4706 | re: !!perl/hash:RE_bindnamed | ||
| 4707 | atom: !!perl/hash:RE_method | ||
| 4708 | name: p5scope_declarator | ||
| 4709 | rest: '' | ||
| 4710 | p5term__S_060routine_declarator: !!perl/hash:RE_ast | ||
| 4711 | dba: p5term | ||
| 4712 | dic: STD::STD::P5 | ||
| 4713 | re: !!perl/hash:RE_bindnamed | ||
| 4714 | atom: !!perl/hash:RE_method | ||
| 4715 | name: p5routine_declarator | ||
| 4716 | rest: '' | ||
| 4717 | p5term__S_061circumfix: !!perl/hash:RE_ast | ||
| 4718 | dba: p5term | ||
| 4719 | dic: STD::STD::P5 | ||
| 4720 | re: !!perl/hash:RE_bindnamed | ||
| 4721 | atom: !!perl/hash:RE_method | ||
| 4722 | name: p5circumfix | ||
| 4723 | rest: '' | ||
| 4724 | p5term__S_062dotty: !!perl/hash:RE_ast | ||
| 4725 | dba: p5term | ||
| 4726 | dic: STD::STD::P5 | ||
| 4727 | re: !!perl/hash:RE_bindnamed | ||
| 4728 | atom: !!perl/hash:RE_method | ||
| 4729 | name: p5dotty | ||
| 4730 | rest: '' | ||
| 4731 | p5term__S_063value: !!perl/hash:RE_ast | ||
| 4732 | dba: p5term | ||
| 4733 | dic: STD::STD::P5 | ||
| 4734 | re: !!perl/hash:RE_bindnamed | ||
| 4735 | atom: !!perl/hash:RE_method | ||
| 4736 | name: p5value | ||
| 4737 | rest: '' | ||
| 4738 | p5term__S_064capterm: !!perl/hash:RE_ast | ||
| 4739 | dba: p5term | ||
| 4740 | dic: STD::STD::P5 | ||
| 4741 | re: !!perl/hash:RE_method | ||
| 4742 | name: capterm | ||
| 4743 | rest: '' | ||
| 4744 | p5term__S_065statement_prefix: !!perl/hash:RE_ast | ||
| 4745 | dba: p5term | ||
| 4746 | dic: STD::STD::P5 | ||
| 4747 | re: !!perl/hash:RE_bindnamed | ||
| 4748 | atom: !!perl/hash:RE_method | ||
| 4749 | name: p5statement_prefix | ||
| 4750 | rest: '' | ||
| 4751 | p5term__S_130undef: !!perl/hash:RE_ast | ||
| 4752 | dba: p5term | ||
| 4753 | dic: STD::STD::P5 | ||
| 4754 | re: !!perl/hash:RE_sequence | ||
| 4755 | zyg: | ||
| 4756 | - !!perl/hash:RE_method | ||
| 4757 | i: 0 | ||
| 4758 | name: sym | ||
| 4759 | rest: '' | ||
| 4760 | sym: undef | ||
| 4761 | - !!perl/hash:RE_meta | ||
| 4762 | text: » | ||
| 4763 | - !!perl/hash:RE_method | ||
| 4764 | name: O | ||
| 4765 | rest: 1 | ||
| 4766 | p5term__S_131continue: !!perl/hash:RE_ast | ||
| 4767 | dba: p5term | ||
| 4768 | dic: STD::STD::P5 | ||
| 4769 | re: !!perl/hash:RE_sequence | ||
| 4770 | zyg: | ||
| 4771 | - !!perl/hash:RE_method | ||
| 4772 | i: 0 | ||
| 4773 | name: sym | ||
| 4774 | rest: '' | ||
| 4775 | sym: continue | ||
| 4776 | - !!perl/hash:RE_meta | ||
| 4777 | text: » | ||
| 4778 | - !!perl/hash:RE_method | ||
| 4779 | name: O | ||
| 4780 | rest: 1 | ||
| 4781 | p5term__S_193identifier: !!perl/hash:RE_ast | ||
| 4782 | dba: p5term | ||
| 4783 | dic: STD::STD::P5 | ||
| 4784 | re: !!perl/hash:RE_sequence | ||
| 4785 | zyg: | ||
| 4786 | - !!perl/hash:RE_method | ||
| 4787 | name: identifier | ||
| 4788 | rest: '' | ||
| 4789 | - !!perl/hash:RE_assertion | ||
| 4790 | assert: '?' | ||
| 4791 | re: !!perl/hash:RE_method_re | ||
| 4792 | name: before | ||
| 4793 | nobind: 1 | ||
| 4794 | re: !!perl/hash:RE_quantified_atom | ||
| 4795 | atom: !!perl/hash:RE_bracket | ||
| 4796 | re: &28 !!perl/hash:RE_any | ||
| 4797 | altname: p5term__S_193identifier_0 | ||
| 4798 | dba: p5term | ||
| 4799 | dic: STD::STD::P5 | ||
| 4800 | zyg: | ||
| 4801 | - !!perl/hash:RE_method | ||
| 4802 | alt: p5term__S_193identifier_0 0 | ||
| 4803 | name: unsp | ||
| 4804 | rest: '' | ||
| 4805 | - !!perl/hash:RE_string | ||
| 4806 | alt: p5term__S_193identifier_0 1 | ||
| 4807 | i: 0 | ||
| 4808 | text: ( | ||
| 4809 | quant: | ||
| 4810 | - '?' | ||
| 4811 | - !!perl/hash:RE_block {} | ||
| 4812 | - !!perl/hash:RE_method | ||
| 4813 | name: args | ||
| 4814 | rest: 1 | ||
| 4815 | - !!perl/hash:RE_block {} | ||
| 4816 | - !!perl/hash:RE_method | ||
| 4817 | name: O | ||
| 4818 | rest: 1 | ||
| 4819 | p5term__S_193identifier_0: *28 | ||
| 4820 | p5term__S_194opfunc: !!perl/hash:RE_ast | ||
| 4821 | dba: p5term | ||
| 4822 | dic: STD::STD::P5 | ||
| 4823 | re: !!perl/hash:RE_sequence | ||
| 4824 | zyg: | ||
| 4825 | - !!perl/hash:RE_method | ||
| 4826 | name: category | ||
| 4827 | rest: '' | ||
| 4828 | - !!perl/hash:RE_quantified_atom | ||
| 4829 | atom: !!perl/hash:RE_method | ||
| 4830 | name: colonpair | ||
| 4831 | rest: '' | ||
| 4832 | quant: | ||
| 4833 | - + | ||
| 4834 | - !!perl/hash:RE_method | ||
| 4835 | name: args | ||
| 4836 | rest: '' | ||
| 4837 | - !!perl/hash:RE_method | ||
| 4838 | name: O | ||
| 4839 | rest: 1 | ||
| 4840 | p5term__S_195name: !!perl/hash:RE_ast | ||
| 4841 | dba: p5term | ||
| 4842 | dic: STD::STD::P5 | ||
| 4843 | re: !!perl/hash:RE_sequence | ||
| 4844 | zyg: | ||
| 4845 | - !!perl/hash:RE_method | ||
| 4846 | name: longname | ||
| 4847 | rest: '' | ||
| 4848 | - !!perl/hash:RE_block {} | ||
| 4849 | - !!perl/hash:RE_bracket | ||
| 4850 | re: !!perl/hash:RE_first | ||
| 4851 | zyg: | ||
| 4852 | - !!perl/hash:RE_sequence | ||
| 4853 | zyg: | ||
| 4854 | - !!perl/hash:RE_assertion | ||
| 4855 | assert: '?' | ||
| 4856 | re: !!perl/hash:RE_block | ||
| 4857 | nobind: 1 | ||
| 4858 | - !!perl/hash:RE_quantified_atom | ||
| 4859 | atom: !!perl/hash:RE_method | ||
| 4860 | name: unsp | ||
| 4861 | rest: '' | ||
| 4862 | quant: | ||
| 4863 | - '?' | ||
| 4864 | - !!perl/hash:RE_quantified_atom | ||
| 4865 | atom: !!perl/hash:RE_bracket | ||
| 4866 | re: !!perl/hash:RE_sequence | ||
| 4867 | zyg: | ||
| 4868 | - !!perl/hash:RE_assertion | ||
| 4869 | assert: '?' | ||
| 4870 | re: !!perl/hash:RE_method_re | ||
| 4871 | name: before | ||
| 4872 | nobind: 1 | ||
| 4873 | re: !!perl/hash:RE_string | ||
| 4874 | i: 0 | ||
| 4875 | text: '[' | ||
| 4876 | - !!perl/hash:RE_bindnamed | ||
| 4877 | atom: !!perl/hash:RE_method | ||
| 4878 | name: p5postcircumfix | ||
| 4879 | rest: '' | ||
| 4880 | quant: | ||
| 4881 | - '?' | ||
| 4882 | - !!perl/hash:RE_quantified_atom | ||
| 4883 | atom: !!perl/hash:RE_bracket | ||
| 4884 | re: !!perl/hash:RE_sequence | ||
| 4885 | zyg: | ||
| 4886 | - !!perl/hash:RE_string | ||
| 4887 | i: 0 | ||
| 4888 | text: '::' | ||
| 4889 | - !!perl/hash:RE_assertion | ||
| 4890 | assert: '?' | ||
| 4891 | re: !!perl/hash:RE_method_re | ||
| 4892 | name: before | ||
| 4893 | nobind: 1 | ||
| 4894 | re: !!perl/hash:RE_bracket | ||
| 4895 | re: &29 !!perl/hash:RE_any | ||
| 4896 | altname: p5term__S_195name_0 | ||
| 4897 | dba: type parameter | ||
| 4898 | dic: STD::STD::P5 | ||
| 4899 | zyg: | ||
| 4900 | - !!perl/hash:RE_string | ||
| 4901 | alt: p5term__S_195name_0 0 | ||
| 4902 | i: 0 | ||
| 4903 | text: « | ||
| 4904 | - !!perl/hash:RE_string | ||
| 4905 | alt: p5term__S_195name_0 1 | ||
| 4906 | i: 0 | ||
| 4907 | text: < | ||
| 4908 | - !!perl/hash:RE_string | ||
| 4909 | alt: p5term__S_195name_0 2 | ||
| 4910 | i: 0 | ||
| 4911 | text: '{' | ||
| 4912 | - !!perl/hash:RE_string | ||
| 4913 | alt: p5term__S_195name_0 3 | ||
| 4914 | i: 0 | ||
| 4915 | text: << | ||
| 4916 | - !!perl/hash:RE_bindnamed | ||
| 4917 | atom: !!perl/hash:RE_method | ||
| 4918 | name: p5postcircumfix | ||
| 4919 | rest: '' | ||
| 4920 | quant: | ||
| 4921 | - '?' | ||
| 4922 | - !!perl/hash:RE_sequence | ||
| 4923 | zyg: | ||
| 4924 | - !!perl/hash:RE_method | ||
| 4925 | name: args | ||
| 4926 | rest: '' | ||
| 4927 | - !!perl/hash:RE_block {} | ||
| 4928 | - !!perl/hash:RE_method | ||
| 4929 | name: O | ||
| 4930 | rest: 1 | ||
| 4931 | p5term__S_195name_0: *29 | ||
| 4932 | p5terminator:*: | ||
| 4933 | dic: STD::STD::P5 | ||
| 4934 | p5terminator__S_201Semi: !!perl/hash:RE_ast | ||
| 4935 | dba: p5terminator | ||
| 4936 | dic: STD::STD::P5 | ||
| 4937 | re: !!perl/hash:RE_sequence | ||
| 4938 | zyg: | ||
| 4939 | - !!perl/hash:RE_string | ||
| 4940 | i: 0 | ||
| 4941 | text: ; | ||
| 4942 | - !!perl/hash:RE_method | ||
| 4943 | name: O | ||
| 4944 | rest: 1 | ||
| 4945 | p5terminator__S_202if: !!perl/hash:RE_ast | ||
| 4946 | dba: p5terminator | ||
| 4947 | dic: STD::STD::P5 | ||
| 4948 | re: !!perl/hash:RE_sequence | ||
| 4949 | zyg: | ||
| 4950 | - !!perl/hash:RE_string | ||
| 4951 | i: 0 | ||
| 4952 | text: if | ||
| 4953 | - !!perl/hash:RE_meta | ||
| 4954 | text: » | ||
| 4955 | - !!perl/hash:RE_method | ||
| 4956 | name: nofun | ||
| 4957 | rest: '' | ||
| 4958 | - !!perl/hash:RE_method | ||
| 4959 | name: O | ||
| 4960 | rest: 1 | ||
| 4961 | p5terminator__S_203unless: !!perl/hash:RE_ast | ||
| 4962 | dba: p5terminator | ||
| 4963 | dic: STD::STD::P5 | ||
| 4964 | re: !!perl/hash:RE_sequence | ||
| 4965 | zyg: | ||
| 4966 | - !!perl/hash:RE_string | ||
| 4967 | i: 0 | ||
| 4968 | text: unless | ||
| 4969 | - !!perl/hash:RE_meta | ||
| 4970 | text: » | ||
| 4971 | - !!perl/hash:RE_method | ||
| 4972 | name: nofun | ||
| 4973 | rest: '' | ||
| 4974 | - !!perl/hash:RE_method | ||
| 4975 | name: O | ||
| 4976 | rest: 1 | ||
| 4977 | p5terminator__S_204while: !!perl/hash:RE_ast | ||
| 4978 | dba: p5terminator | ||
| 4979 | dic: STD::STD::P5 | ||
| 4980 | re: !!perl/hash:RE_sequence | ||
| 4981 | zyg: | ||
| 4982 | - !!perl/hash:RE_string | ||
| 4983 | i: 0 | ||
| 4984 | text: while | ||
| 4985 | - !!perl/hash:RE_meta | ||
| 4986 | text: » | ||
| 4987 | - !!perl/hash:RE_method | ||
| 4988 | name: nofun | ||
| 4989 | rest: '' | ||
| 4990 | - !!perl/hash:RE_method | ||
| 4991 | name: O | ||
| 4992 | rest: 1 | ||
| 4993 | p5terminator__S_205until: !!perl/hash:RE_ast | ||
| 4994 | dba: p5terminator | ||
| 4995 | dic: STD::STD::P5 | ||
| 4996 | re: !!perl/hash:RE_sequence | ||
| 4997 | zyg: | ||
| 4998 | - !!perl/hash:RE_string | ||
| 4999 | i: 0 | ||
| 5000 | text: until | ||
| 5001 | - !!perl/hash:RE_meta | ||
| 5002 | text: » | ||
| 5003 | - !!perl/hash:RE_method | ||
| 5004 | name: nofun | ||
| 5005 | rest: '' | ||
| 5006 | - !!perl/hash:RE_method | ||
| 5007 | name: O | ||
| 5008 | rest: 1 | ||
| 5009 | p5terminator__S_206for: !!perl/hash:RE_ast | ||
| 5010 | dba: p5terminator | ||
| 5011 | dic: STD::STD::P5 | ||
| 5012 | re: !!perl/hash:RE_sequence | ||
| 5013 | zyg: | ||
| 5014 | - !!perl/hash:RE_string | ||
| 5015 | i: 0 | ||
| 5016 | text: for | ||
| 5017 | - !!perl/hash:RE_meta | ||
| 5018 | text: » | ||
| 5019 | - !!perl/hash:RE_method | ||
| 5020 | name: nofun | ||
| 5021 | rest: '' | ||
| 5022 | - !!perl/hash:RE_method | ||
| 5023 | name: O | ||
| 5024 | rest: 1 | ||
| 5025 | p5terminator__S_207given: !!perl/hash:RE_ast | ||
| 5026 | dba: p5terminator | ||
| 5027 | dic: STD::STD::P5 | ||
| 5028 | re: !!perl/hash:RE_sequence | ||
| 5029 | zyg: | ||
| 5030 | - !!perl/hash:RE_string | ||
| 5031 | i: 0 | ||
| 5032 | text: given | ||
| 5033 | - !!perl/hash:RE_meta | ||
| 5034 | text: » | ||
| 5035 | - !!perl/hash:RE_method | ||
| 5036 | name: nofun | ||
| 5037 | rest: '' | ||
| 5038 | - !!perl/hash:RE_method | ||
| 5039 | name: O | ||
| 5040 | rest: 1 | ||
| 5041 | p5terminator__S_208when: !!perl/hash:RE_ast | ||
| 5042 | dba: p5terminator | ||
| 5043 | dic: STD::STD::P5 | ||
| 5044 | re: !!perl/hash:RE_sequence | ||
| 5045 | zyg: | ||
| 5046 | - !!perl/hash:RE_string | ||
| 5047 | i: 0 | ||
| 5048 | text: when | ||
| 5049 | - !!perl/hash:RE_meta | ||
| 5050 | text: » | ||
| 5051 | - !!perl/hash:RE_method | ||
| 5052 | name: nofun | ||
| 5053 | rest: '' | ||
| 5054 | - !!perl/hash:RE_method | ||
| 5055 | name: O | ||
| 5056 | rest: 1 | ||
| 5057 | p5terminator__S_209Thesis: !!perl/hash:RE_ast | ||
| 5058 | dba: p5terminator | ||
| 5059 | dic: STD::STD::P5 | ||
| 5060 | re: !!perl/hash:RE_sequence | ||
| 5061 | zyg: | ||
| 5062 | - !!perl/hash:RE_method | ||
| 5063 | i: 0 | ||
| 5064 | name: sym | ||
| 5065 | rest: '' | ||
| 5066 | sym: ) | ||
| 5067 | - !!perl/hash:RE_method | ||
| 5068 | name: O | ||
| 5069 | rest: 1 | ||
| 5070 | p5terminator__S_210Ket: !!perl/hash:RE_ast | ||
| 5071 | dba: p5terminator | ||
| 5072 | dic: STD::STD::P5 | ||
| 5073 | re: !!perl/hash:RE_sequence | ||
| 5074 | zyg: | ||
| 5075 | - !!perl/hash:RE_string | ||
| 5076 | i: 0 | ||
| 5077 | text: ']' | ||
| 5078 | - !!perl/hash:RE_method | ||
| 5079 | name: O | ||
| 5080 | rest: 1 | ||
| 5081 | p5terminator__S_211Ly: !!perl/hash:RE_ast | ||
| 5082 | dba: p5terminator | ||
| 5083 | dic: STD::STD::P5 | ||
| 5084 | re: !!perl/hash:RE_sequence | ||
| 5085 | zyg: | ||
| 5086 | - !!perl/hash:RE_string | ||
| 5087 | i: 0 | ||
| 5088 | text: '}' | ||
| 5089 | - !!perl/hash:RE_method | ||
| 5090 | name: O | ||
| 5091 | rest: 1 | ||
| 5092 | p5terminator__S_212Colon: !!perl/hash:RE_ast | ||
| 5093 | dba: p5terminator | ||
| 5094 | dic: STD::STD::P5 | ||
| 5095 | re: !!perl/hash:RE_sequence | ||
| 5096 | zyg: | ||
| 5097 | - !!perl/hash:RE_string | ||
| 5098 | i: 0 | ||
| 5099 | text: ':' | ||
| 5100 | - !!perl/hash:RE_assertion | ||
| 5101 | assert: '?' | ||
| 5102 | re: !!perl/hash:RE_block | ||
| 5103 | nobind: 1 | ||
| 5104 | - !!perl/hash:RE_method | ||
| 5105 | name: O | ||
| 5106 | rest: 1 | ||
| 5107 | p5tr_mods: !!perl/hash:RE_ast | ||
| 5108 | dba: p5tr_mods | ||
| 5109 | dic: STD::STD::P5 | ||
| 5110 | re: !!perl/hash:RE_bindpos | ||
| 5111 | atom: !!perl/hash:RE_paren | ||
| 5112 | re: !!perl/hash:RE_quantified_atom | ||
| 5113 | atom: !!perl/hash:RE_qw | ||
| 5114 | min: 1 | ||
| 5115 | text: < c d s ] > | ||
| 5116 | quant: | ||
| 5117 | - + | ||
| 5118 | p5type_declarator:*: | ||
| 5119 | dic: STD::STD::P5 | ||
| 5120 | p5value:*: | ||
| 5121 | dic: STD::STD::P5 | ||
| 5122 | p5value__S_113quote: !!perl/hash:RE_ast | ||
| 5123 | dba: p5value | ||
| 5124 | dic: STD::STD::P5 | ||
| 5125 | re: !!perl/hash:RE_bindnamed | ||
| 5126 | atom: !!perl/hash:RE_method | ||
| 5127 | name: p5quote | ||
| 5128 | rest: '' | ||
| 5129 | p5value__S_114number: !!perl/hash:RE_ast | ||
| 5130 | dba: p5value | ||
| 5131 | dic: STD::STD::P5 | ||
| 5132 | re: !!perl/hash:RE_bindnamed | ||
| 5133 | atom: !!perl/hash:RE_method | ||
| 5134 | name: p5number | ||
| 5135 | rest: '' | ||
| 5136 | p5value__S_115version: !!perl/hash:RE_ast | ||
| 5137 | dba: p5value | ||
| 5138 | dic: STD::STD::P5 | ||
| 5139 | re: !!perl/hash:RE_bindnamed | ||
| 5140 | atom: !!perl/hash:RE_method | ||
| 5141 | name: p5version | ||
| 5142 | rest: '' | ||
| 5143 | p5version:*: | ||
| 5144 | dic: STD::STD::P5 | ||
| 5145 | p5version__S_048v: !!perl/hash:RE_ast | ||
| 5146 | dba: p5version | ||
| 5147 | dic: STD::STD::P5 | ||
| 5148 | re: !!perl/hash:RE_sequence | ||
| 5149 | zyg: | ||
| 5150 | - !!perl/hash:RE_string | ||
| 5151 | i: 0 | ||
| 5152 | text: v | ||
| 5153 | - !!perl/hash:RE_assertion | ||
| 5154 | assert: '?' | ||
| 5155 | re: !!perl/hash:RE_method_re | ||
| 5156 | name: before | ||
| 5157 | nobind: 1 | ||
| 5158 | re: !!perl/hash:RE_quantified_atom | ||
| 5159 | atom: !!perl/hash:RE_meta | ||
| 5160 | min: 1 | ||
| 5161 | text: \d | ||
| 5162 | quant: | ||
| 5163 | - + | ||
| 5164 | - !!perl/hash:RE_meta | ||
| 5165 | text: '::' | ||
| 5166 | - !!perl/hash:RE_quantified_atom | ||
| 5167 | atom: !!perl/hash:RE_method | ||
| 5168 | name: vnum | ||
| 5169 | rest: '' | ||
| 5170 | quant: | ||
| 5171 | - '**' | ||
| 5172 | - ':' | ||
| 5173 | - !!perl/hash:RE_string | ||
| 5174 | a: 0 | ||
| 5175 | dba: p5version | ||
| 5176 | dic: STD::STD::P5 | ||
| 5177 | i: 0 | ||
| 5178 | i_needed: 1 | ||
| 5179 | r: 1 | ||
| 5180 | s: 0 | ||
| 5181 | text: . | ||
| 5182 | - !!perl/hash:RE_quantified_atom | ||
| 5183 | atom: !!perl/hash:RE_string | ||
| 5184 | i: 0 | ||
| 5185 | text: + | ||
| 5186 | quant: | ||
| 5187 | - '?' | ||
| 5188 | package_def: !!perl/hash:RE_ast | ||
| 5189 | dba: package_def | ||
| 5190 | dic: STD::STD::P5 | ||
| 5191 | re: !!perl/hash:RE_first | ||
| 5192 | zyg: | ||
| 5193 | - !!perl/hash:RE_sequence | ||
| 5194 | zyg: | ||
| 5195 | - !!perl/hash:RE_method | ||
| 5196 | name: ws | ||
| 5197 | rest: '' | ||
| 5198 | - !!perl/hash:RE_block {} | ||
| 5199 | - !!perl/hash:RE_bracket | ||
| 5200 | re: !!perl/hash:RE_sequence | ||
| 5201 | zyg: | ||
| 5202 | - !!perl/hash:RE_quantified_atom | ||
| 5203 | atom: !!perl/hash:RE_bracket | ||
| 5204 | re: !!perl/hash:RE_sequence | ||
| 5205 | zyg: | ||
| 5206 | - !!perl/hash:RE_method | ||
| 5207 | name: ws | ||
| 5208 | rest: '' | ||
| 5209 | - !!perl/hash:RE_method | ||
| 5210 | name: def_module_name | ||
| 5211 | rest: '' | ||
| 5212 | - !!perl/hash:RE_block {} | ||
| 5213 | - !!perl/hash:RE_method | ||
| 5214 | name: ws | ||
| 5215 | rest: '' | ||
| 5216 | quant: | ||
| 5217 | - '?' | ||
| 5218 | - !!perl/hash:RE_method | ||
| 5219 | name: ws | ||
| 5220 | rest: '' | ||
| 5221 | - !!perl/hash:RE_bracket | ||
| 5222 | re: !!perl/hash:RE_first | ||
| 5223 | zyg: | ||
| 5224 | - !!perl/hash:RE_sequence | ||
| 5225 | zyg: | ||
| 5226 | - !!perl/hash:RE_assertion | ||
| 5227 | assert: '?' | ||
| 5228 | re: !!perl/hash:RE_method_re | ||
| 5229 | name: before | ||
| 5230 | nobind: 1 | ||
| 5231 | re: !!perl/hash:RE_sequence | ||
| 5232 | zyg: | ||
| 5233 | - !!perl/hash:RE_method | ||
| 5234 | name: ws | ||
| 5235 | rest: '' | ||
| 5236 | - !!perl/hash:RE_string | ||
| 5237 | i: 0 | ||
| 5238 | text: ; | ||
| 5239 | - !!perl/hash:RE_block {} | ||
| 5240 | - !!perl/hash:RE_sequence | ||
| 5241 | zyg: | ||
| 5242 | - !!perl/hash:RE_method | ||
| 5243 | name: panic | ||
| 5244 | rest: 1 | ||
| 5245 | - !!perl/hash:RE_method | ||
| 5246 | name: ws | ||
| 5247 | rest: '' | ||
| 5248 | - !!perl/hash:RE_sequence | ||
| 5249 | zyg: | ||
| 5250 | - !!perl/hash:RE_method | ||
| 5251 | name: ws | ||
| 5252 | rest: '' | ||
| 5253 | - !!perl/hash:RE_method | ||
| 5254 | name: panic | ||
| 5255 | rest: 1 | ||
| 5256 | - !!perl/hash:RE_method | ||
| 5257 | name: ws | ||
| 5258 | rest: '' | ||
| 5259 | param_sep: !!perl/hash:RE_ast | ||
| 5260 | dba: param_sep | ||
| 5261 | dic: STD::STD::P5 | ||
| 5262 | re: !!perl/hash:RE_sequence | ||
| 5263 | zyg: | ||
| 5264 | - !!perl/hash:RE_method | ||
| 5265 | name: ws | ||
| 5266 | rest: '' | ||
| 5267 | - !!perl/hash:RE_bracket | ||
| 5268 | re: &30 !!perl/hash:RE_any | ||
| 5269 | altname: param_sep_0 | ||
| 5270 | dba: param_sep | ||
| 5271 | dic: STD::STD::P5 | ||
| 5272 | zyg: | ||
| 5273 | - !!perl/hash:RE_string | ||
| 5274 | alt: param_sep_0 0 | ||
| 5275 | i: 0 | ||
| 5276 | text: ',' | ||
| 5277 | - !!perl/hash:RE_string | ||
| 5278 | alt: param_sep_0 1 | ||
| 5279 | i: 0 | ||
| 5280 | text: ':' | ||
| 5281 | - !!perl/hash:RE_string | ||
| 5282 | alt: param_sep_0 2 | ||
| 5283 | i: 0 | ||
| 5284 | text: ; | ||
| 5285 | - !!perl/hash:RE_string | ||
| 5286 | alt: param_sep_0 3 | ||
| 5287 | i: 0 | ||
| 5288 | text: ;; | ||
| 5289 | - !!perl/hash:RE_method | ||
| 5290 | name: ws | ||
| 5291 | rest: '' | ||
| 5292 | param_sep_0: *30 | ||
| 5293 | parensig: !!perl/hash:RE_ast | ||
| 5294 | dba: signature | ||
| 5295 | dic: STD::STD::P5 | ||
| 5296 | re: !!perl/hash:RE_sequence | ||
| 5297 | zyg: | ||
| 5298 | - !!perl/hash:RE_method | ||
| 5299 | name: ws | ||
| 5300 | rest: '' | ||
| 5301 | - !!perl/hash:RE_bracket | ||
| 5302 | re: !!perl/hash:RE_sequence | ||
| 5303 | zyg: | ||
| 5304 | - !!perl/hash:RE_string | ||
| 5305 | i: 0 | ||
| 5306 | text: ( | ||
| 5307 | - !!perl/hash:RE_block {} | ||
| 5308 | - !!perl/hash:RE_method | ||
| 5309 | name: signature | ||
| 5310 | rest: 1 | ||
| 5311 | - !!perl/hash:RE_bracket | ||
| 5312 | re: !!perl/hash:RE_first | ||
| 5313 | zyg: | ||
| 5314 | - !!perl/hash:RE_string | ||
| 5315 | i: 0 | ||
| 5316 | text: ) | ||
| 5317 | - !!perl/hash:RE_method | ||
| 5318 | name: FAILGOAL | ||
| 5319 | rest: 1 | ||
| 5320 | - !!perl/hash:RE_method | ||
| 5321 | name: ws | ||
| 5322 | rest: '' | ||
| 5323 | pod_comment: !!perl/hash:RE_ast | ||
| 5324 | dba: pod_comment | ||
| 5325 | dic: STD::STD::P5 | ||
| 5326 | re: !!perl/hash:RE_sequence | ||
| 5327 | zyg: | ||
| 5328 | - !!perl/hash:RE_meta | ||
| 5329 | text: ^^ | ||
| 5330 | - !!perl/hash:RE_quantified_atom | ||
| 5331 | atom: !!perl/hash:RE_meta | ||
| 5332 | min: 1 | ||
| 5333 | text: \h | ||
| 5334 | quant: | ||
| 5335 | - '*' | ||
| 5336 | - !!perl/hash:RE_string | ||
| 5337 | i: 0 | ||
| 5338 | text: = | ||
| 5339 | - !!perl/hash:RE_quantified_atom | ||
| 5340 | atom: !!perl/hash:RE_method | ||
| 5341 | name: unsp | ||
| 5342 | rest: '' | ||
| 5343 | quant: | ||
| 5344 | - '?' | ||
| 5345 | - !!perl/hash:RE_bracket | ||
| 5346 | re: &31 !!perl/hash:RE_any | ||
| 5347 | altname: pod_comment_0 | ||
| 5348 | dba: pod_comment | ||
| 5349 | dic: STD::STD::P5 | ||
| 5350 | zyg: | ||
| 5351 | - !!perl/hash:RE_sequence | ||
| 5352 | alt: pod_comment_0 0 | ||
| 5353 | zyg: | ||
| 5354 | - !!perl/hash:RE_string | ||
| 5355 | i: 0 | ||
| 5356 | text: begin | ||
| 5357 | - !!perl/hash:RE_quantified_atom | ||
| 5358 | atom: !!perl/hash:RE_meta | ||
| 5359 | min: 1 | ||
| 5360 | text: \h | ||
| 5361 | quant: | ||
| 5362 | - + | ||
| 5363 | - !!perl/hash:RE_method | ||
| 5364 | name: identifier | ||
| 5365 | rest: '' | ||
| 5366 | - !!perl/hash:RE_meta | ||
| 5367 | text: '::' | ||
| 5368 | - !!perl/hash:RE_bracket | ||
| 5369 | re: !!perl/hash:RE_first | ||
| 5370 | zyg: | ||
| 5371 | - !!perl/hash:RE_sequence | ||
| 5372 | zyg: | ||
| 5373 | - !!perl/hash:RE_meta | ||
| 5374 | text: .*? | ||
| 5375 | - !!perl/hash:RE_double | ||
| 5376 | i: 0 | ||
| 5377 | text: ' | ||
| 5378 | |||
| 5379 | ' | ||
| 5380 | - !!perl/hash:RE_quantified_atom | ||
| 5381 | atom: !!perl/hash:RE_meta | ||
| 5382 | min: 1 | ||
| 5383 | text: \h | ||
| 5384 | quant: | ||
| 5385 | - '*' | ||
| 5386 | - !!perl/hash:RE_string | ||
| 5387 | i: 0 | ||
| 5388 | text: = | ||
| 5389 | - !!perl/hash:RE_quantified_atom | ||
| 5390 | atom: !!perl/hash:RE_method | ||
| 5391 | name: unsp | ||
| 5392 | rest: '' | ||
| 5393 | quant: | ||
| 5394 | - '?' | ||
| 5395 | - !!perl/hash:RE_string | ||
| 5396 | i: 0 | ||
| 5397 | text: end | ||
| 5398 | - !!perl/hash:RE_quantified_atom | ||
| 5399 | atom: !!perl/hash:RE_meta | ||
| 5400 | min: 1 | ||
| 5401 | text: \h | ||
| 5402 | quant: | ||
| 5403 | - + | ||
| 5404 | - !!perl/hash:RE_var | ||
| 5405 | var: $M->{'identifier'} | ||
| 5406 | - !!perl/hash:RE_meta | ||
| 5407 | text: » | ||
| 5408 | - !!perl/hash:RE_quantified_atom | ||
| 5409 | atom: !!perl/hash:RE_meta | ||
| 5410 | min: 1 | ||
| 5411 | text: \N | ||
| 5412 | quant: | ||
| 5413 | - '*' | ||
| 5414 | - !!perl/hash:RE_sequence | ||
| 5415 | zyg: | ||
| 5416 | - !!perl/hash:RE_assertion | ||
| 5417 | assert: '?' | ||
| 5418 | re: !!perl/hash:RE_block | ||
| 5419 | nobind: 1 | ||
| 5420 | - !!perl/hash:RE_quantified_atom | ||
| 5421 | atom: !!perl/hash:RE_meta | ||
| 5422 | min: 1 | ||
| 5423 | text: . | ||
| 5424 | quant: | ||
| 5425 | - '*' | ||
| 5426 | - !!perl/hash:RE_block {} | ||
| 5427 | - !!perl/hash:RE_sequence | ||
| 5428 | alt: pod_comment_0 1 | ||
| 5429 | zyg: | ||
| 5430 | - !!perl/hash:RE_string | ||
| 5431 | i: 0 | ||
| 5432 | text: begin | ||
| 5433 | - !!perl/hash:RE_meta | ||
| 5434 | text: » | ||
| 5435 | - !!perl/hash:RE_meta | ||
| 5436 | text: '::' | ||
| 5437 | - !!perl/hash:RE_quantified_atom | ||
| 5438 | atom: !!perl/hash:RE_meta | ||
| 5439 | min: 1 | ||
| 5440 | text: \h | ||
| 5441 | quant: | ||
| 5442 | - '*' | ||
| 5443 | - !!perl/hash:RE_bracket | ||
| 5444 | re: !!perl/hash:RE_first | ||
| 5445 | zyg: | ||
| 5446 | - !!perl/hash:RE_meta | ||
| 5447 | text: $$ | ||
| 5448 | - !!perl/hash:RE_string | ||
| 5449 | i: 0 | ||
| 5450 | text: '#' | ||
| 5451 | - !!perl/hash:RE_method | ||
| 5452 | name: panic | ||
| 5453 | rest: 1 | ||
| 5454 | - !!perl/hash:RE_bracket | ||
| 5455 | re: !!perl/hash:RE_first | ||
| 5456 | zyg: | ||
| 5457 | - !!perl/hash:RE_sequence | ||
| 5458 | zyg: | ||
| 5459 | - !!perl/hash:RE_meta | ||
| 5460 | text: .*? | ||
| 5461 | - !!perl/hash:RE_double | ||
| 5462 | i: 0 | ||
| 5463 | text: ' | ||
| 5464 | |||
| 5465 | ' | ||
| 5466 | - !!perl/hash:RE_quantified_atom | ||
| 5467 | atom: !!perl/hash:RE_meta | ||
| 5468 | min: 1 | ||
| 5469 | text: \h | ||
| 5470 | quant: | ||
| 5471 | - '*' | ||
| 5472 | - !!perl/hash:RE_string | ||
| 5473 | i: 0 | ||
| 5474 | text: = | ||
| 5475 | - !!perl/hash:RE_quantified_atom | ||
| 5476 | atom: !!perl/hash:RE_method | ||
| 5477 | name: unsp | ||
| 5478 | rest: '' | ||
| 5479 | quant: | ||
| 5480 | - '?' | ||
| 5481 | - !!perl/hash:RE_string | ||
| 5482 | i: 0 | ||
| 5483 | text: end | ||
| 5484 | - !!perl/hash:RE_meta | ||
| 5485 | text: » | ||
| 5486 | - !!perl/hash:RE_quantified_atom | ||
| 5487 | atom: !!perl/hash:RE_meta | ||
| 5488 | min: 1 | ||
| 5489 | text: \N | ||
| 5490 | quant: | ||
| 5491 | - '*' | ||
| 5492 | - !!perl/hash:RE_block {} | ||
| 5493 | - !!perl/hash:RE_sequence | ||
| 5494 | alt: pod_comment_0 2 | ||
| 5495 | zyg: | ||
| 5496 | - !!perl/hash:RE_string | ||
| 5497 | i: 0 | ||
| 5498 | text: for | ||
| 5499 | - !!perl/hash:RE_meta | ||
| 5500 | text: » | ||
| 5501 | - !!perl/hash:RE_meta | ||
| 5502 | text: '::' | ||
| 5503 | - !!perl/hash:RE_quantified_atom | ||
| 5504 | atom: !!perl/hash:RE_meta | ||
| 5505 | min: 1 | ||
| 5506 | text: \h | ||
| 5507 | quant: | ||
| 5508 | - '*' | ||
| 5509 | - !!perl/hash:RE_bracket | ||
| 5510 | re: !!perl/hash:RE_first | ||
| 5511 | zyg: | ||
| 5512 | - !!perl/hash:RE_method | ||
| 5513 | name: identifier | ||
| 5514 | rest: '' | ||
| 5515 | - !!perl/hash:RE_meta | ||
| 5516 | text: $$ | ||
| 5517 | - !!perl/hash:RE_string | ||
| 5518 | i: 0 | ||
| 5519 | text: '#' | ||
| 5520 | - !!perl/hash:RE_method | ||
| 5521 | name: panic | ||
| 5522 | rest: 1 | ||
| 5523 | - !!perl/hash:RE_bracket | ||
| 5524 | re: !!perl/hash:RE_first | ||
| 5525 | zyg: | ||
| 5526 | - !!perl/hash:RE_sequence | ||
| 5527 | zyg: | ||
| 5528 | - !!perl/hash:RE_meta | ||
| 5529 | text: .*? | ||
| 5530 | - !!perl/hash:RE_meta | ||
| 5531 | text: ^^ | ||
| 5532 | - !!perl/hash:RE_quantified_atom | ||
| 5533 | atom: !!perl/hash:RE_meta | ||
| 5534 | min: 1 | ||
| 5535 | text: \h | ||
| 5536 | quant: | ||
| 5537 | - '*' | ||
| 5538 | - !!perl/hash:RE_meta | ||
| 5539 | text: $$ | ||
| 5540 | - !!perl/hash:RE_quantified_atom | ||
| 5541 | atom: !!perl/hash:RE_meta | ||
| 5542 | min: 1 | ||
| 5543 | text: . | ||
| 5544 | quant: | ||
| 5545 | - '*' | ||
| 5546 | - !!perl/hash:RE_sequence | ||
| 5547 | alt: pod_comment_0 3 | ||
| 5548 | zyg: | ||
| 5549 | - !!perl/hash:RE_meta | ||
| 5550 | text: '::' | ||
| 5551 | - !!perl/hash:RE_quantified_atom | ||
| 5552 | atom: !!perl/hash:RE_bracket | ||
| 5553 | re: !!perl/hash:RE_sequence | ||
| 5554 | zyg: | ||
| 5555 | - !!perl/hash:RE_assertion | ||
| 5556 | assert: '?' | ||
| 5557 | re: !!perl/hash:RE_method_re | ||
| 5558 | name: before | ||
| 5559 | nobind: 1 | ||
| 5560 | re: !!perl/hash:RE_sequence | ||
| 5561 | zyg: | ||
| 5562 | - !!perl/hash:RE_meta | ||
| 5563 | text: .*? | ||
| 5564 | - !!perl/hash:RE_meta | ||
| 5565 | text: ^^ | ||
| 5566 | - !!perl/hash:RE_string | ||
| 5567 | i: 0 | ||
| 5568 | text: =cut | ||
| 5569 | - !!perl/hash:RE_meta | ||
| 5570 | text: » | ||
| 5571 | - !!perl/hash:RE_method | ||
| 5572 | name: panic | ||
| 5573 | rest: 1 | ||
| 5574 | quant: | ||
| 5575 | - '?' | ||
| 5576 | - !!perl/hash:RE_bracket | ||
| 5577 | re: !!perl/hash:RE_first | ||
| 5578 | zyg: | ||
| 5579 | - !!perl/hash:RE_method | ||
| 5580 | name: alpha | ||
| 5581 | rest: '' | ||
| 5582 | - !!perl/hash:RE_meta | ||
| 5583 | min: 1 | ||
| 5584 | text: \s | ||
| 5585 | - !!perl/hash:RE_method | ||
| 5586 | name: panic | ||
| 5587 | rest: 1 | ||
| 5588 | - !!perl/hash:RE_quantified_atom | ||
| 5589 | atom: !!perl/hash:RE_meta | ||
| 5590 | min: 1 | ||
| 5591 | text: \N | ||
| 5592 | quant: | ||
| 5593 | - '*' | ||
| 5594 | pod_comment_0: *31 | ||
| 5595 | postop: !!perl/hash:RE_ast | ||
| 5596 | dba: postop | ||
| 5597 | dic: STD::STD::P5 | ||
| 5598 | re: &32 !!perl/hash:RE_any | ||
| 5599 | altname: postop_0 | ||
| 5600 | dba: postop | ||
| 5601 | dic: STD::STD::P5 | ||
| 5602 | zyg: | ||
| 5603 | - !!perl/hash:RE_sequence | ||
| 5604 | alt: postop_0 0 | ||
| 5605 | zyg: | ||
| 5606 | - !!perl/hash:RE_bindnamed | ||
| 5607 | atom: !!perl/hash:RE_method | ||
| 5608 | name: p5postfix | ||
| 5609 | rest: '' | ||
| 5610 | - !!perl/hash:RE_block {} | ||
| 5611 | - !!perl/hash:RE_sequence | ||
| 5612 | alt: postop_0 1 | ||
| 5613 | zyg: | ||
| 5614 | - !!perl/hash:RE_bindnamed | ||
| 5615 | atom: !!perl/hash:RE_method | ||
| 5616 | name: p5postcircumfix | ||
| 5617 | rest: '' | ||
| 5618 | - !!perl/hash:RE_block {} | ||
| 5619 | postop_0: *32 | ||
| 5620 | quasiquibble: !!perl/hash:RE_ast | ||
| 5621 | dba: quasiquibble | ||
| 5622 | dic: STD::STD::P5 | ||
| 5623 | re: !!perl/hash:RE_sequence | ||
| 5624 | zyg: | ||
| 5625 | - !!perl/hash:RE_method | ||
| 5626 | name: babble | ||
| 5627 | rest: 1 | ||
| 5628 | - !!perl/hash:RE_block {} | ||
| 5629 | - !!perl/hash:RE_bracket | ||
| 5630 | re: !!perl/hash:RE_first | ||
| 5631 | zyg: | ||
| 5632 | - !!perl/hash:RE_sequence | ||
| 5633 | zyg: | ||
| 5634 | - !!perl/hash:RE_assertion | ||
| 5635 | assert: '?' | ||
| 5636 | re: !!perl/hash:RE_block | ||
| 5637 | nobind: 1 | ||
| 5638 | - !!perl/hash:RE_bracket | ||
| 5639 | re: !!perl/hash:RE_sequence | ||
| 5640 | zyg: | ||
| 5641 | - !!perl/hash:RE_decl {} | ||
| 5642 | - !!perl/hash:RE_method | ||
| 5643 | name: block | ||
| 5644 | rest: '' | ||
| 5645 | - !!perl/hash:RE_sequence | ||
| 5646 | zyg: | ||
| 5647 | - !!perl/hash:RE_var | ||
| 5648 | var: $start | ||
| 5649 | - !!perl/hash:RE_bracket | ||
| 5650 | re: !!perl/hash:RE_sequence | ||
| 5651 | zyg: | ||
| 5652 | - !!perl/hash:RE_decl {} | ||
| 5653 | - !!perl/hash:RE_method | ||
| 5654 | name: statementlist | ||
| 5655 | rest: '' | ||
| 5656 | - !!perl/hash:RE_bracket | ||
| 5657 | re: !!perl/hash:RE_first | ||
| 5658 | zyg: | ||
| 5659 | - !!perl/hash:RE_var | ||
| 5660 | var: $stop | ||
| 5661 | - !!perl/hash:RE_method | ||
| 5662 | name: panic | ||
| 5663 | rest: 1 | ||
| 5664 | quibble: !!perl/hash:RE_ast | ||
| 5665 | dba: quibble | ||
| 5666 | dic: STD::STD::P5 | ||
| 5667 | re: !!perl/hash:RE_sequence | ||
| 5668 | zyg: | ||
| 5669 | - !!perl/hash:RE_method | ||
| 5670 | name: babble | ||
| 5671 | rest: 1 | ||
| 5672 | - !!perl/hash:RE_block {} | ||
| 5673 | - !!perl/hash:RE_var | ||
| 5674 | var: $start | ||
| 5675 | - !!perl/hash:RE_method | ||
| 5676 | name: nibble | ||
| 5677 | rest: 1 | ||
| 5678 | - !!perl/hash:RE_bracket | ||
| 5679 | re: !!perl/hash:RE_first | ||
| 5680 | zyg: | ||
| 5681 | - !!perl/hash:RE_var | ||
| 5682 | var: $stop | ||
| 5683 | - !!perl/hash:RE_method | ||
| 5684 | name: panic | ||
| 5685 | rest: 1 | ||
| 5686 | - !!perl/hash:RE_block {} | ||
| 5687 | quote__S_122qq: !!perl/hash:RE_ast | ||
| 5688 | dba: quote | ||
| 5689 | dic: STD::STD::P5 | ||
| 5690 | re: !!perl/hash:RE_sequence | ||
| 5691 | zyg: | ||
| 5692 | - !!perl/hash:RE_string | ||
| 5693 | i: 0 | ||
| 5694 | text: qq | ||
| 5695 | - !!perl/hash:RE_bracket | ||
| 5696 | re: !!perl/hash:RE_sequence | ||
| 5697 | zyg: | ||
| 5698 | - !!perl/hash:RE_meta | ||
| 5699 | text: » | ||
| 5700 | - !!perl/hash:RE_method | ||
| 5701 | name: ws | ||
| 5702 | rest: '' | ||
| 5703 | - !!perl/hash:RE_method | ||
| 5704 | name: quibble | ||
| 5705 | rest: 1 | ||
| 5706 | quote__S_123q: !!perl/hash:RE_ast | ||
| 5707 | dba: quote | ||
| 5708 | dic: STD::STD::P5 | ||
| 5709 | re: !!perl/hash:RE_sequence | ||
| 5710 | zyg: | ||
| 5711 | - !!perl/hash:RE_string | ||
| 5712 | i: 0 | ||
| 5713 | text: q | ||
| 5714 | - !!perl/hash:RE_bracket | ||
| 5715 | re: !!perl/hash:RE_sequence | ||
| 5716 | zyg: | ||
| 5717 | - !!perl/hash:RE_meta | ||
| 5718 | text: » | ||
| 5719 | - !!perl/hash:RE_method | ||
| 5720 | name: ws | ||
| 5721 | rest: '' | ||
| 5722 | - !!perl/hash:RE_method | ||
| 5723 | name: quibble | ||
| 5724 | rest: 1 | ||
| 5725 | quote__S_124qr: !!perl/hash:RE_ast | ||
| 5726 | dba: quote | ||
| 5727 | dic: STD::STD::P5 | ||
| 5728 | re: !!perl/hash:RE_sequence | ||
| 5729 | zyg: | ||
| 5730 | - !!perl/hash:RE_method | ||
| 5731 | i: 0 | ||
| 5732 | name: sym | ||
| 5733 | rest: '' | ||
| 5734 | sym: qr | ||
| 5735 | - !!perl/hash:RE_meta | ||
| 5736 | text: » | ||
| 5737 | - !!perl/hash:RE_assertion | ||
| 5738 | assert: '!' | ||
| 5739 | re: !!perl/hash:RE_method_re | ||
| 5740 | name: before | ||
| 5741 | nobind: 1 | ||
| 5742 | re: !!perl/hash:RE_string | ||
| 5743 | i: 0 | ||
| 5744 | text: ( | ||
| 5745 | - !!perl/hash:RE_method | ||
| 5746 | name: quibble | ||
| 5747 | rest: 1 | ||
| 5748 | - !!perl/hash:RE_method | ||
| 5749 | name: p5rx_mods | ||
| 5750 | rest: '' | ||
| 5751 | quote__S_125m: !!perl/hash:RE_ast | ||
| 5752 | dba: quote | ||
| 5753 | dic: STD::STD::P5 | ||
| 5754 | re: !!perl/hash:RE_sequence | ||
| 5755 | zyg: | ||
| 5756 | - !!perl/hash:RE_method | ||
| 5757 | i: 0 | ||
| 5758 | name: sym | ||
| 5759 | rest: '' | ||
| 5760 | sym: m | ||
| 5761 | - !!perl/hash:RE_meta | ||
| 5762 | text: » | ||
| 5763 | - !!perl/hash:RE_assertion | ||
| 5764 | assert: '!' | ||
| 5765 | re: !!perl/hash:RE_method_re | ||
| 5766 | name: before | ||
| 5767 | nobind: 1 | ||
| 5768 | re: !!perl/hash:RE_string | ||
| 5769 | i: 0 | ||
| 5770 | text: ( | ||
| 5771 | - !!perl/hash:RE_method | ||
| 5772 | name: quibble | ||
| 5773 | rest: 1 | ||
| 5774 | - !!perl/hash:RE_method | ||
| 5775 | name: p5rx_mods | ||
| 5776 | rest: '' | ||
| 5777 | quote__S_126s: !!perl/hash:RE_ast | ||
| 5778 | dba: quote | ||
| 5779 | dic: STD::STD::P5 | ||
| 5780 | re: !!perl/hash:RE_sequence | ||
| 5781 | zyg: | ||
| 5782 | - !!perl/hash:RE_method | ||
| 5783 | i: 0 | ||
| 5784 | name: sym | ||
| 5785 | rest: '' | ||
| 5786 | sym: s | ||
| 5787 | - !!perl/hash:RE_meta | ||
| 5788 | text: » | ||
| 5789 | - !!perl/hash:RE_assertion | ||
| 5790 | assert: '!' | ||
| 5791 | re: !!perl/hash:RE_method_re | ||
| 5792 | name: before | ||
| 5793 | nobind: 1 | ||
| 5794 | re: !!perl/hash:RE_string | ||
| 5795 | i: 0 | ||
| 5796 | text: ( | ||
| 5797 | - !!perl/hash:RE_bindnamed | ||
| 5798 | atom: !!perl/hash:RE_method | ||
| 5799 | name: sibble | ||
| 5800 | rest: 1 | ||
| 5801 | - !!perl/hash:RE_method | ||
| 5802 | name: p5rx_mods | ||
| 5803 | rest: '' | ||
| 5804 | quote__S_127tr: !!perl/hash:RE_ast | ||
| 5805 | dba: quote | ||
| 5806 | dic: STD::STD::P5 | ||
| 5807 | re: !!perl/hash:RE_sequence | ||
| 5808 | zyg: | ||
| 5809 | - !!perl/hash:RE_method | ||
| 5810 | i: 0 | ||
| 5811 | name: sym | ||
| 5812 | rest: '' | ||
| 5813 | sym: tr | ||
| 5814 | - !!perl/hash:RE_meta | ||
| 5815 | text: » | ||
| 5816 | - !!perl/hash:RE_assertion | ||
| 5817 | assert: '!' | ||
| 5818 | re: !!perl/hash:RE_method_re | ||
| 5819 | name: before | ||
| 5820 | nobind: 1 | ||
| 5821 | re: !!perl/hash:RE_string | ||
| 5822 | i: 0 | ||
| 5823 | text: ( | ||
| 5824 | - !!perl/hash:RE_bindnamed | ||
| 5825 | atom: !!perl/hash:RE_method | ||
| 5826 | name: tribble | ||
| 5827 | rest: 1 | ||
| 5828 | - !!perl/hash:RE_method | ||
| 5829 | name: p5tr_mods | ||
| 5830 | rest: '' | ||
| 5831 | radint: !!perl/hash:RE_ast | ||
| 5832 | dba: radint | ||
| 5833 | dic: STD::STD::P5 | ||
| 5834 | re: !!perl/hash:RE_bracket | ||
| 5835 | re: &33 !!perl/hash:RE_any | ||
| 5836 | altname: radint_0 | ||
| 5837 | dba: radint | ||
| 5838 | dic: STD::STD::P5 | ||
| 5839 | zyg: | ||
| 5840 | - !!perl/hash:RE_method | ||
| 5841 | alt: radint_0 0 | ||
| 5842 | name: integer | ||
| 5843 | rest: '' | ||
| 5844 | - !!perl/hash:RE_sequence | ||
| 5845 | alt: radint_0 1 | ||
| 5846 | zyg: | ||
| 5847 | - !!perl/hash:RE_assertion | ||
| 5848 | assert: '?' | ||
| 5849 | re: !!perl/hash:RE_method_re | ||
| 5850 | name: before | ||
| 5851 | nobind: 1 | ||
| 5852 | re: !!perl/hash:RE_string | ||
| 5853 | i: 0 | ||
| 5854 | text: ':' | ||
| 5855 | - !!perl/hash:RE_method | ||
| 5856 | name: rad_number | ||
| 5857 | rest: '' | ||
| 5858 | - !!perl/hash:RE_assertion | ||
| 5859 | assert: '?' | ||
| 5860 | re: !!perl/hash:RE_block | ||
| 5861 | nobind: 1 | ||
| 5862 | radint_0: *33 | ||
| 5863 | regex_block: !!perl/hash:RE_ast | ||
| 5864 | dba: regex_block | ||
| 5865 | dic: STD::STD::P5 | ||
| 5866 | re: !!perl/hash:RE_sequence | ||
| 5867 | zyg: | ||
| 5868 | - !!perl/hash:RE_quantified_atom | ||
| 5869 | atom: !!perl/hash:RE_bracket | ||
| 5870 | re: !!perl/hash:RE_sequence | ||
| 5871 | zyg: | ||
| 5872 | - !!perl/hash:RE_method | ||
| 5873 | name: quotepair | ||
| 5874 | rest: '' | ||
| 5875 | - !!perl/hash:RE_method | ||
| 5876 | name: ws | ||
| 5877 | rest: '' | ||
| 5878 | - !!perl/hash:RE_block {} | ||
| 5879 | quant: | ||
| 5880 | - '*' | ||
| 5881 | - !!perl/hash:RE_string | ||
| 5882 | i: 0 | ||
| 5883 | text: '{' | ||
| 5884 | - !!perl/hash:RE_method | ||
| 5885 | name: nibble | ||
| 5886 | rest: 1 | ||
| 5887 | - !!perl/hash:RE_bracket | ||
| 5888 | re: !!perl/hash:RE_first | ||
| 5889 | zyg: | ||
| 5890 | - !!perl/hash:RE_string | ||
| 5891 | i: 0 | ||
| 5892 | text: '}' | ||
| 5893 | - !!perl/hash:RE_method | ||
| 5894 | name: panic | ||
| 5895 | rest: 1 | ||
| 5896 | - !!perl/hash:RE_bracket | ||
| 5897 | re: &34 !!perl/hash:RE_any | ||
| 5898 | altname: regex_block_0 | ||
| 5899 | dba: regex_block | ||
| 5900 | dic: STD::STD::P5 | ||
| 5901 | zyg: | ||
| 5902 | - !!perl/hash:RE_sequence | ||
| 5903 | alt: regex_block_0 0 | ||
| 5904 | zyg: | ||
| 5905 | - !!perl/hash:RE_assertion | ||
| 5906 | assert: '?' | ||
| 5907 | re: !!perl/hash:RE_method_re | ||
| 5908 | name: before | ||
| 5909 | nobind: 1 | ||
| 5910 | re: !!perl/hash:RE_sequence | ||
| 5911 | zyg: | ||
| 5912 | - !!perl/hash:RE_quantified_atom | ||
| 5913 | atom: !!perl/hash:RE_meta | ||
| 5914 | min: 1 | ||
| 5915 | text: \h | ||
| 5916 | quant: | ||
| 5917 | - '*' | ||
| 5918 | - !!perl/hash:RE_meta | ||
| 5919 | text: $$ | ||
| 5920 | - !!perl/hash:RE_block {} | ||
| 5921 | - !!perl/hash:RE_sequence | ||
| 5922 | alt: regex_block_0 1 | ||
| 5923 | zyg: | ||
| 5924 | - !!perl/hash:RE_quantified_atom | ||
| 5925 | atom: !!perl/hash:RE_meta | ||
| 5926 | min: 1 | ||
| 5927 | text: \h | ||
| 5928 | quant: | ||
| 5929 | - '*' | ||
| 5930 | - !!perl/hash:RE_assertion | ||
| 5931 | assert: '?' | ||
| 5932 | re: !!perl/hash:RE_method_re | ||
| 5933 | name: before | ||
| 5934 | nobind: 1 | ||
| 5935 | re: !!perl/hash:RE_cclass | ||
| 5936 | i: 0 | ||
| 5937 | text: '[\\,:]' | ||
| 5938 | - !!perl/hash:RE_sequence | ||
| 5939 | alt: regex_block_0 2 | ||
| 5940 | zyg: | ||
| 5941 | - !!perl/hash:RE_quantified_atom | ||
| 5942 | atom: !!perl/hash:RE_method | ||
| 5943 | name: unv | ||
| 5944 | rest: '' | ||
| 5945 | quant: | ||
| 5946 | - '?' | ||
| 5947 | - !!perl/hash:RE_meta | ||
| 5948 | text: $$ | ||
| 5949 | - !!perl/hash:RE_block {} | ||
| 5950 | - !!perl/hash:RE_sequence | ||
| 5951 | alt: regex_block_0 3 | ||
| 5952 | zyg: | ||
| 5953 | - !!perl/hash:RE_block {} | ||
| 5954 | - !!perl/hash:RE_quantified_atom | ||
| 5955 | atom: !!perl/hash:RE_method | ||
| 5956 | name: unsp | ||
| 5957 | rest: '' | ||
| 5958 | quant: | ||
| 5959 | - '?' | ||
| 5960 | - !!perl/hash:RE_block {} | ||
| 5961 | regex_block_0: *34 | ||
| 5962 | routine_def: !!perl/hash:RE_ast | ||
| 5963 | dba: routine_def | ||
| 5964 | dic: STD::STD::P5 | ||
| 5965 | re: !!perl/hash:RE_first | ||
| 5966 | zyg: | ||
| 5967 | - !!perl/hash:RE_sequence | ||
| 5968 | zyg: | ||
| 5969 | - !!perl/hash:RE_method | ||
| 5970 | name: ws | ||
| 5971 | rest: '' | ||
| 5972 | - !!perl/hash:RE_bracket | ||
| 5973 | re: !!perl/hash:RE_sequence | ||
| 5974 | zyg: | ||
| 5975 | - !!perl/hash:RE_quantified_atom | ||
| 5976 | atom: !!perl/hash:RE_bracket | ||
| 5977 | re: &35 !!perl/hash:RE_any | ||
| 5978 | altname: routine_def_0 | ||
| 5979 | dba: routine_def | ||
| 5980 | dic: STD::STD::P5 | ||
| 5981 | zyg: | ||
| 5982 | - !!perl/hash:RE_sequence | ||
| 5983 | alt: routine_def_0 0 | ||
| 5984 | zyg: | ||
| 5985 | - !!perl/hash:RE_method | ||
| 5986 | name: ws | ||
| 5987 | rest: '' | ||
| 5988 | - !!perl/hash:RE_string | ||
| 5989 | i: 0 | ||
| 5990 | text: '&' | ||
| 5991 | - !!perl/hash:RE_quantified_atom | ||
| 5992 | atom: !!perl/hash:RE_method | ||
| 5993 | name: deflongname | ||
| 5994 | rest: '' | ||
| 5995 | quant: | ||
| 5996 | - '?' | ||
| 5997 | - !!perl/hash:RE_method | ||
| 5998 | name: ws | ||
| 5999 | rest: '' | ||
| 6000 | - !!perl/hash:RE_sequence | ||
| 6001 | alt: routine_def_0 1 | ||
| 6002 | zyg: | ||
| 6003 | - !!perl/hash:RE_method | ||
| 6004 | name: ws | ||
| 6005 | rest: '' | ||
| 6006 | - !!perl/hash:RE_method | ||
| 6007 | name: deflongname | ||
| 6008 | rest: '' | ||
| 6009 | - !!perl/hash:RE_method | ||
| 6010 | name: ws | ||
| 6011 | rest: '' | ||
| 6012 | quant: | ||
| 6013 | - '?' | ||
| 6014 | - !!perl/hash:RE_method | ||
| 6015 | name: ws | ||
| 6016 | rest: '' | ||
| 6017 | - !!perl/hash:RE_method | ||
| 6018 | name: newlex | ||
| 6019 | rest: 1 | ||
| 6020 | - !!perl/hash:RE_method | ||
| 6021 | name: ws | ||
| 6022 | rest: '' | ||
| 6023 | - !!perl/hash:RE_quantified_atom | ||
| 6024 | atom: !!perl/hash:RE_method | ||
| 6025 | name: parensig | ||
| 6026 | rest: '' | ||
| 6027 | quant: | ||
| 6028 | - '?' | ||
| 6029 | - !!perl/hash:RE_method | ||
| 6030 | name: ws | ||
| 6031 | rest: '' | ||
| 6032 | - !!perl/hash:RE_quantified_atom | ||
| 6033 | atom: !!perl/hash:RE_method | ||
| 6034 | name: trait | ||
| 6035 | rest: '' | ||
| 6036 | quant: | ||
| 6037 | - '*' | ||
| 6038 | - !!perl/hash:RE_method | ||
| 6039 | name: ws | ||
| 6040 | rest: '' | ||
| 6041 | - !!perl/hash:RE_assertion | ||
| 6042 | assert: '!' | ||
| 6043 | re: !!perl/hash:RE_block | ||
| 6044 | nobind: 1 | ||
| 6045 | - !!perl/hash:RE_method | ||
| 6046 | name: blockoid | ||
| 6047 | rest: '' | ||
| 6048 | - !!perl/hash:RE_method | ||
| 6049 | name: checkyada | ||
| 6050 | rest: '' | ||
| 6051 | - !!perl/hash:RE_method | ||
| 6052 | name: getsig | ||
| 6053 | rest: '' | ||
| 6054 | - !!perl/hash:RE_method | ||
| 6055 | name: ws | ||
| 6056 | rest: '' | ||
| 6057 | - !!perl/hash:RE_sequence | ||
| 6058 | zyg: | ||
| 6059 | - !!perl/hash:RE_method | ||
| 6060 | name: ws | ||
| 6061 | rest: '' | ||
| 6062 | - !!perl/hash:RE_method | ||
| 6063 | name: panic | ||
| 6064 | rest: 1 | ||
| 6065 | - !!perl/hash:RE_method | ||
| 6066 | name: ws | ||
| 6067 | rest: '' | ||
| 6068 | routine_def_0: *35 | ||
| 6069 | scoped: !!perl/hash:RE_ast | ||
| 6070 | dba: scoped declarator | ||
| 6071 | dic: STD::STD::P5 | ||
| 6072 | re: !!perl/hash:RE_first | ||
| 6073 | zyg: | ||
| 6074 | - !!perl/hash:RE_sequence | ||
| 6075 | zyg: | ||
| 6076 | - !!perl/hash:RE_method | ||
| 6077 | name: ws | ||
| 6078 | rest: '' | ||
| 6079 | - !!perl/hash:RE_bracket | ||
| 6080 | re: &36 !!perl/hash:RE_any | ||
| 6081 | altname: scoped_0 | ||
| 6082 | dba: scoped declarator | ||
| 6083 | dic: STD::STD::P5 | ||
| 6084 | zyg: | ||
| 6085 | - !!perl/hash:RE_sequence | ||
| 6086 | alt: scoped_0 0 | ||
| 6087 | zyg: | ||
| 6088 | - !!perl/hash:RE_method | ||
| 6089 | name: declarator | ||
| 6090 | rest: '' | ||
| 6091 | - !!perl/hash:RE_method | ||
| 6092 | name: ws | ||
| 6093 | rest: '' | ||
| 6094 | - !!perl/hash:RE_sequence | ||
| 6095 | alt: scoped_0 1 | ||
| 6096 | zyg: | ||
| 6097 | - !!perl/hash:RE_bindnamed | ||
| 6098 | atom: !!perl/hash:RE_method | ||
| 6099 | name: p5regex_declarator | ||
| 6100 | rest: '' | ||
| 6101 | - !!perl/hash:RE_method | ||
| 6102 | name: ws | ||
| 6103 | rest: '' | ||
| 6104 | - !!perl/hash:RE_sequence | ||
| 6105 | alt: scoped_0 2 | ||
| 6106 | zyg: | ||
| 6107 | - !!perl/hash:RE_bindnamed | ||
| 6108 | atom: !!perl/hash:RE_method | ||
| 6109 | name: p5package_declarator | ||
| 6110 | rest: '' | ||
| 6111 | - !!perl/hash:RE_method | ||
| 6112 | name: ws | ||
| 6113 | rest: '' | ||
| 6114 | - !!perl/hash:RE_sequence | ||
| 6115 | zyg: | ||
| 6116 | - !!perl/hash:RE_method | ||
| 6117 | name: ws | ||
| 6118 | rest: '' | ||
| 6119 | - !!perl/hash:RE_assertion | ||
| 6120 | assert: '?' | ||
| 6121 | re: !!perl/hash:RE_method_re | ||
| 6122 | name: before | ||
| 6123 | nobind: 1 | ||
| 6124 | re: !!perl/hash:RE_sequence | ||
| 6125 | zyg: | ||
| 6126 | - !!perl/hash:RE_method | ||
| 6127 | name: ws | ||
| 6128 | rest: '' | ||
| 6129 | - !!perl/hash:RE_cclass | ||
| 6130 | i: 0 | ||
| 6131 | text: '[A..Z]' | ||
| 6132 | - !!perl/hash:RE_method | ||
| 6133 | name: longname | ||
| 6134 | rest: '' | ||
| 6135 | - !!perl/hash:RE_block {} | ||
| 6136 | - !!perl/hash:RE_method | ||
| 6137 | name: ws | ||
| 6138 | rest: '' | ||
| 6139 | - !!perl/hash:RE_assertion | ||
| 6140 | assert: '!' | ||
| 6141 | re: !!perl/hash:RE_noop | ||
| 6142 | nobind: 1 | ||
| 6143 | - !!perl/hash:RE_sequence | ||
| 6144 | zyg: | ||
| 6145 | - !!perl/hash:RE_method | ||
| 6146 | name: ws | ||
| 6147 | rest: '' | ||
| 6148 | - !!perl/hash:RE_method | ||
| 6149 | name: panic | ||
| 6150 | rest: 1 | ||
| 6151 | - !!perl/hash:RE_method | ||
| 6152 | name: ws | ||
| 6153 | rest: '' | ||
| 6154 | scoped_0: *36 | ||
| 6155 | semiarglist: !!perl/hash:RE_ast | ||
| 6156 | dba: semiarglist | ||
| 6157 | dic: STD::STD::P5 | ||
| 6158 | re: !!perl/hash:RE_sequence | ||
| 6159 | zyg: | ||
| 6160 | - !!perl/hash:RE_quantified_atom | ||
| 6161 | atom: !!perl/hash:RE_method | ||
| 6162 | name: arglist | ||
| 6163 | rest: '' | ||
| 6164 | quant: | ||
| 6165 | - '**' | ||
| 6166 | - ':' | ||
| 6167 | - !!perl/hash:RE_string | ||
| 6168 | a: 0 | ||
| 6169 | dba: semiarglist | ||
| 6170 | dic: STD::STD::P5 | ||
| 6171 | i: 0 | ||
| 6172 | i_needed: 1 | ||
| 6173 | r: 1 | ||
| 6174 | s: 0 | ||
| 6175 | text: ; | ||
| 6176 | - !!perl/hash:RE_method | ||
| 6177 | name: ws | ||
| 6178 | rest: '' | ||
| 6179 | semilist: !!perl/hash:RE_ast | ||
| 6180 | dba: semicolon list | ||
| 6181 | dic: STD::STD::P5 | ||
| 6182 | re: !!perl/hash:RE_sequence | ||
| 6183 | zyg: | ||
| 6184 | - !!perl/hash:RE_method | ||
| 6185 | name: ws | ||
| 6186 | rest: '' | ||
| 6187 | - !!perl/hash:RE_bracket | ||
| 6188 | re: &37 !!perl/hash:RE_any | ||
| 6189 | altname: semilist_0 | ||
| 6190 | dba: semicolon list | ||
| 6191 | dic: STD::STD::P5 | ||
| 6192 | zyg: | ||
| 6193 | - !!perl/hash:RE_assertion | ||
| 6194 | alt: semilist_0 0 | ||
| 6195 | assert: '?' | ||
| 6196 | re: !!perl/hash:RE_method_re | ||
| 6197 | name: before | ||
| 6198 | nobind: 1 | ||
| 6199 | re: !!perl/hash:RE_sequence | ||
| 6200 | zyg: | ||
| 6201 | - !!perl/hash:RE_method | ||
| 6202 | name: ws | ||
| 6203 | rest: '' | ||
| 6204 | - !!perl/hash:RE_cclass | ||
| 6205 | i: 0 | ||
| 6206 | text: '[\)\]\}]' | ||
| 6207 | - !!perl/hash:RE_method | ||
| 6208 | name: ws | ||
| 6209 | rest: '' | ||
| 6210 | - !!perl/hash:RE_sequence | ||
| 6211 | alt: semilist_0 1 | ||
| 6212 | zyg: | ||
| 6213 | - !!perl/hash:RE_quantified_atom | ||
| 6214 | atom: !!perl/hash:RE_bracket | ||
| 6215 | re: !!perl/hash:RE_sequence | ||
| 6216 | zyg: | ||
| 6217 | - !!perl/hash:RE_method | ||
| 6218 | name: statement | ||
| 6219 | rest: '' | ||
| 6220 | - !!perl/hash:RE_method | ||
| 6221 | name: eat_terminator | ||
| 6222 | rest: '' | ||
| 6223 | - !!perl/hash:RE_method | ||
| 6224 | name: ws | ||
| 6225 | rest: '' | ||
| 6226 | quant: | ||
| 6227 | - '*' | ||
| 6228 | - !!perl/hash:RE_method | ||
| 6229 | name: ws | ||
| 6230 | rest: '' | ||
| 6231 | semilist_0: *37 | ||
| 6232 | sibble: !!perl/hash:RE_ast | ||
| 6233 | dba: sibble | ||
| 6234 | dic: STD::STD::P5 | ||
| 6235 | re: !!perl/hash:RE_sequence | ||
| 6236 | zyg: | ||
| 6237 | - !!perl/hash:RE_method | ||
| 6238 | name: babble | ||
| 6239 | rest: 1 | ||
| 6240 | - !!perl/hash:RE_block {} | ||
| 6241 | - !!perl/hash:RE_var | ||
| 6242 | var: $start | ||
| 6243 | - !!perl/hash:RE_bindnamed | ||
| 6244 | atom: !!perl/hash:RE_method | ||
| 6245 | name: nibble | ||
| 6246 | rest: 1 | ||
| 6247 | - !!perl/hash:RE_bracket | ||
| 6248 | re: !!perl/hash:RE_first | ||
| 6249 | zyg: | ||
| 6250 | - !!perl/hash:RE_var | ||
| 6251 | var: $stop | ||
| 6252 | - !!perl/hash:RE_method | ||
| 6253 | name: panic | ||
| 6254 | rest: 1 | ||
| 6255 | - !!perl/hash:RE_bracket | ||
| 6256 | re: !!perl/hash:RE_first | ||
| 6257 | zyg: | ||
| 6258 | - !!perl/hash:RE_sequence | ||
| 6259 | zyg: | ||
| 6260 | - !!perl/hash:RE_assertion | ||
| 6261 | assert: '?' | ||
| 6262 | re: !!perl/hash:RE_block | ||
| 6263 | nobind: 1 | ||
| 6264 | - !!perl/hash:RE_method | ||
| 6265 | name: ws | ||
| 6266 | rest: '' | ||
| 6267 | - !!perl/hash:RE_method | ||
| 6268 | name: quibble | ||
| 6269 | rest: 1 | ||
| 6270 | - !!perl/hash:RE_sequence | ||
| 6271 | zyg: | ||
| 6272 | - !!perl/hash:RE_block {} | ||
| 6273 | - !!perl/hash:RE_bindnamed | ||
| 6274 | atom: !!perl/hash:RE_method | ||
| 6275 | name: nibble | ||
| 6276 | rest: 1 | ||
| 6277 | - !!perl/hash:RE_var | ||
| 6278 | var: $stop | ||
| 6279 | signature: !!perl/hash:RE_ast | ||
| 6280 | dba: signature | ||
| 6281 | dic: STD::STD::P5 | ||
| 6282 | re: !!perl/hash:RE_sequence | ||
| 6283 | zyg: | ||
| 6284 | - !!perl/hash:RE_method | ||
| 6285 | name: ws | ||
| 6286 | rest: '' | ||
| 6287 | - !!perl/hash:RE_quantified_atom | ||
| 6288 | atom: !!perl/hash:RE_bracket | ||
| 6289 | re: &38 !!perl/hash:RE_any | ||
| 6290 | altname: signature_0 | ||
| 6291 | dba: signature | ||
| 6292 | dic: STD::STD::P5 | ||
| 6293 | zyg: | ||
| 6294 | - !!perl/hash:RE_assertion | ||
| 6295 | alt: signature_0 0 | ||
| 6296 | assert: '?' | ||
| 6297 | re: !!perl/hash:RE_method_re | ||
| 6298 | name: before | ||
| 6299 | nobind: 1 | ||
| 6300 | re: &39 !!perl/hash:RE_any | ||
| 6301 | altname: signature_1 | ||
| 6302 | dba: signature | ||
| 6303 | dic: STD::STD::P5 | ||
| 6304 | zyg: | ||
| 6305 | - !!perl/hash:RE_string | ||
| 6306 | alt: signature_1 0 | ||
| 6307 | i: 0 | ||
| 6308 | text: --> | ||
| 6309 | - !!perl/hash:RE_string | ||
| 6310 | alt: signature_1 1 | ||
| 6311 | i: 0 | ||
| 6312 | text: ) | ||
| 6313 | - !!perl/hash:RE_string | ||
| 6314 | alt: signature_1 2 | ||
| 6315 | i: 0 | ||
| 6316 | text: ']' | ||
| 6317 | - !!perl/hash:RE_string | ||
| 6318 | alt: signature_1 3 | ||
| 6319 | i: 0 | ||
| 6320 | text: '{' | ||
| 6321 | - !!perl/hash:RE_sequence | ||
| 6322 | alt: signature_1 4 | ||
| 6323 | zyg: | ||
| 6324 | - !!perl/hash:RE_string | ||
| 6325 | i: 0 | ||
| 6326 | text: ':' | ||
| 6327 | - !!perl/hash:RE_meta | ||
| 6328 | min: 1 | ||
| 6329 | text: \s | ||
| 6330 | - !!perl/hash:RE_bracket | ||
| 6331 | alt: signature_0 1 | ||
| 6332 | re: !!perl/hash:RE_first | ||
| 6333 | zyg: | ||
| 6334 | - !!perl/hash:RE_method | ||
| 6335 | name: parameter | ||
| 6336 | rest: '' | ||
| 6337 | - !!perl/hash:RE_method | ||
| 6338 | name: panic | ||
| 6339 | rest: 1 | ||
| 6340 | quant: | ||
| 6341 | - '**' | ||
| 6342 | - ':' | ||
| 6343 | - !!perl/hash:RE_method | ||
| 6344 | a: 0 | ||
| 6345 | dba: signature | ||
| 6346 | dic: STD::STD::P5 | ||
| 6347 | i: 0 | ||
| 6348 | name: param_sep | ||
| 6349 | need_match: 0 | ||
| 6350 | r: 1 | ||
| 6351 | rest: ~ | ||
| 6352 | s: 0 | ||
| 6353 | - !!perl/hash:RE_method | ||
| 6354 | name: ws | ||
| 6355 | rest: '' | ||
| 6356 | - !!perl/hash:RE_block {} | ||
| 6357 | - !!perl/hash:RE_quantified_atom | ||
| 6358 | atom: !!perl/hash:RE_bracket | ||
| 6359 | re: !!perl/hash:RE_sequence | ||
| 6360 | zyg: | ||
| 6361 | - !!perl/hash:RE_string | ||
| 6362 | i: 0 | ||
| 6363 | text: --> | ||
| 6364 | - !!perl/hash:RE_method | ||
| 6365 | name: ws | ||
| 6366 | rest: '' | ||
| 6367 | - !!perl/hash:RE_method | ||
| 6368 | name: typename | ||
| 6369 | rest: '' | ||
| 6370 | quant: | ||
| 6371 | - '?' | ||
| 6372 | - !!perl/hash:RE_block {} | ||
| 6373 | signature_0: *38 | ||
| 6374 | signature_1: *39 | ||
| 6375 | spacey: !!perl/hash:RE_ast | ||
| 6376 | dba: spacey | ||
| 6377 | dic: STD::STD::P5 | ||
| 6378 | re: !!perl/hash:RE_assertion | ||
| 6379 | assert: '?' | ||
| 6380 | re: !!perl/hash:RE_method_re | ||
| 6381 | name: before | ||
| 6382 | nobind: 1 | ||
| 6383 | re: !!perl/hash:RE_cclass | ||
| 6384 | i: 0 | ||
| 6385 | text: '[ \s \# ]' | ||
| 6386 | starter: !!perl/hash:RE_ast | ||
| 6387 | dba: starter | ||
| 6388 | dic: STD::STD::P5 | ||
| 6389 | re: !!perl/hash:RE_assertion | ||
| 6390 | assert: '!' | ||
| 6391 | re: !!perl/hash:RE_noop | ||
| 6392 | nobind: 1 | ||
| 6393 | statement: !!perl/hash:RE_ast | ||
| 6394 | dba: statement | ||
| 6395 | dic: STD::STD::P5 | ||
| 6396 | re: !!perl/hash:RE_sequence | ||
| 6397 | zyg: | ||
| 6398 | - !!perl/hash:RE_assertion | ||
| 6399 | assert: '!' | ||
| 6400 | re: !!perl/hash:RE_method_re | ||
| 6401 | name: before | ||
| 6402 | nobind: 1 | ||
| 6403 | re: !!perl/hash:RE_cclass | ||
| 6404 | i: 0 | ||
| 6405 | text: '[\)\]\}]' | ||
| 6406 | - !!perl/hash:RE_assertion | ||
| 6407 | assert: '!' | ||
| 6408 | re: !!perl/hash:RE_assertion | ||
| 6409 | assert: '!' | ||
| 6410 | nobind: 1 | ||
| 6411 | re: !!perl/hash:RE_block | ||
| 6412 | nobind: 1 | ||
| 6413 | - !!perl/hash:RE_bracket | ||
| 6414 | re: &40 !!perl/hash:RE_any | ||
| 6415 | altname: statement_0 | ||
| 6416 | dba: statement modifier | ||
| 6417 | dic: STD::STD::P5 | ||
| 6418 | zyg: | ||
| 6419 | - !!perl/hash:RE_sequence | ||
| 6420 | alt: statement_0 0 | ||
| 6421 | zyg: | ||
| 6422 | - !!perl/hash:RE_method | ||
| 6423 | name: label | ||
| 6424 | rest: '' | ||
| 6425 | - !!perl/hash:RE_method | ||
| 6426 | name: statement | ||
| 6427 | rest: '' | ||
| 6428 | - !!perl/hash:RE_bindnamed | ||
| 6429 | alt: statement_0 1 | ||
| 6430 | atom: !!perl/hash:RE_method | ||
| 6431 | name: p5statement_control | ||
| 6432 | rest: '' | ||
| 6433 | - !!perl/hash:RE_sequence | ||
| 6434 | alt: statement_0 2 | ||
| 6435 | zyg: | ||
| 6436 | - !!perl/hash:RE_method | ||
| 6437 | name: EXPR | ||
| 6438 | rest: '' | ||
| 6439 | - !!perl/hash:RE_method | ||
| 6440 | name: ws | ||
| 6441 | rest: '' | ||
| 6442 | - !!perl/hash:RE_quantified_atom | ||
| 6443 | atom: !!perl/hash:RE_bracket | ||
| 6444 | re: &41 !!perl/hash:RE_any | ||
| 6445 | altname: statement_1 | ||
| 6446 | dba: statement modifier | ||
| 6447 | dic: STD::STD::P5 | ||
| 6448 | zyg: | ||
| 6449 | - !!perl/hash:RE_bindnamed | ||
| 6450 | alt: statement_1 0 | ||
| 6451 | atom: !!perl/hash:RE_method | ||
| 6452 | name: p5statement_mod_loop | ||
| 6453 | rest: '' | ||
| 6454 | - !!perl/hash:RE_bindnamed | ||
| 6455 | alt: statement_1 1 | ||
| 6456 | atom: !!perl/hash:RE_method | ||
| 6457 | name: p5statement_mod_cond | ||
| 6458 | rest: '' | ||
| 6459 | quant: | ||
| 6460 | - '?' | ||
| 6461 | - !!perl/hash:RE_assertion | ||
| 6462 | alt: statement_0 3 | ||
| 6463 | assert: '?' | ||
| 6464 | re: !!perl/hash:RE_method_re | ||
| 6465 | name: before | ||
| 6466 | nobind: 1 | ||
| 6467 | re: !!perl/hash:RE_string | ||
| 6468 | i: 0 | ||
| 6469 | text: ; | ||
| 6470 | statement_0: *40 | ||
| 6471 | statement_1: *41 | ||
| 6472 | statementlist: !!perl/hash:RE_ast | ||
| 6473 | dba: statement list | ||
| 6474 | dic: STD::STD::P5 | ||
| 6475 | re: !!perl/hash:RE_sequence | ||
| 6476 | zyg: | ||
| 6477 | - !!perl/hash:RE_method | ||
| 6478 | name: ws | ||
| 6479 | rest: '' | ||
| 6480 | - !!perl/hash:RE_bracket | ||
| 6481 | re: &42 !!perl/hash:RE_any | ||
| 6482 | altname: statementlist_0 | ||
| 6483 | dba: statement list | ||
| 6484 | dic: STD::STD::P5 | ||
| 6485 | zyg: | ||
| 6486 | - !!perl/hash:RE_sequence | ||
| 6487 | alt: statementlist_0 0 | ||
| 6488 | zyg: | ||
| 6489 | - !!perl/hash:RE_meta | ||
| 6490 | text: $ | ||
| 6491 | - !!perl/hash:RE_method | ||
| 6492 | name: ws | ||
| 6493 | rest: '' | ||
| 6494 | - !!perl/hash:RE_assertion | ||
| 6495 | alt: statementlist_0 1 | ||
| 6496 | assert: '?' | ||
| 6497 | re: !!perl/hash:RE_method_re | ||
| 6498 | name: before | ||
| 6499 | nobind: 1 | ||
| 6500 | re: !!perl/hash:RE_sequence | ||
| 6501 | zyg: | ||
| 6502 | - !!perl/hash:RE_method | ||
| 6503 | name: ws | ||
| 6504 | rest: '' | ||
| 6505 | - !!perl/hash:RE_cclass | ||
| 6506 | i: 0 | ||
| 6507 | text: '[\)\]\}]' | ||
| 6508 | - !!perl/hash:RE_method | ||
| 6509 | name: ws | ||
| 6510 | rest: '' | ||
| 6511 | - !!perl/hash:RE_sequence | ||
| 6512 | alt: statementlist_0 2 | ||
| 6513 | zyg: | ||
| 6514 | - !!perl/hash:RE_quantified_atom | ||
| 6515 | atom: !!perl/hash:RE_bracket | ||
| 6516 | re: !!perl/hash:RE_sequence | ||
| 6517 | zyg: | ||
| 6518 | - !!perl/hash:RE_method | ||
| 6519 | name: statement | ||
| 6520 | rest: '' | ||
| 6521 | - !!perl/hash:RE_method | ||
| 6522 | name: eat_terminator | ||
| 6523 | rest: '' | ||
| 6524 | - !!perl/hash:RE_method | ||
| 6525 | name: ws | ||
| 6526 | rest: '' | ||
| 6527 | quant: | ||
| 6528 | - '*' | ||
| 6529 | - !!perl/hash:RE_method | ||
| 6530 | name: ws | ||
| 6531 | rest: '' | ||
| 6532 | statementlist_0: *42 | ||
| 6533 | stdstopper: !!perl/hash:RE_ast | ||
| 6534 | dba: standard stopper | ||
| 6535 | dic: STD::STD::P5 | ||
| 6536 | re: !!perl/hash:RE_sequence | ||
| 6537 | zyg: | ||
| 6538 | - !!perl/hash:RE_bracket | ||
| 6539 | re: &43 !!perl/hash:RE_any | ||
| 6540 | altname: stdstopper_0 | ||
| 6541 | dba: standard stopper | ||
| 6542 | dic: STD::STD::P5 | ||
| 6543 | zyg: | ||
| 6544 | - !!perl/hash:RE_assertion | ||
| 6545 | alt: stdstopper_0 0 | ||
| 6546 | assert: '?' | ||
| 6547 | re: !!perl/hash:RE_method | ||
| 6548 | name: terminator | ||
| 6549 | rest: '' | ||
| 6550 | - !!perl/hash:RE_assertion | ||
| 6551 | alt: stdstopper_0 1 | ||
| 6552 | assert: '?' | ||
| 6553 | re: !!perl/hash:RE_method | ||
| 6554 | name: unitstopper | ||
| 6555 | rest: '' | ||
| 6556 | - !!perl/hash:RE_meta | ||
| 6557 | alt: stdstopper_0 2 | ||
| 6558 | text: $ | ||
| 6559 | - !!perl/hash:RE_block {} | ||
| 6560 | stdstopper_0: *43 | ||
| 6561 | stopper: !!perl/hash:RE_ast | ||
| 6562 | dba: stopper | ||
| 6563 | dic: STD::STD::P5 | ||
| 6564 | re: !!perl/hash:RE_assertion | ||
| 6565 | assert: '!' | ||
| 6566 | re: !!perl/hash:RE_noop | ||
| 6567 | nobind: 1 | ||
| 6568 | sublongname: !!perl/hash:RE_ast | ||
| 6569 | dba: sublongname | ||
| 6570 | dic: STD::STD::P5 | ||
| 6571 | re: !!perl/hash:RE_sequence | ||
| 6572 | zyg: | ||
| 6573 | - !!perl/hash:RE_method | ||
| 6574 | name: subshortname | ||
| 6575 | rest: '' | ||
| 6576 | - !!perl/hash:RE_quantified_atom | ||
| 6577 | atom: !!perl/hash:RE_method | ||
| 6578 | name: sigterm | ||
| 6579 | rest: '' | ||
| 6580 | quant: | ||
| 6581 | - '?' | ||
| 6582 | subshortname: !!perl/hash:RE_ast | ||
| 6583 | dba: subshortname | ||
| 6584 | dic: STD::STD::P5 | ||
| 6585 | re: !!perl/hash:RE_bracket | ||
| 6586 | re: &44 !!perl/hash:RE_any | ||
| 6587 | altname: subshortname_0 | ||
| 6588 | dba: subshortname | ||
| 6589 | dic: STD::STD::P5 | ||
| 6590 | zyg: | ||
| 6591 | - !!perl/hash:RE_sequence | ||
| 6592 | alt: subshortname_0 0 | ||
| 6593 | zyg: | ||
| 6594 | - !!perl/hash:RE_method | ||
| 6595 | name: category | ||
| 6596 | rest: '' | ||
| 6597 | - !!perl/hash:RE_quantified_atom | ||
| 6598 | atom: !!perl/hash:RE_bracket | ||
| 6599 | re: !!perl/hash:RE_sequence | ||
| 6600 | zyg: | ||
| 6601 | - !!perl/hash:RE_quantified_atom | ||
| 6602 | atom: !!perl/hash:RE_method | ||
| 6603 | name: colonpair | ||
| 6604 | rest: '' | ||
| 6605 | quant: | ||
| 6606 | - + | ||
| 6607 | - !!perl/hash:RE_block {} | ||
| 6608 | quant: | ||
| 6609 | - '?' | ||
| 6610 | - !!perl/hash:RE_method | ||
| 6611 | alt: subshortname_0 1 | ||
| 6612 | name: desigilname | ||
| 6613 | rest: '' | ||
| 6614 | subshortname_0: *44 | ||
| 6615 | termish: !!perl/hash:RE_ast | ||
| 6616 | dba: postfix | ||
| 6617 | dic: STD::STD::P5 | ||
| 6618 | re: !!perl/hash:RE_sequence | ||
| 6619 | zyg: | ||
| 6620 | - !!perl/hash:RE_bracket | ||
| 6621 | re: &45 !!perl/hash:RE_any | ||
| 6622 | altname: termish_0 | ||
| 6623 | dba: prefix or term | ||
| 6624 | dic: STD::STD::P5 | ||
| 6625 | zyg: | ||
| 6626 | - !!perl/hash:RE_sequence | ||
| 6627 | alt: termish_0 0 | ||
| 6628 | zyg: | ||
| 6629 | - !!perl/hash:RE_method | ||
| 6630 | name: PRE | ||
| 6631 | rest: '' | ||
| 6632 | - !!perl/hash:RE_quantified_atom | ||
| 6633 | atom: !!perl/hash:RE_bracket | ||
| 6634 | re: !!perl/hash:RE_sequence | ||
| 6635 | zyg: | ||
| 6636 | - !!perl/hash:RE_assertion | ||
| 6637 | assert: '!' | ||
| 6638 | re: !!perl/hash:RE_block | ||
| 6639 | nobind: 1 | ||
| 6640 | - !!perl/hash:RE_method | ||
| 6641 | name: PRE | ||
| 6642 | rest: '' | ||
| 6643 | quant: | ||
| 6644 | - '*' | ||
| 6645 | - !!perl/hash:RE_bracket | ||
| 6646 | re: !!perl/hash:RE_first | ||
| 6647 | zyg: | ||
| 6648 | - !!perl/hash:RE_assertion | ||
| 6649 | assert: '?' | ||
| 6650 | re: !!perl/hash:RE_block | ||
| 6651 | nobind: 1 | ||
| 6652 | - !!perl/hash:RE_method | ||
| 6653 | name: term | ||
| 6654 | rest: '' | ||
| 6655 | - !!perl/hash:RE_bindnamed | ||
| 6656 | alt: termish_0 1 | ||
| 6657 | atom: !!perl/hash:RE_method | ||
| 6658 | name: p5term | ||
| 6659 | rest: '' | ||
| 6660 | - !!perl/hash:RE_bracket | ||
| 6661 | re: !!perl/hash:RE_first | ||
| 6662 | zyg: | ||
| 6663 | - !!perl/hash:RE_sequence | ||
| 6664 | zyg: | ||
| 6665 | - !!perl/hash:RE_assertion | ||
| 6666 | assert: '?' | ||
| 6667 | re: !!perl/hash:RE_block | ||
| 6668 | nobind: 1 | ||
| 6669 | - !!perl/hash:RE_bracket | ||
| 6670 | re: !!perl/hash:RE_first | ||
| 6671 | zyg: | ||
| 6672 | - !!perl/hash:RE_sequence | ||
| 6673 | zyg: | ||
| 6674 | - !!perl/hash:RE_assertion | ||
| 6675 | assert: '?' | ||
| 6676 | re: !!perl/hash:RE_block | ||
| 6677 | nobind: 1 | ||
| 6678 | - !!perl/hash:RE_quantified_atom | ||
| 6679 | atom: !!perl/hash:RE_bracket | ||
| 6680 | re: !!perl/hash:RE_sequence | ||
| 6681 | zyg: | ||
| 6682 | - !!perl/hash:RE_quantified_atom | ||
| 6683 | atom: !!perl/hash:RE_method | ||
| 6684 | name: POST | ||
| 6685 | rest: '' | ||
| 6686 | quant: | ||
| 6687 | - + | ||
| 6688 | - !!perl/hash:RE_assertion | ||
| 6689 | assert: '?' | ||
| 6690 | re: !!perl/hash:RE_method_re | ||
| 6691 | name: after | ||
| 6692 | nobind: 1 | ||
| 6693 | re: !!perl/hash:RE_cclass | ||
| 6694 | i: 0 | ||
| 6695 | text: '[ \] } > ) ]' | ||
| 6696 | quant: | ||
| 6697 | - '?' | ||
| 6698 | - !!perl/hash:RE_sequence | ||
| 6699 | zyg: | ||
| 6700 | - !!perl/hash:RE_quantified_atom | ||
| 6701 | atom: !!perl/hash:RE_method | ||
| 6702 | name: POST | ||
| 6703 | rest: '' | ||
| 6704 | quant: | ||
| 6705 | - + | ||
| 6706 | - !!perl/hash:RE_assertion | ||
| 6707 | assert: '?' | ||
| 6708 | re: !!perl/hash:RE_method_re | ||
| 6709 | name: after | ||
| 6710 | nobind: 1 | ||
| 6711 | re: !!perl/hash:RE_cclass | ||
| 6712 | i: 0 | ||
| 6713 | text: '[ \] } > ) ]' | ||
| 6714 | - !!perl/hash:RE_block {} | ||
| 6715 | - !!perl/hash:RE_sequence | ||
| 6716 | zyg: | ||
| 6717 | - !!perl/hash:RE_assertion | ||
| 6718 | assert: '!' | ||
| 6719 | re: !!perl/hash:RE_block | ||
| 6720 | nobind: 1 | ||
| 6721 | - !!perl/hash:RE_quantified_atom | ||
| 6722 | atom: !!perl/hash:RE_method | ||
| 6723 | name: POST | ||
| 6724 | rest: '' | ||
| 6725 | quant: | ||
| 6726 | - '*' | ||
| 6727 | - !!perl/hash:RE_block {} | ||
| 6728 | termish_0: *45 | ||
| 6729 | trait: !!perl/hash:RE_ast | ||
| 6730 | dba: trait | ||
| 6731 | dic: STD::STD::P5 | ||
| 6732 | re: !!perl/hash:RE_sequence | ||
| 6733 | zyg: | ||
| 6734 | - !!perl/hash:RE_method | ||
| 6735 | name: ws | ||
| 6736 | rest: '' | ||
| 6737 | - !!perl/hash:RE_string | ||
| 6738 | i: 0 | ||
| 6739 | text: ':' | ||
| 6740 | - !!perl/hash:RE_method | ||
| 6741 | name: ws | ||
| 6742 | rest: '' | ||
| 6743 | - !!perl/hash:RE_method | ||
| 6744 | name: EXPR | ||
| 6745 | rest: 1 | ||
| 6746 | - !!perl/hash:RE_method | ||
| 6747 | name: ws | ||
| 6748 | rest: '' | ||
| 6749 | tribble: !!perl/hash:RE_ast | ||
| 6750 | dba: tribble | ||
| 6751 | dic: STD::STD::P5 | ||
| 6752 | re: !!perl/hash:RE_sequence | ||
| 6753 | zyg: | ||
| 6754 | - !!perl/hash:RE_method | ||
| 6755 | name: babble | ||
| 6756 | rest: 1 | ||
| 6757 | - !!perl/hash:RE_block {} | ||
| 6758 | - !!perl/hash:RE_var | ||
| 6759 | var: $start | ||
| 6760 | - !!perl/hash:RE_bindnamed | ||
| 6761 | atom: !!perl/hash:RE_method | ||
| 6762 | name: nibble | ||
| 6763 | rest: 1 | ||
| 6764 | - !!perl/hash:RE_bracket | ||
| 6765 | re: !!perl/hash:RE_first | ||
| 6766 | zyg: | ||
| 6767 | - !!perl/hash:RE_var | ||
| 6768 | var: $stop | ||
| 6769 | - !!perl/hash:RE_method | ||
| 6770 | name: panic | ||
| 6771 | rest: 1 | ||
| 6772 | - !!perl/hash:RE_bracket | ||
| 6773 | re: !!perl/hash:RE_first | ||
| 6774 | zyg: | ||
| 6775 | - !!perl/hash:RE_sequence | ||
| 6776 | zyg: | ||
| 6777 | - !!perl/hash:RE_assertion | ||
| 6778 | assert: '?' | ||
| 6779 | re: !!perl/hash:RE_block | ||
| 6780 | nobind: 1 | ||
| 6781 | - !!perl/hash:RE_method | ||
| 6782 | name: ws | ||
| 6783 | rest: '' | ||
| 6784 | - !!perl/hash:RE_method | ||
| 6785 | name: quibble | ||
| 6786 | rest: 1 | ||
| 6787 | - !!perl/hash:RE_sequence | ||
| 6788 | zyg: | ||
| 6789 | - !!perl/hash:RE_block {} | ||
| 6790 | - !!perl/hash:RE_bindnamed | ||
| 6791 | atom: !!perl/hash:RE_method | ||
| 6792 | name: nibble | ||
| 6793 | rest: 1 | ||
| 6794 | - !!perl/hash:RE_var | ||
| 6795 | var: $stop | ||
| 6796 | type_constraint: !!perl/hash:RE_ast | ||
| 6797 | dba: type_constraint | ||
| 6798 | dic: STD::STD::P5 | ||
| 6799 | re: !!perl/hash:RE_sequence | ||
| 6800 | zyg: | ||
| 6801 | - !!perl/hash:RE_method | ||
| 6802 | name: typename | ||
| 6803 | rest: '' | ||
| 6804 | - !!perl/hash:RE_method | ||
| 6805 | name: ws | ||
| 6806 | rest: '' | ||
| 6807 | typename: !!perl/hash:RE_ast | ||
| 6808 | dba: typename | ||
| 6809 | dic: STD::STD::P5 | ||
| 6810 | re: !!perl/hash:RE_sequence | ||
| 6811 | zyg: | ||
| 6812 | - !!perl/hash:RE_bracket | ||
| 6813 | re: &46 !!perl/hash:RE_any | ||
| 6814 | altname: typename_0 | ||
| 6815 | dba: typename | ||
| 6816 | dic: STD::STD::P5 | ||
| 6817 | zyg: | ||
| 6818 | - !!perl/hash:RE_sequence | ||
| 6819 | alt: typename_0 0 | ||
| 6820 | zyg: | ||
| 6821 | - !!perl/hash:RE_string | ||
| 6822 | i: 0 | ||
| 6823 | text: ::? | ||
| 6824 | - !!perl/hash:RE_method | ||
| 6825 | name: identifier | ||
| 6826 | rest: '' | ||
| 6827 | - !!perl/hash:RE_sequence | ||
| 6828 | alt: typename_0 1 | ||
| 6829 | zyg: | ||
| 6830 | - !!perl/hash:RE_method | ||
| 6831 | name: longname | ||
| 6832 | rest: '' | ||
| 6833 | - !!perl/hash:RE_assertion | ||
| 6834 | assert: '?' | ||
| 6835 | re: !!perl/hash:RE_block | ||
| 6836 | nobind: 1 | ||
| 6837 | - !!perl/hash:RE_quantified_atom | ||
| 6838 | atom: !!perl/hash:RE_method | ||
| 6839 | name: unsp | ||
| 6840 | rest: '' | ||
| 6841 | quant: | ||
| 6842 | - '?' | ||
| 6843 | - !!perl/hash:RE_quantified_atom | ||
| 6844 | atom: !!perl/hash:RE_bracket | ||
| 6845 | re: !!perl/hash:RE_sequence | ||
| 6846 | zyg: | ||
| 6847 | - !!perl/hash:RE_assertion | ||
| 6848 | assert: '?' | ||
| 6849 | re: !!perl/hash:RE_method_re | ||
| 6850 | name: before | ||
| 6851 | nobind: 1 | ||
| 6852 | re: !!perl/hash:RE_string | ||
| 6853 | i: 0 | ||
| 6854 | text: '[' | ||
| 6855 | - !!perl/hash:RE_bindnamed | ||
| 6856 | atom: !!perl/hash:RE_method | ||
| 6857 | name: p5postcircumfix | ||
| 6858 | rest: '' | ||
| 6859 | quant: | ||
| 6860 | - '?' | ||
| 6861 | - !!perl/hash:RE_method | ||
| 6862 | name: ws | ||
| 6863 | rest: '' | ||
| 6864 | - !!perl/hash:RE_quantified_atom | ||
| 6865 | atom: !!perl/hash:RE_bracket | ||
| 6866 | re: !!perl/hash:RE_sequence | ||
| 6867 | zyg: | ||
| 6868 | - !!perl/hash:RE_string | ||
| 6869 | i: 0 | ||
| 6870 | text: of | ||
| 6871 | - !!perl/hash:RE_method | ||
| 6872 | name: ws | ||
| 6873 | rest: '' | ||
| 6874 | - !!perl/hash:RE_method | ||
| 6875 | name: typename | ||
| 6876 | rest: '' | ||
| 6877 | quant: | ||
| 6878 | - '?' | ||
| 6879 | typename_0: *46 | ||
| 6880 | unitstopper: !!perl/hash:RE_ast | ||
| 6881 | dba: unitstopper | ||
| 6882 | dic: STD::STD::P5 | ||
| 6883 | re: !!perl/hash:RE_meta | ||
| 6884 | text: $ | ||
| 6885 | unsp: !!perl/hash:RE_ast | ||
| 6886 | dba: unsp | ||
| 6887 | dic: STD::STD::P5 | ||
| 6888 | re: !!perl/hash:RE_assertion | ||
| 6889 | assert: '!' | ||
| 6890 | re: !!perl/hash:RE_noop | ||
| 6891 | nobind: 1 | ||
| 6892 | unspacey: !!perl/hash:RE_ast | ||
| 6893 | dba: unspacey | ||
| 6894 | dic: STD::STD::P5 | ||
| 6895 | re: !!perl/hash:RE_quantified_atom | ||
| 6896 | atom: !!perl/hash:RE_method | ||
| 6897 | name: unsp | ||
| 6898 | rest: '' | ||
| 6899 | quant: | ||
| 6900 | - '?' | ||
| 6901 | unv: !!perl/hash:RE_ast | ||
| 6902 | dba: horizontal whitespace | ||
| 6903 | dic: STD::STD::P5 | ||
| 6904 | re: !!perl/hash:RE_bracket | ||
| 6905 | re: &47 !!perl/hash:RE_any | ||
| 6906 | altname: unv_0 | ||
| 6907 | dba: horizontal whitespace | ||
| 6908 | dic: STD::STD::P5 | ||
| 6909 | zyg: | ||
| 6910 | - !!perl/hash:RE_quantified_atom | ||
| 6911 | alt: unv_0 0 | ||
| 6912 | atom: !!perl/hash:RE_meta | ||
| 6913 | min: 1 | ||
| 6914 | text: \h | ||
| 6915 | quant: | ||
| 6916 | - + | ||
| 6917 | - !!perl/hash:RE_sequence | ||
| 6918 | alt: unv_0 1 | ||
| 6919 | zyg: | ||
| 6920 | - !!perl/hash:RE_assertion | ||
| 6921 | assert: '?' | ||
| 6922 | re: !!perl/hash:RE_method_re | ||
| 6923 | name: before | ||
| 6924 | nobind: 1 | ||
| 6925 | re: !!perl/hash:RE_sequence | ||
| 6926 | zyg: | ||
| 6927 | - !!perl/hash:RE_quantified_atom | ||
| 6928 | atom: !!perl/hash:RE_meta | ||
| 6929 | min: 1 | ||
| 6930 | text: \h | ||
| 6931 | quant: | ||
| 6932 | - '*' | ||
| 6933 | - !!perl/hash:RE_string | ||
| 6934 | i: 0 | ||
| 6935 | text: = | ||
| 6936 | - !!perl/hash:RE_bracket | ||
| 6937 | re: &48 !!perl/hash:RE_any | ||
| 6938 | altname: unv_1 | ||
| 6939 | dba: horizontal whitespace | ||
| 6940 | dic: STD::STD::P5 | ||
| 6941 | zyg: | ||
| 6942 | - !!perl/hash:RE_meta | ||
| 6943 | alt: unv_1 0 | ||
| 6944 | min: 1 | ||
| 6945 | text: \w | ||
| 6946 | - !!perl/hash:RE_string | ||
| 6947 | alt: unv_1 1 | ||
| 6948 | i: 0 | ||
| 6949 | text: \ | ||
| 6950 | - !!perl/hash:RE_meta | ||
| 6951 | text: ^^ | ||
| 6952 | - !!perl/hash:RE_method | ||
| 6953 | name: pod_comment | ||
| 6954 | rest: '' | ||
| 6955 | - !!perl/hash:RE_sequence | ||
| 6956 | alt: unv_0 2 | ||
| 6957 | zyg: | ||
| 6958 | - !!perl/hash:RE_quantified_atom | ||
| 6959 | atom: !!perl/hash:RE_meta | ||
| 6960 | min: 1 | ||
| 6961 | text: \h | ||
| 6962 | quant: | ||
| 6963 | - '*' | ||
| 6964 | - !!perl/hash:RE_bindnamed | ||
| 6965 | atom: !!perl/hash:RE_method | ||
| 6966 | name: p5comment | ||
| 6967 | rest: '' | ||
| 6968 | unv_0: *47 | ||
| 6969 | unv_1: *48 | ||
| 6970 | variable: !!perl/hash:RE_ast | ||
| 6971 | dba: variable | ||
| 6972 | dic: STD::STD::P5 | ||
| 6973 | re: !!perl/hash:RE_sequence | ||
| 6974 | zyg: | ||
| 6975 | - !!perl/hash:RE_assertion | ||
| 6976 | assert: '?' | ||
| 6977 | re: !!perl/hash:RE_method_re | ||
| 6978 | name: before | ||
| 6979 | nobind: 1 | ||
| 6980 | re: !!perl/hash:RE_sequence | ||
| 6981 | zyg: | ||
| 6982 | - !!perl/hash:RE_bindnamed | ||
| 6983 | atom: !!perl/hash:RE_method | ||
| 6984 | name: p5sigil | ||
| 6985 | rest: '' | ||
| 6986 | - !!perl/hash:RE_block {} | ||
| 6987 | - !!perl/hash:RE_block {} | ||
| 6988 | - !!perl/hash:RE_bracket | ||
| 6989 | re: !!perl/hash:RE_first | ||
| 6990 | zyg: | ||
| 6991 | - !!perl/hash:RE_sequence | ||
| 6992 | zyg: | ||
| 6993 | - !!perl/hash:RE_string | ||
| 6994 | i: 0 | ||
| 6995 | text: '&' | ||
| 6996 | - !!perl/hash:RE_bracket | ||
| 6997 | re: &49 !!perl/hash:RE_any | ||
| 6998 | altname: variable_0 | ||
| 6999 | dba: infix noun | ||
| 7000 | dic: STD::STD::P5 | ||
| 7001 | zyg: | ||
| 7002 | - !!perl/hash:RE_sequence | ||
| 7003 | alt: variable_0 0 | ||
| 7004 | zyg: | ||
| 7005 | - !!perl/hash:RE_method | ||
| 7006 | name: sublongname | ||
| 7007 | rest: '' | ||
| 7008 | - !!perl/hash:RE_block {} | ||
| 7009 | - !!perl/hash:RE_bracket | ||
| 7010 | alt: variable_0 1 | ||
| 7011 | re: !!perl/hash:RE_sequence | ||
| 7012 | zyg: | ||
| 7013 | - !!perl/hash:RE_string | ||
| 7014 | i: 0 | ||
| 7015 | text: '[' | ||
| 7016 | - !!perl/hash:RE_block {} | ||
| 7017 | - !!perl/hash:RE_method | ||
| 7018 | name: infixish | ||
| 7019 | rest: 1 | ||
| 7020 | - !!perl/hash:RE_bracket | ||
| 7021 | re: !!perl/hash:RE_first | ||
| 7022 | zyg: | ||
| 7023 | - !!perl/hash:RE_string | ||
| 7024 | i: 0 | ||
| 7025 | text: ']' | ||
| 7026 | - !!perl/hash:RE_method | ||
| 7027 | name: FAILGOAL | ||
| 7028 | rest: 1 | ||
| 7029 | - !!perl/hash:RE_bracket | ||
| 7030 | re: &50 !!perl/hash:RE_any | ||
| 7031 | altname: variable_1 | ||
| 7032 | dba: variable | ||
| 7033 | dic: STD::STD::P5 | ||
| 7034 | zyg: | ||
| 7035 | - !!perl/hash:RE_sequence | ||
| 7036 | alt: variable_1 0 | ||
| 7037 | zyg: | ||
| 7038 | - !!perl/hash:RE_bindnamed | ||
| 7039 | atom: !!perl/hash:RE_method | ||
| 7040 | name: p5sigil | ||
| 7041 | rest: '' | ||
| 7042 | - !!perl/hash:RE_method | ||
| 7043 | name: desigilname | ||
| 7044 | rest: '' | ||
| 7045 | - !!perl/hash:RE_block {} | ||
| 7046 | - !!perl/hash:RE_bindnamed | ||
| 7047 | alt: variable_1 1 | ||
| 7048 | atom: !!perl/hash:RE_method | ||
| 7049 | name: p5special_variable | ||
| 7050 | rest: '' | ||
| 7051 | - !!perl/hash:RE_sequence | ||
| 7052 | alt: variable_1 2 | ||
| 7053 | zyg: | ||
| 7054 | - !!perl/hash:RE_bindnamed | ||
| 7055 | atom: !!perl/hash:RE_method | ||
| 7056 | name: p5sigil | ||
| 7057 | rest: '' | ||
| 7058 | - !!perl/hash:RE_bindnamed | ||
| 7059 | atom: !!perl/hash:RE_bracket | ||
| 7060 | re: !!perl/hash:RE_quantified_atom | ||
| 7061 | atom: !!perl/hash:RE_meta | ||
| 7062 | min: 1 | ||
| 7063 | text: \d | ||
| 7064 | quant: | ||
| 7065 | - + | ||
| 7066 | - !!perl/hash:RE_sequence | ||
| 7067 | alt: variable_1 3 | ||
| 7068 | zyg: | ||
| 7069 | - !!perl/hash:RE_bindnamed | ||
| 7070 | atom: !!perl/hash:RE_method | ||
| 7071 | name: p5sigil | ||
| 7072 | rest: '' | ||
| 7073 | - !!perl/hash:RE_assertion | ||
| 7074 | assert: '?' | ||
| 7075 | re: !!perl/hash:RE_method_re | ||
| 7076 | name: before | ||
| 7077 | nobind: 1 | ||
| 7078 | re: &51 !!perl/hash:RE_any | ||
| 7079 | altname: variable_2 | ||
| 7080 | dba: variable | ||
| 7081 | dic: STD::STD::P5 | ||
| 7082 | zyg: | ||
| 7083 | - !!perl/hash:RE_string | ||
| 7084 | alt: variable_2 0 | ||
| 7085 | i: 0 | ||
| 7086 | text: < | ||
| 7087 | - !!perl/hash:RE_string | ||
| 7088 | alt: variable_2 1 | ||
| 7089 | i: 0 | ||
| 7090 | text: ( | ||
| 7091 | - !!perl/hash:RE_bindnamed | ||
| 7092 | atom: !!perl/hash:RE_method | ||
| 7093 | name: p5postcircumfix | ||
| 7094 | rest: '' | ||
| 7095 | - !!perl/hash:RE_sequence | ||
| 7096 | alt: variable_1 4 | ||
| 7097 | zyg: | ||
| 7098 | - !!perl/hash:RE_bindnamed | ||
| 7099 | atom: !!perl/hash:RE_method | ||
| 7100 | name: p5sigil | ||
| 7101 | rest: '' | ||
| 7102 | - !!perl/hash:RE_assertion | ||
| 7103 | assert: '?' | ||
| 7104 | re: !!perl/hash:RE_block | ||
| 7105 | nobind: 1 | ||
| 7106 | - !!perl/hash:RE_sequence | ||
| 7107 | alt: variable_1 5 | ||
| 7108 | zyg: | ||
| 7109 | - !!perl/hash:RE_assertion | ||
| 7110 | assert: '?' | ||
| 7111 | re: !!perl/hash:RE_noop | ||
| 7112 | nobind: 1 | ||
| 7113 | - !!perl/hash:RE_block {} | ||
| 7114 | variable_0: *49 | ||
| 7115 | variable_1: *50 | ||
| 7116 | variable_2: *51 | ||
| 7117 | variable_declarator: !!perl/hash:RE_ast | ||
| 7118 | dba: variable_declarator | ||
| 7119 | dic: STD::STD::P5 | ||
| 7120 | re: !!perl/hash:RE_sequence | ||
| 7121 | zyg: | ||
| 7122 | - !!perl/hash:RE_method | ||
| 7123 | name: variable | ||
| 7124 | rest: '' | ||
| 7125 | - !!perl/hash:RE_block {} | ||
| 7126 | - !!perl/hash:RE_quantified_atom | ||
| 7127 | atom: !!perl/hash:RE_bracket | ||
| 7128 | re: !!perl/hash:RE_sequence | ||
| 7129 | zyg: | ||
| 7130 | - !!perl/hash:RE_quantified_atom | ||
| 7131 | atom: !!perl/hash:RE_method | ||
| 7132 | name: unsp | ||
| 7133 | rest: '' | ||
| 7134 | quant: | ||
| 7135 | - '?' | ||
| 7136 | - !!perl/hash:RE_bindnamed | ||
| 7137 | atom: !!perl/hash:RE_quantified_atom | ||
| 7138 | atom: !!perl/hash:RE_bracket | ||
| 7139 | re: &52 !!perl/hash:RE_any | ||
| 7140 | altname: variable_declarator_0 | ||
| 7141 | dba: shape definition | ||
| 7142 | dic: STD::STD::P5 | ||
| 7143 | zyg: | ||
| 7144 | - !!perl/hash:RE_bracket | ||
| 7145 | alt: variable_declarator_0 0 | ||
| 7146 | re: !!perl/hash:RE_sequence | ||
| 7147 | zyg: | ||
| 7148 | - !!perl/hash:RE_string | ||
| 7149 | i: 0 | ||
| 7150 | text: ( | ||
| 7151 | - !!perl/hash:RE_block {} | ||
| 7152 | - !!perl/hash:RE_method | ||
| 7153 | name: signature | ||
| 7154 | rest: '' | ||
| 7155 | - !!perl/hash:RE_bracket | ||
| 7156 | re: !!perl/hash:RE_first | ||
| 7157 | zyg: | ||
| 7158 | - !!perl/hash:RE_string | ||
| 7159 | i: 0 | ||
| 7160 | text: ) | ||
| 7161 | - !!perl/hash:RE_method | ||
| 7162 | name: FAILGOAL | ||
| 7163 | rest: 1 | ||
| 7164 | - !!perl/hash:RE_bracket | ||
| 7165 | alt: variable_declarator_0 1 | ||
| 7166 | re: !!perl/hash:RE_sequence | ||
| 7167 | zyg: | ||
| 7168 | - !!perl/hash:RE_string | ||
| 7169 | i: 0 | ||
| 7170 | text: '[' | ||
| 7171 | - !!perl/hash:RE_block {} | ||
| 7172 | - !!perl/hash:RE_method | ||
| 7173 | name: semilist | ||
| 7174 | rest: '' | ||
| 7175 | - !!perl/hash:RE_bracket | ||
| 7176 | re: !!perl/hash:RE_first | ||
| 7177 | zyg: | ||
| 7178 | - !!perl/hash:RE_string | ||
| 7179 | i: 0 | ||
| 7180 | text: ']' | ||
| 7181 | - !!perl/hash:RE_method | ||
| 7182 | name: FAILGOAL | ||
| 7183 | rest: 1 | ||
| 7184 | - !!perl/hash:RE_bracket | ||
| 7185 | alt: variable_declarator_0 2 | ||
| 7186 | re: !!perl/hash:RE_sequence | ||
| 7187 | zyg: | ||
| 7188 | - !!perl/hash:RE_string | ||
| 7189 | i: 0 | ||
| 7190 | text: '{' | ||
| 7191 | - !!perl/hash:RE_block {} | ||
| 7192 | - !!perl/hash:RE_method | ||
| 7193 | name: semilist | ||
| 7194 | rest: '' | ||
| 7195 | - !!perl/hash:RE_bracket | ||
| 7196 | re: !!perl/hash:RE_first | ||
| 7197 | zyg: | ||
| 7198 | - !!perl/hash:RE_string | ||
| 7199 | i: 0 | ||
| 7200 | text: '}' | ||
| 7201 | - !!perl/hash:RE_method | ||
| 7202 | name: FAILGOAL | ||
| 7203 | rest: 1 | ||
| 7204 | - !!perl/hash:RE_sequence | ||
| 7205 | alt: variable_declarator_0 3 | ||
| 7206 | zyg: | ||
| 7207 | - !!perl/hash:RE_assertion | ||
| 7208 | assert: '?' | ||
| 7209 | re: !!perl/hash:RE_method_re | ||
| 7210 | name: before | ||
| 7211 | nobind: 1 | ||
| 7212 | re: !!perl/hash:RE_string | ||
| 7213 | i: 0 | ||
| 7214 | text: < | ||
| 7215 | - !!perl/hash:RE_bindnamed | ||
| 7216 | atom: !!perl/hash:RE_method | ||
| 7217 | name: p5postcircumfix | ||
| 7218 | rest: '' | ||
| 7219 | quant: | ||
| 7220 | - '*' | ||
| 7221 | quant: | ||
| 7222 | - '?' | ||
| 7223 | - !!perl/hash:RE_method | ||
| 7224 | name: ws | ||
| 7225 | rest: '' | ||
| 7226 | - !!perl/hash:RE_quantified_atom | ||
| 7227 | atom: !!perl/hash:RE_method | ||
| 7228 | name: trait | ||
| 7229 | rest: '' | ||
| 7230 | quant: | ||
| 7231 | - '*' | ||
| 7232 | variable_declarator_0: *52 | ||
| 7233 | vnum: !!perl/hash:RE_ast | ||
| 7234 | dba: vnum | ||
| 7235 | dic: STD::STD::P5 | ||
| 7236 | re: &53 !!perl/hash:RE_any | ||
| 7237 | altname: vnum_0 | ||
| 7238 | dba: vnum | ||
| 7239 | dic: STD::STD::P5 | ||
| 7240 | zyg: | ||
| 7241 | - !!perl/hash:RE_quantified_atom | ||
| 7242 | alt: vnum_0 0 | ||
| 7243 | atom: !!perl/hash:RE_meta | ||
| 7244 | min: 1 | ||
| 7245 | text: \d | ||
| 7246 | quant: | ||
| 7247 | - + | ||
| 7248 | - !!perl/hash:RE_string | ||
| 7249 | alt: vnum_0 1 | ||
| 7250 | i: 0 | ||
| 7251 | text: '*' | ||
| 7252 | vnum_0: *53 | ||
| 7253 | vws: !!perl/hash:RE_ast | ||
| 7254 | dba: vertical whitespace | ||
| 7255 | dic: STD::STD::P5 | ||
| 7256 | re: !!perl/hash:RE_sequence | ||
| 7257 | zyg: | ||
| 7258 | - !!perl/hash:RE_meta | ||
| 7259 | min: 1 | ||
| 7260 | text: \v | ||
| 7261 | - !!perl/hash:RE_quantified_atom | ||
| 7262 | atom: !!perl/hash:RE_bracket | ||
| 7263 | re: !!perl/hash:RE_sequence | ||
| 7264 | zyg: | ||
| 7265 | - !!perl/hash:RE_string | ||
| 7266 | i: 0 | ||
| 7267 | text: '#DEBUG -1' | ||
| 7268 | - !!perl/hash:RE_block {} | ||
| 7269 | quant: | ||
| 7270 | - '?' | ||
| 7271 | ws: !!perl/hash:RE_ast | ||
| 7272 | dba: whitespace | ||
| 7273 | dic: STD::STD::P5 | ||
| 7274 | re: !!perl/hash:RE_first | ||
| 7275 | zyg: | ||
| 7276 | - !!perl/hash:RE_bracket | ||
| 7277 | re: &54 !!perl/hash:RE_any | ||
| 7278 | altname: ws_0 | ||
| 7279 | dba: whitespace | ||
| 7280 | dic: STD::STD::P5 | ||
| 7281 | zyg: | ||
| 7282 | - !!perl/hash:RE_sequence | ||
| 7283 | alt: ws_0 0 | ||
| 7284 | zyg: | ||
| 7285 | - !!perl/hash:RE_quantified_atom | ||
| 7286 | atom: !!perl/hash:RE_meta | ||
| 7287 | min: 1 | ||
| 7288 | text: \h | ||
| 7289 | quant: | ||
| 7290 | - + | ||
| 7291 | - !!perl/hash:RE_assertion | ||
| 7292 | assert: '!' | ||
| 7293 | re: !!perl/hash:RE_cclass | ||
| 7294 | i: 0 | ||
| 7295 | nobind: 1 | ||
| 7296 | text: '[\#\s\\]' | ||
| 7297 | - !!perl/hash:RE_block {} | ||
| 7298 | - !!perl/hash:RE_sequence | ||
| 7299 | alt: ws_0 1 | ||
| 7300 | zyg: | ||
| 7301 | - !!perl/hash:RE_assertion | ||
| 7302 | assert: '?' | ||
| 7303 | re: !!perl/hash:RE_method_re | ||
| 7304 | name: before | ||
| 7305 | nobind: 1 | ||
| 7306 | re: !!perl/hash:RE_meta | ||
| 7307 | min: 1 | ||
| 7308 | text: \w | ||
| 7309 | - !!perl/hash:RE_assertion | ||
| 7310 | assert: '?' | ||
| 7311 | re: !!perl/hash:RE_method_re | ||
| 7312 | name: after | ||
| 7313 | nobind: 1 | ||
| 7314 | re: !!perl/hash:RE_meta | ||
| 7315 | min: 1 | ||
| 7316 | text: \w | ||
| 7317 | - !!perl/hash:RE_meta | ||
| 7318 | text: ':::' | ||
| 7319 | - !!perl/hash:RE_block {} | ||
| 7320 | - !!perl/hash:RE_method | ||
| 7321 | name: panic | ||
| 7322 | rest: 1 | ||
| 7323 | - !!perl/hash:RE_sequence | ||
| 7324 | zyg: | ||
| 7325 | - !!perl/hash:RE_quantified_atom | ||
| 7326 | atom: !!perl/hash:RE_bracket | ||
| 7327 | re: &55 !!perl/hash:RE_any | ||
| 7328 | altname: ws_1 | ||
| 7329 | dba: whitespace | ||
| 7330 | dic: STD::STD::P5 | ||
| 7331 | zyg: | ||
| 7332 | - !!perl/hash:RE_method | ||
| 7333 | alt: ws_1 0 | ||
| 7334 | name: unsp | ||
| 7335 | rest: '' | ||
| 7336 | - !!perl/hash:RE_sequence | ||
| 7337 | alt: ws_1 1 | ||
| 7338 | zyg: | ||
| 7339 | - !!perl/hash:RE_method | ||
| 7340 | name: vws | ||
| 7341 | rest: '' | ||
| 7342 | - !!perl/hash:RE_method | ||
| 7343 | name: heredoc | ||
| 7344 | rest: '' | ||
| 7345 | - !!perl/hash:RE_method | ||
| 7346 | alt: ws_1 2 | ||
| 7347 | name: unv | ||
| 7348 | rest: '' | ||
| 7349 | - !!perl/hash:RE_sequence | ||
| 7350 | alt: ws_1 3 | ||
| 7351 | zyg: | ||
| 7352 | - !!perl/hash:RE_meta | ||
| 7353 | text: $ | ||
| 7354 | - !!perl/hash:RE_block {} | ||
| 7355 | quant: | ||
| 7356 | - '*' | ||
| 7357 | - !!perl/hash:RE_block {} | ||
| 7358 | ws_0: *54 | ||
| 7359 | ws_1: *55 | ||
| 7360 | xblock: !!perl/hash:RE_ast | ||
| 7361 | dba: block expression | ||
| 7362 | dic: STD::STD::P5 | ||
| 7363 | re: !!perl/hash:RE_sequence | ||
| 7364 | zyg: | ||
| 7365 | - !!perl/hash:RE_bracket | ||
| 7366 | re: !!perl/hash:RE_sequence | ||
| 7367 | zyg: | ||
| 7368 | - !!perl/hash:RE_string | ||
| 7369 | i: 0 | ||
| 7370 | text: ( | ||
| 7371 | - !!perl/hash:RE_block {} | ||
| 7372 | - !!perl/hash:RE_method | ||
| 7373 | name: EXPR | ||
| 7374 | rest: '' | ||
| 7375 | - !!perl/hash:RE_bracket | ||
| 7376 | re: !!perl/hash:RE_first | ||
| 7377 | zyg: | ||
| 7378 | - !!perl/hash:RE_string | ||
| 7379 | i: 0 | ||
| 7380 | text: ) | ||
| 7381 | - !!perl/hash:RE_method | ||
| 7382 | name: FAILGOAL | ||
| 7383 | rest: 1 | ||
| 7384 | - !!perl/hash:RE_method | ||
| 7385 | name: ws | ||
| 7386 | rest: '' | ||
| 7387 | - !!perl/hash:RE_method | ||
| 7388 | name: block | ||
| 7389 | rest: '' | ||
| 7390 | RETREE_END | ||
| 7391 | ; | ||
| 7392 | use DEBUG; | ||
| 7393 | ## method TOP ($STOP?) | ||
| 7394 | sub TOP { | ||
| 7395 | no warnings 'recursion'; | ||
| 7396 | my $self = shift; | ||
| 7397 | my $STOP = @_ ? shift() : undef; | ||
| 7398 | if (defined $STOP) { | ||
| 7399 | local $::GOAL = $STOP; | ||
| 7400 | $self->unitstop($STOP)->comp_unit; | ||
| 7401 | } | ||
| 7402 | else { | ||
| 7403 | $self->comp_unit}}; | ||
| 7404 | our %term = ('dba' => ('term') , 'prec' => 'z='); | ||
| 7405 | our %methodcall = ('dba' => ('methodcall') , 'prec' => 'y=', 'assoc' => 'unary', 'uassoc' => 'left', 'fiddly' => 1); | ||
| 7406 | our %autoincrement = ('dba' => ('autoincrement') , 'prec' => 'x=', 'assoc' => 'unary', 'uassoc' => 'non'); | ||
| 7407 | our %exponentiation = ('dba' => ('exponentiation') , 'prec' => 'w=', 'assoc' => 'right'); | ||
| 7408 | our %symbolic_unary = ('dba' => ('symbolic unary') , 'prec' => 'v=', 'assoc' => 'unary', 'uassoc' => 'left'); | ||
| 7409 | our %binding = ('dba' => ('binding') , 'prec' => 'u=', 'assoc' => 'unary', 'uassoc' => 'left'); | ||
| 7410 | our %multiplicative = ('dba' => ('multiplicative') , 'prec' => 't=', 'assoc' => 'left'); | ||
| 7411 | our %additive = ('dba' => ('additive') , 'prec' => 's=', 'assoc' => 'left'); | ||
| 7412 | our %shift = ('dba' => ('shift') , 'prec' => 'r=', 'assoc' => 'left'); | ||
| 7413 | our %named_unary = ('dba' => ('named unary') , 'prec' => 'q=', 'assoc' => 'unary', 'uassoc' => 'left'); | ||
| 7414 | our %comparison = ('dba' => ('comparison') , 'prec' => 'p=', 'assoc' => 'non', 'diffy' => 1); | ||
| 7415 | our %equality = ('dba' => ('equality') , 'prec' => 'o=', 'assoc' => 'chain', 'diffy' => 1, 'iffy' => 1); | ||
| 7416 | our %bitwise_and = ('dba' => ('bitwise and') , 'prec' => 'n=', 'assoc' => 'left'); | ||
| 7417 | our %bitwise_or = ('dba' => ('bitwise or') , 'prec' => 'm=', 'assoc' => 'left'); | ||
| 7418 | our %tight_and = ('dba' => ('tight and') , 'prec' => 'l=', 'assoc' => 'left'); | ||
| 7419 | our %tight_or = ('dba' => ('tight or') , 'prec' => 'k=', 'assoc' => 'left'); | ||
| 7420 | our %range = ('dba' => ('range') , 'prec' => 'j=', 'assoc' => 'right', 'fiddly' => 1); | ||
| 7421 | our %conditional = ('dba' => ('conditional') , 'prec' => 'i=', 'assoc' => 'right', 'fiddly' => 1); | ||
| 7422 | our %assignment = ('dba' => ('assignment') , 'prec' => 'h=', 'assoc' => 'right'); | ||
| 7423 | our %comma = ('dba' => ('comma operator') , 'prec' => 'g=', 'assoc' => 'left', 'nextterm' => 'nulltermish', 'fiddly' => 1); | ||
| 7424 | our %listop = ('dba' => ('list operator') , 'prec' => 'f=', 'assoc' => 'unary', 'uassoc' => 'left'); | ||
| 7425 | our %loose_not = ('dba' => ('not operator') , 'prec' => 'e=', 'assoc' => 'unary', 'uassoc' => 'left'); | ||
| 7426 | our %loose_and = ('dba' => ('loose and') , 'prec' => 'd=', 'assoc' => 'left'); | ||
| 7427 | our %loose_or = ('dba' => ('loose or') , 'prec' => 'c=', 'assoc' => 'left'); | ||
| 7428 | our %LOOSEST = ('dba' => ('LOOSEST') , 'prec' => 'a=!'); | ||
| 7429 | our %terminator = ('dba' => ('terminator') , 'prec' => 'a=', 'assoc' => 'list'); | ||
| 7430 | our $LOOSEST = "a=!"; | ||
| 7431 | local $::endsym = "null"; | ||
| 7432 | local $::endargs = -1; | ||
| 7433 | ## token category { <...> } | ||
| 7434 | sub category__PEEK { $_[0]->_AUTOLEXpeek('category:*',$retree); } | ||
| 7435 | sub category { | ||
| 7436 | my $self = shift; | ||
| 7437 | my $subs; | ||
| 7438 | |||
| 7439 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7440 | |||
| 7441 | my $C = $self->cursor_xact('RULE category'); | ||
| 7442 | my $S = $C->{'_pos'}; | ||
| 7443 | |||
| 7444 | my @result = do { | ||
| 7445 | my ($tag, $try); | ||
| 7446 | my @try; | ||
| 7447 | my $relex; | ||
| 7448 | my $x; | ||
| 7449 | if (my $fate = $C->{'_fate'}) { | ||
| 7450 | if ($fate->[1] eq 'category') { | ||
| 7451 | $C->deb("Fate passed to category: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 7452 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 7453 | @try = ($try); | ||
| 7454 | $x = 'ALT category'; | ||
| 7455 | } | ||
| 7456 | else { | ||
| 7457 | $x = 'ALTLTM category'; | ||
| 7458 | } | ||
| 7459 | } | ||
| 7460 | else { | ||
| 7461 | $x = 'ALTLTM category'; | ||
| 7462 | } | ||
| 7463 | my $C = $C->cursor_xact($x); | ||
| 7464 | my $xact = $C->{_xact}; | ||
| 7465 | |||
| 7466 | my @gather = (); | ||
| 7467 | for (;;) { | ||
| 7468 | unless (@try) { | ||
| 7469 | $relex //= $C->cursor_fate('STD::STD::P5', 'category:*', $retree); | ||
| 7470 | @try = $relex->($C) or last; | ||
| 7471 | } | ||
| 7472 | $try = shift(@try) // next; | ||
| 7473 | |||
| 7474 | if (ref $try) { | ||
| 7475 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 7476 | } | ||
| 7477 | |||
| 7478 | $C->deb("category trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 7479 | push @gather, $C->$try(@_); | ||
| 7480 | last if @gather; | ||
| 7481 | last if $xact->[-2]; # committed? | ||
| 7482 | } | ||
| 7483 | $self->_MATCHIFYr($S, "category", @gather); | ||
| 7484 | }; | ||
| 7485 | @result; | ||
| 7486 | } | ||
| 7487 | ; | ||
| 7488 | ## token category:category { <sym> } | ||
| 7489 | sub category__S_000category__PEEK { $_[0]->_AUTOLEXpeek('category__S_000category', $retree) } | ||
| 7490 | sub category__S_000category { | ||
| 7491 | no warnings 'recursion'; | ||
| 7492 | my $self = shift; | ||
| 7493 | |||
| 7494 | |||
| 7495 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7496 | |||
| 7497 | my $C = $self->cursor_xact("RULE category__S_000category"); | ||
| 7498 | my $xact = $C->xact; | ||
| 7499 | my $S = $C->{'_pos'}; | ||
| 7500 | $C->{sym} = "category"; | ||
| 7501 | $self->_MATCHIFYr($S, "category__S_000category", $C->_EXACT("category")); | ||
| 7502 | } | ||
| 7503 | ; | ||
| 7504 | ## token category:p5sigil { <sym> } | ||
| 7505 | sub category__S_001p5sigil__PEEK { $_[0]->_AUTOLEXpeek('category__S_001p5sigil', $retree) } | ||
| 7506 | sub category__S_001p5sigil { | ||
| 7507 | no warnings 'recursion'; | ||
| 7508 | my $self = shift; | ||
| 7509 | |||
| 7510 | |||
| 7511 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7512 | |||
| 7513 | my $C = $self->cursor_xact("RULE category__S_001p5sigil"); | ||
| 7514 | my $xact = $C->xact; | ||
| 7515 | my $S = $C->{'_pos'}; | ||
| 7516 | $C->{sym} = "p5sigil"; | ||
| 7517 | $self->_MATCHIFYr($S, "category__S_001p5sigil", $C->_EXACT("p5sigil")); | ||
| 7518 | } | ||
| 7519 | ; | ||
| 7520 | ## token p5sigil { <...> } | ||
| 7521 | sub p5sigil__PEEK { $_[0]->_AUTOLEXpeek('p5sigil:*',$retree); } | ||
| 7522 | sub p5sigil { | ||
| 7523 | my $self = shift; | ||
| 7524 | my $subs; | ||
| 7525 | |||
| 7526 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7527 | |||
| 7528 | my $C = $self->cursor_xact('RULE p5sigil'); | ||
| 7529 | my $S = $C->{'_pos'}; | ||
| 7530 | |||
| 7531 | my @result = do { | ||
| 7532 | my ($tag, $try); | ||
| 7533 | my @try; | ||
| 7534 | my $relex; | ||
| 7535 | my $x; | ||
| 7536 | if (my $fate = $C->{'_fate'}) { | ||
| 7537 | if ($fate->[1] eq 'p5sigil') { | ||
| 7538 | $C->deb("Fate passed to p5sigil: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 7539 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 7540 | @try = ($try); | ||
| 7541 | $x = 'ALT p5sigil'; | ||
| 7542 | } | ||
| 7543 | else { | ||
| 7544 | $x = 'ALTLTM p5sigil'; | ||
| 7545 | } | ||
| 7546 | } | ||
| 7547 | else { | ||
| 7548 | $x = 'ALTLTM p5sigil'; | ||
| 7549 | } | ||
| 7550 | my $C = $C->cursor_xact($x); | ||
| 7551 | my $xact = $C->{_xact}; | ||
| 7552 | |||
| 7553 | my @gather = (); | ||
| 7554 | for (;;) { | ||
| 7555 | unless (@try) { | ||
| 7556 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5sigil:*', $retree); | ||
| 7557 | @try = $relex->($C) or last; | ||
| 7558 | } | ||
| 7559 | $try = shift(@try) // next; | ||
| 7560 | |||
| 7561 | if (ref $try) { | ||
| 7562 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 7563 | } | ||
| 7564 | |||
| 7565 | $C->deb("p5sigil trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 7566 | push @gather, $C->$try(@_); | ||
| 7567 | last if @gather; | ||
| 7568 | last if $xact->[-2]; # committed? | ||
| 7569 | } | ||
| 7570 | $self->_MATCHIFYr($S, "p5sigil", @gather); | ||
| 7571 | }; | ||
| 7572 | @result; | ||
| 7573 | } | ||
| 7574 | ; | ||
| 7575 | ## token category:p5special_variable { <sym> } | ||
| 7576 | sub category__S_002p5special_variable__PEEK { $_[0]->_AUTOLEXpeek('category__S_002p5special_variable', $retree) } | ||
| 7577 | sub category__S_002p5special_variable { | ||
| 7578 | no warnings 'recursion'; | ||
| 7579 | my $self = shift; | ||
| 7580 | |||
| 7581 | |||
| 7582 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7583 | |||
| 7584 | my $C = $self->cursor_xact("RULE category__S_002p5special_variable"); | ||
| 7585 | my $xact = $C->xact; | ||
| 7586 | my $S = $C->{'_pos'}; | ||
| 7587 | $C->{sym} = "p5special_variable"; | ||
| 7588 | $self->_MATCHIFYr($S, "category__S_002p5special_variable", $C->_EXACT("p5special_variable")); | ||
| 7589 | } | ||
| 7590 | ; | ||
| 7591 | ## token p5special_variable { <...> } | ||
| 7592 | sub p5special_variable__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable:*',$retree); } | ||
| 7593 | sub p5special_variable { | ||
| 7594 | my $self = shift; | ||
| 7595 | my $subs; | ||
| 7596 | |||
| 7597 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7598 | |||
| 7599 | my $C = $self->cursor_xact('RULE p5special_variable'); | ||
| 7600 | my $S = $C->{'_pos'}; | ||
| 7601 | |||
| 7602 | my @result = do { | ||
| 7603 | my ($tag, $try); | ||
| 7604 | my @try; | ||
| 7605 | my $relex; | ||
| 7606 | my $x; | ||
| 7607 | if (my $fate = $C->{'_fate'}) { | ||
| 7608 | if ($fate->[1] eq 'p5special_variable') { | ||
| 7609 | $C->deb("Fate passed to p5special_variable: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 7610 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 7611 | @try = ($try); | ||
| 7612 | $x = 'ALT p5special_variable'; | ||
| 7613 | } | ||
| 7614 | else { | ||
| 7615 | $x = 'ALTLTM p5special_variable'; | ||
| 7616 | } | ||
| 7617 | } | ||
| 7618 | else { | ||
| 7619 | $x = 'ALTLTM p5special_variable'; | ||
| 7620 | } | ||
| 7621 | my $C = $C->cursor_xact($x); | ||
| 7622 | my $xact = $C->{_xact}; | ||
| 7623 | |||
| 7624 | my @gather = (); | ||
| 7625 | for (;;) { | ||
| 7626 | unless (@try) { | ||
| 7627 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5special_variable:*', $retree); | ||
| 7628 | @try = $relex->($C) or last; | ||
| 7629 | } | ||
| 7630 | $try = shift(@try) // next; | ||
| 7631 | |||
| 7632 | if (ref $try) { | ||
| 7633 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 7634 | } | ||
| 7635 | |||
| 7636 | $C->deb("p5special_variable trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 7637 | push @gather, $C->$try(@_); | ||
| 7638 | last if @gather; | ||
| 7639 | last if $xact->[-2]; # committed? | ||
| 7640 | } | ||
| 7641 | $self->_MATCHIFYr($S, "p5special_variable", @gather); | ||
| 7642 | }; | ||
| 7643 | @result; | ||
| 7644 | } | ||
| 7645 | ; | ||
| 7646 | ## token category:p5comment { <sym> } | ||
| 7647 | sub category__S_003p5comment__PEEK { $_[0]->_AUTOLEXpeek('category__S_003p5comment', $retree) } | ||
| 7648 | sub category__S_003p5comment { | ||
| 7649 | no warnings 'recursion'; | ||
| 7650 | my $self = shift; | ||
| 7651 | |||
| 7652 | |||
| 7653 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7654 | |||
| 7655 | my $C = $self->cursor_xact("RULE category__S_003p5comment"); | ||
| 7656 | my $xact = $C->xact; | ||
| 7657 | my $S = $C->{'_pos'}; | ||
| 7658 | $C->{sym} = "p5comment"; | ||
| 7659 | $self->_MATCHIFYr($S, "category__S_003p5comment", $C->_EXACT("p5comment")); | ||
| 7660 | } | ||
| 7661 | ; | ||
| 7662 | ## token p5comment { <...> } | ||
| 7663 | sub p5comment__PEEK { $_[0]->_AUTOLEXpeek('p5comment:*',$retree); } | ||
| 7664 | sub p5comment { | ||
| 7665 | my $self = shift; | ||
| 7666 | my $subs; | ||
| 7667 | |||
| 7668 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7669 | |||
| 7670 | my $C = $self->cursor_xact('RULE p5comment'); | ||
| 7671 | my $S = $C->{'_pos'}; | ||
| 7672 | |||
| 7673 | my @result = do { | ||
| 7674 | my ($tag, $try); | ||
| 7675 | my @try; | ||
| 7676 | my $relex; | ||
| 7677 | my $x; | ||
| 7678 | if (my $fate = $C->{'_fate'}) { | ||
| 7679 | if ($fate->[1] eq 'p5comment') { | ||
| 7680 | $C->deb("Fate passed to p5comment: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 7681 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 7682 | @try = ($try); | ||
| 7683 | $x = 'ALT p5comment'; | ||
| 7684 | } | ||
| 7685 | else { | ||
| 7686 | $x = 'ALTLTM p5comment'; | ||
| 7687 | } | ||
| 7688 | } | ||
| 7689 | else { | ||
| 7690 | $x = 'ALTLTM p5comment'; | ||
| 7691 | } | ||
| 7692 | my $C = $C->cursor_xact($x); | ||
| 7693 | my $xact = $C->{_xact}; | ||
| 7694 | |||
| 7695 | my @gather = (); | ||
| 7696 | for (;;) { | ||
| 7697 | unless (@try) { | ||
| 7698 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5comment:*', $retree); | ||
| 7699 | @try = $relex->($C) or last; | ||
| 7700 | } | ||
| 7701 | $try = shift(@try) // next; | ||
| 7702 | |||
| 7703 | if (ref $try) { | ||
| 7704 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 7705 | } | ||
| 7706 | |||
| 7707 | $C->deb("p5comment trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 7708 | push @gather, $C->$try(@_); | ||
| 7709 | last if @gather; | ||
| 7710 | last if $xact->[-2]; # committed? | ||
| 7711 | } | ||
| 7712 | $self->_MATCHIFYr($S, "p5comment", @gather); | ||
| 7713 | }; | ||
| 7714 | @result; | ||
| 7715 | } | ||
| 7716 | ; | ||
| 7717 | ## token category:p5version { <sym> } | ||
| 7718 | sub category__S_004p5version__PEEK { $_[0]->_AUTOLEXpeek('category__S_004p5version', $retree) } | ||
| 7719 | sub category__S_004p5version { | ||
| 7720 | no warnings 'recursion'; | ||
| 7721 | my $self = shift; | ||
| 7722 | |||
| 7723 | |||
| 7724 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7725 | |||
| 7726 | my $C = $self->cursor_xact("RULE category__S_004p5version"); | ||
| 7727 | my $xact = $C->xact; | ||
| 7728 | my $S = $C->{'_pos'}; | ||
| 7729 | $C->{sym} = "p5version"; | ||
| 7730 | $self->_MATCHIFYr($S, "category__S_004p5version", $C->_EXACT("p5version")); | ||
| 7731 | } | ||
| 7732 | ; | ||
| 7733 | ## token p5version { <...> } | ||
| 7734 | sub p5version__PEEK { $_[0]->_AUTOLEXpeek('p5version:*',$retree); } | ||
| 7735 | sub p5version { | ||
| 7736 | my $self = shift; | ||
| 7737 | my $subs; | ||
| 7738 | |||
| 7739 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7740 | |||
| 7741 | my $C = $self->cursor_xact('RULE p5version'); | ||
| 7742 | my $S = $C->{'_pos'}; | ||
| 7743 | |||
| 7744 | my @result = do { | ||
| 7745 | my ($tag, $try); | ||
| 7746 | my @try; | ||
| 7747 | my $relex; | ||
| 7748 | my $x; | ||
| 7749 | if (my $fate = $C->{'_fate'}) { | ||
| 7750 | if ($fate->[1] eq 'p5version') { | ||
| 7751 | $C->deb("Fate passed to p5version: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 7752 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 7753 | @try = ($try); | ||
| 7754 | $x = 'ALT p5version'; | ||
| 7755 | } | ||
| 7756 | else { | ||
| 7757 | $x = 'ALTLTM p5version'; | ||
| 7758 | } | ||
| 7759 | } | ||
| 7760 | else { | ||
| 7761 | $x = 'ALTLTM p5version'; | ||
| 7762 | } | ||
| 7763 | my $C = $C->cursor_xact($x); | ||
| 7764 | my $xact = $C->{_xact}; | ||
| 7765 | |||
| 7766 | my @gather = (); | ||
| 7767 | for (;;) { | ||
| 7768 | unless (@try) { | ||
| 7769 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5version:*', $retree); | ||
| 7770 | @try = $relex->($C) or last; | ||
| 7771 | } | ||
| 7772 | $try = shift(@try) // next; | ||
| 7773 | |||
| 7774 | if (ref $try) { | ||
| 7775 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 7776 | } | ||
| 7777 | |||
| 7778 | $C->deb("p5version trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 7779 | push @gather, $C->$try(@_); | ||
| 7780 | last if @gather; | ||
| 7781 | last if $xact->[-2]; # committed? | ||
| 7782 | } | ||
| 7783 | $self->_MATCHIFYr($S, "p5version", @gather); | ||
| 7784 | }; | ||
| 7785 | @result; | ||
| 7786 | } | ||
| 7787 | ; | ||
| 7788 | ## token category:p5module_name { <sym> } | ||
| 7789 | sub category__S_005p5module_name__PEEK { $_[0]->_AUTOLEXpeek('category__S_005p5module_name', $retree) } | ||
| 7790 | sub category__S_005p5module_name { | ||
| 7791 | no warnings 'recursion'; | ||
| 7792 | my $self = shift; | ||
| 7793 | |||
| 7794 | |||
| 7795 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7796 | |||
| 7797 | my $C = $self->cursor_xact("RULE category__S_005p5module_name"); | ||
| 7798 | my $xact = $C->xact; | ||
| 7799 | my $S = $C->{'_pos'}; | ||
| 7800 | $C->{sym} = "p5module_name"; | ||
| 7801 | $self->_MATCHIFYr($S, "category__S_005p5module_name", $C->_EXACT("p5module_name")); | ||
| 7802 | } | ||
| 7803 | ; | ||
| 7804 | ## token p5module_name { <...> } | ||
| 7805 | sub p5module_name__PEEK { $_[0]->_AUTOLEXpeek('p5module_name:*',$retree); } | ||
| 7806 | sub p5module_name { | ||
| 7807 | my $self = shift; | ||
| 7808 | my $subs; | ||
| 7809 | |||
| 7810 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7811 | |||
| 7812 | my $C = $self->cursor_xact('RULE p5module_name'); | ||
| 7813 | my $S = $C->{'_pos'}; | ||
| 7814 | |||
| 7815 | my @result = do { | ||
| 7816 | my ($tag, $try); | ||
| 7817 | my @try; | ||
| 7818 | my $relex; | ||
| 7819 | my $x; | ||
| 7820 | if (my $fate = $C->{'_fate'}) { | ||
| 7821 | if ($fate->[1] eq 'p5module_name') { | ||
| 7822 | $C->deb("Fate passed to p5module_name: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 7823 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 7824 | @try = ($try); | ||
| 7825 | $x = 'ALT p5module_name'; | ||
| 7826 | } | ||
| 7827 | else { | ||
| 7828 | $x = 'ALTLTM p5module_name'; | ||
| 7829 | } | ||
| 7830 | } | ||
| 7831 | else { | ||
| 7832 | $x = 'ALTLTM p5module_name'; | ||
| 7833 | } | ||
| 7834 | my $C = $C->cursor_xact($x); | ||
| 7835 | my $xact = $C->{_xact}; | ||
| 7836 | |||
| 7837 | my @gather = (); | ||
| 7838 | for (;;) { | ||
| 7839 | unless (@try) { | ||
| 7840 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5module_name:*', $retree); | ||
| 7841 | @try = $relex->($C) or last; | ||
| 7842 | } | ||
| 7843 | $try = shift(@try) // next; | ||
| 7844 | |||
| 7845 | if (ref $try) { | ||
| 7846 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 7847 | } | ||
| 7848 | |||
| 7849 | $C->deb("p5module_name trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 7850 | push @gather, $C->$try(@_); | ||
| 7851 | last if @gather; | ||
| 7852 | last if $xact->[-2]; # committed? | ||
| 7853 | } | ||
| 7854 | $self->_MATCHIFYr($S, "p5module_name", @gather); | ||
| 7855 | }; | ||
| 7856 | @result; | ||
| 7857 | } | ||
| 7858 | ; | ||
| 7859 | ## token category:p5value { <sym> } | ||
| 7860 | sub category__S_006p5value__PEEK { $_[0]->_AUTOLEXpeek('category__S_006p5value', $retree) } | ||
| 7861 | sub category__S_006p5value { | ||
| 7862 | no warnings 'recursion'; | ||
| 7863 | my $self = shift; | ||
| 7864 | |||
| 7865 | |||
| 7866 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7867 | |||
| 7868 | my $C = $self->cursor_xact("RULE category__S_006p5value"); | ||
| 7869 | my $xact = $C->xact; | ||
| 7870 | my $S = $C->{'_pos'}; | ||
| 7871 | $C->{sym} = "p5value"; | ||
| 7872 | $self->_MATCHIFYr($S, "category__S_006p5value", $C->_EXACT("p5value")); | ||
| 7873 | } | ||
| 7874 | ; | ||
| 7875 | ## token p5value { <...> } | ||
| 7876 | sub p5value__PEEK { $_[0]->_AUTOLEXpeek('p5value:*',$retree); } | ||
| 7877 | sub p5value { | ||
| 7878 | my $self = shift; | ||
| 7879 | my $subs; | ||
| 7880 | |||
| 7881 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7882 | |||
| 7883 | my $C = $self->cursor_xact('RULE p5value'); | ||
| 7884 | my $S = $C->{'_pos'}; | ||
| 7885 | |||
| 7886 | my @result = do { | ||
| 7887 | my ($tag, $try); | ||
| 7888 | my @try; | ||
| 7889 | my $relex; | ||
| 7890 | my $x; | ||
| 7891 | if (my $fate = $C->{'_fate'}) { | ||
| 7892 | if ($fate->[1] eq 'p5value') { | ||
| 7893 | $C->deb("Fate passed to p5value: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 7894 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 7895 | @try = ($try); | ||
| 7896 | $x = 'ALT p5value'; | ||
| 7897 | } | ||
| 7898 | else { | ||
| 7899 | $x = 'ALTLTM p5value'; | ||
| 7900 | } | ||
| 7901 | } | ||
| 7902 | else { | ||
| 7903 | $x = 'ALTLTM p5value'; | ||
| 7904 | } | ||
| 7905 | my $C = $C->cursor_xact($x); | ||
| 7906 | my $xact = $C->{_xact}; | ||
| 7907 | |||
| 7908 | my @gather = (); | ||
| 7909 | for (;;) { | ||
| 7910 | unless (@try) { | ||
| 7911 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5value:*', $retree); | ||
| 7912 | @try = $relex->($C) or last; | ||
| 7913 | } | ||
| 7914 | $try = shift(@try) // next; | ||
| 7915 | |||
| 7916 | if (ref $try) { | ||
| 7917 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 7918 | } | ||
| 7919 | |||
| 7920 | $C->deb("p5value trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 7921 | push @gather, $C->$try(@_); | ||
| 7922 | last if @gather; | ||
| 7923 | last if $xact->[-2]; # committed? | ||
| 7924 | } | ||
| 7925 | $self->_MATCHIFYr($S, "p5value", @gather); | ||
| 7926 | }; | ||
| 7927 | @result; | ||
| 7928 | } | ||
| 7929 | ; | ||
| 7930 | ## token category:p5term { <sym> } | ||
| 7931 | sub category__S_007p5term__PEEK { $_[0]->_AUTOLEXpeek('category__S_007p5term', $retree) } | ||
| 7932 | sub category__S_007p5term { | ||
| 7933 | no warnings 'recursion'; | ||
| 7934 | my $self = shift; | ||
| 7935 | |||
| 7936 | |||
| 7937 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7938 | |||
| 7939 | my $C = $self->cursor_xact("RULE category__S_007p5term"); | ||
| 7940 | my $xact = $C->xact; | ||
| 7941 | my $S = $C->{'_pos'}; | ||
| 7942 | $C->{sym} = "p5term"; | ||
| 7943 | $self->_MATCHIFYr($S, "category__S_007p5term", $C->_EXACT("p5term")); | ||
| 7944 | } | ||
| 7945 | ; | ||
| 7946 | ## token p5term { <...> } | ||
| 7947 | sub p5term__PEEK { $_[0]->_AUTOLEXpeek('p5term:*',$retree); } | ||
| 7948 | sub p5term { | ||
| 7949 | my $self = shift; | ||
| 7950 | my $subs; | ||
| 7951 | |||
| 7952 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 7953 | |||
| 7954 | my $C = $self->cursor_xact('RULE p5term'); | ||
| 7955 | my $S = $C->{'_pos'}; | ||
| 7956 | |||
| 7957 | my @result = do { | ||
| 7958 | my ($tag, $try); | ||
| 7959 | my @try; | ||
| 7960 | my $relex; | ||
| 7961 | my $x; | ||
| 7962 | if (my $fate = $C->{'_fate'}) { | ||
| 7963 | if ($fate->[1] eq 'p5term') { | ||
| 7964 | $C->deb("Fate passed to p5term: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 7965 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 7966 | @try = ($try); | ||
| 7967 | $x = 'ALT p5term'; | ||
| 7968 | } | ||
| 7969 | else { | ||
| 7970 | $x = 'ALTLTM p5term'; | ||
| 7971 | } | ||
| 7972 | } | ||
| 7973 | else { | ||
| 7974 | $x = 'ALTLTM p5term'; | ||
| 7975 | } | ||
| 7976 | my $C = $C->cursor_xact($x); | ||
| 7977 | my $xact = $C->{_xact}; | ||
| 7978 | |||
| 7979 | my @gather = (); | ||
| 7980 | for (;;) { | ||
| 7981 | unless (@try) { | ||
| 7982 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5term:*', $retree); | ||
| 7983 | @try = $relex->($C) or last; | ||
| 7984 | } | ||
| 7985 | $try = shift(@try) // next; | ||
| 7986 | |||
| 7987 | if (ref $try) { | ||
| 7988 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 7989 | } | ||
| 7990 | |||
| 7991 | $C->deb("p5term trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 7992 | push @gather, $C->$try(@_); | ||
| 7993 | last if @gather; | ||
| 7994 | last if $xact->[-2]; # committed? | ||
| 7995 | } | ||
| 7996 | $self->_MATCHIFYr($S, "p5term", @gather); | ||
| 7997 | }; | ||
| 7998 | @result; | ||
| 7999 | } | ||
| 8000 | ; | ||
| 8001 | ## token category:p5number { <sym> } | ||
| 8002 | sub category__S_008p5number__PEEK { $_[0]->_AUTOLEXpeek('category__S_008p5number', $retree) } | ||
| 8003 | sub category__S_008p5number { | ||
| 8004 | no warnings 'recursion'; | ||
| 8005 | my $self = shift; | ||
| 8006 | |||
| 8007 | |||
| 8008 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8009 | |||
| 8010 | my $C = $self->cursor_xact("RULE category__S_008p5number"); | ||
| 8011 | my $xact = $C->xact; | ||
| 8012 | my $S = $C->{'_pos'}; | ||
| 8013 | $C->{sym} = "p5number"; | ||
| 8014 | $self->_MATCHIFYr($S, "category__S_008p5number", $C->_EXACT("p5number")); | ||
| 8015 | } | ||
| 8016 | ; | ||
| 8017 | ## token p5number { <...> } | ||
| 8018 | sub p5number__PEEK { $_[0]->_AUTOLEXpeek('p5number:*',$retree); } | ||
| 8019 | sub p5number { | ||
| 8020 | my $self = shift; | ||
| 8021 | my $subs; | ||
| 8022 | |||
| 8023 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8024 | |||
| 8025 | my $C = $self->cursor_xact('RULE p5number'); | ||
| 8026 | my $S = $C->{'_pos'}; | ||
| 8027 | |||
| 8028 | my @result = do { | ||
| 8029 | my ($tag, $try); | ||
| 8030 | my @try; | ||
| 8031 | my $relex; | ||
| 8032 | my $x; | ||
| 8033 | if (my $fate = $C->{'_fate'}) { | ||
| 8034 | if ($fate->[1] eq 'p5number') { | ||
| 8035 | $C->deb("Fate passed to p5number: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8036 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8037 | @try = ($try); | ||
| 8038 | $x = 'ALT p5number'; | ||
| 8039 | } | ||
| 8040 | else { | ||
| 8041 | $x = 'ALTLTM p5number'; | ||
| 8042 | } | ||
| 8043 | } | ||
| 8044 | else { | ||
| 8045 | $x = 'ALTLTM p5number'; | ||
| 8046 | } | ||
| 8047 | my $C = $C->cursor_xact($x); | ||
| 8048 | my $xact = $C->{_xact}; | ||
| 8049 | |||
| 8050 | my @gather = (); | ||
| 8051 | for (;;) { | ||
| 8052 | unless (@try) { | ||
| 8053 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5number:*', $retree); | ||
| 8054 | @try = $relex->($C) or last; | ||
| 8055 | } | ||
| 8056 | $try = shift(@try) // next; | ||
| 8057 | |||
| 8058 | if (ref $try) { | ||
| 8059 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8060 | } | ||
| 8061 | |||
| 8062 | $C->deb("p5number trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8063 | push @gather, $C->$try(@_); | ||
| 8064 | last if @gather; | ||
| 8065 | last if $xact->[-2]; # committed? | ||
| 8066 | } | ||
| 8067 | $self->_MATCHIFYr($S, "p5number", @gather); | ||
| 8068 | }; | ||
| 8069 | @result; | ||
| 8070 | } | ||
| 8071 | ; | ||
| 8072 | ## token category:p5quote { <sym> } | ||
| 8073 | sub category__S_009p5quote__PEEK { $_[0]->_AUTOLEXpeek('category__S_009p5quote', $retree) } | ||
| 8074 | sub category__S_009p5quote { | ||
| 8075 | no warnings 'recursion'; | ||
| 8076 | my $self = shift; | ||
| 8077 | |||
| 8078 | |||
| 8079 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8080 | |||
| 8081 | my $C = $self->cursor_xact("RULE category__S_009p5quote"); | ||
| 8082 | my $xact = $C->xact; | ||
| 8083 | my $S = $C->{'_pos'}; | ||
| 8084 | $C->{sym} = "p5quote"; | ||
| 8085 | $self->_MATCHIFYr($S, "category__S_009p5quote", $C->_EXACT("p5quote")); | ||
| 8086 | } | ||
| 8087 | ; | ||
| 8088 | ## token p5quote () { <...> } | ||
| 8089 | sub p5quote__PEEK { $_[0]->_AUTOLEXpeek('p5quote:*',$retree); } | ||
| 8090 | sub p5quote { | ||
| 8091 | my $self = shift; | ||
| 8092 | my $subs; | ||
| 8093 | |||
| 8094 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8095 | |||
| 8096 | my $C = $self->cursor_xact('RULE p5quote'); | ||
| 8097 | my $S = $C->{'_pos'}; | ||
| 8098 | |||
| 8099 | my @result = do { | ||
| 8100 | my ($tag, $try); | ||
| 8101 | my @try; | ||
| 8102 | my $relex; | ||
| 8103 | my $x; | ||
| 8104 | if (my $fate = $C->{'_fate'}) { | ||
| 8105 | if ($fate->[1] eq 'p5quote') { | ||
| 8106 | $C->deb("Fate passed to p5quote: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8107 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8108 | @try = ($try); | ||
| 8109 | $x = 'ALT p5quote'; | ||
| 8110 | } | ||
| 8111 | else { | ||
| 8112 | $x = 'ALTLTM p5quote'; | ||
| 8113 | } | ||
| 8114 | } | ||
| 8115 | else { | ||
| 8116 | $x = 'ALTLTM p5quote'; | ||
| 8117 | } | ||
| 8118 | my $C = $C->cursor_xact($x); | ||
| 8119 | my $xact = $C->{_xact}; | ||
| 8120 | |||
| 8121 | my @gather = (); | ||
| 8122 | for (;;) { | ||
| 8123 | unless (@try) { | ||
| 8124 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5quote:*', $retree); | ||
| 8125 | @try = $relex->($C) or last; | ||
| 8126 | } | ||
| 8127 | $try = shift(@try) // next; | ||
| 8128 | |||
| 8129 | if (ref $try) { | ||
| 8130 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8131 | } | ||
| 8132 | |||
| 8133 | $C->deb("p5quote trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8134 | push @gather, $C->$try(@_); | ||
| 8135 | last if @gather; | ||
| 8136 | last if $xact->[-2]; # committed? | ||
| 8137 | } | ||
| 8138 | $self->_MATCHIFYr($S, "p5quote", @gather); | ||
| 8139 | }; | ||
| 8140 | @result; | ||
| 8141 | } | ||
| 8142 | ; | ||
| 8143 | ## token category:p5prefix { <sym> } | ||
| 8144 | sub category__S_010p5prefix__PEEK { $_[0]->_AUTOLEXpeek('category__S_010p5prefix', $retree) } | ||
| 8145 | sub category__S_010p5prefix { | ||
| 8146 | no warnings 'recursion'; | ||
| 8147 | my $self = shift; | ||
| 8148 | |||
| 8149 | |||
| 8150 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8151 | |||
| 8152 | my $C = $self->cursor_xact("RULE category__S_010p5prefix"); | ||
| 8153 | my $xact = $C->xact; | ||
| 8154 | my $S = $C->{'_pos'}; | ||
| 8155 | $C->{sym} = "p5prefix"; | ||
| 8156 | $self->_MATCHIFYr($S, "category__S_010p5prefix", $C->_EXACT("p5prefix")); | ||
| 8157 | } | ||
| 8158 | ; | ||
| 8159 | ## token p5prefix is unary is defequiv(%symbolic_unary) { <...> } | ||
| 8160 | sub p5prefix__PEEK { $_[0]->_AUTOLEXpeek('p5prefix:*',$retree); } | ||
| 8161 | sub p5prefix { | ||
| 8162 | my $self = shift; | ||
| 8163 | my $subs; | ||
| 8164 | |||
| 8165 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8166 | |||
| 8167 | my $C = $self->cursor_xact('RULE p5prefix'); | ||
| 8168 | my $S = $C->{'_pos'}; | ||
| 8169 | |||
| 8170 | my @result = do { | ||
| 8171 | my ($tag, $try); | ||
| 8172 | my @try; | ||
| 8173 | my $relex; | ||
| 8174 | my $x; | ||
| 8175 | if (my $fate = $C->{'_fate'}) { | ||
| 8176 | if ($fate->[1] eq 'p5prefix') { | ||
| 8177 | $C->deb("Fate passed to p5prefix: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8178 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8179 | @try = ($try); | ||
| 8180 | $x = 'ALT p5prefix'; | ||
| 8181 | } | ||
| 8182 | else { | ||
| 8183 | $x = 'ALTLTM p5prefix'; | ||
| 8184 | } | ||
| 8185 | } | ||
| 8186 | else { | ||
| 8187 | $x = 'ALTLTM p5prefix'; | ||
| 8188 | } | ||
| 8189 | my $C = $C->cursor_xact($x); | ||
| 8190 | my $xact = $C->{_xact}; | ||
| 8191 | |||
| 8192 | my @gather = (); | ||
| 8193 | for (;;) { | ||
| 8194 | unless (@try) { | ||
| 8195 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5prefix:*', $retree); | ||
| 8196 | @try = $relex->($C) or last; | ||
| 8197 | } | ||
| 8198 | $try = shift(@try) // next; | ||
| 8199 | |||
| 8200 | if (ref $try) { | ||
| 8201 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8202 | } | ||
| 8203 | |||
| 8204 | $C->deb("p5prefix trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8205 | push @gather, $C->$try(@_); | ||
| 8206 | last if @gather; | ||
| 8207 | last if $xact->[-2]; # committed? | ||
| 8208 | } | ||
| 8209 | $self->_MATCHIFYr($S, "p5prefix", @gather); | ||
| 8210 | }; | ||
| 8211 | @result; | ||
| 8212 | } | ||
| 8213 | ; | ||
| 8214 | ## token category:p5infix { <sym> } | ||
| 8215 | sub category__S_011p5infix__PEEK { $_[0]->_AUTOLEXpeek('category__S_011p5infix', $retree) } | ||
| 8216 | sub category__S_011p5infix { | ||
| 8217 | no warnings 'recursion'; | ||
| 8218 | my $self = shift; | ||
| 8219 | |||
| 8220 | |||
| 8221 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8222 | |||
| 8223 | my $C = $self->cursor_xact("RULE category__S_011p5infix"); | ||
| 8224 | my $xact = $C->xact; | ||
| 8225 | my $S = $C->{'_pos'}; | ||
| 8226 | $C->{sym} = "p5infix"; | ||
| 8227 | $self->_MATCHIFYr($S, "category__S_011p5infix", $C->_EXACT("p5infix")); | ||
| 8228 | } | ||
| 8229 | ; | ||
| 8230 | ## token p5infix is binary is defequiv(%additive) { <...> } | ||
| 8231 | sub p5infix__PEEK { $_[0]->_AUTOLEXpeek('p5infix:*',$retree); } | ||
| 8232 | sub p5infix { | ||
| 8233 | my $self = shift; | ||
| 8234 | my $subs; | ||
| 8235 | |||
| 8236 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8237 | |||
| 8238 | my $C = $self->cursor_xact('RULE p5infix'); | ||
| 8239 | my $S = $C->{'_pos'}; | ||
| 8240 | |||
| 8241 | my @result = do { | ||
| 8242 | my ($tag, $try); | ||
| 8243 | my @try; | ||
| 8244 | my $relex; | ||
| 8245 | my $x; | ||
| 8246 | if (my $fate = $C->{'_fate'}) { | ||
| 8247 | if ($fate->[1] eq 'p5infix') { | ||
| 8248 | $C->deb("Fate passed to p5infix: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8249 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8250 | @try = ($try); | ||
| 8251 | $x = 'ALT p5infix'; | ||
| 8252 | } | ||
| 8253 | else { | ||
| 8254 | $x = 'ALTLTM p5infix'; | ||
| 8255 | } | ||
| 8256 | } | ||
| 8257 | else { | ||
| 8258 | $x = 'ALTLTM p5infix'; | ||
| 8259 | } | ||
| 8260 | my $C = $C->cursor_xact($x); | ||
| 8261 | my $xact = $C->{_xact}; | ||
| 8262 | |||
| 8263 | my @gather = (); | ||
| 8264 | for (;;) { | ||
| 8265 | unless (@try) { | ||
| 8266 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5infix:*', $retree); | ||
| 8267 | @try = $relex->($C) or last; | ||
| 8268 | } | ||
| 8269 | $try = shift(@try) // next; | ||
| 8270 | |||
| 8271 | if (ref $try) { | ||
| 8272 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8273 | } | ||
| 8274 | |||
| 8275 | $C->deb("p5infix trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8276 | push @gather, $C->$try(@_); | ||
| 8277 | last if @gather; | ||
| 8278 | last if $xact->[-2]; # committed? | ||
| 8279 | } | ||
| 8280 | $self->_MATCHIFYr($S, "p5infix", @gather); | ||
| 8281 | }; | ||
| 8282 | @result; | ||
| 8283 | } | ||
| 8284 | ; | ||
| 8285 | ## token category:p5postfix { <sym> } | ||
| 8286 | sub category__S_012p5postfix__PEEK { $_[0]->_AUTOLEXpeek('category__S_012p5postfix', $retree) } | ||
| 8287 | sub category__S_012p5postfix { | ||
| 8288 | no warnings 'recursion'; | ||
| 8289 | my $self = shift; | ||
| 8290 | |||
| 8291 | |||
| 8292 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8293 | |||
| 8294 | my $C = $self->cursor_xact("RULE category__S_012p5postfix"); | ||
| 8295 | my $xact = $C->xact; | ||
| 8296 | my $S = $C->{'_pos'}; | ||
| 8297 | $C->{sym} = "p5postfix"; | ||
| 8298 | $self->_MATCHIFYr($S, "category__S_012p5postfix", $C->_EXACT("p5postfix")); | ||
| 8299 | } | ||
| 8300 | ; | ||
| 8301 | ## token p5postfix is unary is defequiv(%autoincrement) { <...> } | ||
| 8302 | sub p5postfix__PEEK { $_[0]->_AUTOLEXpeek('p5postfix:*',$retree); } | ||
| 8303 | sub p5postfix { | ||
| 8304 | my $self = shift; | ||
| 8305 | my $subs; | ||
| 8306 | |||
| 8307 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8308 | |||
| 8309 | my $C = $self->cursor_xact('RULE p5postfix'); | ||
| 8310 | my $S = $C->{'_pos'}; | ||
| 8311 | |||
| 8312 | my @result = do { | ||
| 8313 | my ($tag, $try); | ||
| 8314 | my @try; | ||
| 8315 | my $relex; | ||
| 8316 | my $x; | ||
| 8317 | if (my $fate = $C->{'_fate'}) { | ||
| 8318 | if ($fate->[1] eq 'p5postfix') { | ||
| 8319 | $C->deb("Fate passed to p5postfix: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8320 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8321 | @try = ($try); | ||
| 8322 | $x = 'ALT p5postfix'; | ||
| 8323 | } | ||
| 8324 | else { | ||
| 8325 | $x = 'ALTLTM p5postfix'; | ||
| 8326 | } | ||
| 8327 | } | ||
| 8328 | else { | ||
| 8329 | $x = 'ALTLTM p5postfix'; | ||
| 8330 | } | ||
| 8331 | my $C = $C->cursor_xact($x); | ||
| 8332 | my $xact = $C->{_xact}; | ||
| 8333 | |||
| 8334 | my @gather = (); | ||
| 8335 | for (;;) { | ||
| 8336 | unless (@try) { | ||
| 8337 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5postfix:*', $retree); | ||
| 8338 | @try = $relex->($C) or last; | ||
| 8339 | } | ||
| 8340 | $try = shift(@try) // next; | ||
| 8341 | |||
| 8342 | if (ref $try) { | ||
| 8343 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8344 | } | ||
| 8345 | |||
| 8346 | $C->deb("p5postfix trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8347 | push @gather, $C->$try(@_); | ||
| 8348 | last if @gather; | ||
| 8349 | last if $xact->[-2]; # committed? | ||
| 8350 | } | ||
| 8351 | $self->_MATCHIFYr($S, "p5postfix", @gather); | ||
| 8352 | }; | ||
| 8353 | @result; | ||
| 8354 | } | ||
| 8355 | ; | ||
| 8356 | ## token category:p5dotty { <sym> } | ||
| 8357 | sub category__S_013p5dotty__PEEK { $_[0]->_AUTOLEXpeek('category__S_013p5dotty', $retree) } | ||
| 8358 | sub category__S_013p5dotty { | ||
| 8359 | no warnings 'recursion'; | ||
| 8360 | my $self = shift; | ||
| 8361 | |||
| 8362 | |||
| 8363 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8364 | |||
| 8365 | my $C = $self->cursor_xact("RULE category__S_013p5dotty"); | ||
| 8366 | my $xact = $C->xact; | ||
| 8367 | my $S = $C->{'_pos'}; | ||
| 8368 | $C->{sym} = "p5dotty"; | ||
| 8369 | $self->_MATCHIFYr($S, "category__S_013p5dotty", $C->_EXACT("p5dotty")); | ||
| 8370 | } | ||
| 8371 | ; | ||
| 8372 | ## token p5dotty (:$*endsym = 'unspacey') { <...> } | ||
| 8373 | sub p5dotty__PEEK { $_[0]->_AUTOLEXpeek('p5dotty:*',$retree); } | ||
| 8374 | sub p5dotty { | ||
| 8375 | my $self = shift; | ||
| 8376 | my $subs; | ||
| 8377 | |||
| 8378 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8379 | |||
| 8380 | my $C = $self->cursor_xact('RULE p5dotty'); | ||
| 8381 | my $S = $C->{'_pos'}; | ||
| 8382 | |||
| 8383 | my @result = do { | ||
| 8384 | my ($tag, $try); | ||
| 8385 | my @try; | ||
| 8386 | my $relex; | ||
| 8387 | my $x; | ||
| 8388 | if (my $fate = $C->{'_fate'}) { | ||
| 8389 | if ($fate->[1] eq 'p5dotty') { | ||
| 8390 | $C->deb("Fate passed to p5dotty: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8391 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8392 | @try = ($try); | ||
| 8393 | $x = 'ALT p5dotty'; | ||
| 8394 | } | ||
| 8395 | else { | ||
| 8396 | $x = 'ALTLTM p5dotty'; | ||
| 8397 | } | ||
| 8398 | } | ||
| 8399 | else { | ||
| 8400 | $x = 'ALTLTM p5dotty'; | ||
| 8401 | } | ||
| 8402 | my $C = $C->cursor_xact($x); | ||
| 8403 | my $xact = $C->{_xact}; | ||
| 8404 | |||
| 8405 | my @gather = (); | ||
| 8406 | for (;;) { | ||
| 8407 | unless (@try) { | ||
| 8408 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5dotty:*', $retree); | ||
| 8409 | @try = $relex->($C) or last; | ||
| 8410 | } | ||
| 8411 | $try = shift(@try) // next; | ||
| 8412 | |||
| 8413 | if (ref $try) { | ||
| 8414 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8415 | } | ||
| 8416 | |||
| 8417 | $C->deb("p5dotty trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8418 | push @gather, $C->$try(@_); | ||
| 8419 | last if @gather; | ||
| 8420 | last if $xact->[-2]; # committed? | ||
| 8421 | } | ||
| 8422 | $self->_MATCHIFYr($S, "p5dotty", @gather); | ||
| 8423 | }; | ||
| 8424 | @result; | ||
| 8425 | } | ||
| 8426 | ; | ||
| 8427 | ## token category:p5circumfix { <sym> } | ||
| 8428 | sub category__S_014p5circumfix__PEEK { $_[0]->_AUTOLEXpeek('category__S_014p5circumfix', $retree) } | ||
| 8429 | sub category__S_014p5circumfix { | ||
| 8430 | no warnings 'recursion'; | ||
| 8431 | my $self = shift; | ||
| 8432 | |||
| 8433 | |||
| 8434 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8435 | |||
| 8436 | my $C = $self->cursor_xact("RULE category__S_014p5circumfix"); | ||
| 8437 | my $xact = $C->xact; | ||
| 8438 | my $S = $C->{'_pos'}; | ||
| 8439 | $C->{sym} = "p5circumfix"; | ||
| 8440 | $self->_MATCHIFYr($S, "category__S_014p5circumfix", $C->_EXACT("p5circumfix")); | ||
| 8441 | } | ||
| 8442 | ; | ||
| 8443 | ## token p5circumfix { <...> } | ||
| 8444 | sub p5circumfix__PEEK { $_[0]->_AUTOLEXpeek('p5circumfix:*',$retree); } | ||
| 8445 | sub p5circumfix { | ||
| 8446 | my $self = shift; | ||
| 8447 | my $subs; | ||
| 8448 | |||
| 8449 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8450 | |||
| 8451 | my $C = $self->cursor_xact('RULE p5circumfix'); | ||
| 8452 | my $S = $C->{'_pos'}; | ||
| 8453 | |||
| 8454 | my @result = do { | ||
| 8455 | my ($tag, $try); | ||
| 8456 | my @try; | ||
| 8457 | my $relex; | ||
| 8458 | my $x; | ||
| 8459 | if (my $fate = $C->{'_fate'}) { | ||
| 8460 | if ($fate->[1] eq 'p5circumfix') { | ||
| 8461 | $C->deb("Fate passed to p5circumfix: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8462 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8463 | @try = ($try); | ||
| 8464 | $x = 'ALT p5circumfix'; | ||
| 8465 | } | ||
| 8466 | else { | ||
| 8467 | $x = 'ALTLTM p5circumfix'; | ||
| 8468 | } | ||
| 8469 | } | ||
| 8470 | else { | ||
| 8471 | $x = 'ALTLTM p5circumfix'; | ||
| 8472 | } | ||
| 8473 | my $C = $C->cursor_xact($x); | ||
| 8474 | my $xact = $C->{_xact}; | ||
| 8475 | |||
| 8476 | my @gather = (); | ||
| 8477 | for (;;) { | ||
| 8478 | unless (@try) { | ||
| 8479 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5circumfix:*', $retree); | ||
| 8480 | @try = $relex->($C) or last; | ||
| 8481 | } | ||
| 8482 | $try = shift(@try) // next; | ||
| 8483 | |||
| 8484 | if (ref $try) { | ||
| 8485 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8486 | } | ||
| 8487 | |||
| 8488 | $C->deb("p5circumfix trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8489 | push @gather, $C->$try(@_); | ||
| 8490 | last if @gather; | ||
| 8491 | last if $xact->[-2]; # committed? | ||
| 8492 | } | ||
| 8493 | $self->_MATCHIFYr($S, "p5circumfix", @gather); | ||
| 8494 | }; | ||
| 8495 | @result; | ||
| 8496 | } | ||
| 8497 | ; | ||
| 8498 | ## token category:p5postcircumfix { <sym> } | ||
| 8499 | sub category__S_015p5postcircumfix__PEEK { $_[0]->_AUTOLEXpeek('category__S_015p5postcircumfix', $retree) } | ||
| 8500 | sub category__S_015p5postcircumfix { | ||
| 8501 | no warnings 'recursion'; | ||
| 8502 | my $self = shift; | ||
| 8503 | |||
| 8504 | |||
| 8505 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8506 | |||
| 8507 | my $C = $self->cursor_xact("RULE category__S_015p5postcircumfix"); | ||
| 8508 | my $xact = $C->xact; | ||
| 8509 | my $S = $C->{'_pos'}; | ||
| 8510 | $C->{sym} = "p5postcircumfix"; | ||
| 8511 | $self->_MATCHIFYr($S, "category__S_015p5postcircumfix", $C->_EXACT("p5postcircumfix")); | ||
| 8512 | } | ||
| 8513 | ; | ||
| 8514 | ## token p5postcircumfix is unary { <...> } # unary as far as EXPR knows... | ||
| 8515 | sub p5postcircumfix__PEEK { $_[0]->_AUTOLEXpeek('p5postcircumfix:*',$retree); } | ||
| 8516 | sub p5postcircumfix { | ||
| 8517 | my $self = shift; | ||
| 8518 | my $subs; | ||
| 8519 | |||
| 8520 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8521 | |||
| 8522 | my $C = $self->cursor_xact('RULE p5postcircumfix'); | ||
| 8523 | my $S = $C->{'_pos'}; | ||
| 8524 | |||
| 8525 | my @result = do { | ||
| 8526 | my ($tag, $try); | ||
| 8527 | my @try; | ||
| 8528 | my $relex; | ||
| 8529 | my $x; | ||
| 8530 | if (my $fate = $C->{'_fate'}) { | ||
| 8531 | if ($fate->[1] eq 'p5postcircumfix') { | ||
| 8532 | $C->deb("Fate passed to p5postcircumfix: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8533 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8534 | @try = ($try); | ||
| 8535 | $x = 'ALT p5postcircumfix'; | ||
| 8536 | } | ||
| 8537 | else { | ||
| 8538 | $x = 'ALTLTM p5postcircumfix'; | ||
| 8539 | } | ||
| 8540 | } | ||
| 8541 | else { | ||
| 8542 | $x = 'ALTLTM p5postcircumfix'; | ||
| 8543 | } | ||
| 8544 | my $C = $C->cursor_xact($x); | ||
| 8545 | my $xact = $C->{_xact}; | ||
| 8546 | |||
| 8547 | my @gather = (); | ||
| 8548 | for (;;) { | ||
| 8549 | unless (@try) { | ||
| 8550 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5postcircumfix:*', $retree); | ||
| 8551 | @try = $relex->($C) or last; | ||
| 8552 | } | ||
| 8553 | $try = shift(@try) // next; | ||
| 8554 | |||
| 8555 | if (ref $try) { | ||
| 8556 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8557 | } | ||
| 8558 | |||
| 8559 | $C->deb("p5postcircumfix trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8560 | push @gather, $C->$try(@_); | ||
| 8561 | last if @gather; | ||
| 8562 | last if $xact->[-2]; # committed? | ||
| 8563 | } | ||
| 8564 | $self->_MATCHIFYr($S, "p5postcircumfix", @gather); | ||
| 8565 | }; | ||
| 8566 | @result; | ||
| 8567 | } | ||
| 8568 | ; | ||
| 8569 | ## token category:p5type_declarator { <sym> } | ||
| 8570 | sub category__S_016p5type_declarator__PEEK { $_[0]->_AUTOLEXpeek('category__S_016p5type_declarator', $retree) } | ||
| 8571 | sub category__S_016p5type_declarator { | ||
| 8572 | no warnings 'recursion'; | ||
| 8573 | my $self = shift; | ||
| 8574 | |||
| 8575 | |||
| 8576 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8577 | |||
| 8578 | my $C = $self->cursor_xact("RULE category__S_016p5type_declarator"); | ||
| 8579 | my $xact = $C->xact; | ||
| 8580 | my $S = $C->{'_pos'}; | ||
| 8581 | $C->{sym} = "p5type_declarator"; | ||
| 8582 | $self->_MATCHIFYr($S, "category__S_016p5type_declarator", $C->_EXACT("p5type_declarator")); | ||
| 8583 | } | ||
| 8584 | ; | ||
| 8585 | ## token p5type_declarator (:$*endsym = 'spacey') { <...> } | ||
| 8586 | sub p5type_declarator__PEEK { $_[0]->_AUTOLEXpeek('p5type_declarator:*',$retree); } | ||
| 8587 | sub p5type_declarator { | ||
| 8588 | my $self = shift; | ||
| 8589 | my $subs; | ||
| 8590 | |||
| 8591 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8592 | |||
| 8593 | my $C = $self->cursor_xact('RULE p5type_declarator'); | ||
| 8594 | my $S = $C->{'_pos'}; | ||
| 8595 | |||
| 8596 | my @result = do { | ||
| 8597 | my ($tag, $try); | ||
| 8598 | my @try; | ||
| 8599 | my $relex; | ||
| 8600 | my $x; | ||
| 8601 | if (my $fate = $C->{'_fate'}) { | ||
| 8602 | if ($fate->[1] eq 'p5type_declarator') { | ||
| 8603 | $C->deb("Fate passed to p5type_declarator: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8604 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8605 | @try = ($try); | ||
| 8606 | $x = 'ALT p5type_declarator'; | ||
| 8607 | } | ||
| 8608 | else { | ||
| 8609 | $x = 'ALTLTM p5type_declarator'; | ||
| 8610 | } | ||
| 8611 | } | ||
| 8612 | else { | ||
| 8613 | $x = 'ALTLTM p5type_declarator'; | ||
| 8614 | } | ||
| 8615 | my $C = $C->cursor_xact($x); | ||
| 8616 | my $xact = $C->{_xact}; | ||
| 8617 | |||
| 8618 | my @gather = (); | ||
| 8619 | for (;;) { | ||
| 8620 | unless (@try) { | ||
| 8621 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5type_declarator:*', $retree); | ||
| 8622 | @try = $relex->($C) or last; | ||
| 8623 | } | ||
| 8624 | $try = shift(@try) // next; | ||
| 8625 | |||
| 8626 | if (ref $try) { | ||
| 8627 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8628 | } | ||
| 8629 | |||
| 8630 | $C->deb("p5type_declarator trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8631 | push @gather, $C->$try(@_); | ||
| 8632 | last if @gather; | ||
| 8633 | last if $xact->[-2]; # committed? | ||
| 8634 | } | ||
| 8635 | $self->_MATCHIFYr($S, "p5type_declarator", @gather); | ||
| 8636 | }; | ||
| 8637 | @result; | ||
| 8638 | } | ||
| 8639 | ; | ||
| 8640 | ## token category:p5scope_declarator { <sym> } | ||
| 8641 | sub category__S_017p5scope_declarator__PEEK { $_[0]->_AUTOLEXpeek('category__S_017p5scope_declarator', $retree) } | ||
| 8642 | sub category__S_017p5scope_declarator { | ||
| 8643 | no warnings 'recursion'; | ||
| 8644 | my $self = shift; | ||
| 8645 | |||
| 8646 | |||
| 8647 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8648 | |||
| 8649 | my $C = $self->cursor_xact("RULE category__S_017p5scope_declarator"); | ||
| 8650 | my $xact = $C->xact; | ||
| 8651 | my $S = $C->{'_pos'}; | ||
| 8652 | $C->{sym} = "p5scope_declarator"; | ||
| 8653 | $self->_MATCHIFYr($S, "category__S_017p5scope_declarator", $C->_EXACT("p5scope_declarator")); | ||
| 8654 | } | ||
| 8655 | ; | ||
| 8656 | ## token p5scope_declarator (:$*endsym = 'nofun') { <...> } | ||
| 8657 | sub p5scope_declarator__PEEK { $_[0]->_AUTOLEXpeek('p5scope_declarator:*',$retree); } | ||
| 8658 | sub p5scope_declarator { | ||
| 8659 | my $self = shift; | ||
| 8660 | my $subs; | ||
| 8661 | |||
| 8662 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8663 | |||
| 8664 | my $C = $self->cursor_xact('RULE p5scope_declarator'); | ||
| 8665 | my $S = $C->{'_pos'}; | ||
| 8666 | |||
| 8667 | my @result = do { | ||
| 8668 | my ($tag, $try); | ||
| 8669 | my @try; | ||
| 8670 | my $relex; | ||
| 8671 | my $x; | ||
| 8672 | if (my $fate = $C->{'_fate'}) { | ||
| 8673 | if ($fate->[1] eq 'p5scope_declarator') { | ||
| 8674 | $C->deb("Fate passed to p5scope_declarator: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8675 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8676 | @try = ($try); | ||
| 8677 | $x = 'ALT p5scope_declarator'; | ||
| 8678 | } | ||
| 8679 | else { | ||
| 8680 | $x = 'ALTLTM p5scope_declarator'; | ||
| 8681 | } | ||
| 8682 | } | ||
| 8683 | else { | ||
| 8684 | $x = 'ALTLTM p5scope_declarator'; | ||
| 8685 | } | ||
| 8686 | my $C = $C->cursor_xact($x); | ||
| 8687 | my $xact = $C->{_xact}; | ||
| 8688 | |||
| 8689 | my @gather = (); | ||
| 8690 | for (;;) { | ||
| 8691 | unless (@try) { | ||
| 8692 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5scope_declarator:*', $retree); | ||
| 8693 | @try = $relex->($C) or last; | ||
| 8694 | } | ||
| 8695 | $try = shift(@try) // next; | ||
| 8696 | |||
| 8697 | if (ref $try) { | ||
| 8698 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8699 | } | ||
| 8700 | |||
| 8701 | $C->deb("p5scope_declarator trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8702 | push @gather, $C->$try(@_); | ||
| 8703 | last if @gather; | ||
| 8704 | last if $xact->[-2]; # committed? | ||
| 8705 | } | ||
| 8706 | $self->_MATCHIFYr($S, "p5scope_declarator", @gather); | ||
| 8707 | }; | ||
| 8708 | @result; | ||
| 8709 | } | ||
| 8710 | ; | ||
| 8711 | ## token category:p5package_declarator { <sym> } | ||
| 8712 | sub category__S_018p5package_declarator__PEEK { $_[0]->_AUTOLEXpeek('category__S_018p5package_declarator', $retree) } | ||
| 8713 | sub category__S_018p5package_declarator { | ||
| 8714 | no warnings 'recursion'; | ||
| 8715 | my $self = shift; | ||
| 8716 | |||
| 8717 | |||
| 8718 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8719 | |||
| 8720 | my $C = $self->cursor_xact("RULE category__S_018p5package_declarator"); | ||
| 8721 | my $xact = $C->xact; | ||
| 8722 | my $S = $C->{'_pos'}; | ||
| 8723 | $C->{sym} = "p5package_declarator"; | ||
| 8724 | $self->_MATCHIFYr($S, "category__S_018p5package_declarator", $C->_EXACT("p5package_declarator")); | ||
| 8725 | } | ||
| 8726 | ; | ||
| 8727 | ## token p5package_declarator (:$*endsym = 'spacey') { <...> } | ||
| 8728 | sub p5package_declarator__PEEK { $_[0]->_AUTOLEXpeek('p5package_declarator:*',$retree); } | ||
| 8729 | sub p5package_declarator { | ||
| 8730 | my $self = shift; | ||
| 8731 | my $subs; | ||
| 8732 | |||
| 8733 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8734 | |||
| 8735 | my $C = $self->cursor_xact('RULE p5package_declarator'); | ||
| 8736 | my $S = $C->{'_pos'}; | ||
| 8737 | |||
| 8738 | my @result = do { | ||
| 8739 | my ($tag, $try); | ||
| 8740 | my @try; | ||
| 8741 | my $relex; | ||
| 8742 | my $x; | ||
| 8743 | if (my $fate = $C->{'_fate'}) { | ||
| 8744 | if ($fate->[1] eq 'p5package_declarator') { | ||
| 8745 | $C->deb("Fate passed to p5package_declarator: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8746 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8747 | @try = ($try); | ||
| 8748 | $x = 'ALT p5package_declarator'; | ||
| 8749 | } | ||
| 8750 | else { | ||
| 8751 | $x = 'ALTLTM p5package_declarator'; | ||
| 8752 | } | ||
| 8753 | } | ||
| 8754 | else { | ||
| 8755 | $x = 'ALTLTM p5package_declarator'; | ||
| 8756 | } | ||
| 8757 | my $C = $C->cursor_xact($x); | ||
| 8758 | my $xact = $C->{_xact}; | ||
| 8759 | |||
| 8760 | my @gather = (); | ||
| 8761 | for (;;) { | ||
| 8762 | unless (@try) { | ||
| 8763 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5package_declarator:*', $retree); | ||
| 8764 | @try = $relex->($C) or last; | ||
| 8765 | } | ||
| 8766 | $try = shift(@try) // next; | ||
| 8767 | |||
| 8768 | if (ref $try) { | ||
| 8769 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8770 | } | ||
| 8771 | |||
| 8772 | $C->deb("p5package_declarator trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8773 | push @gather, $C->$try(@_); | ||
| 8774 | last if @gather; | ||
| 8775 | last if $xact->[-2]; # committed? | ||
| 8776 | } | ||
| 8777 | $self->_MATCHIFYr($S, "p5package_declarator", @gather); | ||
| 8778 | }; | ||
| 8779 | @result; | ||
| 8780 | } | ||
| 8781 | ; | ||
| 8782 | ## token category:p5routine_declarator { <sym> } | ||
| 8783 | sub category__S_019p5routine_declarator__PEEK { $_[0]->_AUTOLEXpeek('category__S_019p5routine_declarator', $retree) } | ||
| 8784 | sub category__S_019p5routine_declarator { | ||
| 8785 | no warnings 'recursion'; | ||
| 8786 | my $self = shift; | ||
| 8787 | |||
| 8788 | |||
| 8789 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8790 | |||
| 8791 | my $C = $self->cursor_xact("RULE category__S_019p5routine_declarator"); | ||
| 8792 | my $xact = $C->xact; | ||
| 8793 | my $S = $C->{'_pos'}; | ||
| 8794 | $C->{sym} = "p5routine_declarator"; | ||
| 8795 | $self->_MATCHIFYr($S, "category__S_019p5routine_declarator", $C->_EXACT("p5routine_declarator")); | ||
| 8796 | } | ||
| 8797 | ; | ||
| 8798 | ## token p5routine_declarator (:$*endsym = 'nofun') { <...> } | ||
| 8799 | sub p5routine_declarator__PEEK { $_[0]->_AUTOLEXpeek('p5routine_declarator:*',$retree); } | ||
| 8800 | sub p5routine_declarator { | ||
| 8801 | my $self = shift; | ||
| 8802 | my $subs; | ||
| 8803 | |||
| 8804 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8805 | |||
| 8806 | my $C = $self->cursor_xact('RULE p5routine_declarator'); | ||
| 8807 | my $S = $C->{'_pos'}; | ||
| 8808 | |||
| 8809 | my @result = do { | ||
| 8810 | my ($tag, $try); | ||
| 8811 | my @try; | ||
| 8812 | my $relex; | ||
| 8813 | my $x; | ||
| 8814 | if (my $fate = $C->{'_fate'}) { | ||
| 8815 | if ($fate->[1] eq 'p5routine_declarator') { | ||
| 8816 | $C->deb("Fate passed to p5routine_declarator: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8817 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8818 | @try = ($try); | ||
| 8819 | $x = 'ALT p5routine_declarator'; | ||
| 8820 | } | ||
| 8821 | else { | ||
| 8822 | $x = 'ALTLTM p5routine_declarator'; | ||
| 8823 | } | ||
| 8824 | } | ||
| 8825 | else { | ||
| 8826 | $x = 'ALTLTM p5routine_declarator'; | ||
| 8827 | } | ||
| 8828 | my $C = $C->cursor_xact($x); | ||
| 8829 | my $xact = $C->{_xact}; | ||
| 8830 | |||
| 8831 | my @gather = (); | ||
| 8832 | for (;;) { | ||
| 8833 | unless (@try) { | ||
| 8834 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5routine_declarator:*', $retree); | ||
| 8835 | @try = $relex->($C) or last; | ||
| 8836 | } | ||
| 8837 | $try = shift(@try) // next; | ||
| 8838 | |||
| 8839 | if (ref $try) { | ||
| 8840 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8841 | } | ||
| 8842 | |||
| 8843 | $C->deb("p5routine_declarator trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8844 | push @gather, $C->$try(@_); | ||
| 8845 | last if @gather; | ||
| 8846 | last if $xact->[-2]; # committed? | ||
| 8847 | } | ||
| 8848 | $self->_MATCHIFYr($S, "p5routine_declarator", @gather); | ||
| 8849 | }; | ||
| 8850 | @result; | ||
| 8851 | } | ||
| 8852 | ; | ||
| 8853 | ## token category:p5regex_declarator { <sym> } | ||
| 8854 | sub category__S_020p5regex_declarator__PEEK { $_[0]->_AUTOLEXpeek('category__S_020p5regex_declarator', $retree) } | ||
| 8855 | sub category__S_020p5regex_declarator { | ||
| 8856 | no warnings 'recursion'; | ||
| 8857 | my $self = shift; | ||
| 8858 | |||
| 8859 | |||
| 8860 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8861 | |||
| 8862 | my $C = $self->cursor_xact("RULE category__S_020p5regex_declarator"); | ||
| 8863 | my $xact = $C->xact; | ||
| 8864 | my $S = $C->{'_pos'}; | ||
| 8865 | $C->{sym} = "p5regex_declarator"; | ||
| 8866 | $self->_MATCHIFYr($S, "category__S_020p5regex_declarator", $C->_EXACT("p5regex_declarator")); | ||
| 8867 | } | ||
| 8868 | ; | ||
| 8869 | ## token p5regex_declarator (:$*endsym = 'spacey') { <...> } | ||
| 8870 | sub p5regex_declarator__PEEK { $_[0]->_AUTOLEXpeek('p5regex_declarator:*',$retree); } | ||
| 8871 | sub p5regex_declarator { | ||
| 8872 | my $self = shift; | ||
| 8873 | my $subs; | ||
| 8874 | |||
| 8875 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8876 | |||
| 8877 | my $C = $self->cursor_xact('RULE p5regex_declarator'); | ||
| 8878 | my $S = $C->{'_pos'}; | ||
| 8879 | |||
| 8880 | my @result = do { | ||
| 8881 | my ($tag, $try); | ||
| 8882 | my @try; | ||
| 8883 | my $relex; | ||
| 8884 | my $x; | ||
| 8885 | if (my $fate = $C->{'_fate'}) { | ||
| 8886 | if ($fate->[1] eq 'p5regex_declarator') { | ||
| 8887 | $C->deb("Fate passed to p5regex_declarator: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8888 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8889 | @try = ($try); | ||
| 8890 | $x = 'ALT p5regex_declarator'; | ||
| 8891 | } | ||
| 8892 | else { | ||
| 8893 | $x = 'ALTLTM p5regex_declarator'; | ||
| 8894 | } | ||
| 8895 | } | ||
| 8896 | else { | ||
| 8897 | $x = 'ALTLTM p5regex_declarator'; | ||
| 8898 | } | ||
| 8899 | my $C = $C->cursor_xact($x); | ||
| 8900 | my $xact = $C->{_xact}; | ||
| 8901 | |||
| 8902 | my @gather = (); | ||
| 8903 | for (;;) { | ||
| 8904 | unless (@try) { | ||
| 8905 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5regex_declarator:*', $retree); | ||
| 8906 | @try = $relex->($C) or last; | ||
| 8907 | } | ||
| 8908 | $try = shift(@try) // next; | ||
| 8909 | |||
| 8910 | if (ref $try) { | ||
| 8911 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8912 | } | ||
| 8913 | |||
| 8914 | $C->deb("p5regex_declarator trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8915 | push @gather, $C->$try(@_); | ||
| 8916 | last if @gather; | ||
| 8917 | last if $xact->[-2]; # committed? | ||
| 8918 | } | ||
| 8919 | $self->_MATCHIFYr($S, "p5regex_declarator", @gather); | ||
| 8920 | }; | ||
| 8921 | @result; | ||
| 8922 | } | ||
| 8923 | ; | ||
| 8924 | ## token category:p5statement_prefix { <sym> } | ||
| 8925 | sub category__S_021p5statement_prefix__PEEK { $_[0]->_AUTOLEXpeek('category__S_021p5statement_prefix', $retree) } | ||
| 8926 | sub category__S_021p5statement_prefix { | ||
| 8927 | no warnings 'recursion'; | ||
| 8928 | my $self = shift; | ||
| 8929 | |||
| 8930 | |||
| 8931 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8932 | |||
| 8933 | my $C = $self->cursor_xact("RULE category__S_021p5statement_prefix"); | ||
| 8934 | my $xact = $C->xact; | ||
| 8935 | my $S = $C->{'_pos'}; | ||
| 8936 | $C->{sym} = "p5statement_prefix"; | ||
| 8937 | $self->_MATCHIFYr($S, "category__S_021p5statement_prefix", $C->_EXACT("p5statement_prefix")); | ||
| 8938 | } | ||
| 8939 | ; | ||
| 8940 | ## rule p5statement_prefix () { <...> } | ||
| 8941 | sub p5statement_prefix__PEEK { $_[0]->_AUTOLEXpeek('p5statement_prefix:*',$retree); } | ||
| 8942 | sub p5statement_prefix { | ||
| 8943 | my $self = shift; | ||
| 8944 | my $subs; | ||
| 8945 | |||
| 8946 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 8947 | |||
| 8948 | my $C = $self->cursor_xact('RULE p5statement_prefix'); | ||
| 8949 | my $S = $C->{'_pos'}; | ||
| 8950 | |||
| 8951 | my @result = do { | ||
| 8952 | my ($tag, $try); | ||
| 8953 | my @try; | ||
| 8954 | my $relex; | ||
| 8955 | my $x; | ||
| 8956 | if (my $fate = $C->{'_fate'}) { | ||
| 8957 | if ($fate->[1] eq 'p5statement_prefix') { | ||
| 8958 | $C->deb("Fate passed to p5statement_prefix: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 8959 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 8960 | @try = ($try); | ||
| 8961 | $x = 'ALT p5statement_prefix'; | ||
| 8962 | } | ||
| 8963 | else { | ||
| 8964 | $x = 'ALTLTM p5statement_prefix'; | ||
| 8965 | } | ||
| 8966 | } | ||
| 8967 | else { | ||
| 8968 | $x = 'ALTLTM p5statement_prefix'; | ||
| 8969 | } | ||
| 8970 | my $C = $C->cursor_xact($x); | ||
| 8971 | my $xact = $C->{_xact}; | ||
| 8972 | |||
| 8973 | my @gather = (); | ||
| 8974 | for (;;) { | ||
| 8975 | unless (@try) { | ||
| 8976 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5statement_prefix:*', $retree); | ||
| 8977 | @try = $relex->($C) or last; | ||
| 8978 | } | ||
| 8979 | $try = shift(@try) // next; | ||
| 8980 | |||
| 8981 | if (ref $try) { | ||
| 8982 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 8983 | } | ||
| 8984 | |||
| 8985 | $C->deb("p5statement_prefix trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 8986 | push @gather, $C->$try(@_); | ||
| 8987 | last if @gather; | ||
| 8988 | last if $xact->[-2]; # committed? | ||
| 8989 | } | ||
| 8990 | $self->_MATCHIFYr($S, "p5statement_prefix", @gather); | ||
| 8991 | }; | ||
| 8992 | @result; | ||
| 8993 | } | ||
| 8994 | ; | ||
| 8995 | ## token category:p5statement_control { <sym> } | ||
| 8996 | sub category__S_022p5statement_control__PEEK { $_[0]->_AUTOLEXpeek('category__S_022p5statement_control', $retree) } | ||
| 8997 | sub category__S_022p5statement_control { | ||
| 8998 | no warnings 'recursion'; | ||
| 8999 | my $self = shift; | ||
| 9000 | |||
| 9001 | |||
| 9002 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9003 | |||
| 9004 | my $C = $self->cursor_xact("RULE category__S_022p5statement_control"); | ||
| 9005 | my $xact = $C->xact; | ||
| 9006 | my $S = $C->{'_pos'}; | ||
| 9007 | $C->{sym} = "p5statement_control"; | ||
| 9008 | $self->_MATCHIFYr($S, "category__S_022p5statement_control", $C->_EXACT("p5statement_control")); | ||
| 9009 | } | ||
| 9010 | ; | ||
| 9011 | ## rule p5statement_control (:$*endsym = 'spacey') { <...> } | ||
| 9012 | sub p5statement_control__PEEK { $_[0]->_AUTOLEXpeek('p5statement_control:*',$retree); } | ||
| 9013 | sub p5statement_control { | ||
| 9014 | my $self = shift; | ||
| 9015 | my $subs; | ||
| 9016 | |||
| 9017 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9018 | |||
| 9019 | my $C = $self->cursor_xact('RULE p5statement_control'); | ||
| 9020 | my $S = $C->{'_pos'}; | ||
| 9021 | |||
| 9022 | my @result = do { | ||
| 9023 | my ($tag, $try); | ||
| 9024 | my @try; | ||
| 9025 | my $relex; | ||
| 9026 | my $x; | ||
| 9027 | if (my $fate = $C->{'_fate'}) { | ||
| 9028 | if ($fate->[1] eq 'p5statement_control') { | ||
| 9029 | $C->deb("Fate passed to p5statement_control: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 9030 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 9031 | @try = ($try); | ||
| 9032 | $x = 'ALT p5statement_control'; | ||
| 9033 | } | ||
| 9034 | else { | ||
| 9035 | $x = 'ALTLTM p5statement_control'; | ||
| 9036 | } | ||
| 9037 | } | ||
| 9038 | else { | ||
| 9039 | $x = 'ALTLTM p5statement_control'; | ||
| 9040 | } | ||
| 9041 | my $C = $C->cursor_xact($x); | ||
| 9042 | my $xact = $C->{_xact}; | ||
| 9043 | |||
| 9044 | my @gather = (); | ||
| 9045 | for (;;) { | ||
| 9046 | unless (@try) { | ||
| 9047 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5statement_control:*', $retree); | ||
| 9048 | @try = $relex->($C) or last; | ||
| 9049 | } | ||
| 9050 | $try = shift(@try) // next; | ||
| 9051 | |||
| 9052 | if (ref $try) { | ||
| 9053 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 9054 | } | ||
| 9055 | |||
| 9056 | $C->deb("p5statement_control trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 9057 | push @gather, $C->$try(@_); | ||
| 9058 | last if @gather; | ||
| 9059 | last if $xact->[-2]; # committed? | ||
| 9060 | } | ||
| 9061 | $self->_MATCHIFYr($S, "p5statement_control", @gather); | ||
| 9062 | }; | ||
| 9063 | @result; | ||
| 9064 | } | ||
| 9065 | ; | ||
| 9066 | ## token category:p5statement_mod_cond { <sym> } | ||
| 9067 | sub category__S_023p5statement_mod_cond__PEEK { $_[0]->_AUTOLEXpeek('category__S_023p5statement_mod_cond', $retree) } | ||
| 9068 | sub category__S_023p5statement_mod_cond { | ||
| 9069 | no warnings 'recursion'; | ||
| 9070 | my $self = shift; | ||
| 9071 | |||
| 9072 | |||
| 9073 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9074 | |||
| 9075 | my $C = $self->cursor_xact("RULE category__S_023p5statement_mod_cond"); | ||
| 9076 | my $xact = $C->xact; | ||
| 9077 | my $S = $C->{'_pos'}; | ||
| 9078 | $C->{sym} = "p5statement_mod_cond"; | ||
| 9079 | $self->_MATCHIFYr($S, "category__S_023p5statement_mod_cond", $C->_EXACT("p5statement_mod_cond")); | ||
| 9080 | } | ||
| 9081 | ; | ||
| 9082 | ## rule p5statement_mod_cond (:$*endsym = 'nofun') { <...> } | ||
| 9083 | sub p5statement_mod_cond__PEEK { $_[0]->_AUTOLEXpeek('p5statement_mod_cond:*',$retree); } | ||
| 9084 | sub p5statement_mod_cond { | ||
| 9085 | my $self = shift; | ||
| 9086 | my $subs; | ||
| 9087 | |||
| 9088 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9089 | |||
| 9090 | my $C = $self->cursor_xact('RULE p5statement_mod_cond'); | ||
| 9091 | my $S = $C->{'_pos'}; | ||
| 9092 | |||
| 9093 | my @result = do { | ||
| 9094 | my ($tag, $try); | ||
| 9095 | my @try; | ||
| 9096 | my $relex; | ||
| 9097 | my $x; | ||
| 9098 | if (my $fate = $C->{'_fate'}) { | ||
| 9099 | if ($fate->[1] eq 'p5statement_mod_cond') { | ||
| 9100 | $C->deb("Fate passed to p5statement_mod_cond: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 9101 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 9102 | @try = ($try); | ||
| 9103 | $x = 'ALT p5statement_mod_cond'; | ||
| 9104 | } | ||
| 9105 | else { | ||
| 9106 | $x = 'ALTLTM p5statement_mod_cond'; | ||
| 9107 | } | ||
| 9108 | } | ||
| 9109 | else { | ||
| 9110 | $x = 'ALTLTM p5statement_mod_cond'; | ||
| 9111 | } | ||
| 9112 | my $C = $C->cursor_xact($x); | ||
| 9113 | my $xact = $C->{_xact}; | ||
| 9114 | |||
| 9115 | my @gather = (); | ||
| 9116 | for (;;) { | ||
| 9117 | unless (@try) { | ||
| 9118 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5statement_mod_cond:*', $retree); | ||
| 9119 | @try = $relex->($C) or last; | ||
| 9120 | } | ||
| 9121 | $try = shift(@try) // next; | ||
| 9122 | |||
| 9123 | if (ref $try) { | ||
| 9124 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 9125 | } | ||
| 9126 | |||
| 9127 | $C->deb("p5statement_mod_cond trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 9128 | push @gather, $C->$try(@_); | ||
| 9129 | last if @gather; | ||
| 9130 | last if $xact->[-2]; # committed? | ||
| 9131 | } | ||
| 9132 | $self->_MATCHIFYr($S, "p5statement_mod_cond", @gather); | ||
| 9133 | }; | ||
| 9134 | @result; | ||
| 9135 | } | ||
| 9136 | ; | ||
| 9137 | ## token category:p5statement_mod_loop { <sym> } | ||
| 9138 | sub category__S_024p5statement_mod_loop__PEEK { $_[0]->_AUTOLEXpeek('category__S_024p5statement_mod_loop', $retree) } | ||
| 9139 | sub category__S_024p5statement_mod_loop { | ||
| 9140 | no warnings 'recursion'; | ||
| 9141 | my $self = shift; | ||
| 9142 | |||
| 9143 | |||
| 9144 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9145 | |||
| 9146 | my $C = $self->cursor_xact("RULE category__S_024p5statement_mod_loop"); | ||
| 9147 | my $xact = $C->xact; | ||
| 9148 | my $S = $C->{'_pos'}; | ||
| 9149 | $C->{sym} = "p5statement_mod_loop"; | ||
| 9150 | $self->_MATCHIFYr($S, "category__S_024p5statement_mod_loop", $C->_EXACT("p5statement_mod_loop")); | ||
| 9151 | } | ||
| 9152 | ; | ||
| 9153 | ## rule p5statement_mod_loop (:$*endsym = 'nofun') { <...> } | ||
| 9154 | sub p5statement_mod_loop__PEEK { $_[0]->_AUTOLEXpeek('p5statement_mod_loop:*',$retree); } | ||
| 9155 | sub p5statement_mod_loop { | ||
| 9156 | my $self = shift; | ||
| 9157 | my $subs; | ||
| 9158 | |||
| 9159 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9160 | |||
| 9161 | my $C = $self->cursor_xact('RULE p5statement_mod_loop'); | ||
| 9162 | my $S = $C->{'_pos'}; | ||
| 9163 | |||
| 9164 | my @result = do { | ||
| 9165 | my ($tag, $try); | ||
| 9166 | my @try; | ||
| 9167 | my $relex; | ||
| 9168 | my $x; | ||
| 9169 | if (my $fate = $C->{'_fate'}) { | ||
| 9170 | if ($fate->[1] eq 'p5statement_mod_loop') { | ||
| 9171 | $C->deb("Fate passed to p5statement_mod_loop: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 9172 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 9173 | @try = ($try); | ||
| 9174 | $x = 'ALT p5statement_mod_loop'; | ||
| 9175 | } | ||
| 9176 | else { | ||
| 9177 | $x = 'ALTLTM p5statement_mod_loop'; | ||
| 9178 | } | ||
| 9179 | } | ||
| 9180 | else { | ||
| 9181 | $x = 'ALTLTM p5statement_mod_loop'; | ||
| 9182 | } | ||
| 9183 | my $C = $C->cursor_xact($x); | ||
| 9184 | my $xact = $C->{_xact}; | ||
| 9185 | |||
| 9186 | my @gather = (); | ||
| 9187 | for (;;) { | ||
| 9188 | unless (@try) { | ||
| 9189 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5statement_mod_loop:*', $retree); | ||
| 9190 | @try = $relex->($C) or last; | ||
| 9191 | } | ||
| 9192 | $try = shift(@try) // next; | ||
| 9193 | |||
| 9194 | if (ref $try) { | ||
| 9195 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 9196 | } | ||
| 9197 | |||
| 9198 | $C->deb("p5statement_mod_loop trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 9199 | push @gather, $C->$try(@_); | ||
| 9200 | last if @gather; | ||
| 9201 | last if $xact->[-2]; # committed? | ||
| 9202 | } | ||
| 9203 | $self->_MATCHIFYr($S, "p5statement_mod_loop", @gather); | ||
| 9204 | }; | ||
| 9205 | @result; | ||
| 9206 | } | ||
| 9207 | ; | ||
| 9208 | ## token category:p5terminator { <sym> } | ||
| 9209 | sub category__S_025p5terminator__PEEK { $_[0]->_AUTOLEXpeek('category__S_025p5terminator', $retree) } | ||
| 9210 | sub category__S_025p5terminator { | ||
| 9211 | no warnings 'recursion'; | ||
| 9212 | my $self = shift; | ||
| 9213 | |||
| 9214 | |||
| 9215 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9216 | |||
| 9217 | my $C = $self->cursor_xact("RULE category__S_025p5terminator"); | ||
| 9218 | my $xact = $C->xact; | ||
| 9219 | my $S = $C->{'_pos'}; | ||
| 9220 | $C->{sym} = "p5terminator"; | ||
| 9221 | $self->_MATCHIFYr($S, "category__S_025p5terminator", $C->_EXACT("p5terminator")); | ||
| 9222 | } | ||
| 9223 | ; | ||
| 9224 | ## token p5terminator { <...> } | ||
| 9225 | sub p5terminator__PEEK { $_[0]->_AUTOLEXpeek('p5terminator:*',$retree); } | ||
| 9226 | sub p5terminator { | ||
| 9227 | my $self = shift; | ||
| 9228 | my $subs; | ||
| 9229 | |||
| 9230 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9231 | |||
| 9232 | my $C = $self->cursor_xact('RULE p5terminator'); | ||
| 9233 | my $S = $C->{'_pos'}; | ||
| 9234 | |||
| 9235 | my @result = do { | ||
| 9236 | my ($tag, $try); | ||
| 9237 | my @try; | ||
| 9238 | my $relex; | ||
| 9239 | my $x; | ||
| 9240 | if (my $fate = $C->{'_fate'}) { | ||
| 9241 | if ($fate->[1] eq 'p5terminator') { | ||
| 9242 | $C->deb("Fate passed to p5terminator: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 9243 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 9244 | @try = ($try); | ||
| 9245 | $x = 'ALT p5terminator'; | ||
| 9246 | } | ||
| 9247 | else { | ||
| 9248 | $x = 'ALTLTM p5terminator'; | ||
| 9249 | } | ||
| 9250 | } | ||
| 9251 | else { | ||
| 9252 | $x = 'ALTLTM p5terminator'; | ||
| 9253 | } | ||
| 9254 | my $C = $C->cursor_xact($x); | ||
| 9255 | my $xact = $C->{_xact}; | ||
| 9256 | |||
| 9257 | my @gather = (); | ||
| 9258 | for (;;) { | ||
| 9259 | unless (@try) { | ||
| 9260 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5terminator:*', $retree); | ||
| 9261 | @try = $relex->($C) or last; | ||
| 9262 | } | ||
| 9263 | $try = shift(@try) // next; | ||
| 9264 | |||
| 9265 | if (ref $try) { | ||
| 9266 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 9267 | } | ||
| 9268 | |||
| 9269 | $C->deb("p5terminator trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 9270 | push @gather, $C->$try(@_); | ||
| 9271 | last if @gather; | ||
| 9272 | last if $xact->[-2]; # committed? | ||
| 9273 | } | ||
| 9274 | $self->_MATCHIFYr($S, "p5terminator", @gather); | ||
| 9275 | }; | ||
| 9276 | @result; | ||
| 9277 | } | ||
| 9278 | ; | ||
| 9279 | ## token unspacey { <.unsp>? } | ||
| 9280 | sub unspacey__PEEK { $_[0]->_AUTOLEXpeek('unspacey', $retree) } | ||
| 9281 | sub unspacey { | ||
| 9282 | no warnings 'recursion'; | ||
| 9283 | my $self = shift; | ||
| 9284 | |||
| 9285 | |||
| 9286 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9287 | |||
| 9288 | my $C = $self->cursor_xact("RULE unspacey"); | ||
| 9289 | my $xact = $C->xact; | ||
| 9290 | my $S = $C->{'_pos'}; | ||
| 9291 | $self->_MATCHIFYr($S, "unspacey", $C->_OPTr(sub { | ||
| 9292 | my $C=shift; | ||
| 9293 | if (my ($C) = ($C->unsp)) { ($C) } else { () } | ||
| 9294 | })); | ||
| 9295 | } | ||
| 9296 | ; | ||
| 9297 | ## token endid { <?before <-[ \- \' \w ]> > } | ||
| 9298 | sub endid__PEEK { $_[0]->_AUTOLEXpeek('endid', $retree) } | ||
| 9299 | sub endid { | ||
| 9300 | no warnings 'recursion'; | ||
| 9301 | my $self = shift; | ||
| 9302 | |||
| 9303 | |||
| 9304 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9305 | |||
| 9306 | my $C = $self->cursor_xact("RULE endid"); | ||
| 9307 | my $xact = $C->xact; | ||
| 9308 | my $S = $C->{'_pos'}; | ||
| 9309 | $self->_MATCHIFYr($S, "endid", $C->before(sub { | ||
| 9310 | my $C=shift; | ||
| 9311 | if (my ($C) = ($C->before(sub { | ||
| 9312 | my $C=shift; | ||
| 9313 | $C->_PATTERN(qr/\G[^\-\'\w]/) | ||
| 9314 | }))) { ($C) } else { () } | ||
| 9315 | })); | ||
| 9316 | } | ||
| 9317 | ; | ||
| 9318 | ## token spacey { <?before <[ \s \# ]> > } | ||
| 9319 | sub spacey__PEEK { $_[0]->_AUTOLEXpeek('spacey', $retree) } | ||
| 9320 | sub spacey { | ||
| 9321 | no warnings 'recursion'; | ||
| 9322 | my $self = shift; | ||
| 9323 | |||
| 9324 | |||
| 9325 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9326 | |||
| 9327 | my $C = $self->cursor_xact("RULE spacey"); | ||
| 9328 | my $xact = $C->xact; | ||
| 9329 | my $S = $C->{'_pos'}; | ||
| 9330 | $self->_MATCHIFYr($S, "spacey", $C->before(sub { | ||
| 9331 | my $C=shift; | ||
| 9332 | if (my ($C) = ($C->before(sub { | ||
| 9333 | my $C=shift; | ||
| 9334 | $C->_PATTERN(qr/\G[\s\#]/) | ||
| 9335 | }))) { ($C) } else { () } | ||
| 9336 | })); | ||
| 9337 | } | ||
| 9338 | ; | ||
| 9339 | ## token nofun { <!before '(' | '.(' | '\\' | '\'' | '-' | "'" | \w > } | ||
| 9340 | sub nofun__PEEK { $_[0]->_AUTOLEXpeek('nofun', $retree) } | ||
| 9341 | sub nofun { | ||
| 9342 | no warnings 'recursion'; | ||
| 9343 | my $self = shift; | ||
| 9344 | |||
| 9345 | |||
| 9346 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9347 | |||
| 9348 | my $C = $self->cursor_xact("RULE nofun"); | ||
| 9349 | my $xact = $C->xact; | ||
| 9350 | my $S = $C->{'_pos'}; | ||
| 9351 | $self->_MATCHIFYr($S, "nofun", $C->_NOTBEFORE(sub { | ||
| 9352 | my $C=shift; | ||
| 9353 | if (my ($C) = ($C->before(sub { | ||
| 9354 | my $C=shift; | ||
| 9355 | if (my ($C) = (do { | ||
| 9356 | do { | ||
| 9357 | my ($tag, $try); | ||
| 9358 | my @try; | ||
| 9359 | my $relex; | ||
| 9360 | |||
| 9361 | my $fate; | ||
| 9362 | my $x; | ||
| 9363 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'nofun_0') { | ||
| 9364 | $C->deb("Fate passed to nofun_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 9365 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 9366 | @try = ($try); | ||
| 9367 | $x = 'ALT nofun_0'; # some outer ltm is controlling us | ||
| 9368 | } | ||
| 9369 | else { | ||
| 9370 | $x = 'ALTLTM nofun_0'; # we are top level ltm | ||
| 9371 | } | ||
| 9372 | my $C = $C->cursor_xact($x); | ||
| 9373 | my $xact = $C->{_xact}; | ||
| 9374 | |||
| 9375 | my @gather = (); | ||
| 9376 | for (;;) { | ||
| 9377 | unless (@try) { | ||
| 9378 | $relex //= $C->cursor_fate('STD::STD::P5', 'nofun_0', $retree); | ||
| 9379 | @try = $relex->($C) or last; | ||
| 9380 | } | ||
| 9381 | $try = shift(@try) // next; | ||
| 9382 | |||
| 9383 | if (ref $try) { | ||
| 9384 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 9385 | } | ||
| 9386 | |||
| 9387 | $C->deb("nofun_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 9388 | push @gather, (( | ||
| 9389 | sub { | ||
| 9390 | my $C=shift; | ||
| 9391 | $C->_EXACT("\(") | ||
| 9392 | }, | ||
| 9393 | sub { | ||
| 9394 | my $C=shift; | ||
| 9395 | $C->_EXACT("\.\(") | ||
| 9396 | }, | ||
| 9397 | sub { | ||
| 9398 | my $C=shift; | ||
| 9399 | $C->_EXACT("\\") | ||
| 9400 | }, | ||
| 9401 | sub { | ||
| 9402 | my $C=shift; | ||
| 9403 | $C->_EXACT("\'") | ||
| 9404 | }, | ||
| 9405 | sub { | ||
| 9406 | my $C=shift; | ||
| 9407 | $C->_EXACT("\-") | ||
| 9408 | }, | ||
| 9409 | sub { | ||
| 9410 | my $C=shift; | ||
| 9411 | $C->_EXACT("\'") | ||
| 9412 | }, | ||
| 9413 | sub { | ||
| 9414 | my $C=shift; | ||
| 9415 | $C->_PATTERN(qr/\G\w/) | ||
| 9416 | } | ||
| 9417 | )[$try])->($C); | ||
| 9418 | last if @gather; | ||
| 9419 | last if $xact->[-2]; # committed? | ||
| 9420 | } | ||
| 9421 | @gather; | ||
| 9422 | }; | ||
| 9423 | |||
| 9424 | })) { ($C) } else { () } | ||
| 9425 | }))) { ($C) } else { () } | ||
| 9426 | })); | ||
| 9427 | } | ||
| 9428 | ; | ||
| 9429 | ## token ws { | ||
| 9430 | sub ws__PEEK { $_[0]->_AUTOLEXpeek('ws', $retree) } | ||
| 9431 | sub ws { | ||
| 9432 | no warnings 'recursion'; | ||
| 9433 | my $self = shift; | ||
| 9434 | |||
| 9435 | local @::STUB = @::STUB = return $self if exists $::MEMOS[$self->{'_pos'}]->{'ws'};my $startpos = $self->{'_pos'}; | ||
| 9436 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9437 | |||
| 9438 | my $C = $self->cursor_xact("RULE ws"); | ||
| 9439 | my $xact = $C->xact; | ||
| 9440 | my $S = $C->{'_pos'}; | ||
| 9441 | $self->_MATCHIFYr($S, "ws", do { my $C = $C->cursor_xact('ALT ||'); | ||
| 9442 | my $xact = $C->xact; | ||
| 9443 | my @gather; | ||
| 9444 | do { | ||
| 9445 | push @gather, do { | ||
| 9446 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 9447 | my $C=shift; | ||
| 9448 | do { | ||
| 9449 | my ($tag, $try); | ||
| 9450 | my @try; | ||
| 9451 | my $relex; | ||
| 9452 | |||
| 9453 | my $fate; | ||
| 9454 | my $x; | ||
| 9455 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'ws_0') { | ||
| 9456 | $C->deb("Fate passed to ws_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 9457 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 9458 | @try = ($try); | ||
| 9459 | $x = 'ALT ws_0'; # some outer ltm is controlling us | ||
| 9460 | } | ||
| 9461 | else { | ||
| 9462 | $x = 'ALTLTM ws_0'; # we are top level ltm | ||
| 9463 | } | ||
| 9464 | my $C = $C->cursor_xact($x); | ||
| 9465 | my $xact = $C->{_xact}; | ||
| 9466 | |||
| 9467 | my @gather = (); | ||
| 9468 | for (;;) { | ||
| 9469 | unless (@try) { | ||
| 9470 | $relex //= $C->cursor_fate('STD::STD::P5', 'ws_0', $retree); | ||
| 9471 | @try = $relex->($C) or last; | ||
| 9472 | } | ||
| 9473 | $try = shift(@try) // next; | ||
| 9474 | |||
| 9475 | if (ref $try) { | ||
| 9476 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 9477 | } | ||
| 9478 | |||
| 9479 | $C->deb("ws_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 9480 | push @gather, (( | ||
| 9481 | sub { | ||
| 9482 | my $C=shift; | ||
| 9483 | if (($C) = ($C->_PATTERN(qr/\G[\x20\t\r]++/)) | ||
| 9484 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 9485 | my $C=shift; | ||
| 9486 | $C->_PATTERN(qr/\G[\#\s\\]/) | ||
| 9487 | }))) { | ||
| 9488 | scalar(do { | ||
| 9489 | $::MEMOS[$C->{'_pos'}]->{'ws'} = $startpos}, $C) | ||
| 9490 | } else { () } | ||
| 9491 | }, | ||
| 9492 | sub { | ||
| 9493 | my $C=shift; | ||
| 9494 | if (($C) = ($C->before(sub { | ||
| 9495 | my $C=shift; | ||
| 9496 | if (my ($C) = ($C->before(sub { | ||
| 9497 | my $C=shift; | ||
| 9498 | $C->_PATTERN(qr/\G\w/) | ||
| 9499 | }))) { ($C) } else { () } | ||
| 9500 | })) | ||
| 9501 | and ($C) = ($C->before(sub { | ||
| 9502 | my $C=shift; | ||
| 9503 | if (my ($C) = ($C->after(sub { | ||
| 9504 | my $C=shift; | ||
| 9505 | $C->_PATTERN(qr/\G(?<=\w)/) | ||
| 9506 | }))) { ($C) } else { () } | ||
| 9507 | })) | ||
| 9508 | and ($C) = ($C->_COMMITRULE()) | ||
| 9509 | and ($C) = (scalar(do { | ||
| 9510 | delete $::MEMOS[$startpos]->{'ws'}}, $C)) | ||
| 9511 | and ($C) = ($C->panic("Whitespace is required between alphanumeric tokens"))) { | ||
| 9512 | $C | ||
| 9513 | } else { () } | ||
| 9514 | } | ||
| 9515 | )[$try])->($C); | ||
| 9516 | last if @gather; | ||
| 9517 | last if $xact->[-2]; # committed? | ||
| 9518 | } | ||
| 9519 | @gather; | ||
| 9520 | }; | ||
| 9521 | }))) { ($C) } else { () } | ||
| 9522 | |||
| 9523 | } | ||
| 9524 | } | ||
| 9525 | or $xact->[-2] or | ||
| 9526 | do { | ||
| 9527 | push @gather, do { | ||
| 9528 | if (my ($C) = ($C->_STARr(sub { | ||
| 9529 | my $C=shift; | ||
| 9530 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 9531 | my $C=shift; | ||
| 9532 | do { | ||
| 9533 | my ($tag, $try); | ||
| 9534 | my @try; | ||
| 9535 | my $relex; | ||
| 9536 | |||
| 9537 | my $fate; | ||
| 9538 | my $x; | ||
| 9539 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'ws_1') { | ||
| 9540 | $C->deb("Fate passed to ws_1: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 9541 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 9542 | @try = ($try); | ||
| 9543 | $x = 'ALT ws_1'; # some outer ltm is controlling us | ||
| 9544 | } | ||
| 9545 | else { | ||
| 9546 | $x = 'ALTLTM ws_1'; # we are top level ltm | ||
| 9547 | } | ||
| 9548 | my $C = $C->cursor_xact($x); | ||
| 9549 | my $xact = $C->{_xact}; | ||
| 9550 | |||
| 9551 | my @gather = (); | ||
| 9552 | for (;;) { | ||
| 9553 | unless (@try) { | ||
| 9554 | $relex //= $C->cursor_fate('STD::STD::P5', 'ws_1', $retree); | ||
| 9555 | @try = $relex->($C) or last; | ||
| 9556 | } | ||
| 9557 | $try = shift(@try) // next; | ||
| 9558 | |||
| 9559 | if (ref $try) { | ||
| 9560 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 9561 | } | ||
| 9562 | |||
| 9563 | $C->deb("ws_1 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 9564 | push @gather, (( | ||
| 9565 | sub { | ||
| 9566 | my $C=shift; | ||
| 9567 | if (my ($C) = ($C->unsp)) { ($C) } else { () } | ||
| 9568 | }, | ||
| 9569 | sub { | ||
| 9570 | my $C=shift; | ||
| 9571 | if (($C) = ($C->vws) | ||
| 9572 | and ($C) = ($C->heredoc)) { | ||
| 9573 | $C | ||
| 9574 | } else { () } | ||
| 9575 | }, | ||
| 9576 | sub { | ||
| 9577 | my $C=shift; | ||
| 9578 | if (my ($C) = ($C->unv)) { ($C) } else { () } | ||
| 9579 | }, | ||
| 9580 | sub { | ||
| 9581 | my $C=shift; | ||
| 9582 | if (my ($C) = ($C->_PATTERN(qr/\G\z/))) { | ||
| 9583 | scalar(do { | ||
| 9584 | $C->moreinput }, $C) | ||
| 9585 | } else { () } | ||
| 9586 | } | ||
| 9587 | )[$try])->($C); | ||
| 9588 | last if @gather; | ||
| 9589 | last if $xact->[-2]; # committed? | ||
| 9590 | } | ||
| 9591 | @gather; | ||
| 9592 | }; | ||
| 9593 | }))) { ($C) } else { () } | ||
| 9594 | }))) { | ||
| 9595 | scalar(do { | ||
| 9596 | { | ||
| 9597 | if (($C->{'_pos'} == $startpos)) { | ||
| 9598 | delete $::MEMOS[$C->{'_pos'}]->{'ws'}} | ||
| 9599 | else { | ||
| 9600 | delete $::MEMOS[$C->{'_pos'}]->{'ws'}; | ||
| 9601 | $::MEMOS[$C->{'_pos'}]->{'endstmt'} = $::MEMOS[$startpos]->{'endstmt'} | ||
| 9602 | if exists $::MEMOS[$startpos]->{'endstmt'}; | ||
| 9603 | }}}, $C) | ||
| 9604 | } else { () } | ||
| 9605 | |||
| 9606 | } | ||
| 9607 | }; | ||
| 9608 | @gather; | ||
| 9609 | }); | ||
| 9610 | } | ||
| 9611 | ; | ||
| 9612 | ## token unsp { | ||
| 9613 | sub unsp__PEEK { $_[0]->_AUTOLEXpeek('unsp', $retree) } | ||
| 9614 | sub unsp { | ||
| 9615 | no warnings 'recursion'; | ||
| 9616 | my $self = shift; | ||
| 9617 | |||
| 9618 | |||
| 9619 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9620 | |||
| 9621 | my $C = $self->cursor_xact("RULE unsp"); | ||
| 9622 | my $xact = $C->xact; | ||
| 9623 | my $S = $C->{'_pos'}; | ||
| 9624 | $self->_MATCHIFYr($S, "unsp", $C->_NOTBEFORE(sub { | ||
| 9625 | my $C=shift; | ||
| 9626 | $C | ||
| 9627 | })); | ||
| 9628 | } | ||
| 9629 | ; | ||
| 9630 | ## token vws { | ||
| 9631 | sub vws__PEEK { $_[0]->_AUTOLEXpeek('vws', $retree) } | ||
| 9632 | sub vws { | ||
| 9633 | no warnings 'recursion'; | ||
| 9634 | my $self = shift; | ||
| 9635 | |||
| 9636 | |||
| 9637 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9638 | |||
| 9639 | my $C = $self->cursor_xact("RULE vws"); | ||
| 9640 | my $xact = $C->xact; | ||
| 9641 | my $S = $C->{'_pos'}; | ||
| 9642 | $self->_MATCHIFYr($S, "vws", do { | ||
| 9643 | if (my ($C) = ($C->_PATTERN(qr/\G\n/))) { | ||
| 9644 | $C->_OPTr(sub { | ||
| 9645 | my $C=shift; | ||
| 9646 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 9647 | my $C=shift; | ||
| 9648 | if (my ($C) = ($C->_EXACT("\#DEBUG\ \-1"))) { | ||
| 9649 | scalar(do { | ||
| 9650 | say "DEBUG"; | ||
| 9651 | $STD::DEBUG = $::DEBUG = -1; | ||
| 9652 | }, $C) | ||
| 9653 | } else { () } | ||
| 9654 | }))) { ($C) } else { () } | ||
| 9655 | }) | ||
| 9656 | } else { () } | ||
| 9657 | |||
| 9658 | }); | ||
| 9659 | } | ||
| 9660 | ; | ||
| 9661 | ## method moreinput () | ||
| 9662 | sub moreinput { | ||
| 9663 | no warnings 'recursion'; | ||
| 9664 | my $self = shift; | ||
| 9665 | $::moreinput->() if $::moreinput}; | ||
| 9666 | ## token unv { | ||
| 9667 | sub unv__PEEK { $_[0]->_AUTOLEXpeek('unv', $retree) } | ||
| 9668 | sub unv { | ||
| 9669 | no warnings 'recursion'; | ||
| 9670 | my $self = shift; | ||
| 9671 | |||
| 9672 | |||
| 9673 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9674 | |||
| 9675 | my $C = $self->cursor_xact("RULE unv"); | ||
| 9676 | my $xact = $C->xact; | ||
| 9677 | my $S = $C->{'_pos'}; | ||
| 9678 | $self->_MATCHIFYr($S, "unv", $C->_BRACKETr(sub { | ||
| 9679 | my $C=shift; | ||
| 9680 | do { | ||
| 9681 | my ($tag, $try); | ||
| 9682 | my @try; | ||
| 9683 | my $relex; | ||
| 9684 | |||
| 9685 | my $fate; | ||
| 9686 | my $x; | ||
| 9687 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'unv_0') { | ||
| 9688 | $C->deb("Fate passed to unv_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 9689 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 9690 | @try = ($try); | ||
| 9691 | $x = 'ALT unv_0'; # some outer ltm is controlling us | ||
| 9692 | } | ||
| 9693 | else { | ||
| 9694 | $x = 'ALTLTM unv_0'; # we are top level ltm | ||
| 9695 | } | ||
| 9696 | my $C = $C->cursor_xact($x); | ||
| 9697 | my $xact = $C->{_xact}; | ||
| 9698 | |||
| 9699 | my @gather = (); | ||
| 9700 | for (;;) { | ||
| 9701 | unless (@try) { | ||
| 9702 | $relex //= $C->cursor_fate('STD::STD::P5', 'unv_0', $retree); | ||
| 9703 | @try = $relex->($C) or last; | ||
| 9704 | } | ||
| 9705 | $try = shift(@try) // next; | ||
| 9706 | |||
| 9707 | if (ref $try) { | ||
| 9708 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 9709 | } | ||
| 9710 | |||
| 9711 | $C->deb("unv_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 9712 | push @gather, (( | ||
| 9713 | sub { | ||
| 9714 | my $C=shift; | ||
| 9715 | $C->_PATTERN(qr/\G[\x20\t\r]++/) | ||
| 9716 | }, | ||
| 9717 | sub { | ||
| 9718 | my $C=shift; | ||
| 9719 | if (($C) = ($C->before(sub { | ||
| 9720 | my $C=shift; | ||
| 9721 | if (my ($C) = ($C->before(sub { | ||
| 9722 | my $C=shift; | ||
| 9723 | do { | ||
| 9724 | my $C = $C; | ||
| 9725 | if (($C) = ($C->_PATTERN(qr/\G[\x20\t\r]*+\=/)) | ||
| 9726 | and ($C) = ($C->_BRACKETr(sub { | ||
| 9727 | my $C=shift; | ||
| 9728 | do { | ||
| 9729 | my ($tag, $try); | ||
| 9730 | my @try; | ||
| 9731 | my $relex; | ||
| 9732 | |||
| 9733 | my $fate; | ||
| 9734 | my $x; | ||
| 9735 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'unv_1') { | ||
| 9736 | $C->deb("Fate passed to unv_1: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 9737 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 9738 | @try = ($try); | ||
| 9739 | $x = 'ALT unv_1'; # some outer ltm is controlling us | ||
| 9740 | } | ||
| 9741 | else { | ||
| 9742 | $x = 'ALTLTM unv_1'; # we are top level ltm | ||
| 9743 | } | ||
| 9744 | my $C = $C->cursor_xact($x); | ||
| 9745 | my $xact = $C->{_xact}; | ||
| 9746 | |||
| 9747 | my @gather = (); | ||
| 9748 | for (;;) { | ||
| 9749 | unless (@try) { | ||
| 9750 | $relex //= $C->cursor_fate('STD::STD::P5', 'unv_1', $retree); | ||
| 9751 | @try = $relex->($C) or last; | ||
| 9752 | } | ||
| 9753 | $try = shift(@try) // next; | ||
| 9754 | |||
| 9755 | if (ref $try) { | ||
| 9756 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 9757 | } | ||
| 9758 | |||
| 9759 | $C->deb("unv_1 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 9760 | push @gather, (( | ||
| 9761 | sub { | ||
| 9762 | my $C=shift; | ||
| 9763 | $C->_PATTERN(qr/\G\w/) | ||
| 9764 | }, | ||
| 9765 | sub { | ||
| 9766 | my $C=shift; | ||
| 9767 | $C->_EXACT("\\") | ||
| 9768 | } | ||
| 9769 | )[$try])->($C); | ||
| 9770 | last if @gather; | ||
| 9771 | last if $xact->[-2]; # committed? | ||
| 9772 | } | ||
| 9773 | @gather; | ||
| 9774 | }; | ||
| 9775 | }))) { | ||
| 9776 | $C | ||
| 9777 | } else { () } | ||
| 9778 | }; | ||
| 9779 | }))) { ($C) } else { () } | ||
| 9780 | })) | ||
| 9781 | and ($C) = ($C->_PATTERN(qr/\G(?m:^)/)) | ||
| 9782 | and ($C) = ($C->pod_comment)) { | ||
| 9783 | $C | ||
| 9784 | } else { () } | ||
| 9785 | }, | ||
| 9786 | sub { | ||
| 9787 | my $C=shift; | ||
| 9788 | if (my ($C) = ($C->_PATTERN(qr/\G[\x20\t\r]*+/))) { | ||
| 9789 | $C->_SUBSUMEr(['comment','p5comment'], sub { | ||
| 9790 | my $C = shift; | ||
| 9791 | $C->p5comment | ||
| 9792 | }) | ||
| 9793 | } else { () } | ||
| 9794 | } | ||
| 9795 | )[$try])->($C); | ||
| 9796 | last if @gather; | ||
| 9797 | last if $xact->[-2]; # committed? | ||
| 9798 | } | ||
| 9799 | @gather; | ||
| 9800 | }; | ||
| 9801 | })); | ||
| 9802 | } | ||
| 9803 | ; | ||
| 9804 | ## token p5comment:sym<#> { | ||
| 9805 | sub p5comment__S_026Sharp__PEEK { $_[0]->_AUTOLEXpeek('p5comment__S_026Sharp', $retree) } | ||
| 9806 | sub p5comment__S_026Sharp { | ||
| 9807 | no warnings 'recursion'; | ||
| 9808 | my $self = shift; | ||
| 9809 | |||
| 9810 | |||
| 9811 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9812 | |||
| 9813 | my $C = $self->cursor_xact("RULE p5comment__S_026Sharp"); | ||
| 9814 | my $xact = $C->xact; | ||
| 9815 | my $S = $C->{'_pos'}; | ||
| 9816 | $C->{sym} = "\#"; | ||
| 9817 | $self->_MATCHIFYr($S, "p5comment__S_026Sharp", do { | ||
| 9818 | my $C = $C; | ||
| 9819 | if (($C) = ($C->_EXACT("\#")) | ||
| 9820 | and ($C) = (scalar(do { | ||
| 9821 | }, $C))) { | ||
| 9822 | $C->_STARr(sub { | ||
| 9823 | my $C=shift; | ||
| 9824 | $C->_NOTCHAR( sub { my $C=shift; | ||
| 9825 | $C->_EXACT("\n") | ||
| 9826 | }) | ||
| 9827 | }) | ||
| 9828 | } else { () } | ||
| 9829 | |||
| 9830 | }); | ||
| 9831 | } | ||
| 9832 | ; | ||
| 9833 | ## token ident { | ||
| 9834 | sub ident__PEEK { $_[0]->_AUTOLEXpeek('ident', $retree) } | ||
| 9835 | sub ident { | ||
| 9836 | no warnings 'recursion'; | ||
| 9837 | my $self = shift; | ||
| 9838 | |||
| 9839 | |||
| 9840 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9841 | |||
| 9842 | my $C = $self->cursor_xact("RULE ident"); | ||
| 9843 | my $xact = $C->xact; | ||
| 9844 | my $S = $C->{'_pos'}; | ||
| 9845 | $self->_MATCHIFYr($S, "ident", $C->_PATTERN(qr/\G[_[:alpha:]]\w*+/)); | ||
| 9846 | } | ||
| 9847 | ; | ||
| 9848 | ## token identifier { | ||
| 9849 | sub identifier__PEEK { $_[0]->_AUTOLEXpeek('identifier', $retree) } | ||
| 9850 | sub identifier { | ||
| 9851 | no warnings 'recursion'; | ||
| 9852 | my $self = shift; | ||
| 9853 | |||
| 9854 | |||
| 9855 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9856 | |||
| 9857 | my $C = $self->cursor_xact("RULE identifier"); | ||
| 9858 | my $xact = $C->xact; | ||
| 9859 | my $S = $C->{'_pos'}; | ||
| 9860 | $self->_MATCHIFYr($S, "identifier", $C->_PATTERN(qr/\G[_[:alpha:]]\w*+/)); | ||
| 9861 | } | ||
| 9862 | ; | ||
| 9863 | ## token pod_comment { | ||
| 9864 | sub pod_comment__PEEK { $_[0]->_AUTOLEXpeek('pod_comment', $retree) } | ||
| 9865 | sub pod_comment { | ||
| 9866 | no warnings 'recursion'; | ||
| 9867 | my $self = shift; | ||
| 9868 | |||
| 9869 | |||
| 9870 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 9871 | |||
| 9872 | my $C = $self->cursor_xact("RULE pod_comment"); | ||
| 9873 | my $xact = $C->xact; | ||
| 9874 | my $S = $C->{'_pos'}; | ||
| 9875 | $self->_MATCHIFYr($S, "pod_comment", do { | ||
| 9876 | my $C = $C; | ||
| 9877 | if (($C) = ($C->_PATTERN(qr/\G(?m:^)[\x20\t\r]*+\=/)) | ||
| 9878 | and ($C) = ($C->_OPTr(sub { | ||
| 9879 | my $C=shift; | ||
| 9880 | if (my ($C) = ($C->unsp)) { ($C) } else { () } | ||
| 9881 | })) | ||
| 9882 | and ($C) = ($C->_BRACKETr(sub { | ||
| 9883 | my $C=shift; | ||
| 9884 | do { | ||
| 9885 | my ($tag, $try); | ||
| 9886 | my @try; | ||
| 9887 | my $relex; | ||
| 9888 | |||
| 9889 | my $fate; | ||
| 9890 | my $x; | ||
| 9891 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'pod_comment_0') { | ||
| 9892 | $C->deb("Fate passed to pod_comment_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 9893 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 9894 | @try = ($try); | ||
| 9895 | $x = 'ALT pod_comment_0'; # some outer ltm is controlling us | ||
| 9896 | } | ||
| 9897 | else { | ||
| 9898 | $x = 'ALTLTM pod_comment_0'; # we are top level ltm | ||
| 9899 | } | ||
| 9900 | my $C = $C->cursor_xact($x); | ||
| 9901 | my $xact = $C->{_xact}; | ||
| 9902 | |||
| 9903 | my @gather = (); | ||
| 9904 | for (;;) { | ||
| 9905 | unless (@try) { | ||
| 9906 | $relex //= $C->cursor_fate('STD::STD::P5', 'pod_comment_0', $retree); | ||
| 9907 | @try = $relex->($C) or last; | ||
| 9908 | } | ||
| 9909 | $try = shift(@try) // next; | ||
| 9910 | |||
| 9911 | if (ref $try) { | ||
| 9912 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 9913 | } | ||
| 9914 | |||
| 9915 | $C->deb("pod_comment_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 9916 | push @gather, (( | ||
| 9917 | sub { | ||
| 9918 | my $C=shift; | ||
| 9919 | if (($C) = ($C->_PATTERN(qr/\Gbegin[\x20\t\r]++/)) | ||
| 9920 | and ($C) = ($C->_SUBSUMEr(['identifier'], sub { | ||
| 9921 | my $C = shift; | ||
| 9922 | $C->identifier | ||
| 9923 | })) | ||
| 9924 | and ($C) = ($C->_COMMITLTM()) | ||
| 9925 | and ($C) = ($C->_BRACKETr(sub { | ||
| 9926 | my $C=shift; | ||
| 9927 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 9928 | my $xact = $C->xact; | ||
| 9929 | my @gather; | ||
| 9930 | do { | ||
| 9931 | push @gather, do { | ||
| 9932 | if (my ($C) = (STD::LazyMap::lazymap(sub { | ||
| 9933 | my $C=shift; | ||
| 9934 | if (($C) = ($C->_EXACT("\n")) | ||
| 9935 | and ($C) = ($C->_PATTERN(qr/\G[\x20\t\r]*+\=/)) | ||
| 9936 | and ($C) = ($C->_OPTr(sub { | ||
| 9937 | my $C=shift; | ||
| 9938 | if (my ($C) = ($C->unsp)) { ($C) } else { () } | ||
| 9939 | })) | ||
| 9940 | and ($C) = ($C->_PATTERN(qr/\Gend[\x20\t\r]++/)) | ||
| 9941 | and ($C) = ($C->_BACKREFn('identifier')) | ||
| 9942 | and ($C) = ($C->_PATTERN(qr/\G\b/))) { | ||
| 9943 | $C->_STARr(sub { | ||
| 9944 | my $C=shift; | ||
| 9945 | $C->_NOTCHAR( sub { my $C=shift; | ||
| 9946 | $C->_EXACT("\n") | ||
| 9947 | }) | ||
| 9948 | }) | ||
| 9949 | } else { () } | ||
| 9950 | }, | ||
| 9951 | $C->_SCANf()))) { ($C) } else { () } | ||
| 9952 | |||
| 9953 | } | ||
| 9954 | } | ||
| 9955 | or $xact->[-2] or | ||
| 9956 | do { | ||
| 9957 | push @gather, do { | ||
| 9958 | if (my ($C) = ($C->before(sub { | ||
| 9959 | my $C=shift; | ||
| 9960 | (($C) x !!do { | ||
| 9961 | my $M = $C; | ||
| 9962 | $M->{'identifier'}->Str eq 'END'}) | ||
| 9963 | }))) { | ||
| 9964 | $C->_STARr(sub { | ||
| 9965 | my $C=shift; | ||
| 9966 | $C->cursor_incr() | ||
| 9967 | }) | ||
| 9968 | } else { () } | ||
| 9969 | |||
| 9970 | } | ||
| 9971 | } | ||
| 9972 | or $xact->[-2] or | ||
| 9973 | do { | ||
| 9974 | push @gather, scalar(do { | ||
| 9975 | my $M = $C; | ||
| 9976 | my $id = $M->{'identifier'}->Str; | ||
| 9977 | $self->panic("=begin $id without matching =end $id"); | ||
| 9978 | }, $C) | ||
| 9979 | }; | ||
| 9980 | @gather; | ||
| 9981 | } | ||
| 9982 | }))) { | ||
| 9983 | $C | ||
| 9984 | } else { () } | ||
| 9985 | }, | ||
| 9986 | sub { | ||
| 9987 | my $C=shift; | ||
| 9988 | if (($C) = ($C->_PATTERN(qr/\Gbegin\b/)) | ||
| 9989 | and ($C) = ($C->_COMMITLTM()) | ||
| 9990 | and ($C) = ($C->_PATTERN(qr/\G[\x20\t\r]*+/)) | ||
| 9991 | and ($C) = ($C->_BRACKETr(sub { | ||
| 9992 | my $C=shift; | ||
| 9993 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 9994 | my $xact = $C->xact; | ||
| 9995 | my @gather; | ||
| 9996 | do { | ||
| 9997 | push @gather, $C->_PATTERN(qr/\G(?m:$)/) | ||
| 9998 | } | ||
| 9999 | or $xact->[-2] or | ||
| 10000 | do { | ||
| 10001 | push @gather, $C->_EXACT("\#") | ||
| 10002 | } | ||
| 10003 | or $xact->[-2] or | ||
| 10004 | do { | ||
| 10005 | push @gather, do { | ||
| 10006 | if (my ($C) = ($C->panic("Unrecognized token after =begin"))) { ($C) } else { () } | ||
| 10007 | |||
| 10008 | } | ||
| 10009 | }; | ||
| 10010 | @gather; | ||
| 10011 | } | ||
| 10012 | })) | ||
| 10013 | and ($C) = ($C->_BRACKETr(sub { | ||
| 10014 | my $C=shift; | ||
| 10015 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 10016 | my $xact = $C->xact; | ||
| 10017 | my @gather; | ||
| 10018 | do { | ||
| 10019 | push @gather, do { | ||
| 10020 | if (my ($C) = (STD::LazyMap::lazymap(sub { | ||
| 10021 | my $C=shift; | ||
| 10022 | if (($C) = ($C->_EXACT("\n")) | ||
| 10023 | and ($C) = ($C->_PATTERN(qr/\G[\x20\t\r]*+\=/)) | ||
| 10024 | and ($C) = ($C->_OPTr(sub { | ||
| 10025 | my $C=shift; | ||
| 10026 | if (my ($C) = ($C->unsp)) { ($C) } else { () } | ||
| 10027 | })) | ||
| 10028 | and ($C) = ($C->_PATTERN(qr/\Gend\b/))) { | ||
| 10029 | $C->_STARr(sub { | ||
| 10030 | my $C=shift; | ||
| 10031 | $C->_NOTCHAR( sub { my $C=shift; | ||
| 10032 | $C->_EXACT("\n") | ||
| 10033 | }) | ||
| 10034 | }) | ||
| 10035 | } else { () } | ||
| 10036 | }, | ||
| 10037 | $C->_SCANf()))) { ($C) } else { () } | ||
| 10038 | |||
| 10039 | } | ||
| 10040 | } | ||
| 10041 | or $xact->[-2] or | ||
| 10042 | do { | ||
| 10043 | push @gather, scalar(do { | ||
| 10044 | $self->panic("=begin without matching =end")}, $C) | ||
| 10045 | }; | ||
| 10046 | @gather; | ||
| 10047 | } | ||
| 10048 | }))) { | ||
| 10049 | $C | ||
| 10050 | } else { () } | ||
| 10051 | }, | ||
| 10052 | sub { | ||
| 10053 | my $C=shift; | ||
| 10054 | if (($C) = ($C->_PATTERN(qr/\Gfor\b/)) | ||
| 10055 | and ($C) = ($C->_COMMITLTM()) | ||
| 10056 | and ($C) = ($C->_PATTERN(qr/\G[\x20\t\r]*+/)) | ||
| 10057 | and ($C) = ($C->_BRACKETr(sub { | ||
| 10058 | my $C=shift; | ||
| 10059 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 10060 | my $xact = $C->xact; | ||
| 10061 | my @gather; | ||
| 10062 | do { | ||
| 10063 | push @gather, $C->_SUBSUMEr(['identifier'], sub { | ||
| 10064 | my $C = shift; | ||
| 10065 | $C->identifier | ||
| 10066 | }) | ||
| 10067 | } | ||
| 10068 | or $xact->[-2] or | ||
| 10069 | do { | ||
| 10070 | push @gather, $C->_PATTERN(qr/\G(?m:$)/) | ||
| 10071 | } | ||
| 10072 | or $xact->[-2] or | ||
| 10073 | do { | ||
| 10074 | push @gather, $C->_EXACT("\#") | ||
| 10075 | } | ||
| 10076 | or $xact->[-2] or | ||
| 10077 | do { | ||
| 10078 | push @gather, do { | ||
| 10079 | if (my ($C) = ($C->panic("Unrecognized token after =for"))) { ($C) } else { () } | ||
| 10080 | |||
| 10081 | } | ||
| 10082 | }; | ||
| 10083 | @gather; | ||
| 10084 | } | ||
| 10085 | })) | ||
| 10086 | and ($C) = ($C->_BRACKETr(sub { | ||
| 10087 | my $C=shift; | ||
| 10088 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 10089 | my $xact = $C->xact; | ||
| 10090 | my @gather; | ||
| 10091 | do { | ||
| 10092 | push @gather, do { | ||
| 10093 | if (my ($C) = (STD::LazyMap::lazymap(sub { | ||
| 10094 | my $C=shift; | ||
| 10095 | $C->_PATTERN(qr/\G(?m:^)[\x20\t\r]*+(?m:$)/) | ||
| 10096 | }, | ||
| 10097 | $C->_SCANf()))) { ($C) } else { () } | ||
| 10098 | |||
| 10099 | } | ||
| 10100 | } | ||
| 10101 | or $xact->[-2] or | ||
| 10102 | do { | ||
| 10103 | push @gather, $C->_STARr(sub { | ||
| 10104 | my $C=shift; | ||
| 10105 | $C->cursor_incr() | ||
| 10106 | }) | ||
| 10107 | }; | ||
| 10108 | @gather; | ||
| 10109 | } | ||
| 10110 | }))) { | ||
| 10111 | $C | ||
| 10112 | } else { () } | ||
| 10113 | }, | ||
| 10114 | sub { | ||
| 10115 | my $C=shift; | ||
| 10116 | if (($C) = ($C->_COMMITLTM()) | ||
| 10117 | and ($C) = ($C->_OPTr(sub { | ||
| 10118 | my $C=shift; | ||
| 10119 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 10120 | my $C=shift; | ||
| 10121 | if (($C) = ($C->before(sub { | ||
| 10122 | my $C=shift; | ||
| 10123 | if (my ($C) = ($C->before(sub { | ||
| 10124 | my $C=shift; | ||
| 10125 | if (my ($C) = (STD::LazyMap::lazymap(sub { | ||
| 10126 | my $C=shift; | ||
| 10127 | $C->_PATTERN(qr/\G(?m:^)\=cut\b/) | ||
| 10128 | }, | ||
| 10129 | $C->_SCANf()))) { ($C) } else { () } | ||
| 10130 | }))) { ($C) } else { () } | ||
| 10131 | })) | ||
| 10132 | and ($C) = ($C->panic("Obsolete pod format, please use =begin/=end instead"))) { | ||
| 10133 | $C | ||
| 10134 | } else { () } | ||
| 10135 | }))) { ($C) } else { () } | ||
| 10136 | })) | ||
| 10137 | and ($C) = ($C->_BRACKETr(sub { | ||
| 10138 | my $C=shift; | ||
| 10139 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 10140 | my $xact = $C->xact; | ||
| 10141 | my @gather; | ||
| 10142 | do { | ||
| 10143 | push @gather, $C->_PATTERN(qr/\G[_[:alpha:]]/) | ||
| 10144 | } | ||
| 10145 | or $xact->[-2] or | ||
| 10146 | do { | ||
| 10147 | push @gather, $C->_PATTERN(qr/\G\s/) | ||
| 10148 | } | ||
| 10149 | or $xact->[-2] or | ||
| 10150 | do { | ||
| 10151 | push @gather, do { | ||
| 10152 | if (my ($C) = ($C->panic("Illegal pod directive"))) { ($C) } else { () } | ||
| 10153 | |||
| 10154 | } | ||
| 10155 | }; | ||
| 10156 | @gather; | ||
| 10157 | } | ||
| 10158 | }))) { | ||
| 10159 | $C->_STARr(sub { | ||
| 10160 | my $C=shift; | ||
| 10161 | $C->_NOTCHAR( sub { my $C=shift; | ||
| 10162 | $C->_EXACT("\n") | ||
| 10163 | }) | ||
| 10164 | }) | ||
| 10165 | } else { () } | ||
| 10166 | } | ||
| 10167 | )[$try])->($C); | ||
| 10168 | last if @gather; | ||
| 10169 | last if $xact->[-2]; # committed? | ||
| 10170 | } | ||
| 10171 | @gather; | ||
| 10172 | }; | ||
| 10173 | }))) { | ||
| 10174 | $C | ||
| 10175 | } else { () } | ||
| 10176 | |||
| 10177 | }); | ||
| 10178 | } | ||
| 10179 | ; | ||
| 10180 | ## rule comp_unit { | ||
| 10181 | sub comp_unit__PEEK { $_[0]->_AUTOLEXpeek('comp_unit', $retree) } | ||
| 10182 | sub comp_unit { | ||
| 10183 | no warnings 'recursion'; | ||
| 10184 | my $self = shift; | ||
| 10185 | |||
| 10186 | local $::begin_compunit = 1;local $::endargs = -1;local %::LANG;local $::PKGDECL = "";local $::IN_DECL;local $::DECLARAND;local $::NEWPKG;local $::NEWLEX;local $::QSIGIL = '';local $::IN_META = 0;local $::QUASIMODO;local $::SCOPE = "";local $::LEFTSIGIL;local %::MYSTERY = ();local $::INVOCANT_OK;local $::INVOCANT_IS;local $::CURLEX;local $::MULTINESS = '';local $::CURPKG; | ||
| 10187 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 10188 | |||
| 10189 | my $C = $self->cursor_xact("RULE comp_unit"); | ||
| 10190 | my $xact = $C->xact; | ||
| 10191 | my $S = $C->{'_pos'}; | ||
| 10192 | $self->_MATCHIFYr($S, "comp_unit", do { | ||
| 10193 | my $C = $C; | ||
| 10194 | if (($C) = ($C->ws) | ||
| 10195 | and ($C) = (scalar(do { | ||
| 10196 | { | ||
| 10197 | $::LANG{'MAIN'} = 'STD' ; | ||
| 10198 | $::LANG{'Q'} = 'STD::Q' ; | ||
| 10199 | $::LANG{'Regex'} = 'STD::Regex' ; | ||
| 10200 | $::LANG{'Trans'} = 'STD::Trans' ; | ||
| 10201 | $::LANG{'P5'} = 'STD::STD::P5' ; | ||
| 10202 | $::LANG{'P5Regex'} = 'STD::P5::Regex' ; | ||
| 10203 | @::WORRIES = (); | ||
| 10204 | $self->load_setting($::SETTINGNAME); | ||
| 10205 | my $oid = $::SETTING->id; | ||
| 10206 | my $id = 'MY:file<' . $::FILE->{'name'} . '>'; | ||
| 10207 | $::CURLEX = Stash->new( | ||
| 10208 | 'OUTER::' => [$oid], | ||
| 10209 | '!file' => $::FILE, '!line' => 0, | ||
| 10210 | '!id' => [$id], | ||
| 10211 | ); | ||
| 10212 | $STD::ALL->{$id} = $::CURLEX; | ||
| 10213 | $::UNIT = $::CURLEX; | ||
| 10214 | $STD::ALL->{'UNIT'} = $::UNIT; | ||
| 10215 | $self->finishlex; | ||
| 10216 | }}, $C)) | ||
| 10217 | and ($C) = ($C->_SUBSUMEr(['statementlist'], sub { | ||
| 10218 | my $C = shift; | ||
| 10219 | $C->statementlist | ||
| 10220 | })) | ||
| 10221 | and ($C) = ($C->ws) | ||
| 10222 | and ($C) = ($C->_BRACKETr(sub { | ||
| 10223 | my $C=shift; | ||
| 10224 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 10225 | my $xact = $C->xact; | ||
| 10226 | my @gather; | ||
| 10227 | do { | ||
| 10228 | push @gather, do { | ||
| 10229 | if (my ($C) = ($C->before(sub { | ||
| 10230 | my $C=shift; | ||
| 10231 | if (my ($C) = ($C->unitstopper)) { ($C) } else { () } | ||
| 10232 | }))) { ($C) } else { () } | ||
| 10233 | |||
| 10234 | } | ||
| 10235 | } | ||
| 10236 | or $xact->[-2] or | ||
| 10237 | do { | ||
| 10238 | push @gather, do { | ||
| 10239 | my $C = $C; | ||
| 10240 | if (($C) = ($C->panic("Confused")) | ||
| 10241 | and ($C) = ($C->ws)) { | ||
| 10242 | $C | ||
| 10243 | } else { () } | ||
| 10244 | |||
| 10245 | } | ||
| 10246 | }; | ||
| 10247 | @gather; | ||
| 10248 | } | ||
| 10249 | }))) { | ||
| 10250 | scalar(do { | ||
| 10251 | { | ||
| 10252 | if (@::WORRIES) { | ||
| 10253 | warn "Potential difficulties:\n " . join( "\n ", @::WORRIES) . "\n"}; | ||
| 10254 | my $m = $C->explain_mystery(); | ||
| 10255 | warn $m if $m; | ||
| 10256 | }}, $C) | ||
| 10257 | } else { () } | ||
| 10258 | |||
| 10259 | }); | ||
| 10260 | } | ||
| 10261 | ; | ||
| 10262 | ## method explain_mystery() | ||
| 10263 | sub explain_mystery { | ||
| 10264 | no warnings 'recursion'; | ||
| 10265 | my $self = shift; | ||
| 10266 | my %post_types; | ||
| 10267 | my %unk_types; | ||
| 10268 | my %unk_routines; | ||
| 10269 | my $m = ''; | ||
| 10270 | for (keys(%::MYSTERY)) { | ||
| 10271 | my $p = $::MYSTERY{$_}->{'lex'}; | ||
| 10272 | if ($self->is_name($_, $p)) { | ||
| 10273 | $post_types{$_} = $::MYSTERY{$_}; | ||
| 10274 | next; | ||
| 10275 | }; | ||
| 10276 | next if $self->is_known($_, $p) or $self->is_known('&' . $_, $p); | ||
| 10277 | if ($_ lt 'a') { | ||
| 10278 | $unk_types{$_} = $::MYSTERY{$_}} | ||
| 10279 | else { | ||
| 10280 | $unk_routines{$_} = $::MYSTERY{$_}}; | ||
| 10281 | } | ||
| 10282 | ; | ||
| 10283 | if (%post_types) { | ||
| 10284 | my @tmp = sort keys(%post_types); | ||
| 10285 | $m .= "Illegally post-declared type" . ('s' x (@tmp != 1)) . ":\n"; | ||
| 10286 | for (@tmp) { | ||
| 10287 | $m .= "\t$_ used at line " . $post_types{$_}->{'line'} . "\n"} | ||
| 10288 | ; | ||
| 10289 | }; | ||
| 10290 | if (%unk_types) { | ||
| 10291 | my @tmp = sort keys(%unk_types); | ||
| 10292 | $m .= "Undeclared name" . ('s' x (@tmp != 1)) . ":\n"; | ||
| 10293 | for (@tmp) { | ||
| 10294 | $m .= "\t$_ used at line " . $unk_types{$_}->{'line'} . "\n"} | ||
| 10295 | ; | ||
| 10296 | }; | ||
| 10297 | if (%unk_routines) { | ||
| 10298 | my @tmp = sort keys(%unk_routines); | ||
| 10299 | $m .= "Undeclared routine" . ('s' x (@tmp != 1)) . ":\n"; | ||
| 10300 | for (@tmp) { | ||
| 10301 | $m .= "\t$_ used at line " . $unk_routines{$_}->{'line'} . "\n"} | ||
| 10302 | ; | ||
| 10303 | }; | ||
| 10304 | $m; | ||
| 10305 | }; | ||
| 10306 | ## token xblock { | ||
| 10307 | sub xblock__PEEK { $_[0]->_AUTOLEXpeek('xblock', $retree) } | ||
| 10308 | sub xblock { | ||
| 10309 | no warnings 'recursion'; | ||
| 10310 | my $self = shift; | ||
| 10311 | |||
| 10312 | local $::GOAL = '{'; | ||
| 10313 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 10314 | |||
| 10315 | my $C = $self->cursor_xact("RULE xblock"); | ||
| 10316 | my $xact = $C->xact; | ||
| 10317 | my $S = $C->{'_pos'}; | ||
| 10318 | $self->_MATCHIFYr($S, "xblock", do { | ||
| 10319 | my $C = $C; | ||
| 10320 | if (($C) = ($C->_BRACKETr(sub { | ||
| 10321 | my $C=shift; | ||
| 10322 | local $::GOAL = "\)"; | ||
| 10323 | my $goalpos = $C; | ||
| 10324 | if (($C) = ($C->_EXACT("\(")) | ||
| 10325 | and ($C) = (scalar(do { | ||
| 10326 | }, $C)) | ||
| 10327 | and ($C) = ($C->_SUBSUMEr(['EXPR'], sub { | ||
| 10328 | my $C = shift; | ||
| 10329 | $C->EXPR | ||
| 10330 | })) | ||
| 10331 | and ($C) = ($C->_BRACKETr(sub { | ||
| 10332 | my $C=shift; | ||
| 10333 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 10334 | my $xact = $C->xact; | ||
| 10335 | my @gather; | ||
| 10336 | do { | ||
| 10337 | push @gather, $C->_EXACT("\)") | ||
| 10338 | } | ||
| 10339 | or $xact->[-2] or | ||
| 10340 | do { | ||
| 10341 | push @gather, do { | ||
| 10342 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'block expression', $goalpos))) { ($C) } else { () } | ||
| 10343 | |||
| 10344 | } | ||
| 10345 | }; | ||
| 10346 | @gather; | ||
| 10347 | } | ||
| 10348 | }))) { | ||
| 10349 | $C | ||
| 10350 | } else { () } | ||
| 10351 | })) | ||
| 10352 | and ($C) = ($C->ws)) { | ||
| 10353 | $C->_SUBSUMEr(['block'], sub { | ||
| 10354 | my $C = shift; | ||
| 10355 | $C->block | ||
| 10356 | }) | ||
| 10357 | } else { () } | ||
| 10358 | |||
| 10359 | }); | ||
| 10360 | } | ||
| 10361 | ; | ||
| 10362 | ## token block { | ||
| 10363 | sub block__PEEK { $_[0]->_AUTOLEXpeek('block', $retree) } | ||
| 10364 | sub block { | ||
| 10365 | no warnings 'recursion'; | ||
| 10366 | my $self = shift; | ||
| 10367 | |||
| 10368 | local $::CURLEX = $::CURLEX; | ||
| 10369 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 10370 | |||
| 10371 | my $C = $self->cursor_xact("RULE block"); | ||
| 10372 | my $xact = $C->xact; | ||
| 10373 | my $S = $C->{'_pos'}; | ||
| 10374 | $self->_MATCHIFYr($S, "block", do { | ||
| 10375 | my $C = $C; | ||
| 10376 | if (($C) = ($C->_BRACKETr(sub { | ||
| 10377 | my $C=shift; | ||
| 10378 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 10379 | my $xact = $C->xact; | ||
| 10380 | my @gather; | ||
| 10381 | do { | ||
| 10382 | push @gather, do { | ||
| 10383 | if (my ($C) = ($C->before(sub { | ||
| 10384 | my $C=shift; | ||
| 10385 | if (my ($C) = ($C->before(sub { | ||
| 10386 | my $C=shift; | ||
| 10387 | $C->_EXACT("\{") | ||
| 10388 | }))) { ($C) } else { () } | ||
| 10389 | }))) { ($C) } else { () } | ||
| 10390 | |||
| 10391 | } | ||
| 10392 | } | ||
| 10393 | or $xact->[-2] or | ||
| 10394 | do { | ||
| 10395 | push @gather, do { | ||
| 10396 | if (my ($C) = ($C->panic("Missing block"))) { ($C) } else { () } | ||
| 10397 | |||
| 10398 | } | ||
| 10399 | }; | ||
| 10400 | @gather; | ||
| 10401 | } | ||
| 10402 | })) | ||
| 10403 | and ($C) = ($C->newlex)) { | ||
| 10404 | $C->_SUBSUMEr(['blockoid'], sub { | ||
| 10405 | my $C = shift; | ||
| 10406 | $C->blockoid | ||
| 10407 | }) | ||
| 10408 | } else { () } | ||
| 10409 | |||
| 10410 | }); | ||
| 10411 | } | ||
| 10412 | ; | ||
| 10413 | ## token blockoid { | ||
| 10414 | sub blockoid__PEEK { $_[0]->_AUTOLEXpeek('blockoid', $retree) } | ||
| 10415 | sub blockoid { | ||
| 10416 | no warnings 'recursion'; | ||
| 10417 | my $self = shift; | ||
| 10418 | |||
| 10419 | local %::LANG = %::LANG; | ||
| 10420 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 10421 | |||
| 10422 | my $C = $self->cursor_xact("RULE blockoid"); | ||
| 10423 | my $xact = $C->xact; | ||
| 10424 | my $S = $C->{'_pos'}; | ||
| 10425 | $self->_MATCHIFYr($S, "blockoid", do { | ||
| 10426 | my $C = $C; | ||
| 10427 | if (($C) = ($C->finishlex) | ||
| 10428 | and ($C) = ($C->_BRACKETr(sub { | ||
| 10429 | my $C=shift; | ||
| 10430 | do { | ||
| 10431 | my ($tag, $try); | ||
| 10432 | my @try; | ||
| 10433 | my $relex; | ||
| 10434 | |||
| 10435 | my $fate; | ||
| 10436 | my $x; | ||
| 10437 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'blockoid_0') { | ||
| 10438 | $C->deb("Fate passed to blockoid_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 10439 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 10440 | @try = ($try); | ||
| 10441 | $x = 'ALT blockoid_0'; # some outer ltm is controlling us | ||
| 10442 | } | ||
| 10443 | else { | ||
| 10444 | $x = 'ALTLTM blockoid_0'; # we are top level ltm | ||
| 10445 | } | ||
| 10446 | my $C = $C->cursor_xact($x); | ||
| 10447 | my $xact = $C->{_xact}; | ||
| 10448 | |||
| 10449 | my @gather = (); | ||
| 10450 | for (;;) { | ||
| 10451 | unless (@try) { | ||
| 10452 | $relex //= $C->cursor_fate('STD::STD::P5', 'blockoid_0', $retree); | ||
| 10453 | @try = $relex->($C) or last; | ||
| 10454 | } | ||
| 10455 | $try = shift(@try) // next; | ||
| 10456 | |||
| 10457 | if (ref $try) { | ||
| 10458 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 10459 | } | ||
| 10460 | |||
| 10461 | $C->deb("blockoid_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 10462 | push @gather, (( | ||
| 10463 | sub { | ||
| 10464 | my $C=shift; | ||
| 10465 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 10466 | my $C=shift; | ||
| 10467 | local $::GOAL = "\}"; | ||
| 10468 | my $goalpos = $C; | ||
| 10469 | if (($C) = ($C->_EXACT("\{")) | ||
| 10470 | and ($C) = (scalar(do { | ||
| 10471 | }, $C)) | ||
| 10472 | and ($C) = ($C->_SUBSUMEr(['statementlist'], sub { | ||
| 10473 | my $C = shift; | ||
| 10474 | $C->statementlist | ||
| 10475 | })) | ||
| 10476 | and ($C) = ($C->_BRACKETr(sub { | ||
| 10477 | my $C=shift; | ||
| 10478 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 10479 | my $xact = $C->xact; | ||
| 10480 | my @gather; | ||
| 10481 | do { | ||
| 10482 | push @gather, $C->_EXACT("\}") | ||
| 10483 | } | ||
| 10484 | or $xact->[-2] or | ||
| 10485 | do { | ||
| 10486 | push @gather, do { | ||
| 10487 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'block', $goalpos))) { ($C) } else { () } | ||
| 10488 | |||
| 10489 | } | ||
| 10490 | }; | ||
| 10491 | @gather; | ||
| 10492 | } | ||
| 10493 | }))) { | ||
| 10494 | $C | ||
| 10495 | } else { () } | ||
| 10496 | }))) { ($C) } else { () } | ||
| 10497 | }, | ||
| 10498 | sub { | ||
| 10499 | my $C=shift; | ||
| 10500 | if (($C) = ($C->before(sub { | ||
| 10501 | my $C=shift; | ||
| 10502 | if (my ($C) = ($C->terminator)) { ($C) } else { () } | ||
| 10503 | })) | ||
| 10504 | and ($C) = ($C->panic('Missing block'))) { | ||
| 10505 | $C | ||
| 10506 | } else { () } | ||
| 10507 | }, | ||
| 10508 | sub { | ||
| 10509 | my $C=shift; | ||
| 10510 | if (($C) = ($C->before(sub { | ||
| 10511 | my $C=shift; | ||
| 10512 | $C | ||
| 10513 | })) | ||
| 10514 | and ($C) = ($C->panic("Malformed block"))) { | ||
| 10515 | $C | ||
| 10516 | } else { () } | ||
| 10517 | } | ||
| 10518 | )[$try])->($C); | ||
| 10519 | last if @gather; | ||
| 10520 | last if $xact->[-2]; # committed? | ||
| 10521 | } | ||
| 10522 | @gather; | ||
| 10523 | }; | ||
| 10524 | })) | ||
| 10525 | and ($C) = ($C->_BRACKETr(sub { | ||
| 10526 | my $C=shift; | ||
| 10527 | do { | ||
| 10528 | my ($tag, $try); | ||
| 10529 | my @try; | ||
| 10530 | my $relex; | ||
| 10531 | |||
| 10532 | my $fate; | ||
| 10533 | my $x; | ||
| 10534 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'blockoid_1') { | ||
| 10535 | $C->deb("Fate passed to blockoid_1: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 10536 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 10537 | @try = ($try); | ||
| 10538 | $x = 'ALT blockoid_1'; # some outer ltm is controlling us | ||
| 10539 | } | ||
| 10540 | else { | ||
| 10541 | $x = 'ALTLTM blockoid_1'; # we are top level ltm | ||
| 10542 | } | ||
| 10543 | my $C = $C->cursor_xact($x); | ||
| 10544 | my $xact = $C->{_xact}; | ||
| 10545 | |||
| 10546 | my @gather = (); | ||
| 10547 | for (;;) { | ||
| 10548 | unless (@try) { | ||
| 10549 | $relex //= $C->cursor_fate('STD::STD::P5', 'blockoid_1', $retree); | ||
| 10550 | @try = $relex->($C) or last; | ||
| 10551 | } | ||
| 10552 | $try = shift(@try) // next; | ||
| 10553 | |||
| 10554 | if (ref $try) { | ||
| 10555 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 10556 | } | ||
| 10557 | |||
| 10558 | $C->deb("blockoid_1 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 10559 | push @gather, (( | ||
| 10560 | sub { | ||
| 10561 | my $C=shift; | ||
| 10562 | if (my ($C) = ($C->before(sub { | ||
| 10563 | my $C=shift; | ||
| 10564 | if (my ($C) = ($C->before(sub { | ||
| 10565 | my $C=shift; | ||
| 10566 | $C->_PATTERN(qr/\G[\x20\t\r]*+(?m:$)/) | ||
| 10567 | }))) { ($C) } else { () } | ||
| 10568 | }))) { | ||
| 10569 | scalar(do { | ||
| 10570 | $::MEMOS[$C->{'_pos'}]->{'endstmt'} = 2}, $C) | ||
| 10571 | } else { () } | ||
| 10572 | }, | ||
| 10573 | sub { | ||
| 10574 | my $C=shift; | ||
| 10575 | if (($C) = ($C->_PATTERN(qr/\G[\x20\t\r]*+/)) | ||
| 10576 | and ($C) = ($C->before(sub { | ||
| 10577 | my $C=shift; | ||
| 10578 | if (my ($C) = ($C->before(sub { | ||
| 10579 | my $C=shift; | ||
| 10580 | $C->_PATTERN(qr/\G[\\,:]/) | ||
| 10581 | }))) { ($C) } else { () } | ||
| 10582 | }))) { | ||
| 10583 | $C | ||
| 10584 | } else { () } | ||
| 10585 | }, | ||
| 10586 | sub { | ||
| 10587 | my $C=shift; | ||
| 10588 | if (($C) = ($C->_OPTr(sub { | ||
| 10589 | my $C=shift; | ||
| 10590 | if (my ($C) = ($C->unv)) { ($C) } else { () } | ||
| 10591 | })) | ||
| 10592 | and ($C) = ($C->_PATTERN(qr/\G(?m:$)/))) { | ||
| 10593 | scalar(do { | ||
| 10594 | $::MEMOS[$C->{'_pos'}]->{'endstmt'} = 2}, $C) | ||
| 10595 | } else { () } | ||
| 10596 | }, | ||
| 10597 | sub { | ||
| 10598 | my $C=shift; | ||
| 10599 | if (($C) = (scalar(do { | ||
| 10600 | }, $C)) | ||
| 10601 | and ($C) = ($C->_OPTr(sub { | ||
| 10602 | my $C=shift; | ||
| 10603 | if (my ($C) = ($C->unsp)) { ($C) } else { () } | ||
| 10604 | }))) { | ||
| 10605 | scalar(do { | ||
| 10606 | $::MEMOS[$C->{'_pos'}]->{'endargs'} = 1}, $C) | ||
| 10607 | } else { () } | ||
| 10608 | } | ||
| 10609 | )[$try])->($C); | ||
| 10610 | last if @gather; | ||
| 10611 | last if $xact->[-2]; # committed? | ||
| 10612 | } | ||
| 10613 | @gather; | ||
| 10614 | }; | ||
| 10615 | }))) { | ||
| 10616 | $C | ||
| 10617 | } else { () } | ||
| 10618 | |||
| 10619 | }); | ||
| 10620 | } | ||
| 10621 | ; | ||
| 10622 | ## token regex_block { | ||
| 10623 | sub regex_block__PEEK { $_[0]->_AUTOLEXpeek('regex_block', $retree) } | ||
| 10624 | sub regex_block { | ||
| 10625 | no warnings 'recursion'; | ||
| 10626 | my $self = shift; | ||
| 10627 | |||
| 10628 | local %::LANG = %::LANG;my $lang = $::LANG{'Regex'};local $::GOAL = '}'; | ||
| 10629 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 10630 | |||
| 10631 | my $C = $self->cursor_xact("RULE regex_block"); | ||
| 10632 | my $xact = $C->xact; | ||
| 10633 | my $S = $C->{'_pos'}; | ||
| 10634 | $C->{'quotepair'} = []; | ||
| 10635 | $self->_MATCHIFYr($S, "regex_block", do { | ||
| 10636 | my $C = $C; | ||
| 10637 | if (($C) = ($C->_STARr(sub { | ||
| 10638 | my $C=shift; | ||
| 10639 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 10640 | my $C=shift; | ||
| 10641 | if (($C) = ($C->_SUBSUMEr(['quotepair'], sub { | ||
| 10642 | my $C = shift; | ||
| 10643 | $C->quotepair | ||
| 10644 | })) | ||
| 10645 | and ($C) = ($C->ws)) { | ||
| 10646 | scalar(do { | ||
| 10647 | my $M = $C; | ||
| 10648 | my $kv = $M->{'quotepair'}->[-1]; | ||
| 10649 | $lang = $lang->tweak($kv->{'k'}, $kv->{'v'}) | ||
| 10650 | or $self->sorry("Unrecognized adverb :" . $kv->{'k'} . '(' . $kv->{'v'} . ')'); | ||
| 10651 | }, $C) | ||
| 10652 | } else { () } | ||
| 10653 | }))) { ($C) } else { () } | ||
| 10654 | })) | ||
| 10655 | and ($C) = ($C->_EXACT("\{")) | ||
| 10656 | and ($C) = ($C->_SUBSUMEr(['nibble'], sub { | ||
| 10657 | my $C = shift; | ||
| 10658 | $C->nibble( $C->cursor_fresh($lang)->unbalanced('}') ) | ||
| 10659 | })) | ||
| 10660 | and ($C) = ($C->_BRACKETr(sub { | ||
| 10661 | my $C=shift; | ||
| 10662 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 10663 | my $xact = $C->xact; | ||
| 10664 | my @gather; | ||
| 10665 | do { | ||
| 10666 | push @gather, $C->_EXACT("\}") | ||
| 10667 | } | ||
| 10668 | or $xact->[-2] or | ||
| 10669 | do { | ||
| 10670 | push @gather, do { | ||
| 10671 | if (my ($C) = ($C->panic("Unable to parse regex; couldn't find right brace"))) { ($C) } else { () } | ||
| 10672 | |||
| 10673 | } | ||
| 10674 | }; | ||
| 10675 | @gather; | ||
| 10676 | } | ||
| 10677 | })) | ||
| 10678 | and ($C) = ($C->_BRACKETr(sub { | ||
| 10679 | my $C=shift; | ||
| 10680 | do { | ||
| 10681 | my ($tag, $try); | ||
| 10682 | my @try; | ||
| 10683 | my $relex; | ||
| 10684 | |||
| 10685 | my $fate; | ||
| 10686 | my $x; | ||
| 10687 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'regex_block_0') { | ||
| 10688 | $C->deb("Fate passed to regex_block_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 10689 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 10690 | @try = ($try); | ||
| 10691 | $x = 'ALT regex_block_0'; # some outer ltm is controlling us | ||
| 10692 | } | ||
| 10693 | else { | ||
| 10694 | $x = 'ALTLTM regex_block_0'; # we are top level ltm | ||
| 10695 | } | ||
| 10696 | my $C = $C->cursor_xact($x); | ||
| 10697 | my $xact = $C->{_xact}; | ||
| 10698 | |||
| 10699 | my @gather = (); | ||
| 10700 | for (;;) { | ||
| 10701 | unless (@try) { | ||
| 10702 | $relex //= $C->cursor_fate('STD::STD::P5', 'regex_block_0', $retree); | ||
| 10703 | @try = $relex->($C) or last; | ||
| 10704 | } | ||
| 10705 | $try = shift(@try) // next; | ||
| 10706 | |||
| 10707 | if (ref $try) { | ||
| 10708 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 10709 | } | ||
| 10710 | |||
| 10711 | $C->deb("regex_block_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 10712 | push @gather, (( | ||
| 10713 | sub { | ||
| 10714 | my $C=shift; | ||
| 10715 | if (my ($C) = ($C->before(sub { | ||
| 10716 | my $C=shift; | ||
| 10717 | if (my ($C) = ($C->before(sub { | ||
| 10718 | my $C=shift; | ||
| 10719 | $C->_PATTERN(qr/\G[\x20\t\r]*+(?m:$)/) | ||
| 10720 | }))) { ($C) } else { () } | ||
| 10721 | }))) { | ||
| 10722 | scalar(do { | ||
| 10723 | $::MEMOS[$C->{'_pos'}]->{'endstmt'} = 2}, $C) | ||
| 10724 | } else { () } | ||
| 10725 | }, | ||
| 10726 | sub { | ||
| 10727 | my $C=shift; | ||
| 10728 | if (($C) = ($C->_PATTERN(qr/\G[\x20\t\r]*+/)) | ||
| 10729 | and ($C) = ($C->before(sub { | ||
| 10730 | my $C=shift; | ||
| 10731 | if (my ($C) = ($C->before(sub { | ||
| 10732 | my $C=shift; | ||
| 10733 | $C->_PATTERN(qr/\G[\\,:]/) | ||
| 10734 | }))) { ($C) } else { () } | ||
| 10735 | }))) { | ||
| 10736 | $C | ||
| 10737 | } else { () } | ||
| 10738 | }, | ||
| 10739 | sub { | ||
| 10740 | my $C=shift; | ||
| 10741 | if (($C) = ($C->_OPTr(sub { | ||
| 10742 | my $C=shift; | ||
| 10743 | if (my ($C) = ($C->unv)) { ($C) } else { () } | ||
| 10744 | })) | ||
| 10745 | and ($C) = ($C->_PATTERN(qr/\G(?m:$)/))) { | ||
| 10746 | scalar(do { | ||
| 10747 | $::MEMOS[$C->{'_pos'}]->{'endstmt'} = 2}, $C) | ||
| 10748 | } else { () } | ||
| 10749 | }, | ||
| 10750 | sub { | ||
| 10751 | my $C=shift; | ||
| 10752 | if (($C) = (scalar(do { | ||
| 10753 | }, $C)) | ||
| 10754 | and ($C) = ($C->_OPTr(sub { | ||
| 10755 | my $C=shift; | ||
| 10756 | if (my ($C) = ($C->unsp)) { ($C) } else { () } | ||
| 10757 | }))) { | ||
| 10758 | scalar(do { | ||
| 10759 | $::MEMOS[$C->{'_pos'}]->{'endargs'} = 1}, $C) | ||
| 10760 | } else { () } | ||
| 10761 | } | ||
| 10762 | )[$try])->($C); | ||
| 10763 | last if @gather; | ||
| 10764 | last if $xact->[-2]; # committed? | ||
| 10765 | } | ||
| 10766 | @gather; | ||
| 10767 | }; | ||
| 10768 | }))) { | ||
| 10769 | $C | ||
| 10770 | } else { () } | ||
| 10771 | |||
| 10772 | }); | ||
| 10773 | } | ||
| 10774 | ; | ||
| 10775 | ## rule statementlist { | ||
| 10776 | sub statementlist__PEEK { $_[0]->_AUTOLEXpeek('statementlist', $retree) } | ||
| 10777 | sub statementlist { | ||
| 10778 | no warnings 'recursion'; | ||
| 10779 | my $self = shift; | ||
| 10780 | |||
| 10781 | local $::INVOCANT_OK = 0; | ||
| 10782 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 10783 | |||
| 10784 | my $C = $self->cursor_xact("RULE statementlist"); | ||
| 10785 | my $xact = $C->xact; | ||
| 10786 | my $S = $C->{'_pos'}; | ||
| 10787 | $C->{'eat_terminator'} = []; | ||
| 10788 | $C->{'statement'} = []; | ||
| 10789 | $self->_MATCHIFYr($S, "statementlist", do { | ||
| 10790 | my $C = $C; | ||
| 10791 | if (($C) = ($C->ws) | ||
| 10792 | and ($C) = ($C->_BRACKETr(sub { | ||
| 10793 | my $C=shift; | ||
| 10794 | do { | ||
| 10795 | my ($tag, $try); | ||
| 10796 | my @try; | ||
| 10797 | my $relex; | ||
| 10798 | |||
| 10799 | my $fate; | ||
| 10800 | my $x; | ||
| 10801 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'statementlist_0') { | ||
| 10802 | $C->deb("Fate passed to statementlist_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 10803 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 10804 | @try = ($try); | ||
| 10805 | $x = 'ALT statementlist_0'; # some outer ltm is controlling us | ||
| 10806 | } | ||
| 10807 | else { | ||
| 10808 | $x = 'ALTLTM statementlist_0'; # we are top level ltm | ||
| 10809 | } | ||
| 10810 | my $C = $C->cursor_xact($x); | ||
| 10811 | my $xact = $C->{_xact}; | ||
| 10812 | |||
| 10813 | my @gather = (); | ||
| 10814 | for (;;) { | ||
| 10815 | unless (@try) { | ||
| 10816 | $relex //= $C->cursor_fate('STD::STD::P5', 'statementlist_0', $retree); | ||
| 10817 | @try = $relex->($C) or last; | ||
| 10818 | } | ||
| 10819 | $try = shift(@try) // next; | ||
| 10820 | |||
| 10821 | if (ref $try) { | ||
| 10822 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 10823 | } | ||
| 10824 | |||
| 10825 | $C->deb("statementlist_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 10826 | push @gather, (( | ||
| 10827 | sub { | ||
| 10828 | my $C=shift; | ||
| 10829 | if (($C) = ($C->_PATTERN(qr/\G\z/)) | ||
| 10830 | and ($C) = ($C->ws)) { | ||
| 10831 | $C | ||
| 10832 | } else { () } | ||
| 10833 | }, | ||
| 10834 | sub { | ||
| 10835 | my $C=shift; | ||
| 10836 | if (my ($C) = ($C->before(sub { | ||
| 10837 | my $C=shift; | ||
| 10838 | if (my ($C) = ($C->before(sub { | ||
| 10839 | my $C=shift; | ||
| 10840 | do { | ||
| 10841 | my $C = $C; | ||
| 10842 | if (($C) = ($C->ws) | ||
| 10843 | and ($C) = ($C->_PATTERN(qr/\G[\)\]\}]/)) | ||
| 10844 | and ($C) = ($C->ws)) { | ||
| 10845 | $C | ||
| 10846 | } else { () } | ||
| 10847 | }; | ||
| 10848 | }))) { ($C) } else { () } | ||
| 10849 | }))) { ($C) } else { () } | ||
| 10850 | }, | ||
| 10851 | sub { | ||
| 10852 | my $C=shift; | ||
| 10853 | if (($C) = ($C->_STARr(sub { | ||
| 10854 | my $C=shift; | ||
| 10855 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 10856 | my $C=shift; | ||
| 10857 | if (($C) = ($C->_SUBSUMEr(['statement'], sub { | ||
| 10858 | my $C = shift; | ||
| 10859 | $C->statement | ||
| 10860 | })) | ||
| 10861 | and ($C) = ($C->_SUBSUMEr(['eat_terminator'], sub { | ||
| 10862 | my $C = shift; | ||
| 10863 | $C->eat_terminator | ||
| 10864 | })) | ||
| 10865 | and ($C) = ($C->ws)) { | ||
| 10866 | $C | ||
| 10867 | } else { () } | ||
| 10868 | }))) { ($C) } else { () } | ||
| 10869 | })) | ||
| 10870 | and ($C) = ($C->ws)) { | ||
| 10871 | $C | ||
| 10872 | } else { () } | ||
| 10873 | } | ||
| 10874 | )[$try])->($C); | ||
| 10875 | last if @gather; | ||
| 10876 | last if $xact->[-2]; # committed? | ||
| 10877 | } | ||
| 10878 | @gather; | ||
| 10879 | }; | ||
| 10880 | }))) { | ||
| 10881 | $C | ||
| 10882 | } else { () } | ||
| 10883 | |||
| 10884 | }); | ||
| 10885 | } | ||
| 10886 | ; | ||
| 10887 | ## rule semilist { | ||
| 10888 | sub semilist__PEEK { $_[0]->_AUTOLEXpeek('semilist', $retree) } | ||
| 10889 | sub semilist { | ||
| 10890 | no warnings 'recursion'; | ||
| 10891 | my $self = shift; | ||
| 10892 | |||
| 10893 | local $::INVOCANT_OK = 0; | ||
| 10894 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 10895 | |||
| 10896 | my $C = $self->cursor_xact("RULE semilist"); | ||
| 10897 | my $xact = $C->xact; | ||
| 10898 | my $S = $C->{'_pos'}; | ||
| 10899 | $C->{'eat_terminator'} = []; | ||
| 10900 | $C->{'statement'} = []; | ||
| 10901 | $self->_MATCHIFYr($S, "semilist", do { | ||
| 10902 | my $C = $C; | ||
| 10903 | if (($C) = ($C->ws) | ||
| 10904 | and ($C) = ($C->_BRACKETr(sub { | ||
| 10905 | my $C=shift; | ||
| 10906 | do { | ||
| 10907 | my ($tag, $try); | ||
| 10908 | my @try; | ||
| 10909 | my $relex; | ||
| 10910 | |||
| 10911 | my $fate; | ||
| 10912 | my $x; | ||
| 10913 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'semilist_0') { | ||
| 10914 | $C->deb("Fate passed to semilist_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 10915 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 10916 | @try = ($try); | ||
| 10917 | $x = 'ALT semilist_0'; # some outer ltm is controlling us | ||
| 10918 | } | ||
| 10919 | else { | ||
| 10920 | $x = 'ALTLTM semilist_0'; # we are top level ltm | ||
| 10921 | } | ||
| 10922 | my $C = $C->cursor_xact($x); | ||
| 10923 | my $xact = $C->{_xact}; | ||
| 10924 | |||
| 10925 | my @gather = (); | ||
| 10926 | for (;;) { | ||
| 10927 | unless (@try) { | ||
| 10928 | $relex //= $C->cursor_fate('STD::STD::P5', 'semilist_0', $retree); | ||
| 10929 | @try = $relex->($C) or last; | ||
| 10930 | } | ||
| 10931 | $try = shift(@try) // next; | ||
| 10932 | |||
| 10933 | if (ref $try) { | ||
| 10934 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 10935 | } | ||
| 10936 | |||
| 10937 | $C->deb("semilist_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 10938 | push @gather, (( | ||
| 10939 | sub { | ||
| 10940 | my $C=shift; | ||
| 10941 | if (my ($C) = ($C->before(sub { | ||
| 10942 | my $C=shift; | ||
| 10943 | if (my ($C) = ($C->before(sub { | ||
| 10944 | my $C=shift; | ||
| 10945 | do { | ||
| 10946 | my $C = $C; | ||
| 10947 | if (($C) = ($C->ws) | ||
| 10948 | and ($C) = ($C->_PATTERN(qr/\G[\)\]\}]/)) | ||
| 10949 | and ($C) = ($C->ws)) { | ||
| 10950 | $C | ||
| 10951 | } else { () } | ||
| 10952 | }; | ||
| 10953 | }))) { ($C) } else { () } | ||
| 10954 | }))) { ($C) } else { () } | ||
| 10955 | }, | ||
| 10956 | sub { | ||
| 10957 | my $C=shift; | ||
| 10958 | if (($C) = ($C->_STARr(sub { | ||
| 10959 | my $C=shift; | ||
| 10960 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 10961 | my $C=shift; | ||
| 10962 | if (($C) = ($C->_SUBSUMEr(['statement'], sub { | ||
| 10963 | my $C = shift; | ||
| 10964 | $C->statement | ||
| 10965 | })) | ||
| 10966 | and ($C) = ($C->_SUBSUMEr(['eat_terminator'], sub { | ||
| 10967 | my $C = shift; | ||
| 10968 | $C->eat_terminator | ||
| 10969 | })) | ||
| 10970 | and ($C) = ($C->ws)) { | ||
| 10971 | $C | ||
| 10972 | } else { () } | ||
| 10973 | }))) { ($C) } else { () } | ||
| 10974 | })) | ||
| 10975 | and ($C) = ($C->ws)) { | ||
| 10976 | $C | ||
| 10977 | } else { () } | ||
| 10978 | } | ||
| 10979 | )[$try])->($C); | ||
| 10980 | last if @gather; | ||
| 10981 | last if $xact->[-2]; # committed? | ||
| 10982 | } | ||
| 10983 | @gather; | ||
| 10984 | }; | ||
| 10985 | }))) { | ||
| 10986 | $C | ||
| 10987 | } else { () } | ||
| 10988 | |||
| 10989 | }); | ||
| 10990 | } | ||
| 10991 | ; | ||
| 10992 | ## token label { | ||
| 10993 | sub label__PEEK { $_[0]->_AUTOLEXpeek('label', $retree) } | ||
| 10994 | sub label { | ||
| 10995 | no warnings 'recursion'; | ||
| 10996 | my $self = shift; | ||
| 10997 | |||
| 10998 | my $label; | ||
| 10999 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11000 | |||
| 11001 | my $C = $self->cursor_xact("RULE label"); | ||
| 11002 | my $xact = $C->xact; | ||
| 11003 | my $S = $C->{'_pos'}; | ||
| 11004 | $self->_MATCHIFYr($S, "label", do { | ||
| 11005 | my $C = $C; | ||
| 11006 | if (($C) = ($C->_SUBSUMEr(['identifier'], sub { | ||
| 11007 | my $C = shift; | ||
| 11008 | $C->identifier | ||
| 11009 | })) | ||
| 11010 | and ($C) = ($C->_EXACT("\:")) | ||
| 11011 | and ($C) = ($C->before(sub { | ||
| 11012 | my $C=shift; | ||
| 11013 | if (my ($C) = ($C->before(sub { | ||
| 11014 | my $C=shift; | ||
| 11015 | $C->_PATTERN(qr/\G\s/) | ||
| 11016 | }))) { ($C) } else { () } | ||
| 11017 | })) | ||
| 11018 | and ($C) = ($C->ws) | ||
| 11019 | and ($C) = ($C->_OPTr(sub { | ||
| 11020 | my $C=shift; | ||
| 11021 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 11022 | my $C=shift; | ||
| 11023 | if (($C) = ($C->before(sub { | ||
| 11024 | my $C=shift; | ||
| 11025 | (($C) x !!do { | ||
| 11026 | my $M = $C; | ||
| 11027 | $C->is_name($label = $M->{'identifier'}->Str) }) | ||
| 11028 | })) | ||
| 11029 | and ($C) = ($C->sorry("Illegal redeclaration of '$label'"))) { | ||
| 11030 | $C | ||
| 11031 | } else { () } | ||
| 11032 | }))) { ($C) } else { () } | ||
| 11033 | }))) { | ||
| 11034 | scalar(do { | ||
| 11035 | { | ||
| 11036 | $C->add_my_name($label)}}, $C) | ||
| 11037 | } else { () } | ||
| 11038 | |||
| 11039 | }); | ||
| 11040 | } | ||
| 11041 | ; | ||
| 11042 | ## token statement { | ||
| 11043 | sub statement__PEEK { $_[0]->_AUTOLEXpeek('statement', $retree) } | ||
| 11044 | sub statement { | ||
| 11045 | no warnings 'recursion'; | ||
| 11046 | my $self = shift; | ||
| 11047 | |||
| 11048 | local $::endargs = -1;local $::QSIGIL = 0; | ||
| 11049 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11050 | |||
| 11051 | my $C = $self->cursor_xact("RULE statement"); | ||
| 11052 | my $xact = $C->xact; | ||
| 11053 | my $S = $C->{'_pos'}; | ||
| 11054 | $C->{'p5statement_mod_cond'} = []; | ||
| 11055 | $C->{'p5statement_mod_loop'} = []; | ||
| 11056 | $C->{'statement_mod_cond'} = []; | ||
| 11057 | $C->{'statement_mod_loop'} = []; | ||
| 11058 | $self->_MATCHIFYr($S, "statement", do { | ||
| 11059 | my $C = $C; | ||
| 11060 | if (($C) = ($C->_NOTBEFORE(sub { | ||
| 11061 | my $C=shift; | ||
| 11062 | if (my ($C) = ($C->before(sub { | ||
| 11063 | my $C=shift; | ||
| 11064 | $C->_PATTERN(qr/\G[\)\]\}]/) | ||
| 11065 | }))) { ($C) } else { () } | ||
| 11066 | })) | ||
| 11067 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 11068 | my $C=shift; | ||
| 11069 | if (my ($C) = ($C->_NOTBEFORE(sub { | ||
| 11070 | my $C=shift; | ||
| 11071 | (($C) x !!do { | ||
| 11072 | $C = $::LANG{'MAIN'}->bless($C)}) | ||
| 11073 | }))) { ($C) } else { () } | ||
| 11074 | })) | ||
| 11075 | and ($C) = ($C->_BRACKETr(sub { | ||
| 11076 | my $C=shift; | ||
| 11077 | do { | ||
| 11078 | my ($tag, $try); | ||
| 11079 | my @try; | ||
| 11080 | my $relex; | ||
| 11081 | |||
| 11082 | my $fate; | ||
| 11083 | my $x; | ||
| 11084 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'statement_0') { | ||
| 11085 | $C->deb("Fate passed to statement_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 11086 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 11087 | @try = ($try); | ||
| 11088 | $x = 'ALT statement_0'; # some outer ltm is controlling us | ||
| 11089 | } | ||
| 11090 | else { | ||
| 11091 | $x = 'ALTLTM statement_0'; # we are top level ltm | ||
| 11092 | } | ||
| 11093 | my $C = $C->cursor_xact($x); | ||
| 11094 | my $xact = $C->{_xact}; | ||
| 11095 | |||
| 11096 | my @gather = (); | ||
| 11097 | for (;;) { | ||
| 11098 | unless (@try) { | ||
| 11099 | $relex //= $C->cursor_fate('STD::STD::P5', 'statement_0', $retree); | ||
| 11100 | @try = $relex->($C) or last; | ||
| 11101 | } | ||
| 11102 | $try = shift(@try) // next; | ||
| 11103 | |||
| 11104 | if (ref $try) { | ||
| 11105 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 11106 | } | ||
| 11107 | |||
| 11108 | $C->deb("statement_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 11109 | push @gather, (( | ||
| 11110 | sub { | ||
| 11111 | my $C=shift; | ||
| 11112 | if (my ($C) = ($C->_SUBSUMEr(['label'], sub { | ||
| 11113 | my $C = shift; | ||
| 11114 | $C->label | ||
| 11115 | }))) { | ||
| 11116 | $C->_SUBSUMEr(['statement'], sub { | ||
| 11117 | my $C = shift; | ||
| 11118 | $C->statement | ||
| 11119 | }) | ||
| 11120 | } else { () } | ||
| 11121 | }, | ||
| 11122 | sub { | ||
| 11123 | my $C=shift; | ||
| 11124 | $C->_SUBSUMEr(['statement_control','p5statement_control'], sub { | ||
| 11125 | my $C = shift; | ||
| 11126 | $C->p5statement_control | ||
| 11127 | }) | ||
| 11128 | }, | ||
| 11129 | sub { | ||
| 11130 | my $C=shift; | ||
| 11131 | if (($C) = ($C->_SUBSUMEr(['EXPR'], sub { | ||
| 11132 | my $C = shift; | ||
| 11133 | $C->EXPR | ||
| 11134 | })) | ||
| 11135 | and ($C) = ($C->ws)) { | ||
| 11136 | $C->_OPTr(sub { | ||
| 11137 | my $C=shift; | ||
| 11138 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 11139 | my $C=shift; | ||
| 11140 | do { | ||
| 11141 | my ($tag, $try); | ||
| 11142 | my @try; | ||
| 11143 | my $relex; | ||
| 11144 | |||
| 11145 | my $fate; | ||
| 11146 | my $x; | ||
| 11147 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'statement_1') { | ||
| 11148 | $C->deb("Fate passed to statement_1: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 11149 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 11150 | @try = ($try); | ||
| 11151 | $x = 'ALT statement_1'; # some outer ltm is controlling us | ||
| 11152 | } | ||
| 11153 | else { | ||
| 11154 | $x = 'ALTLTM statement_1'; # we are top level ltm | ||
| 11155 | } | ||
| 11156 | my $C = $C->cursor_xact($x); | ||
| 11157 | my $xact = $C->{_xact}; | ||
| 11158 | |||
| 11159 | my @gather = (); | ||
| 11160 | for (;;) { | ||
| 11161 | unless (@try) { | ||
| 11162 | $relex //= $C->cursor_fate('STD::STD::P5', 'statement_1', $retree); | ||
| 11163 | @try = $relex->($C) or last; | ||
| 11164 | } | ||
| 11165 | $try = shift(@try) // next; | ||
| 11166 | |||
| 11167 | if (ref $try) { | ||
| 11168 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 11169 | } | ||
| 11170 | |||
| 11171 | $C->deb("statement_1 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 11172 | push @gather, (( | ||
| 11173 | sub { | ||
| 11174 | my $C=shift; | ||
| 11175 | $C->_SUBSUMEr(['statement_mod_loop','p5statement_mod_loop'], sub { | ||
| 11176 | my $C = shift; | ||
| 11177 | $C->p5statement_mod_loop | ||
| 11178 | }) | ||
| 11179 | }, | ||
| 11180 | sub { | ||
| 11181 | my $C=shift; | ||
| 11182 | $C->_SUBSUMEr(['statement_mod_cond','p5statement_mod_cond'], sub { | ||
| 11183 | my $C = shift; | ||
| 11184 | $C->p5statement_mod_cond | ||
| 11185 | }) | ||
| 11186 | } | ||
| 11187 | )[$try])->($C); | ||
| 11188 | last if @gather; | ||
| 11189 | last if $xact->[-2]; # committed? | ||
| 11190 | } | ||
| 11191 | @gather; | ||
| 11192 | }; | ||
| 11193 | }))) { ($C) } else { () } | ||
| 11194 | }) | ||
| 11195 | } else { () } | ||
| 11196 | }, | ||
| 11197 | sub { | ||
| 11198 | my $C=shift; | ||
| 11199 | if (my ($C) = ($C->before(sub { | ||
| 11200 | my $C=shift; | ||
| 11201 | if (my ($C) = ($C->before(sub { | ||
| 11202 | my $C=shift; | ||
| 11203 | $C->_EXACT("\;") | ||
| 11204 | }))) { ($C) } else { () } | ||
| 11205 | }))) { ($C) } else { () } | ||
| 11206 | } | ||
| 11207 | )[$try])->($C); | ||
| 11208 | last if @gather; | ||
| 11209 | last if $xact->[-2]; # committed? | ||
| 11210 | } | ||
| 11211 | @gather; | ||
| 11212 | }; | ||
| 11213 | }))) { | ||
| 11214 | $C | ||
| 11215 | } else { () } | ||
| 11216 | |||
| 11217 | }); | ||
| 11218 | } | ||
| 11219 | ; | ||
| 11220 | ## token eat_terminator { | ||
| 11221 | sub eat_terminator__PEEK { $_[0]->_AUTOLEXpeek('eat_terminator', $retree) } | ||
| 11222 | sub eat_terminator { | ||
| 11223 | no warnings 'recursion'; | ||
| 11224 | my $self = shift; | ||
| 11225 | |||
| 11226 | |||
| 11227 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11228 | |||
| 11229 | my $C = $self->cursor_xact("RULE eat_terminator"); | ||
| 11230 | my $xact = $C->xact; | ||
| 11231 | my $S = $C->{'_pos'}; | ||
| 11232 | $self->_MATCHIFYr($S, "eat_terminator", $C->_BRACKETr(sub { | ||
| 11233 | my $C=shift; | ||
| 11234 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 11235 | my $xact = $C->xact; | ||
| 11236 | my @gather; | ||
| 11237 | do { | ||
| 11238 | push @gather, do { | ||
| 11239 | if (my ($C) = ($C->_EXACT("\;"))) { | ||
| 11240 | $C->_OPTr(sub { | ||
| 11241 | my $C=shift; | ||
| 11242 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 11243 | my $C=shift; | ||
| 11244 | if (my ($C) = ($C->before(sub { | ||
| 11245 | my $C=shift; | ||
| 11246 | if (my ($C) = ($C->before(sub { | ||
| 11247 | my $C=shift; | ||
| 11248 | $C->_PATTERN(qr/\G\z/) | ||
| 11249 | }))) { ($C) } else { () } | ||
| 11250 | }))) { | ||
| 11251 | scalar(do { | ||
| 11252 | $::ORIG =~ s/\;$/ /}, $C) | ||
| 11253 | } else { () } | ||
| 11254 | }))) { ($C) } else { () } | ||
| 11255 | }) | ||
| 11256 | } else { () } | ||
| 11257 | |||
| 11258 | } | ||
| 11259 | } | ||
| 11260 | or $xact->[-2] or | ||
| 11261 | do { | ||
| 11262 | push @gather, do { | ||
| 11263 | my $C = $C; | ||
| 11264 | if (($C) = ($C->before(sub { | ||
| 11265 | my $C=shift; | ||
| 11266 | (($C) x !!do { | ||
| 11267 | $::MEMOS[$C->{'_pos'}]->{'endstmt'} }) | ||
| 11268 | })) | ||
| 11269 | and ($C) = ($C->ws)) { | ||
| 11270 | $C | ||
| 11271 | } else { () } | ||
| 11272 | |||
| 11273 | } | ||
| 11274 | } | ||
| 11275 | or $xact->[-2] or | ||
| 11276 | do { | ||
| 11277 | push @gather, do { | ||
| 11278 | if (my ($C) = ($C->before(sub { | ||
| 11279 | my $C=shift; | ||
| 11280 | if (my ($C) = ($C->terminator)) { ($C) } else { () } | ||
| 11281 | }))) { ($C) } else { () } | ||
| 11282 | |||
| 11283 | } | ||
| 11284 | } | ||
| 11285 | or $xact->[-2] or | ||
| 11286 | do { | ||
| 11287 | push @gather, $C->_PATTERN(qr/\G\z/) | ||
| 11288 | } | ||
| 11289 | or $xact->[-2] or | ||
| 11290 | do { | ||
| 11291 | push @gather, do { | ||
| 11292 | my $C = $C; | ||
| 11293 | if (($C) = (scalar(do { | ||
| 11294 | { | ||
| 11295 | if ($::MEMOS[$C->{'_pos'}]->{'ws'}) { | ||
| 11296 | $C->{'_pos'} = $::MEMOS[$C->{'_pos'}]->{'ws'}}}}, $C)) | ||
| 11297 | and ($C) = ($C->panic("Confused"))) { | ||
| 11298 | $C | ||
| 11299 | } else { () } | ||
| 11300 | |||
| 11301 | } | ||
| 11302 | }; | ||
| 11303 | @gather; | ||
| 11304 | } | ||
| 11305 | })); | ||
| 11306 | } | ||
| 11307 | ; | ||
| 11308 | ## token p5statement_control:use { | ||
| 11309 | sub p5statement_control__S_027use__PEEK { $_[0]->_AUTOLEXpeek('p5statement_control__S_027use', $retree) } | ||
| 11310 | sub p5statement_control__S_027use { | ||
| 11311 | no warnings 'recursion'; | ||
| 11312 | my $self = shift; | ||
| 11313 | |||
| 11314 | ; | ||
| 11315 | my $longname;local $::SCOPE = 'use'; | ||
| 11316 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11317 | |||
| 11318 | my $C = $self->cursor_xact("RULE p5statement_control__S_027use"); | ||
| 11319 | my $xact = $C->xact; | ||
| 11320 | my $S = $C->{'_pos'}; | ||
| 11321 | $C->{sym} = "use"; | ||
| 11322 | $self->_MATCHIFYr($S, "p5statement_control__S_027use", do { | ||
| 11323 | my $C = $C; | ||
| 11324 | if (($C) = ($C->_EXACT("use")) | ||
| 11325 | and ($C) = ($C->spacey) | ||
| 11326 | and ($C) = ($C->ws) | ||
| 11327 | and ($C) = ($C->_BRACKETr(sub { | ||
| 11328 | my $C=shift; | ||
| 11329 | do { | ||
| 11330 | my ($tag, $try); | ||
| 11331 | my @try; | ||
| 11332 | my $relex; | ||
| 11333 | |||
| 11334 | my $fate; | ||
| 11335 | my $x; | ||
| 11336 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5statement_control__S_027use_0') { | ||
| 11337 | $C->deb("Fate passed to p5statement_control__S_027use_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 11338 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 11339 | @try = ($try); | ||
| 11340 | $x = 'ALT p5statement_control__S_027use_0'; # some outer ltm is controlling us | ||
| 11341 | } | ||
| 11342 | else { | ||
| 11343 | $x = 'ALTLTM p5statement_control__S_027use_0'; # we are top level ltm | ||
| 11344 | } | ||
| 11345 | my $C = $C->cursor_xact($x); | ||
| 11346 | my $xact = $C->{_xact}; | ||
| 11347 | |||
| 11348 | my @gather = (); | ||
| 11349 | for (;;) { | ||
| 11350 | unless (@try) { | ||
| 11351 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5statement_control__S_027use_0', $retree); | ||
| 11352 | @try = $relex->($C) or last; | ||
| 11353 | } | ||
| 11354 | $try = shift(@try) // next; | ||
| 11355 | |||
| 11356 | if (ref $try) { | ||
| 11357 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 11358 | } | ||
| 11359 | |||
| 11360 | $C->deb("p5statement_control__S_027use_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 11361 | push @gather, (( | ||
| 11362 | sub { | ||
| 11363 | my $C=shift; | ||
| 11364 | $C->_SUBSUMEr(['version','p5version'], sub { | ||
| 11365 | my $C = shift; | ||
| 11366 | $C->p5version | ||
| 11367 | }) | ||
| 11368 | }, | ||
| 11369 | sub { | ||
| 11370 | my $C=shift; | ||
| 11371 | if (($C) = ($C->_SUBSUMEr(['module_name','p5module_name'], sub { | ||
| 11372 | my $C = shift; | ||
| 11373 | $C->p5module_name | ||
| 11374 | })) | ||
| 11375 | and ($C) = (scalar(do { | ||
| 11376 | my $M = $C; | ||
| 11377 | { | ||
| 11378 | $longname = $M->{'module_name'}->{'longname'}}}, $C)) | ||
| 11379 | and ($C) = ($C->_BRACKETr(sub { | ||
| 11380 | my $C=shift; | ||
| 11381 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 11382 | my $xact = $C->xact; | ||
| 11383 | my @gather; | ||
| 11384 | do { | ||
| 11385 | push @gather, do { | ||
| 11386 | my $C = $C; | ||
| 11387 | if (($C) = ($C->spacey) | ||
| 11388 | and ($C) = ($C->_SUBSUMEr(['arglist'], sub { | ||
| 11389 | my $C = shift; | ||
| 11390 | $C->arglist | ||
| 11391 | }))) { | ||
| 11392 | scalar(do { | ||
| 11393 | my $M = $C; | ||
| 11394 | { | ||
| 11395 | $C->do_use($longname, $M->{'arglist'})}}, $C) | ||
| 11396 | } else { () } | ||
| 11397 | |||
| 11398 | } | ||
| 11399 | } | ||
| 11400 | or $xact->[-2] or | ||
| 11401 | do { | ||
| 11402 | push @gather, scalar(do { | ||
| 11403 | { | ||
| 11404 | $C->do_use($longname, '')}}, $C) | ||
| 11405 | }; | ||
| 11406 | @gather; | ||
| 11407 | } | ||
| 11408 | }))) { | ||
| 11409 | $C | ||
| 11410 | } else { () } | ||
| 11411 | } | ||
| 11412 | )[$try])->($C); | ||
| 11413 | last if @gather; | ||
| 11414 | last if $xact->[-2]; # committed? | ||
| 11415 | } | ||
| 11416 | @gather; | ||
| 11417 | }; | ||
| 11418 | })) | ||
| 11419 | and ($C) = ($C->ws)) { | ||
| 11420 | $C | ||
| 11421 | } else { () } | ||
| 11422 | |||
| 11423 | }); | ||
| 11424 | } | ||
| 11425 | ; | ||
| 11426 | ## token p5statement_control:no { | ||
| 11427 | sub p5statement_control__S_028no__PEEK { $_[0]->_AUTOLEXpeek('p5statement_control__S_028no', $retree) } | ||
| 11428 | sub p5statement_control__S_028no { | ||
| 11429 | no warnings 'recursion'; | ||
| 11430 | my $self = shift; | ||
| 11431 | |||
| 11432 | ; | ||
| 11433 | |||
| 11434 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11435 | |||
| 11436 | my $C = $self->cursor_xact("RULE p5statement_control__S_028no"); | ||
| 11437 | my $xact = $C->xact; | ||
| 11438 | my $S = $C->{'_pos'}; | ||
| 11439 | $C->{'arglist'} = []; | ||
| 11440 | $C->{sym} = "no"; | ||
| 11441 | $self->_MATCHIFYr($S, "p5statement_control__S_028no", do { | ||
| 11442 | my $C = $C; | ||
| 11443 | if (($C) = ($C->_EXACT("no")) | ||
| 11444 | and ($C) = ($C->spacey) | ||
| 11445 | and ($C) = ($C->ws) | ||
| 11446 | and ($C) = ($C->_SUBSUMEr(['module_name','p5module_name'], sub { | ||
| 11447 | my $C = shift; | ||
| 11448 | $C->p5module_name | ||
| 11449 | })) | ||
| 11450 | and ($C) = ($C->_OPTr(sub { | ||
| 11451 | my $C=shift; | ||
| 11452 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 11453 | my $C=shift; | ||
| 11454 | if (my ($C) = ($C->spacey)) { | ||
| 11455 | $C->_SUBSUMEr(['arglist'], sub { | ||
| 11456 | my $C = shift; | ||
| 11457 | $C->arglist | ||
| 11458 | }) | ||
| 11459 | } else { () } | ||
| 11460 | }))) { ($C) } else { () } | ||
| 11461 | })) | ||
| 11462 | and ($C) = ($C->ws)) { | ||
| 11463 | $C | ||
| 11464 | } else { () } | ||
| 11465 | |||
| 11466 | }); | ||
| 11467 | } | ||
| 11468 | ; | ||
| 11469 | ## token p5statement_control:if { | ||
| 11470 | sub p5statement_control__S_029if__PEEK { $_[0]->_AUTOLEXpeek('p5statement_control__S_029if', $retree) } | ||
| 11471 | sub p5statement_control__S_029if { | ||
| 11472 | no warnings 'recursion'; | ||
| 11473 | my $self = shift; | ||
| 11474 | |||
| 11475 | ; | ||
| 11476 | |||
| 11477 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11478 | |||
| 11479 | my $C = $self->cursor_xact("RULE p5statement_control__S_029if"); | ||
| 11480 | my $xact = $C->xact; | ||
| 11481 | my $S = $C->{'_pos'}; | ||
| 11482 | $C->{'else'} = []; | ||
| 11483 | $C->{'elsif'} = []; | ||
| 11484 | $C->{'pblock'} = []; | ||
| 11485 | $C->{'xblock'} = []; | ||
| 11486 | $C->{sym} = "if"; | ||
| 11487 | $self->_MATCHIFYr($S, "p5statement_control__S_029if", do { | ||
| 11488 | my $C = $C; | ||
| 11489 | if (($C) = ($C->_SUBSUMEr(['sym'], sub { | ||
| 11490 | my $C = shift; | ||
| 11491 | $C->_BRACKETr(sub { | ||
| 11492 | my $C=shift; | ||
| 11493 | do { | ||
| 11494 | my ($tag, $try); | ||
| 11495 | my @try; | ||
| 11496 | my $relex; | ||
| 11497 | |||
| 11498 | my $fate; | ||
| 11499 | my $x; | ||
| 11500 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5statement_control__S_029if_0') { | ||
| 11501 | $C->deb("Fate passed to p5statement_control__S_029if_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 11502 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 11503 | @try = ($try); | ||
| 11504 | $x = 'ALT p5statement_control__S_029if_0'; # some outer ltm is controlling us | ||
| 11505 | } | ||
| 11506 | else { | ||
| 11507 | $x = 'ALTLTM p5statement_control__S_029if_0'; # we are top level ltm | ||
| 11508 | } | ||
| 11509 | my $C = $C->cursor_xact($x); | ||
| 11510 | my $xact = $C->{_xact}; | ||
| 11511 | |||
| 11512 | my @gather = (); | ||
| 11513 | for (;;) { | ||
| 11514 | unless (@try) { | ||
| 11515 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5statement_control__S_029if_0', $retree); | ||
| 11516 | @try = $relex->($C) or last; | ||
| 11517 | } | ||
| 11518 | $try = shift(@try) // next; | ||
| 11519 | |||
| 11520 | if (ref $try) { | ||
| 11521 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 11522 | } | ||
| 11523 | |||
| 11524 | $C->deb("p5statement_control__S_029if_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 11525 | push @gather, (( | ||
| 11526 | sub { | ||
| 11527 | my $C=shift; | ||
| 11528 | $C->_EXACT("if") | ||
| 11529 | }, | ||
| 11530 | sub { | ||
| 11531 | my $C=shift; | ||
| 11532 | $C->_EXACT("unless") | ||
| 11533 | } | ||
| 11534 | )[$try])->($C); | ||
| 11535 | last if @gather; | ||
| 11536 | last if $xact->[-2]; # committed? | ||
| 11537 | } | ||
| 11538 | @gather; | ||
| 11539 | }; | ||
| 11540 | }) | ||
| 11541 | })) | ||
| 11542 | and ($C) = ($C->ws) | ||
| 11543 | and ($C) = ($C->_SUBSUMEr(['xblock'], sub { | ||
| 11544 | my $C = shift; | ||
| 11545 | $C->xblock | ||
| 11546 | })) | ||
| 11547 | and ($C) = ($C->ws) | ||
| 11548 | and ($C) = ($C->_STARr(sub { | ||
| 11549 | my $C=shift; | ||
| 11550 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 11551 | my $C=shift; | ||
| 11552 | if (($C) = ($C->ws) | ||
| 11553 | and ($C) = ($C->_BRACKETr(sub { | ||
| 11554 | my $C=shift; | ||
| 11555 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 11556 | my $xact = $C->xact; | ||
| 11557 | my @gather; | ||
| 11558 | do { | ||
| 11559 | push @gather, do { | ||
| 11560 | if (my ($C) = ($C->_NOTBEFORE(sub { | ||
| 11561 | my $C=shift; | ||
| 11562 | if (my ($C) = ($C->before(sub { | ||
| 11563 | my $C=shift; | ||
| 11564 | if (my ($C) = ($C->ws)) { | ||
| 11565 | $C->_PATTERN(qr/\Gelse\s*+if/) | ||
| 11566 | } else { () } | ||
| 11567 | }))) { ($C) } else { () } | ||
| 11568 | }))) { ($C) } else { () } | ||
| 11569 | |||
| 11570 | } | ||
| 11571 | } | ||
| 11572 | or $xact->[-2] or | ||
| 11573 | do { | ||
| 11574 | push @gather, do { | ||
| 11575 | my $C = $C; | ||
| 11576 | if (($C) = ($C->panic("Please use 'elsif'")) | ||
| 11577 | and ($C) = ($C->ws)) { | ||
| 11578 | $C | ||
| 11579 | } else { () } | ||
| 11580 | |||
| 11581 | } | ||
| 11582 | }; | ||
| 11583 | @gather; | ||
| 11584 | } | ||
| 11585 | })) | ||
| 11586 | and ($C) = ($C->_EXACT("elsif")) | ||
| 11587 | and ($C) = ($C->before(sub { | ||
| 11588 | my $C=shift; | ||
| 11589 | if (my ($C) = ($C->spacey)) { ($C) } else { () } | ||
| 11590 | })) | ||
| 11591 | and ($C) = ($C->ws) | ||
| 11592 | and ($C) = ($C->_SUBSUMEr(['elsif','xblock'], sub { | ||
| 11593 | my $C = shift; | ||
| 11594 | $C->xblock | ||
| 11595 | })) | ||
| 11596 | and ($C) = ($C->ws)) { | ||
| 11597 | $C | ||
| 11598 | } else { () } | ||
| 11599 | }))) { ($C) } else { () } | ||
| 11600 | })) | ||
| 11601 | and ($C) = ($C->ws) | ||
| 11602 | and ($C) = ($C->_OPTr(sub { | ||
| 11603 | my $C=shift; | ||
| 11604 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 11605 | my $C=shift; | ||
| 11606 | if (($C) = ($C->ws) | ||
| 11607 | and ($C) = ($C->_EXACT("else")) | ||
| 11608 | and ($C) = ($C->before(sub { | ||
| 11609 | my $C=shift; | ||
| 11610 | if (my ($C) = ($C->spacey)) { ($C) } else { () } | ||
| 11611 | })) | ||
| 11612 | and ($C) = ($C->ws) | ||
| 11613 | and ($C) = ($C->_SUBSUMEr(['else','pblock'], sub { | ||
| 11614 | my $C = shift; | ||
| 11615 | $C->pblock | ||
| 11616 | })) | ||
| 11617 | and ($C) = ($C->ws)) { | ||
| 11618 | $C | ||
| 11619 | } else { () } | ||
| 11620 | }))) { ($C) } else { () } | ||
| 11621 | })) | ||
| 11622 | and ($C) = ($C->ws)) { | ||
| 11623 | $C | ||
| 11624 | } else { () } | ||
| 11625 | |||
| 11626 | }); | ||
| 11627 | } | ||
| 11628 | ; | ||
| 11629 | ## token p5statement_control:while { | ||
| 11630 | sub p5statement_control__S_030while__PEEK { $_[0]->_AUTOLEXpeek('p5statement_control__S_030while', $retree) } | ||
| 11631 | sub p5statement_control__S_030while { | ||
| 11632 | no warnings 'recursion'; | ||
| 11633 | my $self = shift; | ||
| 11634 | |||
| 11635 | ; | ||
| 11636 | |||
| 11637 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11638 | |||
| 11639 | my $C = $self->cursor_xact("RULE p5statement_control__S_030while"); | ||
| 11640 | my $xact = $C->xact; | ||
| 11641 | my $S = $C->{'_pos'}; | ||
| 11642 | $C->{sym} = "while"; | ||
| 11643 | $self->_MATCHIFYr($S, "p5statement_control__S_030while", do { | ||
| 11644 | my $C = $C; | ||
| 11645 | if (($C) = ($C->_EXACT("while")) | ||
| 11646 | and ($C) = ($C->spacey) | ||
| 11647 | and ($C) = ($C->ws) | ||
| 11648 | and ($C) = ($C->_SUBSUMEr(['xblock'], sub { | ||
| 11649 | my $C = shift; | ||
| 11650 | $C->xblock | ||
| 11651 | })) | ||
| 11652 | and ($C) = ($C->ws)) { | ||
| 11653 | $C | ||
| 11654 | } else { () } | ||
| 11655 | |||
| 11656 | }); | ||
| 11657 | } | ||
| 11658 | ; | ||
| 11659 | ## token p5statement_control:until { | ||
| 11660 | sub p5statement_control__S_031until__PEEK { $_[0]->_AUTOLEXpeek('p5statement_control__S_031until', $retree) } | ||
| 11661 | sub p5statement_control__S_031until { | ||
| 11662 | no warnings 'recursion'; | ||
| 11663 | my $self = shift; | ||
| 11664 | |||
| 11665 | ; | ||
| 11666 | |||
| 11667 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11668 | |||
| 11669 | my $C = $self->cursor_xact("RULE p5statement_control__S_031until"); | ||
| 11670 | my $xact = $C->xact; | ||
| 11671 | my $S = $C->{'_pos'}; | ||
| 11672 | $C->{sym} = "until"; | ||
| 11673 | $self->_MATCHIFYr($S, "p5statement_control__S_031until", do { | ||
| 11674 | my $C = $C; | ||
| 11675 | if (($C) = ($C->_EXACT("until")) | ||
| 11676 | and ($C) = ($C->spacey) | ||
| 11677 | and ($C) = ($C->ws) | ||
| 11678 | and ($C) = ($C->_SUBSUMEr(['xblock'], sub { | ||
| 11679 | my $C = shift; | ||
| 11680 | $C->xblock | ||
| 11681 | })) | ||
| 11682 | and ($C) = ($C->ws)) { | ||
| 11683 | $C | ||
| 11684 | } else { () } | ||
| 11685 | |||
| 11686 | }); | ||
| 11687 | } | ||
| 11688 | ; | ||
| 11689 | ## token p5statement_control:for { | ||
| 11690 | sub p5statement_control__S_032for__PEEK { $_[0]->_AUTOLEXpeek('p5statement_control__S_032for', $retree) } | ||
| 11691 | sub p5statement_control__S_032for { | ||
| 11692 | no warnings 'recursion'; | ||
| 11693 | my $self = shift; | ||
| 11694 | |||
| 11695 | ; | ||
| 11696 | |||
| 11697 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11698 | |||
| 11699 | my $C = $self->cursor_xact("RULE p5statement_control__S_032for"); | ||
| 11700 | my $xact = $C->xact; | ||
| 11701 | my $S = $C->{'_pos'}; | ||
| 11702 | $C->{sym} = "for"; | ||
| 11703 | $self->_MATCHIFYr($S, "p5statement_control__S_032for", do { | ||
| 11704 | my $C = $C; | ||
| 11705 | if (($C) = ($C->_BRACKETr(sub { | ||
| 11706 | my $C=shift; | ||
| 11707 | do { | ||
| 11708 | my ($tag, $try); | ||
| 11709 | my @try; | ||
| 11710 | my $relex; | ||
| 11711 | |||
| 11712 | my $fate; | ||
| 11713 | my $x; | ||
| 11714 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5statement_control__S_032for_0') { | ||
| 11715 | $C->deb("Fate passed to p5statement_control__S_032for_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 11716 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 11717 | @try = ($try); | ||
| 11718 | $x = 'ALT p5statement_control__S_032for_0'; # some outer ltm is controlling us | ||
| 11719 | } | ||
| 11720 | else { | ||
| 11721 | $x = 'ALTLTM p5statement_control__S_032for_0'; # we are top level ltm | ||
| 11722 | } | ||
| 11723 | my $C = $C->cursor_xact($x); | ||
| 11724 | my $xact = $C->{_xact}; | ||
| 11725 | |||
| 11726 | my @gather = (); | ||
| 11727 | for (;;) { | ||
| 11728 | unless (@try) { | ||
| 11729 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5statement_control__S_032for_0', $retree); | ||
| 11730 | @try = $relex->($C) or last; | ||
| 11731 | } | ||
| 11732 | $try = shift(@try) // next; | ||
| 11733 | |||
| 11734 | if (ref $try) { | ||
| 11735 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 11736 | } | ||
| 11737 | |||
| 11738 | $C->deb("p5statement_control__S_032for_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 11739 | push @gather, (( | ||
| 11740 | sub { | ||
| 11741 | my $C=shift; | ||
| 11742 | $C->_EXACT("for") | ||
| 11743 | }, | ||
| 11744 | sub { | ||
| 11745 | my $C=shift; | ||
| 11746 | $C->_EXACT("foreach") | ||
| 11747 | } | ||
| 11748 | )[$try])->($C); | ||
| 11749 | last if @gather; | ||
| 11750 | last if $xact->[-2]; # committed? | ||
| 11751 | } | ||
| 11752 | @gather; | ||
| 11753 | }; | ||
| 11754 | })) | ||
| 11755 | and ($C) = ($C->ws) | ||
| 11756 | and ($C) = ($C->_OPTr(sub { | ||
| 11757 | my $C=shift; | ||
| 11758 | $C->_SUBSUMEr(['eee'], sub { | ||
| 11759 | my $C = shift; | ||
| 11760 | $C->_PAREN( sub { | ||
| 11761 | my $C=shift; | ||
| 11762 | do { | ||
| 11763 | my $C = $C; | ||
| 11764 | if (($C) = ($C->_EXACT("\(")) | ||
| 11765 | and ($C) = ($C->_BRACKETr(sub { | ||
| 11766 | my $C=shift; | ||
| 11767 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 11768 | my $xact = $C->xact; | ||
| 11769 | my @gather; | ||
| 11770 | do { | ||
| 11771 | push @gather, do { | ||
| 11772 | my $C = $C; | ||
| 11773 | if (($C) = ($C->ws) | ||
| 11774 | and ($C) = ($C->_OPTr(sub { | ||
| 11775 | my $C=shift; | ||
| 11776 | $C->_SUBSUMEr(['e1','EXPR'], sub { | ||
| 11777 | my $C = shift; | ||
| 11778 | $C->EXPR | ||
| 11779 | }) | ||
| 11780 | })) | ||
| 11781 | and ($C) = ($C->ws) | ||
| 11782 | and ($C) = ($C->_EXACT("\;")) | ||
| 11783 | and ($C) = ($C->ws) | ||
| 11784 | and ($C) = ($C->_OPTr(sub { | ||
| 11785 | my $C=shift; | ||
| 11786 | $C->_SUBSUMEr(['e2','EXPR'], sub { | ||
| 11787 | my $C = shift; | ||
| 11788 | $C->EXPR | ||
| 11789 | }) | ||
| 11790 | })) | ||
| 11791 | and ($C) = ($C->ws) | ||
| 11792 | and ($C) = ($C->_EXACT("\;")) | ||
| 11793 | and ($C) = ($C->ws) | ||
| 11794 | and ($C) = ($C->_OPTr(sub { | ||
| 11795 | my $C=shift; | ||
| 11796 | $C->_SUBSUMEr(['e3','EXPR'], sub { | ||
| 11797 | my $C = shift; | ||
| 11798 | $C->EXPR | ||
| 11799 | }) | ||
| 11800 | })) | ||
| 11801 | and ($C) = ($C->ws)) { | ||
| 11802 | $C->_EXACT("\)") | ||
| 11803 | } else { () } | ||
| 11804 | |||
| 11805 | } | ||
| 11806 | } | ||
| 11807 | or $xact->[-2] or | ||
| 11808 | do { | ||
| 11809 | push @gather, do { | ||
| 11810 | if (my ($C) = ($C->panic("Malformed loop spec"))) { ($C) } else { () } | ||
| 11811 | |||
| 11812 | } | ||
| 11813 | }; | ||
| 11814 | @gather; | ||
| 11815 | } | ||
| 11816 | }))) { | ||
| 11817 | $C | ||
| 11818 | } else { () } | ||
| 11819 | }; | ||
| 11820 | |||
| 11821 | }) | ||
| 11822 | }) | ||
| 11823 | })) | ||
| 11824 | and ($C) = ($C->ws)) { | ||
| 11825 | $C->_SUBSUMEr(['block'], sub { | ||
| 11826 | my $C = shift; | ||
| 11827 | $C->block | ||
| 11828 | }) | ||
| 11829 | } else { () } | ||
| 11830 | |||
| 11831 | }); | ||
| 11832 | } | ||
| 11833 | ; | ||
| 11834 | ## token p5statement_control:given { | ||
| 11835 | sub p5statement_control__S_033given__PEEK { $_[0]->_AUTOLEXpeek('p5statement_control__S_033given', $retree) } | ||
| 11836 | sub p5statement_control__S_033given { | ||
| 11837 | no warnings 'recursion'; | ||
| 11838 | my $self = shift; | ||
| 11839 | |||
| 11840 | ; | ||
| 11841 | |||
| 11842 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11843 | |||
| 11844 | my $C = $self->cursor_xact("RULE p5statement_control__S_033given"); | ||
| 11845 | my $xact = $C->xact; | ||
| 11846 | my $S = $C->{'_pos'}; | ||
| 11847 | $C->{sym} = "given"; | ||
| 11848 | $self->_MATCHIFYr($S, "p5statement_control__S_033given", do { | ||
| 11849 | my $C = $C; | ||
| 11850 | if (($C) = ($C->_EXACT("given")) | ||
| 11851 | and ($C) = ($C->spacey) | ||
| 11852 | and ($C) = ($C->ws) | ||
| 11853 | and ($C) = ($C->_SUBSUMEr(['xblock'], sub { | ||
| 11854 | my $C = shift; | ||
| 11855 | $C->xblock | ||
| 11856 | })) | ||
| 11857 | and ($C) = ($C->ws)) { | ||
| 11858 | $C | ||
| 11859 | } else { () } | ||
| 11860 | |||
| 11861 | }); | ||
| 11862 | } | ||
| 11863 | ; | ||
| 11864 | ## token p5statement_control:when { | ||
| 11865 | sub p5statement_control__S_034when__PEEK { $_[0]->_AUTOLEXpeek('p5statement_control__S_034when', $retree) } | ||
| 11866 | sub p5statement_control__S_034when { | ||
| 11867 | no warnings 'recursion'; | ||
| 11868 | my $self = shift; | ||
| 11869 | |||
| 11870 | ; | ||
| 11871 | |||
| 11872 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11873 | |||
| 11874 | my $C = $self->cursor_xact("RULE p5statement_control__S_034when"); | ||
| 11875 | my $xact = $C->xact; | ||
| 11876 | my $S = $C->{'_pos'}; | ||
| 11877 | $C->{sym} = "when"; | ||
| 11878 | $self->_MATCHIFYr($S, "p5statement_control__S_034when", do { | ||
| 11879 | my $C = $C; | ||
| 11880 | if (($C) = ($C->_EXACT("when")) | ||
| 11881 | and ($C) = ($C->spacey) | ||
| 11882 | and ($C) = ($C->ws) | ||
| 11883 | and ($C) = ($C->_SUBSUMEr(['xblock'], sub { | ||
| 11884 | my $C = shift; | ||
| 11885 | $C->xblock | ||
| 11886 | })) | ||
| 11887 | and ($C) = ($C->ws)) { | ||
| 11888 | $C | ||
| 11889 | } else { () } | ||
| 11890 | |||
| 11891 | }); | ||
| 11892 | } | ||
| 11893 | ; | ||
| 11894 | ## rule p5statement_control:default {<sym> <block> } | ||
| 11895 | sub p5statement_control__S_035default__PEEK { $_[0]->_AUTOLEXpeek('p5statement_control__S_035default', $retree) } | ||
| 11896 | sub p5statement_control__S_035default { | ||
| 11897 | no warnings 'recursion'; | ||
| 11898 | my $self = shift; | ||
| 11899 | |||
| 11900 | ; | ||
| 11901 | |||
| 11902 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11903 | |||
| 11904 | my $C = $self->cursor_xact("RULE p5statement_control__S_035default"); | ||
| 11905 | my $xact = $C->xact; | ||
| 11906 | my $S = $C->{'_pos'}; | ||
| 11907 | $C->{sym} = "default"; | ||
| 11908 | $self->_MATCHIFYr($S, "p5statement_control__S_035default", do { | ||
| 11909 | my $C = $C; | ||
| 11910 | if (($C) = ($C->_EXACT("default")) | ||
| 11911 | and ($C) = ($C->spacey) | ||
| 11912 | and ($C) = ($C->ws) | ||
| 11913 | and ($C) = ($C->_SUBSUMEr(['block'], sub { | ||
| 11914 | my $C = shift; | ||
| 11915 | $C->block | ||
| 11916 | })) | ||
| 11917 | and ($C) = ($C->ws)) { | ||
| 11918 | $C | ||
| 11919 | } else { () } | ||
| 11920 | |||
| 11921 | }); | ||
| 11922 | } | ||
| 11923 | ; | ||
| 11924 | ## rule p5statement_prefix:BEGIN {<sym> <block> } | ||
| 11925 | sub p5statement_prefix__S_036BEGIN__PEEK { $_[0]->_AUTOLEXpeek('p5statement_prefix__S_036BEGIN', $retree) } | ||
| 11926 | sub p5statement_prefix__S_036BEGIN { | ||
| 11927 | no warnings 'recursion'; | ||
| 11928 | my $self = shift; | ||
| 11929 | |||
| 11930 | |||
| 11931 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11932 | |||
| 11933 | my $C = $self->cursor_xact("RULE p5statement_prefix__S_036BEGIN"); | ||
| 11934 | my $xact = $C->xact; | ||
| 11935 | my $S = $C->{'_pos'}; | ||
| 11936 | $C->{sym} = "BEGIN"; | ||
| 11937 | $self->_MATCHIFYr($S, "p5statement_prefix__S_036BEGIN", do { | ||
| 11938 | my $C = $C; | ||
| 11939 | if (($C) = ($C->_EXACT("BEGIN")) | ||
| 11940 | and ($C) = ($C->ws) | ||
| 11941 | and ($C) = ($C->_SUBSUMEr(['block'], sub { | ||
| 11942 | my $C = shift; | ||
| 11943 | $C->block | ||
| 11944 | })) | ||
| 11945 | and ($C) = ($C->ws)) { | ||
| 11946 | $C | ||
| 11947 | } else { () } | ||
| 11948 | |||
| 11949 | }); | ||
| 11950 | } | ||
| 11951 | ; | ||
| 11952 | ## rule p5statement_prefix:CHECK {<sym> <block> } | ||
| 11953 | sub p5statement_prefix__S_037CHECK__PEEK { $_[0]->_AUTOLEXpeek('p5statement_prefix__S_037CHECK', $retree) } | ||
| 11954 | sub p5statement_prefix__S_037CHECK { | ||
| 11955 | no warnings 'recursion'; | ||
| 11956 | my $self = shift; | ||
| 11957 | |||
| 11958 | |||
| 11959 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11960 | |||
| 11961 | my $C = $self->cursor_xact("RULE p5statement_prefix__S_037CHECK"); | ||
| 11962 | my $xact = $C->xact; | ||
| 11963 | my $S = $C->{'_pos'}; | ||
| 11964 | $C->{sym} = "CHECK"; | ||
| 11965 | $self->_MATCHIFYr($S, "p5statement_prefix__S_037CHECK", do { | ||
| 11966 | my $C = $C; | ||
| 11967 | if (($C) = ($C->_EXACT("CHECK")) | ||
| 11968 | and ($C) = ($C->ws) | ||
| 11969 | and ($C) = ($C->_SUBSUMEr(['block'], sub { | ||
| 11970 | my $C = shift; | ||
| 11971 | $C->block | ||
| 11972 | })) | ||
| 11973 | and ($C) = ($C->ws)) { | ||
| 11974 | $C | ||
| 11975 | } else { () } | ||
| 11976 | |||
| 11977 | }); | ||
| 11978 | } | ||
| 11979 | ; | ||
| 11980 | ## rule p5statement_prefix:INIT {<sym> <block> } | ||
| 11981 | sub p5statement_prefix__S_038INIT__PEEK { $_[0]->_AUTOLEXpeek('p5statement_prefix__S_038INIT', $retree) } | ||
| 11982 | sub p5statement_prefix__S_038INIT { | ||
| 11983 | no warnings 'recursion'; | ||
| 11984 | my $self = shift; | ||
| 11985 | |||
| 11986 | |||
| 11987 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 11988 | |||
| 11989 | my $C = $self->cursor_xact("RULE p5statement_prefix__S_038INIT"); | ||
| 11990 | my $xact = $C->xact; | ||
| 11991 | my $S = $C->{'_pos'}; | ||
| 11992 | $C->{sym} = "INIT"; | ||
| 11993 | $self->_MATCHIFYr($S, "p5statement_prefix__S_038INIT", do { | ||
| 11994 | my $C = $C; | ||
| 11995 | if (($C) = ($C->_EXACT("INIT")) | ||
| 11996 | and ($C) = ($C->ws) | ||
| 11997 | and ($C) = ($C->_SUBSUMEr(['block'], sub { | ||
| 11998 | my $C = shift; | ||
| 11999 | $C->block | ||
| 12000 | })) | ||
| 12001 | and ($C) = ($C->ws)) { | ||
| 12002 | $C | ||
| 12003 | } else { () } | ||
| 12004 | |||
| 12005 | }); | ||
| 12006 | } | ||
| 12007 | ; | ||
| 12008 | ## rule p5statement_control:END {<sym> <block> } | ||
| 12009 | sub p5statement_control__S_039END__PEEK { $_[0]->_AUTOLEXpeek('p5statement_control__S_039END', $retree) } | ||
| 12010 | sub p5statement_control__S_039END { | ||
| 12011 | no warnings 'recursion'; | ||
| 12012 | my $self = shift; | ||
| 12013 | |||
| 12014 | ; | ||
| 12015 | |||
| 12016 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12017 | |||
| 12018 | my $C = $self->cursor_xact("RULE p5statement_control__S_039END"); | ||
| 12019 | my $xact = $C->xact; | ||
| 12020 | my $S = $C->{'_pos'}; | ||
| 12021 | $C->{sym} = "END"; | ||
| 12022 | $self->_MATCHIFYr($S, "p5statement_control__S_039END", do { | ||
| 12023 | my $C = $C; | ||
| 12024 | if (($C) = ($C->_EXACT("END")) | ||
| 12025 | and ($C) = ($C->spacey) | ||
| 12026 | and ($C) = ($C->ws) | ||
| 12027 | and ($C) = ($C->_SUBSUMEr(['block'], sub { | ||
| 12028 | my $C = shift; | ||
| 12029 | $C->block | ||
| 12030 | })) | ||
| 12031 | and ($C) = ($C->ws)) { | ||
| 12032 | $C | ||
| 12033 | } else { () } | ||
| 12034 | |||
| 12035 | }); | ||
| 12036 | } | ||
| 12037 | ; | ||
| 12038 | ## rule modifier_expr { <EXPR> } | ||
| 12039 | sub modifier_expr__PEEK { $_[0]->_AUTOLEXpeek('modifier_expr', $retree) } | ||
| 12040 | sub modifier_expr { | ||
| 12041 | no warnings 'recursion'; | ||
| 12042 | my $self = shift; | ||
| 12043 | |||
| 12044 | |||
| 12045 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12046 | |||
| 12047 | my $C = $self->cursor_xact("RULE modifier_expr"); | ||
| 12048 | my $xact = $C->xact; | ||
| 12049 | my $S = $C->{'_pos'}; | ||
| 12050 | $self->_MATCHIFYr($S, "modifier_expr", do { | ||
| 12051 | my $C = $C; | ||
| 12052 | if (($C) = ($C->ws) | ||
| 12053 | and ($C) = ($C->_SUBSUMEr(['EXPR'], sub { | ||
| 12054 | my $C = shift; | ||
| 12055 | $C->EXPR | ||
| 12056 | })) | ||
| 12057 | and ($C) = ($C->ws)) { | ||
| 12058 | $C | ||
| 12059 | } else { () } | ||
| 12060 | |||
| 12061 | }); | ||
| 12062 | } | ||
| 12063 | ; | ||
| 12064 | ## rule p5statement_mod_cond:if {<sym> <modifier_expr> } | ||
| 12065 | sub p5statement_mod_cond__S_040if__PEEK { $_[0]->_AUTOLEXpeek('p5statement_mod_cond__S_040if', $retree) } | ||
| 12066 | sub p5statement_mod_cond__S_040if { | ||
| 12067 | no warnings 'recursion'; | ||
| 12068 | my $self = shift; | ||
| 12069 | |||
| 12070 | ; | ||
| 12071 | |||
| 12072 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12073 | |||
| 12074 | my $C = $self->cursor_xact("RULE p5statement_mod_cond__S_040if"); | ||
| 12075 | my $xact = $C->xact; | ||
| 12076 | my $S = $C->{'_pos'}; | ||
| 12077 | $C->{sym} = "if"; | ||
| 12078 | $self->_MATCHIFYr($S, "p5statement_mod_cond__S_040if", do { | ||
| 12079 | my $C = $C; | ||
| 12080 | if (($C) = ($C->_EXACT("if")) | ||
| 12081 | and ($C) = ($C->nofun) | ||
| 12082 | and ($C) = ($C->ws) | ||
| 12083 | and ($C) = ($C->_SUBSUMEr(['modifier_expr'], sub { | ||
| 12084 | my $C = shift; | ||
| 12085 | $C->modifier_expr | ||
| 12086 | })) | ||
| 12087 | and ($C) = ($C->ws)) { | ||
| 12088 | $C | ||
| 12089 | } else { () } | ||
| 12090 | |||
| 12091 | }); | ||
| 12092 | } | ||
| 12093 | ; | ||
| 12094 | ## rule p5statement_mod_cond:unless {<sym> <modifier_expr> } | ||
| 12095 | sub p5statement_mod_cond__S_041unless__PEEK { $_[0]->_AUTOLEXpeek('p5statement_mod_cond__S_041unless', $retree) } | ||
| 12096 | sub p5statement_mod_cond__S_041unless { | ||
| 12097 | no warnings 'recursion'; | ||
| 12098 | my $self = shift; | ||
| 12099 | |||
| 12100 | ; | ||
| 12101 | |||
| 12102 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12103 | |||
| 12104 | my $C = $self->cursor_xact("RULE p5statement_mod_cond__S_041unless"); | ||
| 12105 | my $xact = $C->xact; | ||
| 12106 | my $S = $C->{'_pos'}; | ||
| 12107 | $C->{sym} = "unless"; | ||
| 12108 | $self->_MATCHIFYr($S, "p5statement_mod_cond__S_041unless", do { | ||
| 12109 | my $C = $C; | ||
| 12110 | if (($C) = ($C->_EXACT("unless")) | ||
| 12111 | and ($C) = ($C->nofun) | ||
| 12112 | and ($C) = ($C->ws) | ||
| 12113 | and ($C) = ($C->_SUBSUMEr(['modifier_expr'], sub { | ||
| 12114 | my $C = shift; | ||
| 12115 | $C->modifier_expr | ||
| 12116 | })) | ||
| 12117 | and ($C) = ($C->ws)) { | ||
| 12118 | $C | ||
| 12119 | } else { () } | ||
| 12120 | |||
| 12121 | }); | ||
| 12122 | } | ||
| 12123 | ; | ||
| 12124 | ## rule p5statement_mod_cond:when {<sym> <modifier_expr> } | ||
| 12125 | sub p5statement_mod_cond__S_042when__PEEK { $_[0]->_AUTOLEXpeek('p5statement_mod_cond__S_042when', $retree) } | ||
| 12126 | sub p5statement_mod_cond__S_042when { | ||
| 12127 | no warnings 'recursion'; | ||
| 12128 | my $self = shift; | ||
| 12129 | |||
| 12130 | ; | ||
| 12131 | |||
| 12132 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12133 | |||
| 12134 | my $C = $self->cursor_xact("RULE p5statement_mod_cond__S_042when"); | ||
| 12135 | my $xact = $C->xact; | ||
| 12136 | my $S = $C->{'_pos'}; | ||
| 12137 | $C->{sym} = "when"; | ||
| 12138 | $self->_MATCHIFYr($S, "p5statement_mod_cond__S_042when", do { | ||
| 12139 | my $C = $C; | ||
| 12140 | if (($C) = ($C->_EXACT("when")) | ||
| 12141 | and ($C) = ($C->nofun) | ||
| 12142 | and ($C) = ($C->ws) | ||
| 12143 | and ($C) = ($C->_SUBSUMEr(['modifier_expr'], sub { | ||
| 12144 | my $C = shift; | ||
| 12145 | $C->modifier_expr | ||
| 12146 | })) | ||
| 12147 | and ($C) = ($C->ws)) { | ||
| 12148 | $C | ||
| 12149 | } else { () } | ||
| 12150 | |||
| 12151 | }); | ||
| 12152 | } | ||
| 12153 | ; | ||
| 12154 | ## rule p5statement_mod_loop:while {<sym> <modifier_expr> } | ||
| 12155 | sub p5statement_mod_loop__S_043while__PEEK { $_[0]->_AUTOLEXpeek('p5statement_mod_loop__S_043while', $retree) } | ||
| 12156 | sub p5statement_mod_loop__S_043while { | ||
| 12157 | no warnings 'recursion'; | ||
| 12158 | my $self = shift; | ||
| 12159 | |||
| 12160 | ; | ||
| 12161 | |||
| 12162 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12163 | |||
| 12164 | my $C = $self->cursor_xact("RULE p5statement_mod_loop__S_043while"); | ||
| 12165 | my $xact = $C->xact; | ||
| 12166 | my $S = $C->{'_pos'}; | ||
| 12167 | $C->{sym} = "while"; | ||
| 12168 | $self->_MATCHIFYr($S, "p5statement_mod_loop__S_043while", do { | ||
| 12169 | my $C = $C; | ||
| 12170 | if (($C) = ($C->_EXACT("while")) | ||
| 12171 | and ($C) = ($C->nofun) | ||
| 12172 | and ($C) = ($C->ws) | ||
| 12173 | and ($C) = ($C->_SUBSUMEr(['modifier_expr'], sub { | ||
| 12174 | my $C = shift; | ||
| 12175 | $C->modifier_expr | ||
| 12176 | })) | ||
| 12177 | and ($C) = ($C->ws)) { | ||
| 12178 | $C | ||
| 12179 | } else { () } | ||
| 12180 | |||
| 12181 | }); | ||
| 12182 | } | ||
| 12183 | ; | ||
| 12184 | ## rule p5statement_mod_loop:until {<sym> <modifier_expr> } | ||
| 12185 | sub p5statement_mod_loop__S_044until__PEEK { $_[0]->_AUTOLEXpeek('p5statement_mod_loop__S_044until', $retree) } | ||
| 12186 | sub p5statement_mod_loop__S_044until { | ||
| 12187 | no warnings 'recursion'; | ||
| 12188 | my $self = shift; | ||
| 12189 | |||
| 12190 | ; | ||
| 12191 | |||
| 12192 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12193 | |||
| 12194 | my $C = $self->cursor_xact("RULE p5statement_mod_loop__S_044until"); | ||
| 12195 | my $xact = $C->xact; | ||
| 12196 | my $S = $C->{'_pos'}; | ||
| 12197 | $C->{sym} = "until"; | ||
| 12198 | $self->_MATCHIFYr($S, "p5statement_mod_loop__S_044until", do { | ||
| 12199 | my $C = $C; | ||
| 12200 | if (($C) = ($C->_EXACT("until")) | ||
| 12201 | and ($C) = ($C->nofun) | ||
| 12202 | and ($C) = ($C->ws) | ||
| 12203 | and ($C) = ($C->_SUBSUMEr(['modifier_expr'], sub { | ||
| 12204 | my $C = shift; | ||
| 12205 | $C->modifier_expr | ||
| 12206 | })) | ||
| 12207 | and ($C) = ($C->ws)) { | ||
| 12208 | $C | ||
| 12209 | } else { () } | ||
| 12210 | |||
| 12211 | }); | ||
| 12212 | } | ||
| 12213 | ; | ||
| 12214 | ## rule p5statement_mod_loop:for {<sym> <modifier_expr> } | ||
| 12215 | sub p5statement_mod_loop__S_045for__PEEK { $_[0]->_AUTOLEXpeek('p5statement_mod_loop__S_045for', $retree) } | ||
| 12216 | sub p5statement_mod_loop__S_045for { | ||
| 12217 | no warnings 'recursion'; | ||
| 12218 | my $self = shift; | ||
| 12219 | |||
| 12220 | ; | ||
| 12221 | |||
| 12222 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12223 | |||
| 12224 | my $C = $self->cursor_xact("RULE p5statement_mod_loop__S_045for"); | ||
| 12225 | my $xact = $C->xact; | ||
| 12226 | my $S = $C->{'_pos'}; | ||
| 12227 | $C->{sym} = "for"; | ||
| 12228 | $self->_MATCHIFYr($S, "p5statement_mod_loop__S_045for", do { | ||
| 12229 | my $C = $C; | ||
| 12230 | if (($C) = ($C->_EXACT("for")) | ||
| 12231 | and ($C) = ($C->nofun) | ||
| 12232 | and ($C) = ($C->ws) | ||
| 12233 | and ($C) = ($C->_SUBSUMEr(['modifier_expr'], sub { | ||
| 12234 | my $C = shift; | ||
| 12235 | $C->modifier_expr | ||
| 12236 | })) | ||
| 12237 | and ($C) = ($C->ws)) { | ||
| 12238 | $C | ||
| 12239 | } else { () } | ||
| 12240 | |||
| 12241 | }); | ||
| 12242 | } | ||
| 12243 | ; | ||
| 12244 | ## rule p5statement_mod_loop:given {<sym> <modifier_expr> } | ||
| 12245 | sub p5statement_mod_loop__S_046given__PEEK { $_[0]->_AUTOLEXpeek('p5statement_mod_loop__S_046given', $retree) } | ||
| 12246 | sub p5statement_mod_loop__S_046given { | ||
| 12247 | no warnings 'recursion'; | ||
| 12248 | my $self = shift; | ||
| 12249 | |||
| 12250 | ; | ||
| 12251 | |||
| 12252 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12253 | |||
| 12254 | my $C = $self->cursor_xact("RULE p5statement_mod_loop__S_046given"); | ||
| 12255 | my $xact = $C->xact; | ||
| 12256 | my $S = $C->{'_pos'}; | ||
| 12257 | $C->{sym} = "given"; | ||
| 12258 | $self->_MATCHIFYr($S, "p5statement_mod_loop__S_046given", do { | ||
| 12259 | my $C = $C; | ||
| 12260 | if (($C) = ($C->_EXACT("given")) | ||
| 12261 | and ($C) = ($C->nofun) | ||
| 12262 | and ($C) = ($C->ws) | ||
| 12263 | and ($C) = ($C->_SUBSUMEr(['modifier_expr'], sub { | ||
| 12264 | my $C = shift; | ||
| 12265 | $C->modifier_expr | ||
| 12266 | })) | ||
| 12267 | and ($C) = ($C->ws)) { | ||
| 12268 | $C | ||
| 12269 | } else { () } | ||
| 12270 | |||
| 12271 | }); | ||
| 12272 | } | ||
| 12273 | ; | ||
| 12274 | ## token def_module_name { | ||
| 12275 | sub def_module_name__PEEK { $_[0]->_AUTOLEXpeek('def_module_name', $retree) } | ||
| 12276 | sub def_module_name { | ||
| 12277 | no warnings 'recursion'; | ||
| 12278 | my $self = shift; | ||
| 12279 | |||
| 12280 | |||
| 12281 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12282 | |||
| 12283 | my $C = $self->cursor_xact("RULE def_module_name"); | ||
| 12284 | my $xact = $C->xact; | ||
| 12285 | my $S = $C->{'_pos'}; | ||
| 12286 | $C->{'signature'} = []; | ||
| 12287 | $self->_MATCHIFYr($S, "def_module_name", do { | ||
| 12288 | if (my ($C) = ($C->_SUBSUMEr(['longname'], sub { | ||
| 12289 | my $C = shift; | ||
| 12290 | $C->longname | ||
| 12291 | }))) { | ||
| 12292 | $C->_OPTr(sub { | ||
| 12293 | my $C=shift; | ||
| 12294 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 12295 | my $C=shift; | ||
| 12296 | if (($C) = ($C->before(sub { | ||
| 12297 | my $C=shift; | ||
| 12298 | if (my ($C) = ($C->before(sub { | ||
| 12299 | my $C=shift; | ||
| 12300 | $C->_EXACT("\[") | ||
| 12301 | }))) { ($C) } else { () } | ||
| 12302 | })) | ||
| 12303 | and ($C) = ($C->before(sub { | ||
| 12304 | my $C=shift; | ||
| 12305 | (($C) x !!do { | ||
| 12306 | ($::PKGDECL//'') eq 'role' }) | ||
| 12307 | })) | ||
| 12308 | and ($C) = ($C->newlex) | ||
| 12309 | and ($C) = ($C->_BRACKETr(sub { | ||
| 12310 | my $C=shift; | ||
| 12311 | local $::GOAL = "\]"; | ||
| 12312 | my $goalpos = $C; | ||
| 12313 | if (($C) = ($C->_EXACT("\[")) | ||
| 12314 | and ($C) = (scalar(do { | ||
| 12315 | }, $C)) | ||
| 12316 | and ($C) = ($C->_SUBSUMEr(['signature'], sub { | ||
| 12317 | my $C = shift; | ||
| 12318 | $C->signature | ||
| 12319 | })) | ||
| 12320 | and ($C) = ($C->_BRACKETr(sub { | ||
| 12321 | my $C=shift; | ||
| 12322 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 12323 | my $xact = $C->xact; | ||
| 12324 | my @gather; | ||
| 12325 | do { | ||
| 12326 | push @gather, $C->_EXACT("\]") | ||
| 12327 | } | ||
| 12328 | or $xact->[-2] or | ||
| 12329 | do { | ||
| 12330 | push @gather, do { | ||
| 12331 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'generic role', $goalpos))) { ($C) } else { () } | ||
| 12332 | |||
| 12333 | } | ||
| 12334 | }; | ||
| 12335 | @gather; | ||
| 12336 | } | ||
| 12337 | }))) { | ||
| 12338 | $C | ||
| 12339 | } else { () } | ||
| 12340 | })) | ||
| 12341 | and ($C) = (scalar(do { | ||
| 12342 | $::IN_DECL = 0}, $C)) | ||
| 12343 | and ($C) = ($C->finishlex)) { | ||
| 12344 | $C | ||
| 12345 | } else { () } | ||
| 12346 | }))) { ($C) } else { () } | ||
| 12347 | }) | ||
| 12348 | } else { () } | ||
| 12349 | |||
| 12350 | }); | ||
| 12351 | } | ||
| 12352 | ; | ||
| 12353 | ## token p5module_name:normal { | ||
| 12354 | sub p5module_name__S_047normal__PEEK { $_[0]->_AUTOLEXpeek('p5module_name__S_047normal', $retree) } | ||
| 12355 | sub p5module_name__S_047normal { | ||
| 12356 | no warnings 'recursion'; | ||
| 12357 | my $self = shift; | ||
| 12358 | |||
| 12359 | |||
| 12360 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12361 | |||
| 12362 | my $C = $self->cursor_xact("RULE p5module_name__S_047normal"); | ||
| 12363 | my $xact = $C->xact; | ||
| 12364 | my $S = $C->{'_pos'}; | ||
| 12365 | $C->{'arglist'} = []; | ||
| 12366 | $C->{sym} = "normal"; | ||
| 12367 | $self->_MATCHIFYr($S, "p5module_name__S_047normal", do { | ||
| 12368 | if (my ($C) = ($C->_SUBSUMEr(['longname'], sub { | ||
| 12369 | my $C = shift; | ||
| 12370 | $C->longname | ||
| 12371 | }))) { | ||
| 12372 | $C->_OPTr(sub { | ||
| 12373 | my $C=shift; | ||
| 12374 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 12375 | my $C=shift; | ||
| 12376 | if (($C) = ($C->before(sub { | ||
| 12377 | my $C=shift; | ||
| 12378 | if (my ($C) = ($C->before(sub { | ||
| 12379 | my $C=shift; | ||
| 12380 | $C->_EXACT("\[") | ||
| 12381 | }))) { ($C) } else { () } | ||
| 12382 | })) | ||
| 12383 | and ($C) = ($C->_BRACKETr(sub { | ||
| 12384 | my $C=shift; | ||
| 12385 | local $::GOAL = "\]"; | ||
| 12386 | my $goalpos = $C; | ||
| 12387 | if (($C) = ($C->_EXACT("\[")) | ||
| 12388 | and ($C) = (scalar(do { | ||
| 12389 | }, $C)) | ||
| 12390 | and ($C) = ($C->_SUBSUMEr(['arglist'], sub { | ||
| 12391 | my $C = shift; | ||
| 12392 | $C->arglist | ||
| 12393 | })) | ||
| 12394 | and ($C) = ($C->_BRACKETr(sub { | ||
| 12395 | my $C=shift; | ||
| 12396 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 12397 | my $xact = $C->xact; | ||
| 12398 | my @gather; | ||
| 12399 | do { | ||
| 12400 | push @gather, $C->_EXACT("\]") | ||
| 12401 | } | ||
| 12402 | or $xact->[-2] or | ||
| 12403 | do { | ||
| 12404 | push @gather, do { | ||
| 12405 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'generic role', $goalpos))) { ($C) } else { () } | ||
| 12406 | |||
| 12407 | } | ||
| 12408 | }; | ||
| 12409 | @gather; | ||
| 12410 | } | ||
| 12411 | }))) { | ||
| 12412 | $C | ||
| 12413 | } else { () } | ||
| 12414 | }))) { | ||
| 12415 | $C | ||
| 12416 | } else { () } | ||
| 12417 | }))) { ($C) } else { () } | ||
| 12418 | }) | ||
| 12419 | } else { () } | ||
| 12420 | |||
| 12421 | }); | ||
| 12422 | } | ||
| 12423 | ; | ||
| 12424 | ## token vnum { | ||
| 12425 | sub vnum__PEEK { $_[0]->_AUTOLEXpeek('vnum', $retree) } | ||
| 12426 | sub vnum { | ||
| 12427 | no warnings 'recursion'; | ||
| 12428 | my $self = shift; | ||
| 12429 | |||
| 12430 | |||
| 12431 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12432 | |||
| 12433 | my $C = $self->cursor_xact("RULE vnum"); | ||
| 12434 | my $xact = $C->xact; | ||
| 12435 | my $S = $C->{'_pos'}; | ||
| 12436 | $self->_MATCHIFYr($S, "vnum", do { | ||
| 12437 | do { | ||
| 12438 | my ($tag, $try); | ||
| 12439 | my @try; | ||
| 12440 | my $relex; | ||
| 12441 | |||
| 12442 | my $fate; | ||
| 12443 | my $x; | ||
| 12444 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'vnum_0') { | ||
| 12445 | $C->deb("Fate passed to vnum_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 12446 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 12447 | @try = ($try); | ||
| 12448 | $x = 'ALT vnum_0'; # some outer ltm is controlling us | ||
| 12449 | } | ||
| 12450 | else { | ||
| 12451 | $x = 'ALTLTM vnum_0'; # we are top level ltm | ||
| 12452 | } | ||
| 12453 | my $C = $C->cursor_xact($x); | ||
| 12454 | my $xact = $C->{_xact}; | ||
| 12455 | |||
| 12456 | my @gather = (); | ||
| 12457 | for (;;) { | ||
| 12458 | unless (@try) { | ||
| 12459 | $relex //= $C->cursor_fate('STD::STD::P5', 'vnum_0', $retree); | ||
| 12460 | @try = $relex->($C) or last; | ||
| 12461 | } | ||
| 12462 | $try = shift(@try) // next; | ||
| 12463 | |||
| 12464 | if (ref $try) { | ||
| 12465 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 12466 | } | ||
| 12467 | |||
| 12468 | $C->deb("vnum_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 12469 | push @gather, (( | ||
| 12470 | sub { | ||
| 12471 | my $C=shift; | ||
| 12472 | $C->_PATTERN(qr/\G\d++/) | ||
| 12473 | }, | ||
| 12474 | sub { | ||
| 12475 | my $C=shift; | ||
| 12476 | $C->_EXACT("\*") | ||
| 12477 | } | ||
| 12478 | )[$try])->($C); | ||
| 12479 | last if @gather; | ||
| 12480 | last if $xact->[-2]; # committed? | ||
| 12481 | } | ||
| 12482 | @gather; | ||
| 12483 | }; | ||
| 12484 | |||
| 12485 | }); | ||
| 12486 | } | ||
| 12487 | ; | ||
| 12488 | ## token p5version:sym<v> { | ||
| 12489 | sub p5version__S_048v__PEEK { $_[0]->_AUTOLEXpeek('p5version__S_048v', $retree) } | ||
| 12490 | sub p5version__S_048v { | ||
| 12491 | no warnings 'recursion'; | ||
| 12492 | my $self = shift; | ||
| 12493 | |||
| 12494 | |||
| 12495 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12496 | |||
| 12497 | my $C = $self->cursor_xact("RULE p5version__S_048v"); | ||
| 12498 | my $xact = $C->xact; | ||
| 12499 | my $S = $C->{'_pos'}; | ||
| 12500 | $C->{'vnum'} = []; | ||
| 12501 | $C->{sym} = "v"; | ||
| 12502 | $self->_MATCHIFYr($S, "p5version__S_048v", do { | ||
| 12503 | my $C = $C; | ||
| 12504 | if (($C) = ($C->_EXACT("v")) | ||
| 12505 | and ($C) = ($C->before(sub { | ||
| 12506 | my $C=shift; | ||
| 12507 | if (my ($C) = ($C->before(sub { | ||
| 12508 | my $C=shift; | ||
| 12509 | $C->_PATTERN(qr/\G\d++/) | ||
| 12510 | }))) { ($C) } else { () } | ||
| 12511 | })) | ||
| 12512 | and ($C) = ($C->_COMMITLTM()) | ||
| 12513 | and ($C) = ($C->_REPSEPr( sub { | ||
| 12514 | my $C=shift; | ||
| 12515 | $C->_EXACT("\.") | ||
| 12516 | }, sub { | ||
| 12517 | my $C=shift; | ||
| 12518 | $C->_SUBSUMEr(['vnum'], sub { | ||
| 12519 | my $C = shift; | ||
| 12520 | $C->vnum | ||
| 12521 | }) | ||
| 12522 | }))) { | ||
| 12523 | $C->_PATTERN(qr/\G\+?+/) | ||
| 12524 | } else { () } | ||
| 12525 | |||
| 12526 | }); | ||
| 12527 | } | ||
| 12528 | ; | ||
| 12529 | ## token variable_declarator { | ||
| 12530 | sub variable_declarator__PEEK { $_[0]->_AUTOLEXpeek('variable_declarator', $retree) } | ||
| 12531 | sub variable_declarator { | ||
| 12532 | no warnings 'recursion'; | ||
| 12533 | my $self = shift; | ||
| 12534 | |||
| 12535 | local $::IN_DECL = 1;local $::DECLARAND; | ||
| 12536 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12537 | |||
| 12538 | my $C = $self->cursor_xact("RULE variable_declarator"); | ||
| 12539 | my $xact = $C->xact; | ||
| 12540 | my $S = $C->{'_pos'}; | ||
| 12541 | $C->{'p5postcircumfix'} = []; | ||
| 12542 | $C->{'postcircumfix'} = []; | ||
| 12543 | $C->{'semilist'} = []; | ||
| 12544 | $C->{'shape'} = []; | ||
| 12545 | $C->{'signature'} = []; | ||
| 12546 | $C->{'trait'} = []; | ||
| 12547 | $self->_MATCHIFYr($S, "variable_declarator", do { | ||
| 12548 | my $C = $C; | ||
| 12549 | if (($C) = ($C->_SUBSUMEr(['variable'], sub { | ||
| 12550 | my $C = shift; | ||
| 12551 | $C->variable | ||
| 12552 | })) | ||
| 12553 | and ($C) = (scalar(do { | ||
| 12554 | my $M = $C; | ||
| 12555 | $::IN_DECL = 0; | ||
| 12556 | $C->add_variable($M->{'variable'}->Str) ; | ||
| 12557 | }, $C)) | ||
| 12558 | and ($C) = ($C->_OPTr(sub { | ||
| 12559 | my $C=shift; | ||
| 12560 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 12561 | my $C=shift; | ||
| 12562 | if (my ($C) = ($C->_OPTr(sub { | ||
| 12563 | my $C=shift; | ||
| 12564 | if (my ($C) = ($C->unsp)) { ($C) } else { () } | ||
| 12565 | }))) { | ||
| 12566 | $C->_STARr(sub { | ||
| 12567 | my $C=shift; | ||
| 12568 | $C->_SUBSUMEr(['shape'], sub { | ||
| 12569 | my $C = shift; | ||
| 12570 | $C->_BRACKETr(sub { | ||
| 12571 | my $C=shift; | ||
| 12572 | do { | ||
| 12573 | my ($tag, $try); | ||
| 12574 | my @try; | ||
| 12575 | my $relex; | ||
| 12576 | |||
| 12577 | my $fate; | ||
| 12578 | my $x; | ||
| 12579 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'variable_declarator_0') { | ||
| 12580 | $C->deb("Fate passed to variable_declarator_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 12581 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 12582 | @try = ($try); | ||
| 12583 | $x = 'ALT variable_declarator_0'; # some outer ltm is controlling us | ||
| 12584 | } | ||
| 12585 | else { | ||
| 12586 | $x = 'ALTLTM variable_declarator_0'; # we are top level ltm | ||
| 12587 | } | ||
| 12588 | my $C = $C->cursor_xact($x); | ||
| 12589 | my $xact = $C->{_xact}; | ||
| 12590 | |||
| 12591 | my @gather = (); | ||
| 12592 | for (;;) { | ||
| 12593 | unless (@try) { | ||
| 12594 | $relex //= $C->cursor_fate('STD::STD::P5', 'variable_declarator_0', $retree); | ||
| 12595 | @try = $relex->($C) or last; | ||
| 12596 | } | ||
| 12597 | $try = shift(@try) // next; | ||
| 12598 | |||
| 12599 | if (ref $try) { | ||
| 12600 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 12601 | } | ||
| 12602 | |||
| 12603 | $C->deb("variable_declarator_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 12604 | push @gather, (( | ||
| 12605 | sub { | ||
| 12606 | my $C=shift; | ||
| 12607 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 12608 | my $C=shift; | ||
| 12609 | local $::GOAL = "\)"; | ||
| 12610 | my $goalpos = $C; | ||
| 12611 | if (($C) = ($C->_EXACT("\(")) | ||
| 12612 | and ($C) = (scalar(do { | ||
| 12613 | }, $C)) | ||
| 12614 | and ($C) = ($C->_SUBSUMEr(['signature'], sub { | ||
| 12615 | my $C = shift; | ||
| 12616 | $C->signature | ||
| 12617 | })) | ||
| 12618 | and ($C) = ($C->_BRACKETr(sub { | ||
| 12619 | my $C=shift; | ||
| 12620 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 12621 | my $xact = $C->xact; | ||
| 12622 | my @gather; | ||
| 12623 | do { | ||
| 12624 | push @gather, $C->_EXACT("\)") | ||
| 12625 | } | ||
| 12626 | or $xact->[-2] or | ||
| 12627 | do { | ||
| 12628 | push @gather, do { | ||
| 12629 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'variable_declarator', $goalpos))) { ($C) } else { () } | ||
| 12630 | |||
| 12631 | } | ||
| 12632 | }; | ||
| 12633 | @gather; | ||
| 12634 | } | ||
| 12635 | }))) { | ||
| 12636 | $C | ||
| 12637 | } else { () } | ||
| 12638 | }))) { ($C) } else { () } | ||
| 12639 | }, | ||
| 12640 | sub { | ||
| 12641 | my $C=shift; | ||
| 12642 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 12643 | my $C=shift; | ||
| 12644 | local $::GOAL = "\]"; | ||
| 12645 | my $goalpos = $C; | ||
| 12646 | if (($C) = ($C->_EXACT("\[")) | ||
| 12647 | and ($C) = (scalar(do { | ||
| 12648 | }, $C)) | ||
| 12649 | and ($C) = ($C->_SUBSUMEr(['semilist'], sub { | ||
| 12650 | my $C = shift; | ||
| 12651 | $C->semilist | ||
| 12652 | })) | ||
| 12653 | and ($C) = ($C->_BRACKETr(sub { | ||
| 12654 | my $C=shift; | ||
| 12655 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 12656 | my $xact = $C->xact; | ||
| 12657 | my @gather; | ||
| 12658 | do { | ||
| 12659 | push @gather, $C->_EXACT("\]") | ||
| 12660 | } | ||
| 12661 | or $xact->[-2] or | ||
| 12662 | do { | ||
| 12663 | push @gather, do { | ||
| 12664 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'shape definition', $goalpos))) { ($C) } else { () } | ||
| 12665 | |||
| 12666 | } | ||
| 12667 | }; | ||
| 12668 | @gather; | ||
| 12669 | } | ||
| 12670 | }))) { | ||
| 12671 | $C | ||
| 12672 | } else { () } | ||
| 12673 | }))) { ($C) } else { () } | ||
| 12674 | }, | ||
| 12675 | sub { | ||
| 12676 | my $C=shift; | ||
| 12677 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 12678 | my $C=shift; | ||
| 12679 | local $::GOAL = "\}"; | ||
| 12680 | my $goalpos = $C; | ||
| 12681 | if (($C) = ($C->_EXACT("\{")) | ||
| 12682 | and ($C) = (scalar(do { | ||
| 12683 | }, $C)) | ||
| 12684 | and ($C) = ($C->_SUBSUMEr(['semilist'], sub { | ||
| 12685 | my $C = shift; | ||
| 12686 | $C->semilist | ||
| 12687 | })) | ||
| 12688 | and ($C) = ($C->_BRACKETr(sub { | ||
| 12689 | my $C=shift; | ||
| 12690 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 12691 | my $xact = $C->xact; | ||
| 12692 | my @gather; | ||
| 12693 | do { | ||
| 12694 | push @gather, $C->_EXACT("\}") | ||
| 12695 | } | ||
| 12696 | or $xact->[-2] or | ||
| 12697 | do { | ||
| 12698 | push @gather, do { | ||
| 12699 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'shape definition', $goalpos))) { ($C) } else { () } | ||
| 12700 | |||
| 12701 | } | ||
| 12702 | }; | ||
| 12703 | @gather; | ||
| 12704 | } | ||
| 12705 | }))) { | ||
| 12706 | $C | ||
| 12707 | } else { () } | ||
| 12708 | }))) { ($C) } else { () } | ||
| 12709 | }, | ||
| 12710 | sub { | ||
| 12711 | my $C=shift; | ||
| 12712 | if (my ($C) = ($C->before(sub { | ||
| 12713 | my $C=shift; | ||
| 12714 | if (my ($C) = ($C->before(sub { | ||
| 12715 | my $C=shift; | ||
| 12716 | $C->_EXACT("\<") | ||
| 12717 | }))) { ($C) } else { () } | ||
| 12718 | }))) { | ||
| 12719 | $C->_SUBSUMEr(['postcircumfix','p5postcircumfix'], sub { | ||
| 12720 | my $C = shift; | ||
| 12721 | $C->p5postcircumfix | ||
| 12722 | }) | ||
| 12723 | } else { () } | ||
| 12724 | } | ||
| 12725 | )[$try])->($C); | ||
| 12726 | last if @gather; | ||
| 12727 | last if $xact->[-2]; # committed? | ||
| 12728 | } | ||
| 12729 | @gather; | ||
| 12730 | }; | ||
| 12731 | }) | ||
| 12732 | }) | ||
| 12733 | }) | ||
| 12734 | } else { () } | ||
| 12735 | }))) { ($C) } else { () } | ||
| 12736 | })) | ||
| 12737 | and ($C) = ($C->ws)) { | ||
| 12738 | $C->_STARr(sub { | ||
| 12739 | my $C=shift; | ||
| 12740 | $C->_SUBSUMEr(['trait'], sub { | ||
| 12741 | my $C = shift; | ||
| 12742 | $C->trait | ||
| 12743 | }) | ||
| 12744 | }) | ||
| 12745 | } else { () } | ||
| 12746 | |||
| 12747 | }); | ||
| 12748 | } | ||
| 12749 | ; | ||
| 12750 | ## rule scoped($*SCOPE) { | ||
| 12751 | sub scoped__PEEK { $_[0]->_AUTOLEXpeek('scoped', $retree) } | ||
| 12752 | sub scoped { | ||
| 12753 | no warnings 'recursion'; | ||
| 12754 | my $self = shift; | ||
| 12755 | |||
| 12756 | die 'Required argument SCOPE omitted' unless @_; | ||
| 12757 | local $::SCOPE = @_ ? shift() : undef; | ||
| 12758 | |||
| 12759 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12760 | |||
| 12761 | my $C = $self->cursor_xact("RULE scoped"); | ||
| 12762 | my $xact = $C->xact; | ||
| 12763 | my $S = $C->{'_pos'}; | ||
| 12764 | $self->_MATCHIFYr($S, "scoped", do { my $C = $C->cursor_xact('ALT ||'); | ||
| 12765 | my $xact = $C->xact; | ||
| 12766 | my @gather; | ||
| 12767 | do { | ||
| 12768 | push @gather, do { | ||
| 12769 | my $C = $C; | ||
| 12770 | if (($C) = ($C->ws) | ||
| 12771 | and ($C) = ($C->_BRACKETr(sub { | ||
| 12772 | my $C=shift; | ||
| 12773 | do { | ||
| 12774 | my ($tag, $try); | ||
| 12775 | my @try; | ||
| 12776 | my $relex; | ||
| 12777 | |||
| 12778 | my $fate; | ||
| 12779 | my $x; | ||
| 12780 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'scoped_0') { | ||
| 12781 | $C->deb("Fate passed to scoped_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 12782 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 12783 | @try = ($try); | ||
| 12784 | $x = 'ALT scoped_0'; # some outer ltm is controlling us | ||
| 12785 | } | ||
| 12786 | else { | ||
| 12787 | $x = 'ALTLTM scoped_0'; # we are top level ltm | ||
| 12788 | } | ||
| 12789 | my $C = $C->cursor_xact($x); | ||
| 12790 | my $xact = $C->{_xact}; | ||
| 12791 | |||
| 12792 | my @gather = (); | ||
| 12793 | for (;;) { | ||
| 12794 | unless (@try) { | ||
| 12795 | $relex //= $C->cursor_fate('STD::STD::P5', 'scoped_0', $retree); | ||
| 12796 | @try = $relex->($C) or last; | ||
| 12797 | } | ||
| 12798 | $try = shift(@try) // next; | ||
| 12799 | |||
| 12800 | if (ref $try) { | ||
| 12801 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 12802 | } | ||
| 12803 | |||
| 12804 | $C->deb("scoped_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 12805 | push @gather, (( | ||
| 12806 | sub { | ||
| 12807 | my $C=shift; | ||
| 12808 | if (($C) = ($C->_SUBSUMEr(['declarator'], sub { | ||
| 12809 | my $C = shift; | ||
| 12810 | $C->declarator | ||
| 12811 | })) | ||
| 12812 | and ($C) = ($C->ws)) { | ||
| 12813 | $C | ||
| 12814 | } else { () } | ||
| 12815 | }, | ||
| 12816 | sub { | ||
| 12817 | my $C=shift; | ||
| 12818 | if (($C) = ($C->_SUBSUMEr(['regex_declarator','p5regex_declarator'], sub { | ||
| 12819 | my $C = shift; | ||
| 12820 | $C->p5regex_declarator | ||
| 12821 | })) | ||
| 12822 | and ($C) = ($C->ws)) { | ||
| 12823 | $C | ||
| 12824 | } else { () } | ||
| 12825 | }, | ||
| 12826 | sub { | ||
| 12827 | my $C=shift; | ||
| 12828 | if (($C) = ($C->_SUBSUMEr(['package_declarator','p5package_declarator'], sub { | ||
| 12829 | my $C = shift; | ||
| 12830 | $C->p5package_declarator | ||
| 12831 | })) | ||
| 12832 | and ($C) = ($C->ws)) { | ||
| 12833 | $C | ||
| 12834 | } else { () } | ||
| 12835 | } | ||
| 12836 | )[$try])->($C); | ||
| 12837 | last if @gather; | ||
| 12838 | last if $xact->[-2]; # committed? | ||
| 12839 | } | ||
| 12840 | @gather; | ||
| 12841 | }; | ||
| 12842 | }))) { | ||
| 12843 | $C | ||
| 12844 | } else { () } | ||
| 12845 | |||
| 12846 | } | ||
| 12847 | } | ||
| 12848 | or $xact->[-2] or | ||
| 12849 | do { | ||
| 12850 | push @gather, do { | ||
| 12851 | my $C = $C; | ||
| 12852 | if (($C) = ($C->ws) | ||
| 12853 | and ($C) = ($C->before(sub { | ||
| 12854 | my $C=shift; | ||
| 12855 | if (my ($C) = ($C->before(sub { | ||
| 12856 | my $C=shift; | ||
| 12857 | if (my ($C) = ($C->ws)) { | ||
| 12858 | $C->_PATTERN(qr/\G[A-Z]/) | ||
| 12859 | } else { () } | ||
| 12860 | }))) { ($C) } else { () } | ||
| 12861 | })) | ||
| 12862 | and ($C) = ($C->_SUBSUMEr(['longname'], sub { | ||
| 12863 | my $C = shift; | ||
| 12864 | $C->longname | ||
| 12865 | })) | ||
| 12866 | and ($C) = (scalar(do { | ||
| 12867 | my $M = $C; | ||
| 12868 | { | ||
| 12869 | my $t = $M->{'longname'}->Str; | ||
| 12870 | if (not $C->is_known($t)) { | ||
| 12871 | $C->sorry("In \"$::SCOPE\" declaration, typename $t must be predeclared (or marked as declarative with :: prefix)")}; | ||
| 12872 | }}, $C)) | ||
| 12873 | and ($C) = ($C->ws) | ||
| 12874 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 12875 | my $C=shift; | ||
| 12876 | $C | ||
| 12877 | }))) { | ||
| 12878 | $C | ||
| 12879 | } else { () } | ||
| 12880 | |||
| 12881 | } | ||
| 12882 | } | ||
| 12883 | or $xact->[-2] or | ||
| 12884 | do { | ||
| 12885 | push @gather, do { | ||
| 12886 | my $C = $C; | ||
| 12887 | if (($C) = ($C->ws) | ||
| 12888 | and ($C) = ($C->panic("Malformed $::SCOPE")) | ||
| 12889 | and ($C) = ($C->ws)) { | ||
| 12890 | $C | ||
| 12891 | } else { () } | ||
| 12892 | |||
| 12893 | } | ||
| 12894 | }; | ||
| 12895 | @gather; | ||
| 12896 | }); | ||
| 12897 | } | ||
| 12898 | ; | ||
| 12899 | ## token p5scope_declarator:my { <sym> <scoped('my')> } | ||
| 12900 | sub p5scope_declarator__S_049my__PEEK { $_[0]->_AUTOLEXpeek('p5scope_declarator__S_049my', $retree) } | ||
| 12901 | sub p5scope_declarator__S_049my { | ||
| 12902 | no warnings 'recursion'; | ||
| 12903 | my $self = shift; | ||
| 12904 | |||
| 12905 | ; | ||
| 12906 | |||
| 12907 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12908 | |||
| 12909 | my $C = $self->cursor_xact("RULE p5scope_declarator__S_049my"); | ||
| 12910 | my $xact = $C->xact; | ||
| 12911 | my $S = $C->{'_pos'}; | ||
| 12912 | $C->{sym} = "my"; | ||
| 12913 | $self->_MATCHIFYr($S, "p5scope_declarator__S_049my", do { | ||
| 12914 | my $C = $C; | ||
| 12915 | if (($C) = ($C->_EXACT("my")) | ||
| 12916 | and ($C) = ($C->nofun)) { | ||
| 12917 | $C->_SUBSUMEr(['scoped'], sub { | ||
| 12918 | my $C = shift; | ||
| 12919 | $C->scoped('my') | ||
| 12920 | }) | ||
| 12921 | } else { () } | ||
| 12922 | |||
| 12923 | }); | ||
| 12924 | } | ||
| 12925 | ; | ||
| 12926 | ## token p5scope_declarator:our { <sym> <scoped('our')> } | ||
| 12927 | sub p5scope_declarator__S_050our__PEEK { $_[0]->_AUTOLEXpeek('p5scope_declarator__S_050our', $retree) } | ||
| 12928 | sub p5scope_declarator__S_050our { | ||
| 12929 | no warnings 'recursion'; | ||
| 12930 | my $self = shift; | ||
| 12931 | |||
| 12932 | ; | ||
| 12933 | |||
| 12934 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12935 | |||
| 12936 | my $C = $self->cursor_xact("RULE p5scope_declarator__S_050our"); | ||
| 12937 | my $xact = $C->xact; | ||
| 12938 | my $S = $C->{'_pos'}; | ||
| 12939 | $C->{sym} = "our"; | ||
| 12940 | $self->_MATCHIFYr($S, "p5scope_declarator__S_050our", do { | ||
| 12941 | my $C = $C; | ||
| 12942 | if (($C) = ($C->_EXACT("our")) | ||
| 12943 | and ($C) = ($C->nofun)) { | ||
| 12944 | $C->_SUBSUMEr(['scoped'], sub { | ||
| 12945 | my $C = shift; | ||
| 12946 | $C->scoped('our') | ||
| 12947 | }) | ||
| 12948 | } else { () } | ||
| 12949 | |||
| 12950 | }); | ||
| 12951 | } | ||
| 12952 | ; | ||
| 12953 | ## token p5scope_declarator:state { <sym> <scoped('state')> } | ||
| 12954 | sub p5scope_declarator__S_051state__PEEK { $_[0]->_AUTOLEXpeek('p5scope_declarator__S_051state', $retree) } | ||
| 12955 | sub p5scope_declarator__S_051state { | ||
| 12956 | no warnings 'recursion'; | ||
| 12957 | my $self = shift; | ||
| 12958 | |||
| 12959 | ; | ||
| 12960 | |||
| 12961 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12962 | |||
| 12963 | my $C = $self->cursor_xact("RULE p5scope_declarator__S_051state"); | ||
| 12964 | my $xact = $C->xact; | ||
| 12965 | my $S = $C->{'_pos'}; | ||
| 12966 | $C->{sym} = "state"; | ||
| 12967 | $self->_MATCHIFYr($S, "p5scope_declarator__S_051state", do { | ||
| 12968 | my $C = $C; | ||
| 12969 | if (($C) = ($C->_EXACT("state")) | ||
| 12970 | and ($C) = ($C->nofun)) { | ||
| 12971 | $C->_SUBSUMEr(['scoped'], sub { | ||
| 12972 | my $C = shift; | ||
| 12973 | $C->scoped('state') | ||
| 12974 | }) | ||
| 12975 | } else { () } | ||
| 12976 | |||
| 12977 | }); | ||
| 12978 | } | ||
| 12979 | ; | ||
| 12980 | ## token p5package_declarator:package { | ||
| 12981 | sub p5package_declarator__S_052package__PEEK { $_[0]->_AUTOLEXpeek('p5package_declarator__S_052package', $retree) } | ||
| 12982 | sub p5package_declarator__S_052package { | ||
| 12983 | no warnings 'recursion'; | ||
| 12984 | my $self = shift; | ||
| 12985 | |||
| 12986 | ; | ||
| 12987 | local $::PKGDECL = 'package'; | ||
| 12988 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 12989 | |||
| 12990 | my $C = $self->cursor_xact("RULE p5package_declarator__S_052package"); | ||
| 12991 | my $xact = $C->xact; | ||
| 12992 | my $S = $C->{'_pos'}; | ||
| 12993 | $C->{sym} = "package"; | ||
| 12994 | $self->_MATCHIFYr($S, "p5package_declarator__S_052package", do { | ||
| 12995 | my $C = $C; | ||
| 12996 | if (($C) = ($C->_EXACT("package")) | ||
| 12997 | and ($C) = ($C->spacey)) { | ||
| 12998 | $C->_SUBSUMEr(['package_def'], sub { | ||
| 12999 | my $C = shift; | ||
| 13000 | $C->package_def | ||
| 13001 | }) | ||
| 13002 | } else { () } | ||
| 13003 | |||
| 13004 | }); | ||
| 13005 | } | ||
| 13006 | ; | ||
| 13007 | ## token p5package_declarator:require { # here because of declarational aspects | ||
| 13008 | sub p5package_declarator__S_053require__PEEK { $_[0]->_AUTOLEXpeek('p5package_declarator__S_053require', $retree) } | ||
| 13009 | sub p5package_declarator__S_053require { | ||
| 13010 | no warnings 'recursion'; | ||
| 13011 | my $self = shift; | ||
| 13012 | |||
| 13013 | ; | ||
| 13014 | |||
| 13015 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13016 | |||
| 13017 | my $C = $self->cursor_xact("RULE p5package_declarator__S_053require"); | ||
| 13018 | my $xact = $C->xact; | ||
| 13019 | my $S = $C->{'_pos'}; | ||
| 13020 | $C->{'EXPR'} = []; | ||
| 13021 | $C->{sym} = "require"; | ||
| 13022 | $self->_MATCHIFYr($S, "p5package_declarator__S_053require", do { | ||
| 13023 | my $C = $C; | ||
| 13024 | if (($C) = ($C->_EXACT("require")) | ||
| 13025 | and ($C) = ($C->spacey) | ||
| 13026 | and ($C) = ($C->ws) | ||
| 13027 | and ($C) = ($C->_BRACKETr(sub { | ||
| 13028 | my $C=shift; | ||
| 13029 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 13030 | my $xact = $C->xact; | ||
| 13031 | my @gather; | ||
| 13032 | do { | ||
| 13033 | push @gather, do { | ||
| 13034 | if (my ($C) = ($C->_SUBSUMEr(['module_name','p5module_name'], sub { | ||
| 13035 | my $C = shift; | ||
| 13036 | $C->p5module_name | ||
| 13037 | }))) { | ||
| 13038 | $C->_OPTr(sub { | ||
| 13039 | my $C=shift; | ||
| 13040 | $C->_SUBSUMEr(['EXPR'], sub { | ||
| 13041 | my $C = shift; | ||
| 13042 | $C->EXPR | ||
| 13043 | }) | ||
| 13044 | }) | ||
| 13045 | } else { () } | ||
| 13046 | |||
| 13047 | } | ||
| 13048 | } | ||
| 13049 | or $xact->[-2] or | ||
| 13050 | do { | ||
| 13051 | push @gather, $C->_SUBSUMEr(['EXPR'], sub { | ||
| 13052 | my $C = shift; | ||
| 13053 | $C->EXPR | ||
| 13054 | }) | ||
| 13055 | }; | ||
| 13056 | @gather; | ||
| 13057 | } | ||
| 13058 | }))) { | ||
| 13059 | $C | ||
| 13060 | } else { () } | ||
| 13061 | |||
| 13062 | }); | ||
| 13063 | } | ||
| 13064 | ; | ||
| 13065 | ## rule package_def { | ||
| 13066 | sub package_def__PEEK { $_[0]->_AUTOLEXpeek('package_def', $retree) } | ||
| 13067 | sub package_def { | ||
| 13068 | no warnings 'recursion'; | ||
| 13069 | my $self = shift; | ||
| 13070 | |||
| 13071 | my $longname;local $::IN_DECL = 1;local $::DECLARAND;local $::NEWPKG;local $::NEWLEX; | ||
| 13072 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13073 | |||
| 13074 | my $C = $self->cursor_xact("RULE package_def"); | ||
| 13075 | my $xact = $C->xact; | ||
| 13076 | my $S = $C->{'_pos'}; | ||
| 13077 | $C->{'def_module_name'} = []; | ||
| 13078 | $self->_MATCHIFYr($S, "package_def", do { my $C = $C->cursor_xact('ALT ||'); | ||
| 13079 | my $xact = $C->xact; | ||
| 13080 | my @gather; | ||
| 13081 | do { | ||
| 13082 | push @gather, do { | ||
| 13083 | my $C = $C; | ||
| 13084 | if (($C) = ($C->ws) | ||
| 13085 | and ($C) = (scalar(do { | ||
| 13086 | $::SCOPE ||= 'our'}, $C)) | ||
| 13087 | and ($C) = ($C->_BRACKETr(sub { | ||
| 13088 | my $C=shift; | ||
| 13089 | if (($C) = ($C->_OPTr(sub { | ||
| 13090 | my $C=shift; | ||
| 13091 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 13092 | my $C=shift; | ||
| 13093 | if (($C) = ($C->ws) | ||
| 13094 | and ($C) = ($C->_SUBSUMEr(['def_module_name'], sub { | ||
| 13095 | my $C = shift; | ||
| 13096 | $C->def_module_name | ||
| 13097 | })) | ||
| 13098 | and ($C) = (scalar(do { | ||
| 13099 | my $M = $C; | ||
| 13100 | $longname = $M->{'def_module_name'}->[0]->{'longname'}; | ||
| 13101 | $C->add_name($longname->Str); | ||
| 13102 | }, $C)) | ||
| 13103 | and ($C) = ($C->ws)) { | ||
| 13104 | $C | ||
| 13105 | } else { () } | ||
| 13106 | }))) { ($C) } else { () } | ||
| 13107 | })) | ||
| 13108 | and ($C) = ($C->ws) | ||
| 13109 | and ($C) = ($C->_BRACKETr(sub { | ||
| 13110 | my $C=shift; | ||
| 13111 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 13112 | my $xact = $C->xact; | ||
| 13113 | my @gather; | ||
| 13114 | do { | ||
| 13115 | push @gather, do { | ||
| 13116 | if (my ($C) = ($C->before(sub { | ||
| 13117 | my $C=shift; | ||
| 13118 | if (my ($C) = ($C->before(sub { | ||
| 13119 | my $C=shift; | ||
| 13120 | if (my ($C) = ($C->ws)) { | ||
| 13121 | $C->_EXACT("\;") | ||
| 13122 | } else { () } | ||
| 13123 | }))) { ($C) } else { () } | ||
| 13124 | }))) { | ||
| 13125 | scalar(do { | ||
| 13126 | { | ||
| 13127 | $longname or $C->panic("Package cannot be anonymous"); | ||
| 13128 | my $shortname = $longname->{'name'}->Str; | ||
| 13129 | $::CURPKG = $::NEWPKG // $::CURPKG->{$shortname . '::'}; | ||
| 13130 | }}, $C) | ||
| 13131 | } else { () } | ||
| 13132 | |||
| 13133 | } | ||
| 13134 | } | ||
| 13135 | or $xact->[-2] or | ||
| 13136 | do { | ||
| 13137 | push @gather, do { | ||
| 13138 | my $C = $C; | ||
| 13139 | if (($C) = ($C->panic("Unable to parse " . $::PKGDECL . " definition")) | ||
| 13140 | and ($C) = ($C->ws)) { | ||
| 13141 | $C | ||
| 13142 | } else { () } | ||
| 13143 | |||
| 13144 | } | ||
| 13145 | }; | ||
| 13146 | @gather; | ||
| 13147 | } | ||
| 13148 | }))) { | ||
| 13149 | $C | ||
| 13150 | } else { () } | ||
| 13151 | }))) { | ||
| 13152 | $C | ||
| 13153 | } else { () } | ||
| 13154 | |||
| 13155 | } | ||
| 13156 | } | ||
| 13157 | or $xact->[-2] or | ||
| 13158 | do { | ||
| 13159 | push @gather, do { | ||
| 13160 | my $C = $C; | ||
| 13161 | if (($C) = ($C->ws) | ||
| 13162 | and ($C) = ($C->panic("Malformed $::PKGDECL")) | ||
| 13163 | and ($C) = ($C->ws)) { | ||
| 13164 | $C | ||
| 13165 | } else { () } | ||
| 13166 | |||
| 13167 | } | ||
| 13168 | }; | ||
| 13169 | @gather; | ||
| 13170 | }); | ||
| 13171 | } | ||
| 13172 | ; | ||
| 13173 | ## token declarator { | ||
| 13174 | sub declarator__PEEK { $_[0]->_AUTOLEXpeek('declarator', $retree) } | ||
| 13175 | sub declarator { | ||
| 13176 | no warnings 'recursion'; | ||
| 13177 | my $self = shift; | ||
| 13178 | |||
| 13179 | |||
| 13180 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13181 | |||
| 13182 | my $C = $self->cursor_xact("RULE declarator"); | ||
| 13183 | my $xact = $C->xact; | ||
| 13184 | my $S = $C->{'_pos'}; | ||
| 13185 | $C->{'trait'} = []; | ||
| 13186 | $self->_MATCHIFYr($S, "declarator", $C->_BRACKETr(sub { | ||
| 13187 | my $C=shift; | ||
| 13188 | do { | ||
| 13189 | my ($tag, $try); | ||
| 13190 | my @try; | ||
| 13191 | my $relex; | ||
| 13192 | |||
| 13193 | my $fate; | ||
| 13194 | my $x; | ||
| 13195 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'declarator_0') { | ||
| 13196 | $C->deb("Fate passed to declarator_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 13197 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 13198 | @try = ($try); | ||
| 13199 | $x = 'ALT declarator_0'; # some outer ltm is controlling us | ||
| 13200 | } | ||
| 13201 | else { | ||
| 13202 | $x = 'ALTLTM declarator_0'; # we are top level ltm | ||
| 13203 | } | ||
| 13204 | my $C = $C->cursor_xact($x); | ||
| 13205 | my $xact = $C->{_xact}; | ||
| 13206 | |||
| 13207 | my @gather = (); | ||
| 13208 | for (;;) { | ||
| 13209 | unless (@try) { | ||
| 13210 | $relex //= $C->cursor_fate('STD::STD::P5', 'declarator_0', $retree); | ||
| 13211 | @try = $relex->($C) or last; | ||
| 13212 | } | ||
| 13213 | $try = shift(@try) // next; | ||
| 13214 | |||
| 13215 | if (ref $try) { | ||
| 13216 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 13217 | } | ||
| 13218 | |||
| 13219 | $C->deb("declarator_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 13220 | push @gather, (( | ||
| 13221 | sub { | ||
| 13222 | my $C=shift; | ||
| 13223 | $C->_SUBSUMEr(['constant_declarator'], sub { | ||
| 13224 | my $C = shift; | ||
| 13225 | $C->constant_declarator | ||
| 13226 | }) | ||
| 13227 | }, | ||
| 13228 | sub { | ||
| 13229 | my $C=shift; | ||
| 13230 | $C->_SUBSUMEr(['variable_declarator'], sub { | ||
| 13231 | my $C = shift; | ||
| 13232 | $C->variable_declarator | ||
| 13233 | }) | ||
| 13234 | }, | ||
| 13235 | sub { | ||
| 13236 | my $C=shift; | ||
| 13237 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 13238 | my $C=shift; | ||
| 13239 | local $::GOAL = "\)"; | ||
| 13240 | my $goalpos = $C; | ||
| 13241 | if (($C) = ($C->_EXACT("\(")) | ||
| 13242 | and ($C) = (scalar(do { | ||
| 13243 | }, $C)) | ||
| 13244 | and ($C) = ($C->_SUBSUMEr(['signature'], sub { | ||
| 13245 | my $C = shift; | ||
| 13246 | $C->signature | ||
| 13247 | })) | ||
| 13248 | and ($C) = ($C->_BRACKETr(sub { | ||
| 13249 | my $C=shift; | ||
| 13250 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 13251 | my $xact = $C->xact; | ||
| 13252 | my @gather; | ||
| 13253 | do { | ||
| 13254 | push @gather, $C->_EXACT("\)") | ||
| 13255 | } | ||
| 13256 | or $xact->[-2] or | ||
| 13257 | do { | ||
| 13258 | push @gather, do { | ||
| 13259 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'declarator', $goalpos))) { ($C) } else { () } | ||
| 13260 | |||
| 13261 | } | ||
| 13262 | }; | ||
| 13263 | @gather; | ||
| 13264 | } | ||
| 13265 | }))) { | ||
| 13266 | $C | ||
| 13267 | } else { () } | ||
| 13268 | }))) { | ||
| 13269 | $C->_STARr(sub { | ||
| 13270 | my $C=shift; | ||
| 13271 | $C->_SUBSUMEr(['trait'], sub { | ||
| 13272 | my $C = shift; | ||
| 13273 | $C->trait | ||
| 13274 | }) | ||
| 13275 | }) | ||
| 13276 | } else { () } | ||
| 13277 | }, | ||
| 13278 | sub { | ||
| 13279 | my $C=shift; | ||
| 13280 | $C->_SUBSUMEr(['routine_declarator','p5routine_declarator'], sub { | ||
| 13281 | my $C = shift; | ||
| 13282 | $C->p5routine_declarator | ||
| 13283 | }) | ||
| 13284 | }, | ||
| 13285 | sub { | ||
| 13286 | my $C=shift; | ||
| 13287 | $C->_SUBSUMEr(['regex_declarator','p5regex_declarator'], sub { | ||
| 13288 | my $C = shift; | ||
| 13289 | $C->p5regex_declarator | ||
| 13290 | }) | ||
| 13291 | }, | ||
| 13292 | sub { | ||
| 13293 | my $C=shift; | ||
| 13294 | $C->_SUBSUMEr(['type_declarator','p5type_declarator'], sub { | ||
| 13295 | my $C = shift; | ||
| 13296 | $C->p5type_declarator | ||
| 13297 | }) | ||
| 13298 | } | ||
| 13299 | )[$try])->($C); | ||
| 13300 | last if @gather; | ||
| 13301 | last if $xact->[-2]; # committed? | ||
| 13302 | } | ||
| 13303 | @gather; | ||
| 13304 | }; | ||
| 13305 | })); | ||
| 13306 | } | ||
| 13307 | ; | ||
| 13308 | ## token p5multi_declarator:null { | ||
| 13309 | sub p5multi_declarator__S_054null__PEEK { $_[0]->_AUTOLEXpeek('p5multi_declarator__S_054null', $retree) } | ||
| 13310 | sub p5multi_declarator__S_054null { | ||
| 13311 | no warnings 'recursion'; | ||
| 13312 | my $self = shift; | ||
| 13313 | |||
| 13314 | local $::MULTINESS = ''; | ||
| 13315 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13316 | |||
| 13317 | my $C = $self->cursor_xact("RULE p5multi_declarator__S_054null"); | ||
| 13318 | my $xact = $C->xact; | ||
| 13319 | my $S = $C->{'_pos'}; | ||
| 13320 | $C->{sym} = "null"; | ||
| 13321 | $self->_MATCHIFYr($S, "p5multi_declarator__S_054null", $C->_SUBSUMEr(['declarator'], sub { | ||
| 13322 | my $C = shift; | ||
| 13323 | $C->declarator | ||
| 13324 | })); | ||
| 13325 | } | ||
| 13326 | ; | ||
| 13327 | ## token p5routine_declarator:sub { <sym> <routine_def> } | ||
| 13328 | sub p5routine_declarator__S_055sub__PEEK { $_[0]->_AUTOLEXpeek('p5routine_declarator__S_055sub', $retree) } | ||
| 13329 | sub p5routine_declarator__S_055sub { | ||
| 13330 | no warnings 'recursion'; | ||
| 13331 | my $self = shift; | ||
| 13332 | |||
| 13333 | ; | ||
| 13334 | |||
| 13335 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13336 | |||
| 13337 | my $C = $self->cursor_xact("RULE p5routine_declarator__S_055sub"); | ||
| 13338 | my $xact = $C->xact; | ||
| 13339 | my $S = $C->{'_pos'}; | ||
| 13340 | $C->{sym} = "sub"; | ||
| 13341 | $self->_MATCHIFYr($S, "p5routine_declarator__S_055sub", do { | ||
| 13342 | my $C = $C; | ||
| 13343 | if (($C) = ($C->_EXACT("sub")) | ||
| 13344 | and ($C) = ($C->nofun)) { | ||
| 13345 | $C->_SUBSUMEr(['routine_def'], sub { | ||
| 13346 | my $C = shift; | ||
| 13347 | $C->routine_def | ||
| 13348 | }) | ||
| 13349 | } else { () } | ||
| 13350 | |||
| 13351 | }); | ||
| 13352 | } | ||
| 13353 | ; | ||
| 13354 | ## rule parensig { | ||
| 13355 | sub parensig__PEEK { $_[0]->_AUTOLEXpeek('parensig', $retree) } | ||
| 13356 | sub parensig { | ||
| 13357 | no warnings 'recursion'; | ||
| 13358 | my $self = shift; | ||
| 13359 | |||
| 13360 | |||
| 13361 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13362 | |||
| 13363 | my $C = $self->cursor_xact("RULE parensig"); | ||
| 13364 | my $xact = $C->xact; | ||
| 13365 | my $S = $C->{'_pos'}; | ||
| 13366 | $self->_MATCHIFYr($S, "parensig", do { | ||
| 13367 | my $C = $C; | ||
| 13368 | if (($C) = ($C->ws) | ||
| 13369 | and ($C) = ($C->_BRACKETr(sub { | ||
| 13370 | my $C=shift; | ||
| 13371 | local $::GOAL = "\)"; | ||
| 13372 | my $goalpos = $C; | ||
| 13373 | if (($C) = ($C->_EXACT("\(")) | ||
| 13374 | and ($C) = (scalar(do { | ||
| 13375 | }, $C)) | ||
| 13376 | and ($C) = ($C->_SUBSUMEr(['signature'], sub { | ||
| 13377 | my $C = shift; | ||
| 13378 | $C->signature(1) | ||
| 13379 | })) | ||
| 13380 | and ($C) = ($C->_BRACKETr(sub { | ||
| 13381 | my $C=shift; | ||
| 13382 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 13383 | my $xact = $C->xact; | ||
| 13384 | my @gather; | ||
| 13385 | do { | ||
| 13386 | push @gather, $C->_EXACT("\)") | ||
| 13387 | } | ||
| 13388 | or $xact->[-2] or | ||
| 13389 | do { | ||
| 13390 | push @gather, do { | ||
| 13391 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'signature', $goalpos))) { ($C) } else { () } | ||
| 13392 | |||
| 13393 | } | ||
| 13394 | }; | ||
| 13395 | @gather; | ||
| 13396 | } | ||
| 13397 | }))) { | ||
| 13398 | $C | ||
| 13399 | } else { () } | ||
| 13400 | })) | ||
| 13401 | and ($C) = ($C->ws)) { | ||
| 13402 | $C | ||
| 13403 | } else { () } | ||
| 13404 | |||
| 13405 | }); | ||
| 13406 | } | ||
| 13407 | ; | ||
| 13408 | ## method checkyada | ||
| 13409 | sub checkyada { | ||
| 13410 | no warnings 'recursion'; | ||
| 13411 | my $self = shift; | ||
| 13412 | eval { | ||
| 13413 | my $startsym = $self->{'blockoid'}->{'statementlist'}->{'statement'}->[0]->{'EXPR'}->{'term'}->{'sym'} // ''; | ||
| 13414 | if ($startsym eq '...' or $startsym eq '!!!' or $startsym eq '???') { | ||
| 13415 | $::DECLARAND->{'stub'} = 1}; | ||
| 13416 | }; | ||
| 13417 | return $self; | ||
| 13418 | }; | ||
| 13419 | ## rule routine_def () { | ||
| 13420 | sub routine_def__PEEK { $_[0]->_AUTOLEXpeek('routine_def', $retree) } | ||
| 13421 | sub routine_def { | ||
| 13422 | no warnings 'recursion'; | ||
| 13423 | my $self = shift; | ||
| 13424 | |||
| 13425 | local $::CURLEX = $::CURLEX;local $::IN_DECL = 1;local $::DECLARAND; | ||
| 13426 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13427 | |||
| 13428 | my $C = $self->cursor_xact("RULE routine_def"); | ||
| 13429 | my $xact = $C->xact; | ||
| 13430 | my $S = $C->{'_pos'}; | ||
| 13431 | $C->{'deflongname'} = []; | ||
| 13432 | $C->{'parensig'} = []; | ||
| 13433 | $C->{'trait'} = []; | ||
| 13434 | $self->_MATCHIFYr($S, "routine_def", do { my $C = $C->cursor_xact('ALT ||'); | ||
| 13435 | my $xact = $C->xact; | ||
| 13436 | my @gather; | ||
| 13437 | do { | ||
| 13438 | push @gather, do { | ||
| 13439 | my $C = $C; | ||
| 13440 | if (($C) = ($C->ws) | ||
| 13441 | and ($C) = ($C->_BRACKETr(sub { | ||
| 13442 | my $C=shift; | ||
| 13443 | if (($C) = ($C->_OPTr(sub { | ||
| 13444 | my $C=shift; | ||
| 13445 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 13446 | my $C=shift; | ||
| 13447 | do { | ||
| 13448 | my ($tag, $try); | ||
| 13449 | my @try; | ||
| 13450 | my $relex; | ||
| 13451 | |||
| 13452 | my $fate; | ||
| 13453 | my $x; | ||
| 13454 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'routine_def_0') { | ||
| 13455 | $C->deb("Fate passed to routine_def_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 13456 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 13457 | @try = ($try); | ||
| 13458 | $x = 'ALT routine_def_0'; # some outer ltm is controlling us | ||
| 13459 | } | ||
| 13460 | else { | ||
| 13461 | $x = 'ALTLTM routine_def_0'; # we are top level ltm | ||
| 13462 | } | ||
| 13463 | my $C = $C->cursor_xact($x); | ||
| 13464 | my $xact = $C->{_xact}; | ||
| 13465 | |||
| 13466 | my @gather = (); | ||
| 13467 | for (;;) { | ||
| 13468 | unless (@try) { | ||
| 13469 | $relex //= $C->cursor_fate('STD::STD::P5', 'routine_def_0', $retree); | ||
| 13470 | @try = $relex->($C) or last; | ||
| 13471 | } | ||
| 13472 | $try = shift(@try) // next; | ||
| 13473 | |||
| 13474 | if (ref $try) { | ||
| 13475 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 13476 | } | ||
| 13477 | |||
| 13478 | $C->deb("routine_def_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 13479 | push @gather, (( | ||
| 13480 | sub { | ||
| 13481 | my $C=shift; | ||
| 13482 | if (($C) = ($C->ws) | ||
| 13483 | and ($C) = ($C->_EXACT("\&")) | ||
| 13484 | and ($C) = ($C->_OPTr(sub { | ||
| 13485 | my $C=shift; | ||
| 13486 | $C->_SUBSUMEr(['deflongname'], sub { | ||
| 13487 | my $C = shift; | ||
| 13488 | $C->deflongname | ||
| 13489 | }) | ||
| 13490 | })) | ||
| 13491 | and ($C) = ($C->ws)) { | ||
| 13492 | $C | ||
| 13493 | } else { () } | ||
| 13494 | }, | ||
| 13495 | sub { | ||
| 13496 | my $C=shift; | ||
| 13497 | if (($C) = ($C->ws) | ||
| 13498 | and ($C) = ($C->_SUBSUMEr(['deflongname'], sub { | ||
| 13499 | my $C = shift; | ||
| 13500 | $C->deflongname | ||
| 13501 | })) | ||
| 13502 | and ($C) = ($C->ws)) { | ||
| 13503 | $C | ||
| 13504 | } else { () } | ||
| 13505 | } | ||
| 13506 | )[$try])->($C); | ||
| 13507 | last if @gather; | ||
| 13508 | last if $xact->[-2]; # committed? | ||
| 13509 | } | ||
| 13510 | @gather; | ||
| 13511 | }; | ||
| 13512 | }))) { ($C) } else { () } | ||
| 13513 | })) | ||
| 13514 | and ($C) = ($C->ws) | ||
| 13515 | and ($C) = ($C->newlex(1)) | ||
| 13516 | and ($C) = ($C->ws) | ||
| 13517 | and ($C) = ($C->_OPTr(sub { | ||
| 13518 | my $C=shift; | ||
| 13519 | $C->_SUBSUMEr(['parensig'], sub { | ||
| 13520 | my $C = shift; | ||
| 13521 | $C->parensig | ||
| 13522 | }) | ||
| 13523 | })) | ||
| 13524 | and ($C) = ($C->ws) | ||
| 13525 | and ($C) = ($C->_STARr(sub { | ||
| 13526 | my $C=shift; | ||
| 13527 | $C->_SUBSUMEr(['trait'], sub { | ||
| 13528 | my $C = shift; | ||
| 13529 | $C->trait | ||
| 13530 | }) | ||
| 13531 | })) | ||
| 13532 | and ($C) = ($C->ws) | ||
| 13533 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 13534 | my $C=shift; | ||
| 13535 | (($C) x !!do { | ||
| 13536 | $::IN_DECL = 0}) | ||
| 13537 | })) | ||
| 13538 | and ($C) = ($C->_SUBSUMEr(['blockoid'], sub { | ||
| 13539 | my $C = shift; | ||
| 13540 | $C->blockoid | ||
| 13541 | })) | ||
| 13542 | and ($C) = ($C->checkyada) | ||
| 13543 | and ($C) = ($C->getsig)) { | ||
| 13544 | $C | ||
| 13545 | } else { () } | ||
| 13546 | })) | ||
| 13547 | and ($C) = ($C->ws)) { | ||
| 13548 | $C | ||
| 13549 | } else { () } | ||
| 13550 | |||
| 13551 | } | ||
| 13552 | } | ||
| 13553 | or $xact->[-2] or | ||
| 13554 | do { | ||
| 13555 | push @gather, do { | ||
| 13556 | my $C = $C; | ||
| 13557 | if (($C) = ($C->ws) | ||
| 13558 | and ($C) = ($C->panic("Malformed routine")) | ||
| 13559 | and ($C) = ($C->ws)) { | ||
| 13560 | $C | ||
| 13561 | } else { () } | ||
| 13562 | |||
| 13563 | } | ||
| 13564 | }; | ||
| 13565 | @gather; | ||
| 13566 | }); | ||
| 13567 | } | ||
| 13568 | ; | ||
| 13569 | ## rule trait { | ||
| 13570 | sub trait__PEEK { $_[0]->_AUTOLEXpeek('trait', $retree) } | ||
| 13571 | sub trait { | ||
| 13572 | no warnings 'recursion'; | ||
| 13573 | my $self = shift; | ||
| 13574 | |||
| 13575 | local $::IN_DECL = 0; | ||
| 13576 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13577 | |||
| 13578 | my $C = $self->cursor_xact("RULE trait"); | ||
| 13579 | my $xact = $C->xact; | ||
| 13580 | my $S = $C->{'_pos'}; | ||
| 13581 | $self->_MATCHIFYr($S, "trait", do { | ||
| 13582 | my $C = $C; | ||
| 13583 | if (($C) = ($C->ws) | ||
| 13584 | and ($C) = ($C->_EXACT("\:")) | ||
| 13585 | and ($C) = ($C->ws) | ||
| 13586 | and ($C) = ($C->_SUBSUMEr(['EXPR'], sub { | ||
| 13587 | my $C = shift; | ||
| 13588 | $C->EXPR(\%comma) | ||
| 13589 | })) | ||
| 13590 | and ($C) = ($C->ws)) { | ||
| 13591 | $C | ||
| 13592 | } else { () } | ||
| 13593 | |||
| 13594 | }); | ||
| 13595 | } | ||
| 13596 | ; | ||
| 13597 | ## token nullterm { | ||
| 13598 | sub nullterm__PEEK { $_[0]->_AUTOLEXpeek('nullterm', $retree) } | ||
| 13599 | sub nullterm { | ||
| 13600 | no warnings 'recursion'; | ||
| 13601 | my $self = shift; | ||
| 13602 | |||
| 13603 | |||
| 13604 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13605 | |||
| 13606 | my $C = $self->cursor_xact("RULE nullterm"); | ||
| 13607 | my $xact = $C->xact; | ||
| 13608 | my $S = $C->{'_pos'}; | ||
| 13609 | $self->_MATCHIFYr($S, "nullterm", $C->before(sub { | ||
| 13610 | my $C=shift; | ||
| 13611 | $C | ||
| 13612 | })); | ||
| 13613 | } | ||
| 13614 | ; | ||
| 13615 | ## token nulltermish { | ||
| 13616 | sub nulltermish__PEEK { $_[0]->_AUTOLEXpeek('nulltermish', $retree) } | ||
| 13617 | sub nulltermish { | ||
| 13618 | no warnings 'recursion'; | ||
| 13619 | my $self = shift; | ||
| 13620 | |||
| 13621 | |||
| 13622 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13623 | |||
| 13624 | my $C = $self->cursor_xact("RULE nulltermish"); | ||
| 13625 | my $xact = $C->xact; | ||
| 13626 | my $S = $C->{'_pos'}; | ||
| 13627 | $self->_MATCHIFYr($S, "nulltermish", $C->_BRACKETr(sub { | ||
| 13628 | my $C=shift; | ||
| 13629 | do { | ||
| 13630 | my ($tag, $try); | ||
| 13631 | my @try; | ||
| 13632 | my $relex; | ||
| 13633 | |||
| 13634 | my $fate; | ||
| 13635 | my $x; | ||
| 13636 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'nulltermish_0') { | ||
| 13637 | $C->deb("Fate passed to nulltermish_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 13638 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 13639 | @try = ($try); | ||
| 13640 | $x = 'ALT nulltermish_0'; # some outer ltm is controlling us | ||
| 13641 | } | ||
| 13642 | else { | ||
| 13643 | $x = 'ALTLTM nulltermish_0'; # we are top level ltm | ||
| 13644 | } | ||
| 13645 | my $C = $C->cursor_xact($x); | ||
| 13646 | my $xact = $C->{_xact}; | ||
| 13647 | |||
| 13648 | my @gather = (); | ||
| 13649 | for (;;) { | ||
| 13650 | unless (@try) { | ||
| 13651 | $relex //= $C->cursor_fate('STD::STD::P5', 'nulltermish_0', $retree); | ||
| 13652 | @try = $relex->($C) or last; | ||
| 13653 | } | ||
| 13654 | $try = shift(@try) // next; | ||
| 13655 | |||
| 13656 | if (ref $try) { | ||
| 13657 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 13658 | } | ||
| 13659 | |||
| 13660 | $C->deb("nulltermish_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 13661 | push @gather, (( | ||
| 13662 | sub { | ||
| 13663 | my $C=shift; | ||
| 13664 | if (my ($C) = ($C->before(sub { | ||
| 13665 | my $C=shift; | ||
| 13666 | if (my ($C) = ($C->stdstopper)) { ($C) } else { () } | ||
| 13667 | }))) { ($C) } else { () } | ||
| 13668 | }, | ||
| 13669 | sub { | ||
| 13670 | my $C=shift; | ||
| 13671 | if (my ($C) = ($C->_SUBSUMEr(['term','termish'], sub { | ||
| 13672 | my $C = shift; | ||
| 13673 | $C->termish | ||
| 13674 | }))) { | ||
| 13675 | scalar(do { | ||
| 13676 | my $M = $C; | ||
| 13677 | $C->{'PRE'} = delete $M->{'term'}->{'PRE'}; | ||
| 13678 | $C->{'POST'} = delete $M->{'term'}->{'POST'}; | ||
| 13679 | $C->{'~CAPS'} = $M->{'term'}->{'~CAPS'}; | ||
| 13680 | }, $C) | ||
| 13681 | } else { () } | ||
| 13682 | }, | ||
| 13683 | sub { | ||
| 13684 | my $C=shift; | ||
| 13685 | if (my ($C) = ($C->before(sub { | ||
| 13686 | my $C=shift; | ||
| 13687 | $C | ||
| 13688 | }))) { ($C) } else { () } | ||
| 13689 | } | ||
| 13690 | )[$try])->($C); | ||
| 13691 | last if @gather; | ||
| 13692 | last if $xact->[-2]; # committed? | ||
| 13693 | } | ||
| 13694 | @gather; | ||
| 13695 | }; | ||
| 13696 | })); | ||
| 13697 | } | ||
| 13698 | ; | ||
| 13699 | ## token termish { | ||
| 13700 | sub termish__PEEK { $_[0]->_AUTOLEXpeek('termish', $retree) } | ||
| 13701 | sub termish { | ||
| 13702 | no warnings 'recursion'; | ||
| 13703 | my $self = shift; | ||
| 13704 | |||
| 13705 | local $::SCOPE = "";local $::VAR; | ||
| 13706 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13707 | |||
| 13708 | my $C = $self->cursor_xact("RULE termish"); | ||
| 13709 | my $xact = $C->xact; | ||
| 13710 | my $S = $C->{'_pos'}; | ||
| 13711 | $C->{'POST'} = []; | ||
| 13712 | $C->{'PRE'} = []; | ||
| 13713 | $self->_MATCHIFYr($S, "termish", do { | ||
| 13714 | my $C = $C; | ||
| 13715 | if (($C) = ($C->_BRACKETr(sub { | ||
| 13716 | my $C=shift; | ||
| 13717 | do { | ||
| 13718 | my ($tag, $try); | ||
| 13719 | my @try; | ||
| 13720 | my $relex; | ||
| 13721 | |||
| 13722 | my $fate; | ||
| 13723 | my $x; | ||
| 13724 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'termish_0') { | ||
| 13725 | $C->deb("Fate passed to termish_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 13726 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 13727 | @try = ($try); | ||
| 13728 | $x = 'ALT termish_0'; # some outer ltm is controlling us | ||
| 13729 | } | ||
| 13730 | else { | ||
| 13731 | $x = 'ALTLTM termish_0'; # we are top level ltm | ||
| 13732 | } | ||
| 13733 | my $C = $C->cursor_xact($x); | ||
| 13734 | my $xact = $C->{_xact}; | ||
| 13735 | |||
| 13736 | my @gather = (); | ||
| 13737 | for (;;) { | ||
| 13738 | unless (@try) { | ||
| 13739 | $relex //= $C->cursor_fate('STD::STD::P5', 'termish_0', $retree); | ||
| 13740 | @try = $relex->($C) or last; | ||
| 13741 | } | ||
| 13742 | $try = shift(@try) // next; | ||
| 13743 | |||
| 13744 | if (ref $try) { | ||
| 13745 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 13746 | } | ||
| 13747 | |||
| 13748 | $C->deb("termish_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 13749 | push @gather, (( | ||
| 13750 | sub { | ||
| 13751 | my $C=shift; | ||
| 13752 | if (($C) = ($C->_SUBSUMEr(['PRE'], sub { | ||
| 13753 | my $C = shift; | ||
| 13754 | $C->PRE | ||
| 13755 | })) | ||
| 13756 | and ($C) = ($C->_STARr(sub { | ||
| 13757 | my $C=shift; | ||
| 13758 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 13759 | my $C=shift; | ||
| 13760 | if (my ($C) = ($C->_NOTBEFORE(sub { | ||
| 13761 | my $C=shift; | ||
| 13762 | (($C) x !!do { | ||
| 13763 | my $M = $C; | ||
| 13764 | my $p = $M->{'PRE'}; | ||
| 13765 | my @p = @$p; | ||
| 13766 | $p[-1]->{'O'}->{'term'} and $M->{'term'} = pop @$p ; | ||
| 13767 | }) | ||
| 13768 | }))) { | ||
| 13769 | $C->_SUBSUMEr(['PRE'], sub { | ||
| 13770 | my $C = shift; | ||
| 13771 | $C->PRE | ||
| 13772 | }) | ||
| 13773 | } else { () } | ||
| 13774 | }))) { ($C) } else { () } | ||
| 13775 | })) | ||
| 13776 | and ($C) = ($C->_BRACKETr(sub { | ||
| 13777 | my $C=shift; | ||
| 13778 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 13779 | my $xact = $C->xact; | ||
| 13780 | my @gather; | ||
| 13781 | do { | ||
| 13782 | push @gather, do { | ||
| 13783 | if (my ($C) = ($C->before(sub { | ||
| 13784 | my $C=shift; | ||
| 13785 | (($C) x !!do { | ||
| 13786 | my $M = $C; | ||
| 13787 | $M->{'term'} }) | ||
| 13788 | }))) { ($C) } else { () } | ||
| 13789 | |||
| 13790 | } | ||
| 13791 | } | ||
| 13792 | or $xact->[-2] or | ||
| 13793 | do { | ||
| 13794 | push @gather, $C->_SUBSUMEr(['term'], sub { | ||
| 13795 | my $C = shift; | ||
| 13796 | $C->term | ||
| 13797 | }) | ||
| 13798 | }; | ||
| 13799 | @gather; | ||
| 13800 | } | ||
| 13801 | }))) { | ||
| 13802 | $C | ||
| 13803 | } else { () } | ||
| 13804 | }, | ||
| 13805 | sub { | ||
| 13806 | my $C=shift; | ||
| 13807 | $C->_SUBSUMEr(['term','p5term'], sub { | ||
| 13808 | my $C = shift; | ||
| 13809 | $C->p5term | ||
| 13810 | }) | ||
| 13811 | } | ||
| 13812 | )[$try])->($C); | ||
| 13813 | last if @gather; | ||
| 13814 | last if $xact->[-2]; # committed? | ||
| 13815 | } | ||
| 13816 | @gather; | ||
| 13817 | }; | ||
| 13818 | })) | ||
| 13819 | and ($C) = ($C->_BRACKETr(sub { | ||
| 13820 | my $C=shift; | ||
| 13821 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 13822 | my $xact = $C->xact; | ||
| 13823 | my @gather; | ||
| 13824 | do { | ||
| 13825 | push @gather, do { | ||
| 13826 | my $C = $C; | ||
| 13827 | if (($C) = ($C->before(sub { | ||
| 13828 | my $C=shift; | ||
| 13829 | (($C) x !!do { | ||
| 13830 | $::QSIGIL }) | ||
| 13831 | })) | ||
| 13832 | and ($C) = ($C->_BRACKETr(sub { | ||
| 13833 | my $C=shift; | ||
| 13834 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 13835 | my $xact = $C->xact; | ||
| 13836 | my @gather; | ||
| 13837 | do { | ||
| 13838 | push @gather, do { | ||
| 13839 | if (my ($C) = ($C->before(sub { | ||
| 13840 | my $C=shift; | ||
| 13841 | (($C) x !!do { | ||
| 13842 | $::QSIGIL eq '$' }) | ||
| 13843 | }))) { | ||
| 13844 | $C->_OPTr(sub { | ||
| 13845 | my $C=shift; | ||
| 13846 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 13847 | my $C=shift; | ||
| 13848 | STD::LazyMap::lazymap(sub { | ||
| 13849 | my $C=shift; | ||
| 13850 | if (my ($C) = ($C->before(sub { | ||
| 13851 | my $C=shift; | ||
| 13852 | if (my ($C) = ($C->after(sub { | ||
| 13853 | my $C=shift; | ||
| 13854 | $C->_PATTERN(qr/\G(?<=[\]}>)])/) | ||
| 13855 | }))) { ($C) } else { () } | ||
| 13856 | }))) { ($C) } else { () } | ||
| 13857 | }, | ||
| 13858 | $C->_PLUSg(sub { | ||
| 13859 | my $C=shift; | ||
| 13860 | $C->_SUBSUMEr(['POST'], sub { | ||
| 13861 | my $C = shift; | ||
| 13862 | $C->POST | ||
| 13863 | }) | ||
| 13864 | })) | ||
| 13865 | }))) { ($C) } else { () } | ||
| 13866 | }) | ||
| 13867 | } else { () } | ||
| 13868 | |||
| 13869 | } | ||
| 13870 | } | ||
| 13871 | or $xact->[-2] or | ||
| 13872 | do { | ||
| 13873 | push @gather, do { | ||
| 13874 | if (my ($C) = (STD::LazyMap::lazymap(sub { | ||
| 13875 | my $C=shift; | ||
| 13876 | if (my ($C) = ($C->before(sub { | ||
| 13877 | my $C=shift; | ||
| 13878 | if (my ($C) = ($C->after(sub { | ||
| 13879 | my $C=shift; | ||
| 13880 | $C->_PATTERN(qr/\G(?<=[\]}>)])/) | ||
| 13881 | }))) { ($C) } else { () } | ||
| 13882 | }))) { ($C) } else { () } | ||
| 13883 | }, | ||
| 13884 | $C->_PLUSg(sub { | ||
| 13885 | my $C=shift; | ||
| 13886 | $C->_SUBSUMEr(['POST'], sub { | ||
| 13887 | my $C = shift; | ||
| 13888 | $C->POST | ||
| 13889 | }) | ||
| 13890 | })))) { ($C) } else { () } | ||
| 13891 | |||
| 13892 | } | ||
| 13893 | } | ||
| 13894 | or $xact->[-2] or | ||
| 13895 | do { | ||
| 13896 | push @gather, scalar(do { | ||
| 13897 | $::VAR = 0}, $C) | ||
| 13898 | }; | ||
| 13899 | @gather; | ||
| 13900 | } | ||
| 13901 | }))) { | ||
| 13902 | $C | ||
| 13903 | } else { () } | ||
| 13904 | |||
| 13905 | } | ||
| 13906 | } | ||
| 13907 | or $xact->[-2] or | ||
| 13908 | do { | ||
| 13909 | push @gather, do { | ||
| 13910 | if (my ($C) = ($C->_NOTBEFORE(sub { | ||
| 13911 | my $C=shift; | ||
| 13912 | (($C) x !!do { | ||
| 13913 | $::QSIGIL }) | ||
| 13914 | }))) { | ||
| 13915 | $C->_STARr(sub { | ||
| 13916 | my $C=shift; | ||
| 13917 | $C->_SUBSUMEr(['POST'], sub { | ||
| 13918 | my $C = shift; | ||
| 13919 | $C->POST | ||
| 13920 | }) | ||
| 13921 | }) | ||
| 13922 | } else { () } | ||
| 13923 | |||
| 13924 | } | ||
| 13925 | }; | ||
| 13926 | @gather; | ||
| 13927 | } | ||
| 13928 | }))) { | ||
| 13929 | scalar(do { | ||
| 13930 | my $M = $C; | ||
| 13931 | $self->check_variable($::VAR) if $::VAR; | ||
| 13932 | $C->{'~CAPS'} = $M->{'term'}->{'~CAPS'}; | ||
| 13933 | }, $C) | ||
| 13934 | } else { () } | ||
| 13935 | |||
| 13936 | }); | ||
| 13937 | } | ||
| 13938 | ; | ||
| 13939 | ## token p5term:fatarrow { <fatarrow> } | ||
| 13940 | sub p5term__S_056fatarrow__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_056fatarrow', $retree) } | ||
| 13941 | sub p5term__S_056fatarrow { | ||
| 13942 | no warnings 'recursion'; | ||
| 13943 | my $self = shift; | ||
| 13944 | |||
| 13945 | |||
| 13946 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13947 | |||
| 13948 | my $C = $self->cursor_xact("RULE p5term__S_056fatarrow"); | ||
| 13949 | my $xact = $C->xact; | ||
| 13950 | my $S = $C->{'_pos'}; | ||
| 13951 | $C->{sym} = "fatarrow"; | ||
| 13952 | $self->_MATCHIFYr($S, "p5term__S_056fatarrow", $C->_SUBSUMEr(['fatarrow'], sub { | ||
| 13953 | my $C = shift; | ||
| 13954 | $C->fatarrow | ||
| 13955 | })); | ||
| 13956 | } | ||
| 13957 | ; | ||
| 13958 | ## token p5term:variable { <variable> { $*VAR = $<variable> } } | ||
| 13959 | sub p5term__S_057variable__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_057variable', $retree) } | ||
| 13960 | sub p5term__S_057variable { | ||
| 13961 | no warnings 'recursion'; | ||
| 13962 | my $self = shift; | ||
| 13963 | |||
| 13964 | |||
| 13965 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13966 | |||
| 13967 | my $C = $self->cursor_xact("RULE p5term__S_057variable"); | ||
| 13968 | my $xact = $C->xact; | ||
| 13969 | my $S = $C->{'_pos'}; | ||
| 13970 | $C->{sym} = "variable"; | ||
| 13971 | $self->_MATCHIFYr($S, "p5term__S_057variable", do { | ||
| 13972 | if (my ($C) = ($C->_SUBSUMEr(['variable'], sub { | ||
| 13973 | my $C = shift; | ||
| 13974 | $C->variable | ||
| 13975 | }))) { | ||
| 13976 | scalar(do { | ||
| 13977 | my $M = $C; | ||
| 13978 | $::VAR = $M->{'variable'} }, $C) | ||
| 13979 | } else { () } | ||
| 13980 | |||
| 13981 | }); | ||
| 13982 | } | ||
| 13983 | ; | ||
| 13984 | ## token p5term:package_declarator { <package_declarator=p5package_declarator> } | ||
| 13985 | sub p5term__S_058package_declarator__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_058package_declarator', $retree) } | ||
| 13986 | sub p5term__S_058package_declarator { | ||
| 13987 | no warnings 'recursion'; | ||
| 13988 | my $self = shift; | ||
| 13989 | |||
| 13990 | |||
| 13991 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 13992 | |||
| 13993 | my $C = $self->cursor_xact("RULE p5term__S_058package_declarator"); | ||
| 13994 | my $xact = $C->xact; | ||
| 13995 | my $S = $C->{'_pos'}; | ||
| 13996 | $C->{sym} = "package_declarator"; | ||
| 13997 | $self->_MATCHIFYr($S, "p5term__S_058package_declarator", $C->_SUBSUMEr(['package_declarator','p5package_declarator'], sub { | ||
| 13998 | my $C = shift; | ||
| 13999 | $C->p5package_declarator | ||
| 14000 | })); | ||
| 14001 | } | ||
| 14002 | ; | ||
| 14003 | ## token p5term:scope_declarator { <scope_declarator=p5scope_declarator> } | ||
| 14004 | sub p5term__S_059scope_declarator__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_059scope_declarator', $retree) } | ||
| 14005 | sub p5term__S_059scope_declarator { | ||
| 14006 | no warnings 'recursion'; | ||
| 14007 | my $self = shift; | ||
| 14008 | |||
| 14009 | |||
| 14010 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14011 | |||
| 14012 | my $C = $self->cursor_xact("RULE p5term__S_059scope_declarator"); | ||
| 14013 | my $xact = $C->xact; | ||
| 14014 | my $S = $C->{'_pos'}; | ||
| 14015 | $C->{sym} = "scope_declarator"; | ||
| 14016 | $self->_MATCHIFYr($S, "p5term__S_059scope_declarator", $C->_SUBSUMEr(['scope_declarator','p5scope_declarator'], sub { | ||
| 14017 | my $C = shift; | ||
| 14018 | $C->p5scope_declarator | ||
| 14019 | })); | ||
| 14020 | } | ||
| 14021 | ; | ||
| 14022 | ## token p5term:routine_declarator { <routine_declarator=p5routine_declarator> } | ||
| 14023 | sub p5term__S_060routine_declarator__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_060routine_declarator', $retree) } | ||
| 14024 | sub p5term__S_060routine_declarator { | ||
| 14025 | no warnings 'recursion'; | ||
| 14026 | my $self = shift; | ||
| 14027 | |||
| 14028 | |||
| 14029 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14030 | |||
| 14031 | my $C = $self->cursor_xact("RULE p5term__S_060routine_declarator"); | ||
| 14032 | my $xact = $C->xact; | ||
| 14033 | my $S = $C->{'_pos'}; | ||
| 14034 | $C->{sym} = "routine_declarator"; | ||
| 14035 | $self->_MATCHIFYr($S, "p5term__S_060routine_declarator", $C->_SUBSUMEr(['routine_declarator','p5routine_declarator'], sub { | ||
| 14036 | my $C = shift; | ||
| 14037 | $C->p5routine_declarator | ||
| 14038 | })); | ||
| 14039 | } | ||
| 14040 | ; | ||
| 14041 | ## token p5term:circumfix { <circumfix=p5circumfix> } | ||
| 14042 | sub p5term__S_061circumfix__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_061circumfix', $retree) } | ||
| 14043 | sub p5term__S_061circumfix { | ||
| 14044 | no warnings 'recursion'; | ||
| 14045 | my $self = shift; | ||
| 14046 | |||
| 14047 | |||
| 14048 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14049 | |||
| 14050 | my $C = $self->cursor_xact("RULE p5term__S_061circumfix"); | ||
| 14051 | my $xact = $C->xact; | ||
| 14052 | my $S = $C->{'_pos'}; | ||
| 14053 | $C->{sym} = "circumfix"; | ||
| 14054 | $self->_MATCHIFYr($S, "p5term__S_061circumfix", $C->_SUBSUMEr(['circumfix','p5circumfix'], sub { | ||
| 14055 | my $C = shift; | ||
| 14056 | $C->p5circumfix | ||
| 14057 | })); | ||
| 14058 | } | ||
| 14059 | ; | ||
| 14060 | ## token p5term:dotty { <dotty=p5dotty> } | ||
| 14061 | sub p5term__S_062dotty__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_062dotty', $retree) } | ||
| 14062 | sub p5term__S_062dotty { | ||
| 14063 | no warnings 'recursion'; | ||
| 14064 | my $self = shift; | ||
| 14065 | |||
| 14066 | |||
| 14067 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14068 | |||
| 14069 | my $C = $self->cursor_xact("RULE p5term__S_062dotty"); | ||
| 14070 | my $xact = $C->xact; | ||
| 14071 | my $S = $C->{'_pos'}; | ||
| 14072 | $C->{sym} = "dotty"; | ||
| 14073 | $self->_MATCHIFYr($S, "p5term__S_062dotty", $C->_SUBSUMEr(['dotty','p5dotty'], sub { | ||
| 14074 | my $C = shift; | ||
| 14075 | $C->p5dotty | ||
| 14076 | })); | ||
| 14077 | } | ||
| 14078 | ; | ||
| 14079 | ## token p5term:value { <value=p5value> } | ||
| 14080 | sub p5term__S_063value__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_063value', $retree) } | ||
| 14081 | sub p5term__S_063value { | ||
| 14082 | no warnings 'recursion'; | ||
| 14083 | my $self = shift; | ||
| 14084 | |||
| 14085 | |||
| 14086 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14087 | |||
| 14088 | my $C = $self->cursor_xact("RULE p5term__S_063value"); | ||
| 14089 | my $xact = $C->xact; | ||
| 14090 | my $S = $C->{'_pos'}; | ||
| 14091 | $C->{sym} = "value"; | ||
| 14092 | $self->_MATCHIFYr($S, "p5term__S_063value", $C->_SUBSUMEr(['value','p5value'], sub { | ||
| 14093 | my $C = shift; | ||
| 14094 | $C->p5value | ||
| 14095 | })); | ||
| 14096 | } | ||
| 14097 | ; | ||
| 14098 | ## token p5term:capterm { <capterm> } | ||
| 14099 | sub p5term__S_064capterm__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_064capterm', $retree) } | ||
| 14100 | sub p5term__S_064capterm { | ||
| 14101 | no warnings 'recursion'; | ||
| 14102 | my $self = shift; | ||
| 14103 | |||
| 14104 | |||
| 14105 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14106 | |||
| 14107 | my $C = $self->cursor_xact("RULE p5term__S_064capterm"); | ||
| 14108 | my $xact = $C->xact; | ||
| 14109 | my $S = $C->{'_pos'}; | ||
| 14110 | $C->{sym} = "capterm"; | ||
| 14111 | $self->_MATCHIFYr($S, "p5term__S_064capterm", $C->_SUBSUMEr(['capterm'], sub { | ||
| 14112 | my $C = shift; | ||
| 14113 | $C->capterm | ||
| 14114 | })); | ||
| 14115 | } | ||
| 14116 | ; | ||
| 14117 | ## token p5term:statement_prefix { <statement_prefix=p5statement_prefix> } | ||
| 14118 | sub p5term__S_065statement_prefix__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_065statement_prefix', $retree) } | ||
| 14119 | sub p5term__S_065statement_prefix { | ||
| 14120 | no warnings 'recursion'; | ||
| 14121 | my $self = shift; | ||
| 14122 | |||
| 14123 | |||
| 14124 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14125 | |||
| 14126 | my $C = $self->cursor_xact("RULE p5term__S_065statement_prefix"); | ||
| 14127 | my $xact = $C->xact; | ||
| 14128 | my $S = $C->{'_pos'}; | ||
| 14129 | $C->{sym} = "statement_prefix"; | ||
| 14130 | $self->_MATCHIFYr($S, "p5term__S_065statement_prefix", $C->_SUBSUMEr(['statement_prefix','p5statement_prefix'], sub { | ||
| 14131 | my $C = shift; | ||
| 14132 | $C->p5statement_prefix | ||
| 14133 | })); | ||
| 14134 | } | ||
| 14135 | ; | ||
| 14136 | ## token fatarrow { | ||
| 14137 | sub fatarrow__PEEK { $_[0]->_AUTOLEXpeek('fatarrow', $retree) } | ||
| 14138 | sub fatarrow { | ||
| 14139 | no warnings 'recursion'; | ||
| 14140 | my $self = shift; | ||
| 14141 | |||
| 14142 | |||
| 14143 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14144 | |||
| 14145 | my $C = $self->cursor_xact("RULE fatarrow"); | ||
| 14146 | my $xact = $C->xact; | ||
| 14147 | my $S = $C->{'_pos'}; | ||
| 14148 | $self->_MATCHIFYr($S, "fatarrow", do { | ||
| 14149 | my $C = $C; | ||
| 14150 | if (($C) = ($C->_SUBSUMEr(['key','identifier'], sub { | ||
| 14151 | my $C = shift; | ||
| 14152 | $C->identifier | ||
| 14153 | })) | ||
| 14154 | and ($C) = ($C->_PATTERN(qr/\G[\x20\t\r]*+\=\>/)) | ||
| 14155 | and ($C) = ($C->ws)) { | ||
| 14156 | $C->_SUBSUMEr(['val','EXPR'], sub { | ||
| 14157 | my $C = shift; | ||
| 14158 | $C->EXPR(\%assignment) | ||
| 14159 | }) | ||
| 14160 | } else { () } | ||
| 14161 | |||
| 14162 | }); | ||
| 14163 | } | ||
| 14164 | ; | ||
| 14165 | ## token p5special_variable:sym<$!> { <sym> <!before \w> } | ||
| 14166 | sub p5special_variable__S_066DollarBang__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_066DollarBang', $retree) } | ||
| 14167 | sub p5special_variable__S_066DollarBang { | ||
| 14168 | no warnings 'recursion'; | ||
| 14169 | my $self = shift; | ||
| 14170 | |||
| 14171 | |||
| 14172 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14173 | |||
| 14174 | my $C = $self->cursor_xact("RULE p5special_variable__S_066DollarBang"); | ||
| 14175 | my $xact = $C->xact; | ||
| 14176 | my $S = $C->{'_pos'}; | ||
| 14177 | $C->{sym} = "\$\!"; | ||
| 14178 | $self->_MATCHIFYr($S, "p5special_variable__S_066DollarBang", do { | ||
| 14179 | my $C = $C; | ||
| 14180 | if (($C) = ($C->_EXACT("\$\!")) | ||
| 14181 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 14182 | my $C=shift; | ||
| 14183 | if (my ($C) = ($C->before(sub { | ||
| 14184 | my $C=shift; | ||
| 14185 | $C->_PATTERN(qr/\G\w/) | ||
| 14186 | }))) { ($C) } else { () } | ||
| 14187 | }))) { | ||
| 14188 | $C | ||
| 14189 | } else { () } | ||
| 14190 | |||
| 14191 | }); | ||
| 14192 | } | ||
| 14193 | ; | ||
| 14194 | ## token p5special_variable:sym<$!{ }> { | ||
| 14195 | sub p5special_variable__S_067DollarBangCur_Ly__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_067DollarBangCur_Ly', $retree) } | ||
| 14196 | sub p5special_variable__S_067DollarBangCur_Ly { | ||
| 14197 | no warnings 'recursion'; | ||
| 14198 | my $self = shift; | ||
| 14199 | |||
| 14200 | |||
| 14201 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14202 | |||
| 14203 | my $C = $self->cursor_xact("RULE p5special_variable__S_067DollarBangCur_Ly"); | ||
| 14204 | my $xact = $C->xact; | ||
| 14205 | my $S = $C->{'_pos'}; | ||
| 14206 | $C->{sym} = "\$\!\{\ \}"; | ||
| 14207 | $self->_MATCHIFYr($S, "p5special_variable__S_067DollarBangCur_Ly", $C->_BRACKETr(sub { | ||
| 14208 | my $C=shift; | ||
| 14209 | local $::GOAL = "\}"; | ||
| 14210 | my $goalpos = $C; | ||
| 14211 | if (($C) = ($C->_EXACT("\$\!\{")) | ||
| 14212 | and ($C) = (scalar(do { | ||
| 14213 | }, $C)) | ||
| 14214 | and ($C) = ($C->_SUBSUMEr(['EXPR'], sub { | ||
| 14215 | my $C = shift; | ||
| 14216 | $C->EXPR | ||
| 14217 | })) | ||
| 14218 | and ($C) = ($C->_BRACKETr(sub { | ||
| 14219 | my $C=shift; | ||
| 14220 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 14221 | my $xact = $C->xact; | ||
| 14222 | my @gather; | ||
| 14223 | do { | ||
| 14224 | push @gather, $C->_EXACT("\}") | ||
| 14225 | } | ||
| 14226 | or $xact->[-2] or | ||
| 14227 | do { | ||
| 14228 | push @gather, do { | ||
| 14229 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'p5special_variable', $goalpos))) { ($C) } else { () } | ||
| 14230 | |||
| 14231 | } | ||
| 14232 | }; | ||
| 14233 | @gather; | ||
| 14234 | } | ||
| 14235 | }))) { | ||
| 14236 | $C | ||
| 14237 | } else { () } | ||
| 14238 | })); | ||
| 14239 | } | ||
| 14240 | ; | ||
| 14241 | ## token p5special_variable:sym<$/> { | ||
| 14242 | sub p5special_variable__S_068DollarSlash__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_068DollarSlash', $retree) } | ||
| 14243 | sub p5special_variable__S_068DollarSlash { | ||
| 14244 | no warnings 'recursion'; | ||
| 14245 | my $self = shift; | ||
| 14246 | |||
| 14247 | |||
| 14248 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14249 | |||
| 14250 | my $C = $self->cursor_xact("RULE p5special_variable__S_068DollarSlash"); | ||
| 14251 | my $xact = $C->xact; | ||
| 14252 | my $S = $C->{'_pos'}; | ||
| 14253 | $C->{sym} = "\$\/"; | ||
| 14254 | $self->_MATCHIFYr($S, "p5special_variable__S_068DollarSlash", $C->_EXACT("\$\/")); | ||
| 14255 | } | ||
| 14256 | ; | ||
| 14257 | ## token p5special_variable:sym<$~> { | ||
| 14258 | sub p5special_variable__S_069DollarTilde__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_069DollarTilde', $retree) } | ||
| 14259 | sub p5special_variable__S_069DollarTilde { | ||
| 14260 | no warnings 'recursion'; | ||
| 14261 | my $self = shift; | ||
| 14262 | |||
| 14263 | |||
| 14264 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14265 | |||
| 14266 | my $C = $self->cursor_xact("RULE p5special_variable__S_069DollarTilde"); | ||
| 14267 | my $xact = $C->xact; | ||
| 14268 | my $S = $C->{'_pos'}; | ||
| 14269 | $C->{sym} = "\$\~"; | ||
| 14270 | $self->_MATCHIFYr($S, "p5special_variable__S_069DollarTilde", $C->_EXACT("\$\~")); | ||
| 14271 | } | ||
| 14272 | ; | ||
| 14273 | ## token p5special_variable:sym<$`> { | ||
| 14274 | sub p5special_variable__S_070DollarGrave__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_070DollarGrave', $retree) } | ||
| 14275 | sub p5special_variable__S_070DollarGrave { | ||
| 14276 | no warnings 'recursion'; | ||
| 14277 | my $self = shift; | ||
| 14278 | |||
| 14279 | |||
| 14280 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14281 | |||
| 14282 | my $C = $self->cursor_xact("RULE p5special_variable__S_070DollarGrave"); | ||
| 14283 | my $xact = $C->xact; | ||
| 14284 | my $S = $C->{'_pos'}; | ||
| 14285 | $C->{sym} = "\$\`"; | ||
| 14286 | $self->_MATCHIFYr($S, "p5special_variable__S_070DollarGrave", $C->_EXACT("\$\`")); | ||
| 14287 | } | ||
| 14288 | ; | ||
| 14289 | ## token p5special_variable:sym<$@> { | ||
| 14290 | sub p5special_variable__S_071DollarAt__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_071DollarAt', $retree) } | ||
| 14291 | sub p5special_variable__S_071DollarAt { | ||
| 14292 | no warnings 'recursion'; | ||
| 14293 | my $self = shift; | ||
| 14294 | |||
| 14295 | |||
| 14296 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14297 | |||
| 14298 | my $C = $self->cursor_xact("RULE p5special_variable__S_071DollarAt"); | ||
| 14299 | my $xact = $C->xact; | ||
| 14300 | my $S = $C->{'_pos'}; | ||
| 14301 | $C->{sym} = "\$\@"; | ||
| 14302 | $self->_MATCHIFYr($S, "p5special_variable__S_071DollarAt", $C->_EXACT("\$\@")); | ||
| 14303 | } | ||
| 14304 | ; | ||
| 14305 | ## token p5special_variable:sym<$#> { | ||
| 14306 | sub p5special_variable__S_072DollarSharp__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_072DollarSharp', $retree) } | ||
| 14307 | sub p5special_variable__S_072DollarSharp { | ||
| 14308 | no warnings 'recursion'; | ||
| 14309 | my $self = shift; | ||
| 14310 | |||
| 14311 | |||
| 14312 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14313 | |||
| 14314 | my $C = $self->cursor_xact("RULE p5special_variable__S_072DollarSharp"); | ||
| 14315 | my $xact = $C->xact; | ||
| 14316 | my $S = $C->{'_pos'}; | ||
| 14317 | $C->{sym} = "\$\#"; | ||
| 14318 | $self->_MATCHIFYr($S, "p5special_variable__S_072DollarSharp", $C->_EXACT("\$\#")); | ||
| 14319 | } | ||
| 14320 | ; | ||
| 14321 | ## token p5special_variable:sym<$$> { | ||
| 14322 | sub p5special_variable__S_073DollarDollar__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_073DollarDollar', $retree) } | ||
| 14323 | sub p5special_variable__S_073DollarDollar { | ||
| 14324 | no warnings 'recursion'; | ||
| 14325 | my $self = shift; | ||
| 14326 | |||
| 14327 | |||
| 14328 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14329 | |||
| 14330 | my $C = $self->cursor_xact("RULE p5special_variable__S_073DollarDollar"); | ||
| 14331 | my $xact = $C->xact; | ||
| 14332 | my $S = $C->{'_pos'}; | ||
| 14333 | $C->{sym} = "\$\$"; | ||
| 14334 | $self->_MATCHIFYr($S, "p5special_variable__S_073DollarDollar", do { | ||
| 14335 | my $C = $C; | ||
| 14336 | if (($C) = ($C->_EXACT("\$\$")) | ||
| 14337 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 14338 | my $C=shift; | ||
| 14339 | $C->_PATTERN(qr/\G[_[:alpha:]]/) | ||
| 14340 | }))) { | ||
| 14341 | $C | ||
| 14342 | } else { () } | ||
| 14343 | |||
| 14344 | }); | ||
| 14345 | } | ||
| 14346 | ; | ||
| 14347 | ## token p5special_variable:sym<$%> { | ||
| 14348 | sub p5special_variable__S_074DollarPercent__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_074DollarPercent', $retree) } | ||
| 14349 | sub p5special_variable__S_074DollarPercent { | ||
| 14350 | no warnings 'recursion'; | ||
| 14351 | my $self = shift; | ||
| 14352 | |||
| 14353 | |||
| 14354 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14355 | |||
| 14356 | my $C = $self->cursor_xact("RULE p5special_variable__S_074DollarPercent"); | ||
| 14357 | my $xact = $C->xact; | ||
| 14358 | my $S = $C->{'_pos'}; | ||
| 14359 | $C->{sym} = "\$\%"; | ||
| 14360 | $self->_MATCHIFYr($S, "p5special_variable__S_074DollarPercent", $C->_EXACT("\$\%")); | ||
| 14361 | } | ||
| 14362 | ; | ||
| 14363 | ## token p5special_variable:sym<$^X> { | ||
| 14364 | sub p5special_variable__S_075DollarCaretX__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_075DollarCaretX', $retree) } | ||
| 14365 | sub p5special_variable__S_075DollarCaretX { | ||
| 14366 | no warnings 'recursion'; | ||
| 14367 | my $self = shift; | ||
| 14368 | |||
| 14369 | |||
| 14370 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14371 | |||
| 14372 | my $C = $self->cursor_xact("RULE p5special_variable__S_075DollarCaretX"); | ||
| 14373 | my $xact = $C->xact; | ||
| 14374 | my $S = $C->{'_pos'}; | ||
| 14375 | $C->{sym} = "\$\^X"; | ||
| 14376 | $self->_MATCHIFYr($S, "p5special_variable__S_075DollarCaretX", do { | ||
| 14377 | my $C = $C; | ||
| 14378 | if (($C) = ($C->_SUBSUMEr(['sigil','p5sigil'], sub { | ||
| 14379 | my $C = shift; | ||
| 14380 | $C->p5sigil | ||
| 14381 | })) | ||
| 14382 | and ($C) = ($C->_EXACT("\^")) | ||
| 14383 | and ($C) = ($C->_SUBSUMEr(['letter'], sub { | ||
| 14384 | my $C = shift; | ||
| 14385 | $C->_BRACKETr(sub { | ||
| 14386 | my $C=shift; | ||
| 14387 | $C->_PATTERN(qr/\G[A-Z]/) | ||
| 14388 | }) | ||
| 14389 | })) | ||
| 14390 | and ($C) = ($C->before(sub { | ||
| 14391 | my $C=shift; | ||
| 14392 | if (my ($C) = ($C->before(sub { | ||
| 14393 | my $C=shift; | ||
| 14394 | $C->_PATTERN(qr/\G\W/) | ||
| 14395 | }))) { ($C) } else { () } | ||
| 14396 | }))) { | ||
| 14397 | $C | ||
| 14398 | } else { () } | ||
| 14399 | |||
| 14400 | }); | ||
| 14401 | } | ||
| 14402 | ; | ||
| 14403 | ## token p5special_variable:sym<$^> { | ||
| 14404 | sub p5special_variable__S_076DollarCaret__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_076DollarCaret', $retree) } | ||
| 14405 | sub p5special_variable__S_076DollarCaret { | ||
| 14406 | no warnings 'recursion'; | ||
| 14407 | my $self = shift; | ||
| 14408 | |||
| 14409 | |||
| 14410 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14411 | |||
| 14412 | my $C = $self->cursor_xact("RULE p5special_variable__S_076DollarCaret"); | ||
| 14413 | my $xact = $C->xact; | ||
| 14414 | my $S = $C->{'_pos'}; | ||
| 14415 | $C->{sym} = "\$\^"; | ||
| 14416 | $self->_MATCHIFYr($S, "p5special_variable__S_076DollarCaret", $C->_EXACT("\$\^")); | ||
| 14417 | } | ||
| 14418 | ; | ||
| 14419 | ## token p5special_variable:sym<$&> { | ||
| 14420 | sub p5special_variable__S_077DollarAmp__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_077DollarAmp', $retree) } | ||
| 14421 | sub p5special_variable__S_077DollarAmp { | ||
| 14422 | no warnings 'recursion'; | ||
| 14423 | my $self = shift; | ||
| 14424 | |||
| 14425 | |||
| 14426 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14427 | |||
| 14428 | my $C = $self->cursor_xact("RULE p5special_variable__S_077DollarAmp"); | ||
| 14429 | my $xact = $C->xact; | ||
| 14430 | my $S = $C->{'_pos'}; | ||
| 14431 | $C->{sym} = "\$\&"; | ||
| 14432 | $self->_MATCHIFYr($S, "p5special_variable__S_077DollarAmp", $C->_EXACT("\$\&")); | ||
| 14433 | } | ||
| 14434 | ; | ||
| 14435 | ## token p5special_variable:sym<$*> { | ||
| 14436 | sub p5special_variable__S_078DollarStar__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_078DollarStar', $retree) } | ||
| 14437 | sub p5special_variable__S_078DollarStar { | ||
| 14438 | no warnings 'recursion'; | ||
| 14439 | my $self = shift; | ||
| 14440 | |||
| 14441 | |||
| 14442 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14443 | |||
| 14444 | my $C = $self->cursor_xact("RULE p5special_variable__S_078DollarStar"); | ||
| 14445 | my $xact = $C->xact; | ||
| 14446 | my $S = $C->{'_pos'}; | ||
| 14447 | $C->{sym} = "\$\*"; | ||
| 14448 | $self->_MATCHIFYr($S, "p5special_variable__S_078DollarStar", $C->_EXACT("\$\*")); | ||
| 14449 | } | ||
| 14450 | ; | ||
| 14451 | ## token p5special_variable:sym<$)> { | ||
| 14452 | sub p5special_variable__S_079DollarThesis__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_079DollarThesis', $retree) } | ||
| 14453 | sub p5special_variable__S_079DollarThesis { | ||
| 14454 | no warnings 'recursion'; | ||
| 14455 | my $self = shift; | ||
| 14456 | |||
| 14457 | |||
| 14458 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14459 | |||
| 14460 | my $C = $self->cursor_xact("RULE p5special_variable__S_079DollarThesis"); | ||
| 14461 | my $xact = $C->xact; | ||
| 14462 | my $S = $C->{'_pos'}; | ||
| 14463 | $C->{sym} = "\$\)"; | ||
| 14464 | $self->_MATCHIFYr($S, "p5special_variable__S_079DollarThesis", $C->_EXACT("\$\)")); | ||
| 14465 | } | ||
| 14466 | ; | ||
| 14467 | ## token p5special_variable:sym<$-> { | ||
| 14468 | sub p5special_variable__S_080DollarMinus__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_080DollarMinus', $retree) } | ||
| 14469 | sub p5special_variable__S_080DollarMinus { | ||
| 14470 | no warnings 'recursion'; | ||
| 14471 | my $self = shift; | ||
| 14472 | |||
| 14473 | |||
| 14474 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14475 | |||
| 14476 | my $C = $self->cursor_xact("RULE p5special_variable__S_080DollarMinus"); | ||
| 14477 | my $xact = $C->xact; | ||
| 14478 | my $S = $C->{'_pos'}; | ||
| 14479 | $C->{sym} = "\$\-"; | ||
| 14480 | $self->_MATCHIFYr($S, "p5special_variable__S_080DollarMinus", $C->_EXACT("\$\-")); | ||
| 14481 | } | ||
| 14482 | ; | ||
| 14483 | ## token p5special_variable:sym<$=> { | ||
| 14484 | sub p5special_variable__S_081DollarEqual__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_081DollarEqual', $retree) } | ||
| 14485 | sub p5special_variable__S_081DollarEqual { | ||
| 14486 | no warnings 'recursion'; | ||
| 14487 | my $self = shift; | ||
| 14488 | |||
| 14489 | |||
| 14490 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14491 | |||
| 14492 | my $C = $self->cursor_xact("RULE p5special_variable__S_081DollarEqual"); | ||
| 14493 | my $xact = $C->xact; | ||
| 14494 | my $S = $C->{'_pos'}; | ||
| 14495 | $C->{sym} = "\$\="; | ||
| 14496 | $self->_MATCHIFYr($S, "p5special_variable__S_081DollarEqual", $C->_EXACT("\$\=")); | ||
| 14497 | } | ||
| 14498 | ; | ||
| 14499 | ## token p5special_variable:sym<@+> { | ||
| 14500 | sub p5special_variable__S_082AtPlus__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_082AtPlus', $retree) } | ||
| 14501 | sub p5special_variable__S_082AtPlus { | ||
| 14502 | no warnings 'recursion'; | ||
| 14503 | my $self = shift; | ||
| 14504 | |||
| 14505 | |||
| 14506 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14507 | |||
| 14508 | my $C = $self->cursor_xact("RULE p5special_variable__S_082AtPlus"); | ||
| 14509 | my $xact = $C->xact; | ||
| 14510 | my $S = $C->{'_pos'}; | ||
| 14511 | $C->{sym} = "\@\+"; | ||
| 14512 | $self->_MATCHIFYr($S, "p5special_variable__S_082AtPlus", $C->_EXACT("\@\+")); | ||
| 14513 | } | ||
| 14514 | ; | ||
| 14515 | ## token p5special_variable:sym<%+> { | ||
| 14516 | sub p5special_variable__S_083PercentPlus__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_083PercentPlus', $retree) } | ||
| 14517 | sub p5special_variable__S_083PercentPlus { | ||
| 14518 | no warnings 'recursion'; | ||
| 14519 | my $self = shift; | ||
| 14520 | |||
| 14521 | |||
| 14522 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14523 | |||
| 14524 | my $C = $self->cursor_xact("RULE p5special_variable__S_083PercentPlus"); | ||
| 14525 | my $xact = $C->xact; | ||
| 14526 | my $S = $C->{'_pos'}; | ||
| 14527 | $C->{sym} = "\%\+"; | ||
| 14528 | $self->_MATCHIFYr($S, "p5special_variable__S_083PercentPlus", $C->_EXACT("\%\+")); | ||
| 14529 | } | ||
| 14530 | ; | ||
| 14531 | ## token p5special_variable:sym<$+[ ]> { | ||
| 14532 | sub p5special_variable__S_084DollarPlusBra_Ket__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_084DollarPlusBra_Ket', $retree) } | ||
| 14533 | sub p5special_variable__S_084DollarPlusBra_Ket { | ||
| 14534 | no warnings 'recursion'; | ||
| 14535 | my $self = shift; | ||
| 14536 | |||
| 14537 | |||
| 14538 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14539 | |||
| 14540 | my $C = $self->cursor_xact("RULE p5special_variable__S_084DollarPlusBra_Ket"); | ||
| 14541 | my $xact = $C->xact; | ||
| 14542 | my $S = $C->{'_pos'}; | ||
| 14543 | $C->{sym} = "\$\+\[\ \]"; | ||
| 14544 | $self->_MATCHIFYr($S, "p5special_variable__S_084DollarPlusBra_Ket", $C->_EXACT("\$\+\[")); | ||
| 14545 | } | ||
| 14546 | ; | ||
| 14547 | ## token p5special_variable:sym<@+[ ]> { | ||
| 14548 | sub p5special_variable__S_085AtPlusBra_Ket__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_085AtPlusBra_Ket', $retree) } | ||
| 14549 | sub p5special_variable__S_085AtPlusBra_Ket { | ||
| 14550 | no warnings 'recursion'; | ||
| 14551 | my $self = shift; | ||
| 14552 | |||
| 14553 | |||
| 14554 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14555 | |||
| 14556 | my $C = $self->cursor_xact("RULE p5special_variable__S_085AtPlusBra_Ket"); | ||
| 14557 | my $xact = $C->xact; | ||
| 14558 | my $S = $C->{'_pos'}; | ||
| 14559 | $C->{sym} = "\@\+\[\ \]"; | ||
| 14560 | $self->_MATCHIFYr($S, "p5special_variable__S_085AtPlusBra_Ket", $C->_EXACT("\@\+\[")); | ||
| 14561 | } | ||
| 14562 | ; | ||
| 14563 | ## token p5special_variable:sym<@+{ }> { | ||
| 14564 | sub p5special_variable__S_086AtPlusCur_Ly__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_086AtPlusCur_Ly', $retree) } | ||
| 14565 | sub p5special_variable__S_086AtPlusCur_Ly { | ||
| 14566 | no warnings 'recursion'; | ||
| 14567 | my $self = shift; | ||
| 14568 | |||
| 14569 | |||
| 14570 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14571 | |||
| 14572 | my $C = $self->cursor_xact("RULE p5special_variable__S_086AtPlusCur_Ly"); | ||
| 14573 | my $xact = $C->xact; | ||
| 14574 | my $S = $C->{'_pos'}; | ||
| 14575 | $C->{sym} = "\@\+\{\ \}"; | ||
| 14576 | $self->_MATCHIFYr($S, "p5special_variable__S_086AtPlusCur_Ly", $C->_EXACT("\@\+\{")); | ||
| 14577 | } | ||
| 14578 | ; | ||
| 14579 | ## token p5special_variable:sym<@-> { | ||
| 14580 | sub p5special_variable__S_087AtMinus__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_087AtMinus', $retree) } | ||
| 14581 | sub p5special_variable__S_087AtMinus { | ||
| 14582 | no warnings 'recursion'; | ||
| 14583 | my $self = shift; | ||
| 14584 | |||
| 14585 | |||
| 14586 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14587 | |||
| 14588 | my $C = $self->cursor_xact("RULE p5special_variable__S_087AtMinus"); | ||
| 14589 | my $xact = $C->xact; | ||
| 14590 | my $S = $C->{'_pos'}; | ||
| 14591 | $C->{sym} = "\@\-"; | ||
| 14592 | $self->_MATCHIFYr($S, "p5special_variable__S_087AtMinus", $C->_EXACT("\@\-")); | ||
| 14593 | } | ||
| 14594 | ; | ||
| 14595 | ## token p5special_variable:sym<%-> { | ||
| 14596 | sub p5special_variable__S_088PercentMinus__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_088PercentMinus', $retree) } | ||
| 14597 | sub p5special_variable__S_088PercentMinus { | ||
| 14598 | no warnings 'recursion'; | ||
| 14599 | my $self = shift; | ||
| 14600 | |||
| 14601 | |||
| 14602 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14603 | |||
| 14604 | my $C = $self->cursor_xact("RULE p5special_variable__S_088PercentMinus"); | ||
| 14605 | my $xact = $C->xact; | ||
| 14606 | my $S = $C->{'_pos'}; | ||
| 14607 | $C->{sym} = "\%\-"; | ||
| 14608 | $self->_MATCHIFYr($S, "p5special_variable__S_088PercentMinus", $C->_EXACT("\%\-")); | ||
| 14609 | } | ||
| 14610 | ; | ||
| 14611 | ## token p5special_variable:sym<$-[ ]> { | ||
| 14612 | sub p5special_variable__S_089DollarMinusBra_Ket__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_089DollarMinusBra_Ket', $retree) } | ||
| 14613 | sub p5special_variable__S_089DollarMinusBra_Ket { | ||
| 14614 | no warnings 'recursion'; | ||
| 14615 | my $self = shift; | ||
| 14616 | |||
| 14617 | |||
| 14618 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14619 | |||
| 14620 | my $C = $self->cursor_xact("RULE p5special_variable__S_089DollarMinusBra_Ket"); | ||
| 14621 | my $xact = $C->xact; | ||
| 14622 | my $S = $C->{'_pos'}; | ||
| 14623 | $C->{sym} = "\$\-\[\ \]"; | ||
| 14624 | $self->_MATCHIFYr($S, "p5special_variable__S_089DollarMinusBra_Ket", $C->_EXACT("\$\-\[")); | ||
| 14625 | } | ||
| 14626 | ; | ||
| 14627 | ## token p5special_variable:sym<@-[ ]> { | ||
| 14628 | sub p5special_variable__S_090AtMinusBra_Ket__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_090AtMinusBra_Ket', $retree) } | ||
| 14629 | sub p5special_variable__S_090AtMinusBra_Ket { | ||
| 14630 | no warnings 'recursion'; | ||
| 14631 | my $self = shift; | ||
| 14632 | |||
| 14633 | |||
| 14634 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14635 | |||
| 14636 | my $C = $self->cursor_xact("RULE p5special_variable__S_090AtMinusBra_Ket"); | ||
| 14637 | my $xact = $C->xact; | ||
| 14638 | my $S = $C->{'_pos'}; | ||
| 14639 | $C->{sym} = "\@\-\[\ \]"; | ||
| 14640 | $self->_MATCHIFYr($S, "p5special_variable__S_090AtMinusBra_Ket", $C->_EXACT("\@\-\[")); | ||
| 14641 | } | ||
| 14642 | ; | ||
| 14643 | ## token p5special_variable:sym<%-{ }> { | ||
| 14644 | sub p5special_variable__S_091PercentMinusCur_Ly__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_091PercentMinusCur_Ly', $retree) } | ||
| 14645 | sub p5special_variable__S_091PercentMinusCur_Ly { | ||
| 14646 | no warnings 'recursion'; | ||
| 14647 | my $self = shift; | ||
| 14648 | |||
| 14649 | |||
| 14650 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14651 | |||
| 14652 | my $C = $self->cursor_xact("RULE p5special_variable__S_091PercentMinusCur_Ly"); | ||
| 14653 | my $xact = $C->xact; | ||
| 14654 | my $S = $C->{'_pos'}; | ||
| 14655 | $C->{sym} = "\%\-\{\ \}"; | ||
| 14656 | $self->_MATCHIFYr($S, "p5special_variable__S_091PercentMinusCur_Ly", $C->_EXACT("\@\-\{")); | ||
| 14657 | } | ||
| 14658 | ; | ||
| 14659 | ## token p5special_variable:sym<$+> { | ||
| 14660 | sub p5special_variable__S_092DollarPlus__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_092DollarPlus', $retree) } | ||
| 14661 | sub p5special_variable__S_092DollarPlus { | ||
| 14662 | no warnings 'recursion'; | ||
| 14663 | my $self = shift; | ||
| 14664 | |||
| 14665 | |||
| 14666 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14667 | |||
| 14668 | my $C = $self->cursor_xact("RULE p5special_variable__S_092DollarPlus"); | ||
| 14669 | my $xact = $C->xact; | ||
| 14670 | my $S = $C->{'_pos'}; | ||
| 14671 | $C->{sym} = "\$\+"; | ||
| 14672 | $self->_MATCHIFYr($S, "p5special_variable__S_092DollarPlus", $C->_EXACT("\$\+")); | ||
| 14673 | } | ||
| 14674 | ; | ||
| 14675 | ## token p5special_variable:sym<${^ }> { | ||
| 14676 | sub p5special_variable__S_093DollarCurCaret_Ly__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_093DollarCurCaret_Ly', $retree) } | ||
| 14677 | sub p5special_variable__S_093DollarCurCaret_Ly { | ||
| 14678 | no warnings 'recursion'; | ||
| 14679 | my $self = shift; | ||
| 14680 | |||
| 14681 | |||
| 14682 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14683 | |||
| 14684 | my $C = $self->cursor_xact("RULE p5special_variable__S_093DollarCurCaret_Ly"); | ||
| 14685 | my $xact = $C->xact; | ||
| 14686 | my $S = $C->{'_pos'}; | ||
| 14687 | $C->{sym} = "\$\{\^\ \}"; | ||
| 14688 | $self->_MATCHIFYr($S, "p5special_variable__S_093DollarCurCaret_Ly", do { | ||
| 14689 | my $C = $C; | ||
| 14690 | if (($C) = ($C->_SUBSUMEr(['sigil','p5sigil'], sub { | ||
| 14691 | my $C = shift; | ||
| 14692 | $C->p5sigil | ||
| 14693 | })) | ||
| 14694 | and ($C) = ($C->_EXACT("\{\^")) | ||
| 14695 | and ($C) = ($C->_COMMITLTM()) | ||
| 14696 | and ($C) = ($C->_SUBSUMEr(['text'], sub { | ||
| 14697 | my $C = shift; | ||
| 14698 | $C->_BRACKET(sub { | ||
| 14699 | my $C=shift; | ||
| 14700 | $C->_SCANf() | ||
| 14701 | }) | ||
| 14702 | }))) { | ||
| 14703 | $C->_EXACT("\}") | ||
| 14704 | } else { () } | ||
| 14705 | |||
| 14706 | }); | ||
| 14707 | } | ||
| 14708 | ; | ||
| 14709 | ## token p5special_variable:sym<::{ }> { | ||
| 14710 | sub p5special_variable__S_094ColonColonCur_Ly__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_094ColonColonCur_Ly', $retree) } | ||
| 14711 | sub p5special_variable__S_094ColonColonCur_Ly { | ||
| 14712 | no warnings 'recursion'; | ||
| 14713 | my $self = shift; | ||
| 14714 | |||
| 14715 | |||
| 14716 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14717 | |||
| 14718 | my $C = $self->cursor_xact("RULE p5special_variable__S_094ColonColonCur_Ly"); | ||
| 14719 | my $xact = $C->xact; | ||
| 14720 | my $S = $C->{'_pos'}; | ||
| 14721 | $C->{sym} = "\:\:\{\ \}"; | ||
| 14722 | $self->_MATCHIFYr($S, "p5special_variable__S_094ColonColonCur_Ly", do { | ||
| 14723 | my $C = $C; | ||
| 14724 | if (($C) = ($C->_EXACT("\:\:")) | ||
| 14725 | and ($C) = ($C->before(sub { | ||
| 14726 | my $C=shift; | ||
| 14727 | if (my ($C) = ($C->before(sub { | ||
| 14728 | my $C=shift; | ||
| 14729 | $C->_EXACT("\{") | ||
| 14730 | }))) { ($C) } else { () } | ||
| 14731 | }))) { | ||
| 14732 | $C | ||
| 14733 | } else { () } | ||
| 14734 | |||
| 14735 | }); | ||
| 14736 | } | ||
| 14737 | ; | ||
| 14738 | ## regex p5special_variable:sym<${ }> { | ||
| 14739 | sub p5special_variable__S_095DollarCur_Ly__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_095DollarCur_Ly', $retree) } | ||
| 14740 | sub p5special_variable__S_095DollarCur_Ly { | ||
| 14741 | no warnings 'recursion'; | ||
| 14742 | my $self = shift; | ||
| 14743 | |||
| 14744 | |||
| 14745 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14746 | |||
| 14747 | my $C = $self->cursor_xact("RULE p5special_variable__S_095DollarCur_Ly"); | ||
| 14748 | my $xact = $C->xact; | ||
| 14749 | my $S = $C->{'_pos'}; | ||
| 14750 | $C->{sym} = "\$\{\ \}"; | ||
| 14751 | $self->_MATCHIFY($S, "p5special_variable__S_095DollarCur_Ly", STD::LazyMap::lazymap(sub { | ||
| 14752 | my $C=shift; | ||
| 14753 | if (($C) = ($C->_EXACT("\{")) | ||
| 14754 | and ($C) = (scalar(do { | ||
| 14755 | }, $C))) { | ||
| 14756 | STD::LazyMap::lazymap(sub { | ||
| 14757 | my $C=shift; | ||
| 14758 | $C->_EXACT("\}") | ||
| 14759 | }, | ||
| 14760 | $C->_SUBSUME(['text'], sub { | ||
| 14761 | my $C = shift; | ||
| 14762 | $C->_BRACKET(sub { | ||
| 14763 | my $C=shift; | ||
| 14764 | $C->_SCANf() | ||
| 14765 | }) | ||
| 14766 | })) | ||
| 14767 | } else { () } | ||
| 14768 | }, | ||
| 14769 | $C->_SUBSUME(['sigil','p5sigil'], sub { | ||
| 14770 | my $C = shift; | ||
| 14771 | $C->p5sigil | ||
| 14772 | }))); | ||
| 14773 | } | ||
| 14774 | ; | ||
| 14775 | ## token p5special_variable:sym<$[> { | ||
| 14776 | sub p5special_variable__S_096DollarBra__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_096DollarBra', $retree) } | ||
| 14777 | sub p5special_variable__S_096DollarBra { | ||
| 14778 | no warnings 'recursion'; | ||
| 14779 | my $self = shift; | ||
| 14780 | |||
| 14781 | |||
| 14782 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14783 | |||
| 14784 | my $C = $self->cursor_xact("RULE p5special_variable__S_096DollarBra"); | ||
| 14785 | my $xact = $C->xact; | ||
| 14786 | my $S = $C->{'_pos'}; | ||
| 14787 | $C->{sym} = "\$\["; | ||
| 14788 | $self->_MATCHIFYr($S, "p5special_variable__S_096DollarBra", $C->_EXACT("\$\[")); | ||
| 14789 | } | ||
| 14790 | ; | ||
| 14791 | ## token p5special_variable:sym<$]> { | ||
| 14792 | sub p5special_variable__S_097DollarKet__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_097DollarKet', $retree) } | ||
| 14793 | sub p5special_variable__S_097DollarKet { | ||
| 14794 | no warnings 'recursion'; | ||
| 14795 | my $self = shift; | ||
| 14796 | |||
| 14797 | |||
| 14798 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14799 | |||
| 14800 | my $C = $self->cursor_xact("RULE p5special_variable__S_097DollarKet"); | ||
| 14801 | my $xact = $C->xact; | ||
| 14802 | my $S = $C->{'_pos'}; | ||
| 14803 | $C->{sym} = "\$\]"; | ||
| 14804 | $self->_MATCHIFYr($S, "p5special_variable__S_097DollarKet", $C->_EXACT("\$\]")); | ||
| 14805 | } | ||
| 14806 | ; | ||
| 14807 | ## token p5special_variable:sym<$\\> { | ||
| 14808 | sub p5special_variable__S_098DollarBack__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_098DollarBack', $retree) } | ||
| 14809 | sub p5special_variable__S_098DollarBack { | ||
| 14810 | no warnings 'recursion'; | ||
| 14811 | my $self = shift; | ||
| 14812 | |||
| 14813 | |||
| 14814 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14815 | |||
| 14816 | my $C = $self->cursor_xact("RULE p5special_variable__S_098DollarBack"); | ||
| 14817 | my $xact = $C->xact; | ||
| 14818 | my $S = $C->{'_pos'}; | ||
| 14819 | $C->{sym} = "\$\\"; | ||
| 14820 | $self->_MATCHIFYr($S, "p5special_variable__S_098DollarBack", $C->_EXACT("\$\\")); | ||
| 14821 | } | ||
| 14822 | ; | ||
| 14823 | ## token p5special_variable:sym<$|> { | ||
| 14824 | sub p5special_variable__S_099DollarVert__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_099DollarVert', $retree) } | ||
| 14825 | sub p5special_variable__S_099DollarVert { | ||
| 14826 | no warnings 'recursion'; | ||
| 14827 | my $self = shift; | ||
| 14828 | |||
| 14829 | |||
| 14830 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14831 | |||
| 14832 | my $C = $self->cursor_xact("RULE p5special_variable__S_099DollarVert"); | ||
| 14833 | my $xact = $C->xact; | ||
| 14834 | my $S = $C->{'_pos'}; | ||
| 14835 | $C->{sym} = "\$\|"; | ||
| 14836 | $self->_MATCHIFYr($S, "p5special_variable__S_099DollarVert", $C->_EXACT("\$\|")); | ||
| 14837 | } | ||
| 14838 | ; | ||
| 14839 | ## token p5special_variable:sym<$:> { | ||
| 14840 | sub p5special_variable__S_100DollarColon__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_100DollarColon', $retree) } | ||
| 14841 | sub p5special_variable__S_100DollarColon { | ||
| 14842 | no warnings 'recursion'; | ||
| 14843 | my $self = shift; | ||
| 14844 | |||
| 14845 | |||
| 14846 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14847 | |||
| 14848 | my $C = $self->cursor_xact("RULE p5special_variable__S_100DollarColon"); | ||
| 14849 | my $xact = $C->xact; | ||
| 14850 | my $S = $C->{'_pos'}; | ||
| 14851 | $C->{sym} = "\$\:"; | ||
| 14852 | $self->_MATCHIFYr($S, "p5special_variable__S_100DollarColon", $C->_EXACT("\$\:")); | ||
| 14853 | } | ||
| 14854 | ; | ||
| 14855 | ## token p5special_variable:sym<$;> { | ||
| 14856 | sub p5special_variable__S_101DollarSemi__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_101DollarSemi', $retree) } | ||
| 14857 | sub p5special_variable__S_101DollarSemi { | ||
| 14858 | no warnings 'recursion'; | ||
| 14859 | my $self = shift; | ||
| 14860 | |||
| 14861 | |||
| 14862 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14863 | |||
| 14864 | my $C = $self->cursor_xact("RULE p5special_variable__S_101DollarSemi"); | ||
| 14865 | my $xact = $C->xact; | ||
| 14866 | my $S = $C->{'_pos'}; | ||
| 14867 | $C->{sym} = "\$\;"; | ||
| 14868 | $self->_MATCHIFYr($S, "p5special_variable__S_101DollarSemi", $C->_EXACT("\$\;")); | ||
| 14869 | } | ||
| 14870 | ; | ||
| 14871 | ## token p5special_variable:sym<$'> { #' | ||
| 14872 | sub p5special_variable__S_102DollarSingle__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_102DollarSingle', $retree) } | ||
| 14873 | sub p5special_variable__S_102DollarSingle { | ||
| 14874 | no warnings 'recursion'; | ||
| 14875 | my $self = shift; | ||
| 14876 | |||
| 14877 | |||
| 14878 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14879 | |||
| 14880 | my $C = $self->cursor_xact("RULE p5special_variable__S_102DollarSingle"); | ||
| 14881 | my $xact = $C->xact; | ||
| 14882 | my $S = $C->{'_pos'}; | ||
| 14883 | $C->{sym} = "\$\'"; | ||
| 14884 | $self->_MATCHIFYr($S, "p5special_variable__S_102DollarSingle", $C->_EXACT("\$\'")); | ||
| 14885 | } | ||
| 14886 | ; | ||
| 14887 | ## token p5special_variable:sym<$"> { | ||
| 14888 | sub p5special_variable__S_103DollarDouble__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_103DollarDouble', $retree) } | ||
| 14889 | sub p5special_variable__S_103DollarDouble { | ||
| 14890 | no warnings 'recursion'; | ||
| 14891 | my $self = shift; | ||
| 14892 | |||
| 14893 | |||
| 14894 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14895 | |||
| 14896 | my $C = $self->cursor_xact("RULE p5special_variable__S_103DollarDouble"); | ||
| 14897 | my $xact = $C->xact; | ||
| 14898 | my $S = $C->{'_pos'}; | ||
| 14899 | $C->{sym} = "\$\""; | ||
| 14900 | $self->_MATCHIFYr($S, "p5special_variable__S_103DollarDouble", do { | ||
| 14901 | my $C = $C; | ||
| 14902 | if (($C) = ($C->_EXACT("\$\"")) | ||
| 14903 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 14904 | my $C=shift; | ||
| 14905 | (($C) x !!do { | ||
| 14906 | $::QSIGIL }) | ||
| 14907 | }))) { | ||
| 14908 | $C | ||
| 14909 | } else { () } | ||
| 14910 | |||
| 14911 | }); | ||
| 14912 | } | ||
| 14913 | ; | ||
| 14914 | ## token p5special_variable:sym<$,> { | ||
| 14915 | sub p5special_variable__S_104DollarComma__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_104DollarComma', $retree) } | ||
| 14916 | sub p5special_variable__S_104DollarComma { | ||
| 14917 | no warnings 'recursion'; | ||
| 14918 | my $self = shift; | ||
| 14919 | |||
| 14920 | |||
| 14921 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14922 | |||
| 14923 | my $C = $self->cursor_xact("RULE p5special_variable__S_104DollarComma"); | ||
| 14924 | my $xact = $C->xact; | ||
| 14925 | my $S = $C->{'_pos'}; | ||
| 14926 | $C->{sym} = "\$\,"; | ||
| 14927 | $self->_MATCHIFYr($S, "p5special_variable__S_104DollarComma", $C->_EXACT("\$\,")); | ||
| 14928 | } | ||
| 14929 | ; | ||
| 14930 | ## token p5special_variable:sym['$<'] { | ||
| 14931 | sub p5special_variable__S_105DollarLt__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_105DollarLt', $retree) } | ||
| 14932 | sub p5special_variable__S_105DollarLt { | ||
| 14933 | no warnings 'recursion'; | ||
| 14934 | my $self = shift; | ||
| 14935 | |||
| 14936 | |||
| 14937 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14938 | |||
| 14939 | my $C = $self->cursor_xact("RULE p5special_variable__S_105DollarLt"); | ||
| 14940 | my $xact = $C->xact; | ||
| 14941 | my $S = $C->{'_pos'}; | ||
| 14942 | $C->{sym} = "\$\<"; | ||
| 14943 | $self->_MATCHIFYr($S, "p5special_variable__S_105DollarLt", $C->_EXACT("\$\<")); | ||
| 14944 | } | ||
| 14945 | ; | ||
| 14946 | ## token p5special_variable:sym«\$>» { | ||
| 14947 | sub p5special_variable__S_106DollarGt__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_106DollarGt', $retree) } | ||
| 14948 | sub p5special_variable__S_106DollarGt { | ||
| 14949 | no warnings 'recursion'; | ||
| 14950 | my $self = shift; | ||
| 14951 | |||
| 14952 | |||
| 14953 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14954 | |||
| 14955 | my $C = $self->cursor_xact("RULE p5special_variable__S_106DollarGt"); | ||
| 14956 | my $xact = $C->xact; | ||
| 14957 | my $S = $C->{'_pos'}; | ||
| 14958 | $C->{sym} = "\$\>"; | ||
| 14959 | $self->_MATCHIFYr($S, "p5special_variable__S_106DollarGt", $C->_EXACT("\$\>")); | ||
| 14960 | } | ||
| 14961 | ; | ||
| 14962 | ## token p5special_variable:sym<$.> { | ||
| 14963 | sub p5special_variable__S_107DollarDot__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_107DollarDot', $retree) } | ||
| 14964 | sub p5special_variable__S_107DollarDot { | ||
| 14965 | no warnings 'recursion'; | ||
| 14966 | my $self = shift; | ||
| 14967 | |||
| 14968 | |||
| 14969 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14970 | |||
| 14971 | my $C = $self->cursor_xact("RULE p5special_variable__S_107DollarDot"); | ||
| 14972 | my $xact = $C->xact; | ||
| 14973 | my $S = $C->{'_pos'}; | ||
| 14974 | $C->{sym} = "\$\."; | ||
| 14975 | $self->_MATCHIFYr($S, "p5special_variable__S_107DollarDot", $C->_EXACT("\$\.")); | ||
| 14976 | } | ||
| 14977 | ; | ||
| 14978 | ## token p5special_variable:sym<$?> { | ||
| 14979 | sub p5special_variable__S_108DollarQuestion__PEEK { $_[0]->_AUTOLEXpeek('p5special_variable__S_108DollarQuestion', $retree) } | ||
| 14980 | sub p5special_variable__S_108DollarQuestion { | ||
| 14981 | no warnings 'recursion'; | ||
| 14982 | my $self = shift; | ||
| 14983 | |||
| 14984 | |||
| 14985 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 14986 | |||
| 14987 | my $C = $self->cursor_xact("RULE p5special_variable__S_108DollarQuestion"); | ||
| 14988 | my $xact = $C->xact; | ||
| 14989 | my $S = $C->{'_pos'}; | ||
| 14990 | $C->{sym} = "\$\?"; | ||
| 14991 | $self->_MATCHIFYr($S, "p5special_variable__S_108DollarQuestion", $C->_EXACT("\$\?")); | ||
| 14992 | } | ||
| 14993 | ; | ||
| 14994 | ## token desigilname { | ||
| 14995 | sub desigilname__PEEK { $_[0]->_AUTOLEXpeek('desigilname', $retree) } | ||
| 14996 | sub desigilname { | ||
| 14997 | no warnings 'recursion'; | ||
| 14998 | my $self = shift; | ||
| 14999 | |||
| 15000 | |||
| 15001 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15002 | |||
| 15003 | my $C = $self->cursor_xact("RULE desigilname"); | ||
| 15004 | my $xact = $C->xact; | ||
| 15005 | my $S = $C->{'_pos'}; | ||
| 15006 | $self->_MATCHIFYr($S, "desigilname", $C->_BRACKETr(sub { | ||
| 15007 | my $C=shift; | ||
| 15008 | do { | ||
| 15009 | my ($tag, $try); | ||
| 15010 | my @try; | ||
| 15011 | my $relex; | ||
| 15012 | |||
| 15013 | my $fate; | ||
| 15014 | my $x; | ||
| 15015 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'desigilname_0') { | ||
| 15016 | $C->deb("Fate passed to desigilname_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 15017 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 15018 | @try = ($try); | ||
| 15019 | $x = 'ALT desigilname_0'; # some outer ltm is controlling us | ||
| 15020 | } | ||
| 15021 | else { | ||
| 15022 | $x = 'ALTLTM desigilname_0'; # we are top level ltm | ||
| 15023 | } | ||
| 15024 | my $C = $C->cursor_xact($x); | ||
| 15025 | my $xact = $C->{_xact}; | ||
| 15026 | |||
| 15027 | my @gather = (); | ||
| 15028 | for (;;) { | ||
| 15029 | unless (@try) { | ||
| 15030 | $relex //= $C->cursor_fate('STD::STD::P5', 'desigilname_0', $retree); | ||
| 15031 | @try = $relex->($C) or last; | ||
| 15032 | } | ||
| 15033 | $try = shift(@try) // next; | ||
| 15034 | |||
| 15035 | if (ref $try) { | ||
| 15036 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 15037 | } | ||
| 15038 | |||
| 15039 | $C->deb("desigilname_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 15040 | push @gather, (( | ||
| 15041 | sub { | ||
| 15042 | my $C=shift; | ||
| 15043 | if (($C) = ($C->before(sub { | ||
| 15044 | my $C=shift; | ||
| 15045 | if (my ($C) = ($C->before(sub { | ||
| 15046 | my $C=shift; | ||
| 15047 | $C->_EXACT("\$") | ||
| 15048 | }))) { ($C) } else { () } | ||
| 15049 | })) | ||
| 15050 | and ($C) = ($C->_SUBSUMEr(['variable'], sub { | ||
| 15051 | my $C = shift; | ||
| 15052 | $C->variable | ||
| 15053 | }))) { | ||
| 15054 | scalar(do { | ||
| 15055 | my $M = $C; | ||
| 15056 | $::VAR = $M->{'variable'} }, $C) | ||
| 15057 | } else { () } | ||
| 15058 | }, | ||
| 15059 | sub { | ||
| 15060 | my $C=shift; | ||
| 15061 | $C->_SUBSUMEr(['longname'], sub { | ||
| 15062 | my $C = shift; | ||
| 15063 | $C->longname | ||
| 15064 | }) | ||
| 15065 | } | ||
| 15066 | )[$try])->($C); | ||
| 15067 | last if @gather; | ||
| 15068 | last if $xact->[-2]; # committed? | ||
| 15069 | } | ||
| 15070 | @gather; | ||
| 15071 | }; | ||
| 15072 | })); | ||
| 15073 | } | ||
| 15074 | ; | ||
| 15075 | ## token variable { | ||
| 15076 | sub variable__PEEK { $_[0]->_AUTOLEXpeek('variable', $retree) } | ||
| 15077 | sub variable { | ||
| 15078 | no warnings 'recursion'; | ||
| 15079 | my $self = shift; | ||
| 15080 | |||
| 15081 | local $::IN_META = 0;my $sigil = '';my $name; | ||
| 15082 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15083 | |||
| 15084 | my $C = $self->cursor_xact("RULE variable"); | ||
| 15085 | my $xact = $C->xact; | ||
| 15086 | my $S = $C->{'_pos'}; | ||
| 15087 | $self->_MATCHIFYr($S, "variable", do { | ||
| 15088 | my $C = $C; | ||
| 15089 | if (($C) = ($C->before(sub { | ||
| 15090 | my $C=shift; | ||
| 15091 | if (my ($C) = ($C->before(sub { | ||
| 15092 | my $C=shift; | ||
| 15093 | if (my ($C) = ($C->_SUBSUMEr(['sigil','p5sigil'], sub { | ||
| 15094 | my $C = shift; | ||
| 15095 | $C->p5sigil | ||
| 15096 | }))) { | ||
| 15097 | scalar(do { | ||
| 15098 | my $M = $C; | ||
| 15099 | $sigil = $M->{'sigil'}->Str}, $C) | ||
| 15100 | } else { () } | ||
| 15101 | }))) { ($C) } else { () } | ||
| 15102 | })) | ||
| 15103 | and ($C) = (scalar(do { | ||
| 15104 | }, $C)) | ||
| 15105 | and ($C) = ($C->_BRACKETr(sub { | ||
| 15106 | my $C=shift; | ||
| 15107 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 15108 | my $xact = $C->xact; | ||
| 15109 | my @gather; | ||
| 15110 | do { | ||
| 15111 | push @gather, do { | ||
| 15112 | my $C = $C; | ||
| 15113 | if (($C) = ($C->_EXACT("\&")) | ||
| 15114 | and ($C) = ($C->_BRACKETr(sub { | ||
| 15115 | my $C=shift; | ||
| 15116 | do { | ||
| 15117 | my ($tag, $try); | ||
| 15118 | my @try; | ||
| 15119 | my $relex; | ||
| 15120 | |||
| 15121 | my $fate; | ||
| 15122 | my $x; | ||
| 15123 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'variable_0') { | ||
| 15124 | $C->deb("Fate passed to variable_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 15125 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 15126 | @try = ($try); | ||
| 15127 | $x = 'ALT variable_0'; # some outer ltm is controlling us | ||
| 15128 | } | ||
| 15129 | else { | ||
| 15130 | $x = 'ALTLTM variable_0'; # we are top level ltm | ||
| 15131 | } | ||
| 15132 | my $C = $C->cursor_xact($x); | ||
| 15133 | my $xact = $C->{_xact}; | ||
| 15134 | |||
| 15135 | my @gather = (); | ||
| 15136 | for (;;) { | ||
| 15137 | unless (@try) { | ||
| 15138 | $relex //= $C->cursor_fate('STD::STD::P5', 'variable_0', $retree); | ||
| 15139 | @try = $relex->($C) or last; | ||
| 15140 | } | ||
| 15141 | $try = shift(@try) // next; | ||
| 15142 | |||
| 15143 | if (ref $try) { | ||
| 15144 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 15145 | } | ||
| 15146 | |||
| 15147 | $C->deb("variable_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 15148 | push @gather, (( | ||
| 15149 | sub { | ||
| 15150 | my $C=shift; | ||
| 15151 | if (my ($C) = ($C->_SUBSUMEr(['sublongname'], sub { | ||
| 15152 | my $C = shift; | ||
| 15153 | $C->sublongname | ||
| 15154 | }))) { | ||
| 15155 | scalar(do { | ||
| 15156 | my $M = $C; | ||
| 15157 | $name = $M->{'sublongname'}->Str }, $C) | ||
| 15158 | } else { () } | ||
| 15159 | }, | ||
| 15160 | sub { | ||
| 15161 | my $C=shift; | ||
| 15162 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 15163 | my $C=shift; | ||
| 15164 | local $::GOAL = "\]"; | ||
| 15165 | my $goalpos = $C; | ||
| 15166 | if (($C) = ($C->_EXACT("\[")) | ||
| 15167 | and ($C) = (scalar(do { | ||
| 15168 | }, $C)) | ||
| 15169 | and ($C) = ($C->_SUBSUMEr(['infixish'], sub { | ||
| 15170 | my $C = shift; | ||
| 15171 | $C->infixish(1) | ||
| 15172 | })) | ||
| 15173 | and ($C) = ($C->_BRACKETr(sub { | ||
| 15174 | my $C=shift; | ||
| 15175 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 15176 | my $xact = $C->xact; | ||
| 15177 | my @gather; | ||
| 15178 | do { | ||
| 15179 | push @gather, $C->_EXACT("\]") | ||
| 15180 | } | ||
| 15181 | or $xact->[-2] or | ||
| 15182 | do { | ||
| 15183 | push @gather, do { | ||
| 15184 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'infix noun', $goalpos))) { ($C) } else { () } | ||
| 15185 | |||
| 15186 | } | ||
| 15187 | }; | ||
| 15188 | @gather; | ||
| 15189 | } | ||
| 15190 | }))) { | ||
| 15191 | $C | ||
| 15192 | } else { () } | ||
| 15193 | }))) { ($C) } else { () } | ||
| 15194 | } | ||
| 15195 | )[$try])->($C); | ||
| 15196 | last if @gather; | ||
| 15197 | last if $xact->[-2]; # committed? | ||
| 15198 | } | ||
| 15199 | @gather; | ||
| 15200 | }; | ||
| 15201 | }))) { | ||
| 15202 | $C | ||
| 15203 | } else { () } | ||
| 15204 | |||
| 15205 | } | ||
| 15206 | } | ||
| 15207 | or $xact->[-2] or | ||
| 15208 | do { | ||
| 15209 | push @gather, do { | ||
| 15210 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 15211 | my $C=shift; | ||
| 15212 | do { | ||
| 15213 | my ($tag, $try); | ||
| 15214 | my @try; | ||
| 15215 | my $relex; | ||
| 15216 | |||
| 15217 | my $fate; | ||
| 15218 | my $x; | ||
| 15219 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'variable_1') { | ||
| 15220 | $C->deb("Fate passed to variable_1: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 15221 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 15222 | @try = ($try); | ||
| 15223 | $x = 'ALT variable_1'; # some outer ltm is controlling us | ||
| 15224 | } | ||
| 15225 | else { | ||
| 15226 | $x = 'ALTLTM variable_1'; # we are top level ltm | ||
| 15227 | } | ||
| 15228 | my $C = $C->cursor_xact($x); | ||
| 15229 | my $xact = $C->{_xact}; | ||
| 15230 | |||
| 15231 | my @gather = (); | ||
| 15232 | for (;;) { | ||
| 15233 | unless (@try) { | ||
| 15234 | $relex //= $C->cursor_fate('STD::STD::P5', 'variable_1', $retree); | ||
| 15235 | @try = $relex->($C) or last; | ||
| 15236 | } | ||
| 15237 | $try = shift(@try) // next; | ||
| 15238 | |||
| 15239 | if (ref $try) { | ||
| 15240 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 15241 | } | ||
| 15242 | |||
| 15243 | $C->deb("variable_1 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 15244 | push @gather, (( | ||
| 15245 | sub { | ||
| 15246 | my $C=shift; | ||
| 15247 | if (($C) = ($C->_SUBSUMEr(['sigil','p5sigil'], sub { | ||
| 15248 | my $C = shift; | ||
| 15249 | $C->p5sigil | ||
| 15250 | })) | ||
| 15251 | and ($C) = ($C->_SUBSUMEr(['desigilname'], sub { | ||
| 15252 | my $C = shift; | ||
| 15253 | $C->desigilname | ||
| 15254 | }))) { | ||
| 15255 | scalar(do { | ||
| 15256 | my $M = $C; | ||
| 15257 | $name = $M->{'desigilname'}->Str }, $C) | ||
| 15258 | } else { () } | ||
| 15259 | }, | ||
| 15260 | sub { | ||
| 15261 | my $C=shift; | ||
| 15262 | $C->_SUBSUMEr(['special_variable','p5special_variable'], sub { | ||
| 15263 | my $C = shift; | ||
| 15264 | $C->p5special_variable | ||
| 15265 | }) | ||
| 15266 | }, | ||
| 15267 | sub { | ||
| 15268 | my $C=shift; | ||
| 15269 | if (my ($C) = ($C->_SUBSUMEr(['sigil','p5sigil'], sub { | ||
| 15270 | my $C = shift; | ||
| 15271 | $C->p5sigil | ||
| 15272 | }))) { | ||
| 15273 | $C->_SUBSUMEr(['index'], sub { | ||
| 15274 | my $C = shift; | ||
| 15275 | $C->_BRACKETr(sub { | ||
| 15276 | my $C=shift; | ||
| 15277 | $C->_PATTERN(qr/\G\d++/) | ||
| 15278 | }) | ||
| 15279 | }) | ||
| 15280 | } else { () } | ||
| 15281 | }, | ||
| 15282 | sub { | ||
| 15283 | my $C=shift; | ||
| 15284 | if (($C) = ($C->_SUBSUMEr(['sigil','p5sigil'], sub { | ||
| 15285 | my $C = shift; | ||
| 15286 | $C->p5sigil | ||
| 15287 | })) | ||
| 15288 | and ($C) = ($C->before(sub { | ||
| 15289 | my $C=shift; | ||
| 15290 | if (my ($C) = ($C->before(sub { | ||
| 15291 | my $C=shift; | ||
| 15292 | if (my ($C) = (do { | ||
| 15293 | do { | ||
| 15294 | my ($tag, $try); | ||
| 15295 | my @try; | ||
| 15296 | my $relex; | ||
| 15297 | |||
| 15298 | my $fate; | ||
| 15299 | my $x; | ||
| 15300 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'variable_2') { | ||
| 15301 | $C->deb("Fate passed to variable_2: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 15302 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 15303 | @try = ($try); | ||
| 15304 | $x = 'ALT variable_2'; # some outer ltm is controlling us | ||
| 15305 | } | ||
| 15306 | else { | ||
| 15307 | $x = 'ALTLTM variable_2'; # we are top level ltm | ||
| 15308 | } | ||
| 15309 | my $C = $C->cursor_xact($x); | ||
| 15310 | my $xact = $C->{_xact}; | ||
| 15311 | |||
| 15312 | my @gather = (); | ||
| 15313 | for (;;) { | ||
| 15314 | unless (@try) { | ||
| 15315 | $relex //= $C->cursor_fate('STD::STD::P5', 'variable_2', $retree); | ||
| 15316 | @try = $relex->($C) or last; | ||
| 15317 | } | ||
| 15318 | $try = shift(@try) // next; | ||
| 15319 | |||
| 15320 | if (ref $try) { | ||
| 15321 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 15322 | } | ||
| 15323 | |||
| 15324 | $C->deb("variable_2 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 15325 | push @gather, (( | ||
| 15326 | sub { | ||
| 15327 | my $C=shift; | ||
| 15328 | $C->_EXACT("\<") | ||
| 15329 | }, | ||
| 15330 | sub { | ||
| 15331 | my $C=shift; | ||
| 15332 | $C->_EXACT("\(") | ||
| 15333 | } | ||
| 15334 | )[$try])->($C); | ||
| 15335 | last if @gather; | ||
| 15336 | last if $xact->[-2]; # committed? | ||
| 15337 | } | ||
| 15338 | @gather; | ||
| 15339 | }; | ||
| 15340 | |||
| 15341 | })) { ($C) } else { () } | ||
| 15342 | }))) { ($C) } else { () } | ||
| 15343 | }))) { | ||
| 15344 | $C->_SUBSUMEr(['postcircumfix','p5postcircumfix'], sub { | ||
| 15345 | my $C = shift; | ||
| 15346 | $C->p5postcircumfix | ||
| 15347 | }) | ||
| 15348 | } else { () } | ||
| 15349 | }, | ||
| 15350 | sub { | ||
| 15351 | my $C=shift; | ||
| 15352 | if (($C) = ($C->_SUBSUMEr(['sigil','p5sigil'], sub { | ||
| 15353 | my $C = shift; | ||
| 15354 | $C->p5sigil | ||
| 15355 | })) | ||
| 15356 | and ($C) = ($C->before(sub { | ||
| 15357 | my $C=shift; | ||
| 15358 | (($C) x !!do { | ||
| 15359 | $::IN_DECL }) | ||
| 15360 | }))) { | ||
| 15361 | $C | ||
| 15362 | } else { () } | ||
| 15363 | }, | ||
| 15364 | sub { | ||
| 15365 | my $C=shift; | ||
| 15366 | if (my ($C) = ($C->before(sub { | ||
| 15367 | my $C=shift; | ||
| 15368 | $C | ||
| 15369 | }))) { | ||
| 15370 | scalar(do { | ||
| 15371 | { | ||
| 15372 | if ($::QSIGIL) { | ||
| 15373 | return ()} | ||
| 15374 | else { | ||
| 15375 | $C->panic("Anonymous variable requires declarator")}}}, $C) | ||
| 15376 | } else { () } | ||
| 15377 | } | ||
| 15378 | )[$try])->($C); | ||
| 15379 | last if @gather; | ||
| 15380 | last if $xact->[-2]; # committed? | ||
| 15381 | } | ||
| 15382 | @gather; | ||
| 15383 | }; | ||
| 15384 | }))) { ($C) } else { () } | ||
| 15385 | |||
| 15386 | } | ||
| 15387 | }; | ||
| 15388 | @gather; | ||
| 15389 | } | ||
| 15390 | }))) { | ||
| 15391 | $C | ||
| 15392 | } else { () } | ||
| 15393 | |||
| 15394 | }); | ||
| 15395 | } | ||
| 15396 | ; | ||
| 15397 | ## token p5sigil:sym<$> { <sym> } | ||
| 15398 | sub p5sigil__S_109Dollar__PEEK { $_[0]->_AUTOLEXpeek('p5sigil__S_109Dollar', $retree) } | ||
| 15399 | sub p5sigil__S_109Dollar { | ||
| 15400 | no warnings 'recursion'; | ||
| 15401 | my $self = shift; | ||
| 15402 | |||
| 15403 | |||
| 15404 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15405 | |||
| 15406 | my $C = $self->cursor_xact("RULE p5sigil__S_109Dollar"); | ||
| 15407 | my $xact = $C->xact; | ||
| 15408 | my $S = $C->{'_pos'}; | ||
| 15409 | $C->{sym} = "\$"; | ||
| 15410 | $self->_MATCHIFYr($S, "p5sigil__S_109Dollar", $C->_EXACT("\$")); | ||
| 15411 | } | ||
| 15412 | ; | ||
| 15413 | ## token p5sigil:sym<@> { <sym> } | ||
| 15414 | sub p5sigil__S_110At__PEEK { $_[0]->_AUTOLEXpeek('p5sigil__S_110At', $retree) } | ||
| 15415 | sub p5sigil__S_110At { | ||
| 15416 | no warnings 'recursion'; | ||
| 15417 | my $self = shift; | ||
| 15418 | |||
| 15419 | |||
| 15420 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15421 | |||
| 15422 | my $C = $self->cursor_xact("RULE p5sigil__S_110At"); | ||
| 15423 | my $xact = $C->xact; | ||
| 15424 | my $S = $C->{'_pos'}; | ||
| 15425 | $C->{sym} = "\@"; | ||
| 15426 | $self->_MATCHIFYr($S, "p5sigil__S_110At", $C->_EXACT("\@")); | ||
| 15427 | } | ||
| 15428 | ; | ||
| 15429 | ## token p5sigil:sym<%> { <sym> } | ||
| 15430 | sub p5sigil__S_111Percent__PEEK { $_[0]->_AUTOLEXpeek('p5sigil__S_111Percent', $retree) } | ||
| 15431 | sub p5sigil__S_111Percent { | ||
| 15432 | no warnings 'recursion'; | ||
| 15433 | my $self = shift; | ||
| 15434 | |||
| 15435 | |||
| 15436 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15437 | |||
| 15438 | my $C = $self->cursor_xact("RULE p5sigil__S_111Percent"); | ||
| 15439 | my $xact = $C->xact; | ||
| 15440 | my $S = $C->{'_pos'}; | ||
| 15441 | $C->{sym} = "\%"; | ||
| 15442 | $self->_MATCHIFYr($S, "p5sigil__S_111Percent", $C->_EXACT("\%")); | ||
| 15443 | } | ||
| 15444 | ; | ||
| 15445 | ## token p5sigil:sym<&> { <sym> } | ||
| 15446 | sub p5sigil__S_112Amp__PEEK { $_[0]->_AUTOLEXpeek('p5sigil__S_112Amp', $retree) } | ||
| 15447 | sub p5sigil__S_112Amp { | ||
| 15448 | no warnings 'recursion'; | ||
| 15449 | my $self = shift; | ||
| 15450 | |||
| 15451 | |||
| 15452 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15453 | |||
| 15454 | my $C = $self->cursor_xact("RULE p5sigil__S_112Amp"); | ||
| 15455 | my $xact = $C->xact; | ||
| 15456 | my $S = $C->{'_pos'}; | ||
| 15457 | $C->{sym} = "\&"; | ||
| 15458 | $self->_MATCHIFYr($S, "p5sigil__S_112Amp", $C->_EXACT("\&")); | ||
| 15459 | } | ||
| 15460 | ; | ||
| 15461 | ## token deflongname { | ||
| 15462 | sub deflongname__PEEK { $_[0]->_AUTOLEXpeek('deflongname', $retree) } | ||
| 15463 | sub deflongname { | ||
| 15464 | no warnings 'recursion'; | ||
| 15465 | my $self = shift; | ||
| 15466 | |||
| 15467 | |||
| 15468 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15469 | |||
| 15470 | my $C = $self->cursor_xact("RULE deflongname"); | ||
| 15471 | my $xact = $C->xact; | ||
| 15472 | my $S = $C->{'_pos'}; | ||
| 15473 | $C->{'colonpair'} = []; | ||
| 15474 | $self->_MATCHIFYr($S, "deflongname", do { | ||
| 15475 | my $C = $C; | ||
| 15476 | if (($C) = ($C->_SUBSUMEr(['name'], sub { | ||
| 15477 | my $C = shift; | ||
| 15478 | $C->name | ||
| 15479 | })) | ||
| 15480 | and ($C) = ($C->_BRACKETr(sub { | ||
| 15481 | my $C=shift; | ||
| 15482 | do { | ||
| 15483 | my ($tag, $try); | ||
| 15484 | my @try; | ||
| 15485 | my $relex; | ||
| 15486 | |||
| 15487 | my $fate; | ||
| 15488 | my $x; | ||
| 15489 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'deflongname_0') { | ||
| 15490 | $C->deb("Fate passed to deflongname_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 15491 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 15492 | @try = ($try); | ||
| 15493 | $x = 'ALT deflongname_0'; # some outer ltm is controlling us | ||
| 15494 | } | ||
| 15495 | else { | ||
| 15496 | $x = 'ALTLTM deflongname_0'; # we are top level ltm | ||
| 15497 | } | ||
| 15498 | my $C = $C->cursor_xact($x); | ||
| 15499 | my $xact = $C->{_xact}; | ||
| 15500 | |||
| 15501 | my @gather = (); | ||
| 15502 | for (;;) { | ||
| 15503 | unless (@try) { | ||
| 15504 | $relex //= $C->cursor_fate('STD::STD::P5', 'deflongname_0', $retree); | ||
| 15505 | @try = $relex->($C) or last; | ||
| 15506 | } | ||
| 15507 | $try = shift(@try) // next; | ||
| 15508 | |||
| 15509 | if (ref $try) { | ||
| 15510 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 15511 | } | ||
| 15512 | |||
| 15513 | $C->deb("deflongname_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 15514 | push @gather, (( | ||
| 15515 | sub { | ||
| 15516 | my $C=shift; | ||
| 15517 | if (my ($C) = ($C->_PLUSr(sub { | ||
| 15518 | my $C=shift; | ||
| 15519 | $C->_SUBSUMEr(['colonpair'], sub { | ||
| 15520 | my $C = shift; | ||
| 15521 | $C->colonpair | ||
| 15522 | }) | ||
| 15523 | }))) { | ||
| 15524 | scalar(do { | ||
| 15525 | my $M = $C; | ||
| 15526 | $C->add_macro($M->{'name'}) if $::IN_DECL}, $C) | ||
| 15527 | } else { () } | ||
| 15528 | }, | ||
| 15529 | sub { | ||
| 15530 | my $C=shift; | ||
| 15531 | scalar(do { | ||
| 15532 | my $M = $C; | ||
| 15533 | $C->add_routine($M->{'name'}->Str) if $::IN_DECL}, $C) | ||
| 15534 | } | ||
| 15535 | )[$try])->($C); | ||
| 15536 | last if @gather; | ||
| 15537 | last if $xact->[-2]; # committed? | ||
| 15538 | } | ||
| 15539 | @gather; | ||
| 15540 | }; | ||
| 15541 | }))) { | ||
| 15542 | $C | ||
| 15543 | } else { () } | ||
| 15544 | |||
| 15545 | }); | ||
| 15546 | } | ||
| 15547 | ; | ||
| 15548 | ## token longname { | ||
| 15549 | sub longname__PEEK { $_[0]->_AUTOLEXpeek('longname', $retree) } | ||
| 15550 | sub longname { | ||
| 15551 | no warnings 'recursion'; | ||
| 15552 | my $self = shift; | ||
| 15553 | |||
| 15554 | |||
| 15555 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15556 | |||
| 15557 | my $C = $self->cursor_xact("RULE longname"); | ||
| 15558 | my $xact = $C->xact; | ||
| 15559 | my $S = $C->{'_pos'}; | ||
| 15560 | $C->{'colonpair'} = []; | ||
| 15561 | $self->_MATCHIFYr($S, "longname", do { | ||
| 15562 | if (my ($C) = ($C->_SUBSUMEr(['name'], sub { | ||
| 15563 | my $C = shift; | ||
| 15564 | $C->name | ||
| 15565 | }))) { | ||
| 15566 | $C->_STARr(sub { | ||
| 15567 | my $C=shift; | ||
| 15568 | $C->_SUBSUMEr(['colonpair'], sub { | ||
| 15569 | my $C = shift; | ||
| 15570 | $C->colonpair | ||
| 15571 | }) | ||
| 15572 | }) | ||
| 15573 | } else { () } | ||
| 15574 | |||
| 15575 | }); | ||
| 15576 | } | ||
| 15577 | ; | ||
| 15578 | ## token name { | ||
| 15579 | sub name__PEEK { $_[0]->_AUTOLEXpeek('name', $retree) } | ||
| 15580 | sub name { | ||
| 15581 | no warnings 'recursion'; | ||
| 15582 | my $self = shift; | ||
| 15583 | |||
| 15584 | |||
| 15585 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15586 | |||
| 15587 | my $C = $self->cursor_xact("RULE name"); | ||
| 15588 | my $xact = $C->xact; | ||
| 15589 | my $S = $C->{'_pos'}; | ||
| 15590 | $C->{'morename'} = []; | ||
| 15591 | $self->_MATCHIFYr($S, "name", $C->_BRACKETr(sub { | ||
| 15592 | my $C=shift; | ||
| 15593 | do { | ||
| 15594 | my ($tag, $try); | ||
| 15595 | my @try; | ||
| 15596 | my $relex; | ||
| 15597 | |||
| 15598 | my $fate; | ||
| 15599 | my $x; | ||
| 15600 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'name_0') { | ||
| 15601 | $C->deb("Fate passed to name_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 15602 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 15603 | @try = ($try); | ||
| 15604 | $x = 'ALT name_0'; # some outer ltm is controlling us | ||
| 15605 | } | ||
| 15606 | else { | ||
| 15607 | $x = 'ALTLTM name_0'; # we are top level ltm | ||
| 15608 | } | ||
| 15609 | my $C = $C->cursor_xact($x); | ||
| 15610 | my $xact = $C->{_xact}; | ||
| 15611 | |||
| 15612 | my @gather = (); | ||
| 15613 | for (;;) { | ||
| 15614 | unless (@try) { | ||
| 15615 | $relex //= $C->cursor_fate('STD::STD::P5', 'name_0', $retree); | ||
| 15616 | @try = $relex->($C) or last; | ||
| 15617 | } | ||
| 15618 | $try = shift(@try) // next; | ||
| 15619 | |||
| 15620 | if (ref $try) { | ||
| 15621 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 15622 | } | ||
| 15623 | |||
| 15624 | $C->deb("name_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 15625 | push @gather, (( | ||
| 15626 | sub { | ||
| 15627 | my $C=shift; | ||
| 15628 | if (my ($C) = ($C->_SUBSUMEr(['identifier'], sub { | ||
| 15629 | my $C = shift; | ||
| 15630 | $C->identifier | ||
| 15631 | }))) { | ||
| 15632 | $C->_STARr(sub { | ||
| 15633 | my $C=shift; | ||
| 15634 | $C->_SUBSUMEr(['morename'], sub { | ||
| 15635 | my $C = shift; | ||
| 15636 | $C->morename | ||
| 15637 | }) | ||
| 15638 | }) | ||
| 15639 | } else { () } | ||
| 15640 | }, | ||
| 15641 | sub { | ||
| 15642 | my $C=shift; | ||
| 15643 | $C->_PLUSr(sub { | ||
| 15644 | my $C=shift; | ||
| 15645 | $C->_SUBSUMEr(['morename'], sub { | ||
| 15646 | my $C = shift; | ||
| 15647 | $C->morename | ||
| 15648 | }) | ||
| 15649 | }) | ||
| 15650 | } | ||
| 15651 | )[$try])->($C); | ||
| 15652 | last if @gather; | ||
| 15653 | last if $xact->[-2]; # committed? | ||
| 15654 | } | ||
| 15655 | @gather; | ||
| 15656 | }; | ||
| 15657 | })); | ||
| 15658 | } | ||
| 15659 | ; | ||
| 15660 | ## token morename { | ||
| 15661 | sub morename__PEEK { $_[0]->_AUTOLEXpeek('morename', $retree) } | ||
| 15662 | sub morename { | ||
| 15663 | no warnings 'recursion'; | ||
| 15664 | my $self = shift; | ||
| 15665 | |||
| 15666 | local $::QSIGIL = ''; | ||
| 15667 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15668 | |||
| 15669 | my $C = $self->cursor_xact("RULE morename"); | ||
| 15670 | my $xact = $C->xact; | ||
| 15671 | my $S = $C->{'_pos'}; | ||
| 15672 | $C->{'EXPR'} = []; | ||
| 15673 | $C->{'identifier'} = []; | ||
| 15674 | $self->_MATCHIFYr($S, "morename", do { | ||
| 15675 | if (my ($C) = ($C->_EXACT("\:\:"))) { | ||
| 15676 | $C->_OPTr(sub { | ||
| 15677 | my $C=shift; | ||
| 15678 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 15679 | my $C=shift; | ||
| 15680 | if (($C) = ($C->before(sub { | ||
| 15681 | my $C=shift; | ||
| 15682 | if (my ($C) = ($C->before(sub { | ||
| 15683 | my $C=shift; | ||
| 15684 | if (my ($C) = (do { | ||
| 15685 | do { | ||
| 15686 | my ($tag, $try); | ||
| 15687 | my @try; | ||
| 15688 | my $relex; | ||
| 15689 | |||
| 15690 | my $fate; | ||
| 15691 | my $x; | ||
| 15692 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'morename_0') { | ||
| 15693 | $C->deb("Fate passed to morename_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 15694 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 15695 | @try = ($try); | ||
| 15696 | $x = 'ALT morename_0'; # some outer ltm is controlling us | ||
| 15697 | } | ||
| 15698 | else { | ||
| 15699 | $x = 'ALTLTM morename_0'; # we are top level ltm | ||
| 15700 | } | ||
| 15701 | my $C = $C->cursor_xact($x); | ||
| 15702 | my $xact = $C->{_xact}; | ||
| 15703 | |||
| 15704 | my @gather = (); | ||
| 15705 | for (;;) { | ||
| 15706 | unless (@try) { | ||
| 15707 | $relex //= $C->cursor_fate('STD::STD::P5', 'morename_0', $retree); | ||
| 15708 | @try = $relex->($C) or last; | ||
| 15709 | } | ||
| 15710 | $try = shift(@try) // next; | ||
| 15711 | |||
| 15712 | if (ref $try) { | ||
| 15713 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 15714 | } | ||
| 15715 | |||
| 15716 | $C->deb("morename_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 15717 | push @gather, (( | ||
| 15718 | sub { | ||
| 15719 | my $C=shift; | ||
| 15720 | $C->_EXACT("\(") | ||
| 15721 | }, | ||
| 15722 | sub { | ||
| 15723 | my $C=shift; | ||
| 15724 | $C->_PATTERN(qr/\G[_[:alpha:]]/) | ||
| 15725 | } | ||
| 15726 | )[$try])->($C); | ||
| 15727 | last if @gather; | ||
| 15728 | last if $xact->[-2]; # committed? | ||
| 15729 | } | ||
| 15730 | @gather; | ||
| 15731 | }; | ||
| 15732 | |||
| 15733 | })) { ($C) } else { () } | ||
| 15734 | }))) { ($C) } else { () } | ||
| 15735 | })) | ||
| 15736 | and ($C) = ($C->_BRACKETr(sub { | ||
| 15737 | my $C=shift; | ||
| 15738 | do { | ||
| 15739 | my ($tag, $try); | ||
| 15740 | my @try; | ||
| 15741 | my $relex; | ||
| 15742 | |||
| 15743 | my $fate; | ||
| 15744 | my $x; | ||
| 15745 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'morename_1') { | ||
| 15746 | $C->deb("Fate passed to morename_1: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 15747 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 15748 | @try = ($try); | ||
| 15749 | $x = 'ALT morename_1'; # some outer ltm is controlling us | ||
| 15750 | } | ||
| 15751 | else { | ||
| 15752 | $x = 'ALTLTM morename_1'; # we are top level ltm | ||
| 15753 | } | ||
| 15754 | my $C = $C->cursor_xact($x); | ||
| 15755 | my $xact = $C->{_xact}; | ||
| 15756 | |||
| 15757 | my @gather = (); | ||
| 15758 | for (;;) { | ||
| 15759 | unless (@try) { | ||
| 15760 | $relex //= $C->cursor_fate('STD::STD::P5', 'morename_1', $retree); | ||
| 15761 | @try = $relex->($C) or last; | ||
| 15762 | } | ||
| 15763 | $try = shift(@try) // next; | ||
| 15764 | |||
| 15765 | if (ref $try) { | ||
| 15766 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 15767 | } | ||
| 15768 | |||
| 15769 | $C->deb("morename_1 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 15770 | push @gather, (( | ||
| 15771 | sub { | ||
| 15772 | my $C=shift; | ||
| 15773 | $C->_SUBSUMEr(['identifier'], sub { | ||
| 15774 | my $C = shift; | ||
| 15775 | $C->identifier | ||
| 15776 | }) | ||
| 15777 | }, | ||
| 15778 | sub { | ||
| 15779 | my $C=shift; | ||
| 15780 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 15781 | my $C=shift; | ||
| 15782 | local $::GOAL = "\)"; | ||
| 15783 | my $goalpos = $C; | ||
| 15784 | if (($C) = ($C->_EXACT("\(")) | ||
| 15785 | and ($C) = (scalar(do { | ||
| 15786 | }, $C)) | ||
| 15787 | and ($C) = ($C->_SUBSUMEr(['EXPR'], sub { | ||
| 15788 | my $C = shift; | ||
| 15789 | $C->EXPR | ||
| 15790 | })) | ||
| 15791 | and ($C) = ($C->_BRACKETr(sub { | ||
| 15792 | my $C=shift; | ||
| 15793 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 15794 | my $xact = $C->xact; | ||
| 15795 | my @gather; | ||
| 15796 | do { | ||
| 15797 | push @gather, $C->_EXACT("\)") | ||
| 15798 | } | ||
| 15799 | or $xact->[-2] or | ||
| 15800 | do { | ||
| 15801 | push @gather, do { | ||
| 15802 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'indirect name', $goalpos))) { ($C) } else { () } | ||
| 15803 | |||
| 15804 | } | ||
| 15805 | }; | ||
| 15806 | @gather; | ||
| 15807 | } | ||
| 15808 | }))) { | ||
| 15809 | $C | ||
| 15810 | } else { () } | ||
| 15811 | }))) { ($C) } else { () } | ||
| 15812 | } | ||
| 15813 | )[$try])->($C); | ||
| 15814 | last if @gather; | ||
| 15815 | last if $xact->[-2]; # committed? | ||
| 15816 | } | ||
| 15817 | @gather; | ||
| 15818 | }; | ||
| 15819 | }))) { | ||
| 15820 | $C | ||
| 15821 | } else { () } | ||
| 15822 | }))) { ($C) } else { () } | ||
| 15823 | }) | ||
| 15824 | } else { () } | ||
| 15825 | |||
| 15826 | }); | ||
| 15827 | } | ||
| 15828 | ; | ||
| 15829 | ## token subshortname { | ||
| 15830 | sub subshortname__PEEK { $_[0]->_AUTOLEXpeek('subshortname', $retree) } | ||
| 15831 | sub subshortname { | ||
| 15832 | no warnings 'recursion'; | ||
| 15833 | my $self = shift; | ||
| 15834 | |||
| 15835 | |||
| 15836 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15837 | |||
| 15838 | my $C = $self->cursor_xact("RULE subshortname"); | ||
| 15839 | my $xact = $C->xact; | ||
| 15840 | my $S = $C->{'_pos'}; | ||
| 15841 | $C->{'colonpair'} = []; | ||
| 15842 | $self->_MATCHIFYr($S, "subshortname", $C->_BRACKETr(sub { | ||
| 15843 | my $C=shift; | ||
| 15844 | do { | ||
| 15845 | my ($tag, $try); | ||
| 15846 | my @try; | ||
| 15847 | my $relex; | ||
| 15848 | |||
| 15849 | my $fate; | ||
| 15850 | my $x; | ||
| 15851 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'subshortname_0') { | ||
| 15852 | $C->deb("Fate passed to subshortname_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 15853 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 15854 | @try = ($try); | ||
| 15855 | $x = 'ALT subshortname_0'; # some outer ltm is controlling us | ||
| 15856 | } | ||
| 15857 | else { | ||
| 15858 | $x = 'ALTLTM subshortname_0'; # we are top level ltm | ||
| 15859 | } | ||
| 15860 | my $C = $C->cursor_xact($x); | ||
| 15861 | my $xact = $C->{_xact}; | ||
| 15862 | |||
| 15863 | my @gather = (); | ||
| 15864 | for (;;) { | ||
| 15865 | unless (@try) { | ||
| 15866 | $relex //= $C->cursor_fate('STD::STD::P5', 'subshortname_0', $retree); | ||
| 15867 | @try = $relex->($C) or last; | ||
| 15868 | } | ||
| 15869 | $try = shift(@try) // next; | ||
| 15870 | |||
| 15871 | if (ref $try) { | ||
| 15872 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 15873 | } | ||
| 15874 | |||
| 15875 | $C->deb("subshortname_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 15876 | push @gather, (( | ||
| 15877 | sub { | ||
| 15878 | my $C=shift; | ||
| 15879 | if (my ($C) = ($C->_SUBSUMEr(['category'], sub { | ||
| 15880 | my $C = shift; | ||
| 15881 | $C->category | ||
| 15882 | }))) { | ||
| 15883 | $C->_OPTr(sub { | ||
| 15884 | my $C=shift; | ||
| 15885 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 15886 | my $C=shift; | ||
| 15887 | if (my ($C) = ($C->_PLUSr(sub { | ||
| 15888 | my $C=shift; | ||
| 15889 | $C->_SUBSUMEr(['colonpair'], sub { | ||
| 15890 | my $C = shift; | ||
| 15891 | $C->colonpair | ||
| 15892 | }) | ||
| 15893 | }))) { | ||
| 15894 | scalar(do { | ||
| 15895 | my $M = $C; | ||
| 15896 | $C->add_macro($M->{'category'}) if $::IN_DECL}, $C) | ||
| 15897 | } else { () } | ||
| 15898 | }))) { ($C) } else { () } | ||
| 15899 | }) | ||
| 15900 | } else { () } | ||
| 15901 | }, | ||
| 15902 | sub { | ||
| 15903 | my $C=shift; | ||
| 15904 | $C->_SUBSUMEr(['desigilname'], sub { | ||
| 15905 | my $C = shift; | ||
| 15906 | $C->desigilname | ||
| 15907 | }) | ||
| 15908 | } | ||
| 15909 | )[$try])->($C); | ||
| 15910 | last if @gather; | ||
| 15911 | last if $xact->[-2]; # committed? | ||
| 15912 | } | ||
| 15913 | @gather; | ||
| 15914 | }; | ||
| 15915 | })); | ||
| 15916 | } | ||
| 15917 | ; | ||
| 15918 | ## token sublongname { | ||
| 15919 | sub sublongname__PEEK { $_[0]->_AUTOLEXpeek('sublongname', $retree) } | ||
| 15920 | sub sublongname { | ||
| 15921 | no warnings 'recursion'; | ||
| 15922 | my $self = shift; | ||
| 15923 | |||
| 15924 | |||
| 15925 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15926 | |||
| 15927 | my $C = $self->cursor_xact("RULE sublongname"); | ||
| 15928 | my $xact = $C->xact; | ||
| 15929 | my $S = $C->{'_pos'}; | ||
| 15930 | $C->{'sigterm'} = []; | ||
| 15931 | $self->_MATCHIFYr($S, "sublongname", do { | ||
| 15932 | if (my ($C) = ($C->_SUBSUMEr(['subshortname'], sub { | ||
| 15933 | my $C = shift; | ||
| 15934 | $C->subshortname | ||
| 15935 | }))) { | ||
| 15936 | $C->_OPTr(sub { | ||
| 15937 | my $C=shift; | ||
| 15938 | $C->_SUBSUMEr(['sigterm'], sub { | ||
| 15939 | my $C = shift; | ||
| 15940 | $C->sigterm | ||
| 15941 | }) | ||
| 15942 | }) | ||
| 15943 | } else { () } | ||
| 15944 | |||
| 15945 | }); | ||
| 15946 | } | ||
| 15947 | ; | ||
| 15948 | ## token p5value:quote { <quote=p5quote> } | ||
| 15949 | sub p5value__S_113quote__PEEK { $_[0]->_AUTOLEXpeek('p5value__S_113quote', $retree) } | ||
| 15950 | sub p5value__S_113quote { | ||
| 15951 | no warnings 'recursion'; | ||
| 15952 | my $self = shift; | ||
| 15953 | |||
| 15954 | |||
| 15955 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15956 | |||
| 15957 | my $C = $self->cursor_xact("RULE p5value__S_113quote"); | ||
| 15958 | my $xact = $C->xact; | ||
| 15959 | my $S = $C->{'_pos'}; | ||
| 15960 | $C->{sym} = "quote"; | ||
| 15961 | $self->_MATCHIFYr($S, "p5value__S_113quote", $C->_SUBSUMEr(['quote','p5quote'], sub { | ||
| 15962 | my $C = shift; | ||
| 15963 | $C->p5quote | ||
| 15964 | })); | ||
| 15965 | } | ||
| 15966 | ; | ||
| 15967 | ## token p5value:number { <number=p5number> } | ||
| 15968 | sub p5value__S_114number__PEEK { $_[0]->_AUTOLEXpeek('p5value__S_114number', $retree) } | ||
| 15969 | sub p5value__S_114number { | ||
| 15970 | no warnings 'recursion'; | ||
| 15971 | my $self = shift; | ||
| 15972 | |||
| 15973 | |||
| 15974 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15975 | |||
| 15976 | my $C = $self->cursor_xact("RULE p5value__S_114number"); | ||
| 15977 | my $xact = $C->xact; | ||
| 15978 | my $S = $C->{'_pos'}; | ||
| 15979 | $C->{sym} = "number"; | ||
| 15980 | $self->_MATCHIFYr($S, "p5value__S_114number", $C->_SUBSUMEr(['number','p5number'], sub { | ||
| 15981 | my $C = shift; | ||
| 15982 | $C->p5number | ||
| 15983 | })); | ||
| 15984 | } | ||
| 15985 | ; | ||
| 15986 | ## token p5value:version { <version=p5version> } | ||
| 15987 | sub p5value__S_115version__PEEK { $_[0]->_AUTOLEXpeek('p5value__S_115version', $retree) } | ||
| 15988 | sub p5value__S_115version { | ||
| 15989 | no warnings 'recursion'; | ||
| 15990 | my $self = shift; | ||
| 15991 | |||
| 15992 | |||
| 15993 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 15994 | |||
| 15995 | my $C = $self->cursor_xact("RULE p5value__S_115version"); | ||
| 15996 | my $xact = $C->xact; | ||
| 15997 | my $S = $C->{'_pos'}; | ||
| 15998 | $C->{sym} = "version"; | ||
| 15999 | $self->_MATCHIFYr($S, "p5value__S_115version", $C->_SUBSUMEr(['version','p5version'], sub { | ||
| 16000 | my $C = shift; | ||
| 16001 | $C->p5version | ||
| 16002 | })); | ||
| 16003 | } | ||
| 16004 | ; | ||
| 16005 | ## token typename { | ||
| 16006 | sub typename__PEEK { $_[0]->_AUTOLEXpeek('typename', $retree) } | ||
| 16007 | sub typename { | ||
| 16008 | no warnings 'recursion'; | ||
| 16009 | my $self = shift; | ||
| 16010 | |||
| 16011 | |||
| 16012 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 16013 | |||
| 16014 | my $C = $self->cursor_xact("RULE typename"); | ||
| 16015 | my $xact = $C->xact; | ||
| 16016 | my $S = $C->{'_pos'}; | ||
| 16017 | $C->{'p5postcircumfix'} = []; | ||
| 16018 | $C->{'postcircumfix'} = []; | ||
| 16019 | $C->{'typename'} = []; | ||
| 16020 | $self->_MATCHIFYr($S, "typename", do { | ||
| 16021 | my $C = $C; | ||
| 16022 | if (($C) = ($C->_BRACKETr(sub { | ||
| 16023 | my $C=shift; | ||
| 16024 | do { | ||
| 16025 | my ($tag, $try); | ||
| 16026 | my @try; | ||
| 16027 | my $relex; | ||
| 16028 | |||
| 16029 | my $fate; | ||
| 16030 | my $x; | ||
| 16031 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'typename_0') { | ||
| 16032 | $C->deb("Fate passed to typename_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 16033 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 16034 | @try = ($try); | ||
| 16035 | $x = 'ALT typename_0'; # some outer ltm is controlling us | ||
| 16036 | } | ||
| 16037 | else { | ||
| 16038 | $x = 'ALTLTM typename_0'; # we are top level ltm | ||
| 16039 | } | ||
| 16040 | my $C = $C->cursor_xact($x); | ||
| 16041 | my $xact = $C->{_xact}; | ||
| 16042 | |||
| 16043 | my @gather = (); | ||
| 16044 | for (;;) { | ||
| 16045 | unless (@try) { | ||
| 16046 | $relex //= $C->cursor_fate('STD::STD::P5', 'typename_0', $retree); | ||
| 16047 | @try = $relex->($C) or last; | ||
| 16048 | } | ||
| 16049 | $try = shift(@try) // next; | ||
| 16050 | |||
| 16051 | if (ref $try) { | ||
| 16052 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 16053 | } | ||
| 16054 | |||
| 16055 | $C->deb("typename_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 16056 | push @gather, (( | ||
| 16057 | sub { | ||
| 16058 | my $C=shift; | ||
| 16059 | if (my ($C) = ($C->_EXACT("\:\:\?"))) { | ||
| 16060 | $C->_SUBSUMEr(['identifier'], sub { | ||
| 16061 | my $C = shift; | ||
| 16062 | $C->identifier | ||
| 16063 | }) | ||
| 16064 | } else { () } | ||
| 16065 | }, | ||
| 16066 | sub { | ||
| 16067 | my $C=shift; | ||
| 16068 | if (($C) = ($C->_SUBSUMEr(['longname'], sub { | ||
| 16069 | my $C = shift; | ||
| 16070 | $C->longname | ||
| 16071 | })) | ||
| 16072 | and ($C) = ($C->before(sub { | ||
| 16073 | my $C=shift; | ||
| 16074 | (($C) x !!do { | ||
| 16075 | my $M = $C; | ||
| 16076 | { | ||
| 16077 | my $longname = $M->{'longname'}->Str; | ||
| 16078 | if (substr($longname, 0, 2) eq '::') { | ||
| 16079 | $C->add_my_name(substr($longname, 2))} | ||
| 16080 | else { | ||
| 16081 | $C->is_name($longname) | ||
| 16082 | }; | ||
| 16083 | }}) | ||
| 16084 | }))) { | ||
| 16085 | $C | ||
| 16086 | } else { () } | ||
| 16087 | } | ||
| 16088 | )[$try])->($C); | ||
| 16089 | last if @gather; | ||
| 16090 | last if $xact->[-2]; # committed? | ||
| 16091 | } | ||
| 16092 | @gather; | ||
| 16093 | }; | ||
| 16094 | })) | ||
| 16095 | and ($C) = ($C->_OPTr(sub { | ||
| 16096 | my $C=shift; | ||
| 16097 | if (my ($C) = ($C->unsp)) { ($C) } else { () } | ||
| 16098 | })) | ||
| 16099 | and ($C) = ($C->_OPTr(sub { | ||
| 16100 | my $C=shift; | ||
| 16101 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16102 | my $C=shift; | ||
| 16103 | if (my ($C) = ($C->before(sub { | ||
| 16104 | my $C=shift; | ||
| 16105 | if (my ($C) = ($C->before(sub { | ||
| 16106 | my $C=shift; | ||
| 16107 | $C->_EXACT("\[") | ||
| 16108 | }))) { ($C) } else { () } | ||
| 16109 | }))) { | ||
| 16110 | $C->_SUBSUMEr(['postcircumfix','p5postcircumfix'], sub { | ||
| 16111 | my $C = shift; | ||
| 16112 | $C->p5postcircumfix | ||
| 16113 | }) | ||
| 16114 | } else { () } | ||
| 16115 | }))) { ($C) } else { () } | ||
| 16116 | })) | ||
| 16117 | and ($C) = ($C->ws)) { | ||
| 16118 | $C->_OPTr(sub { | ||
| 16119 | my $C=shift; | ||
| 16120 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16121 | my $C=shift; | ||
| 16122 | if (($C) = ($C->_EXACT("of")) | ||
| 16123 | and ($C) = ($C->ws)) { | ||
| 16124 | $C->_SUBSUMEr(['typename'], sub { | ||
| 16125 | my $C = shift; | ||
| 16126 | $C->typename | ||
| 16127 | }) | ||
| 16128 | } else { () } | ||
| 16129 | }))) { ($C) } else { () } | ||
| 16130 | }) | ||
| 16131 | } else { () } | ||
| 16132 | |||
| 16133 | }); | ||
| 16134 | } | ||
| 16135 | ; | ||
| 16136 | ## token numish { | ||
| 16137 | sub numish__PEEK { $_[0]->_AUTOLEXpeek('numish', $retree) } | ||
| 16138 | sub numish { | ||
| 16139 | no warnings 'recursion'; | ||
| 16140 | my $self = shift; | ||
| 16141 | |||
| 16142 | |||
| 16143 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 16144 | |||
| 16145 | my $C = $self->cursor_xact("RULE numish"); | ||
| 16146 | my $xact = $C->xact; | ||
| 16147 | my $S = $C->{'_pos'}; | ||
| 16148 | $self->_MATCHIFYr($S, "numish", $C->_BRACKETr(sub { | ||
| 16149 | my $C=shift; | ||
| 16150 | do { | ||
| 16151 | my ($tag, $try); | ||
| 16152 | my @try; | ||
| 16153 | my $relex; | ||
| 16154 | |||
| 16155 | my $fate; | ||
| 16156 | my $x; | ||
| 16157 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'numish_0') { | ||
| 16158 | $C->deb("Fate passed to numish_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 16159 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 16160 | @try = ($try); | ||
| 16161 | $x = 'ALT numish_0'; # some outer ltm is controlling us | ||
| 16162 | } | ||
| 16163 | else { | ||
| 16164 | $x = 'ALTLTM numish_0'; # we are top level ltm | ||
| 16165 | } | ||
| 16166 | my $C = $C->cursor_xact($x); | ||
| 16167 | my $xact = $C->{_xact}; | ||
| 16168 | |||
| 16169 | my @gather = (); | ||
| 16170 | for (;;) { | ||
| 16171 | unless (@try) { | ||
| 16172 | $relex //= $C->cursor_fate('STD::STD::P5', 'numish_0', $retree); | ||
| 16173 | @try = $relex->($C) or last; | ||
| 16174 | } | ||
| 16175 | $try = shift(@try) // next; | ||
| 16176 | |||
| 16177 | if (ref $try) { | ||
| 16178 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 16179 | } | ||
| 16180 | |||
| 16181 | $C->deb("numish_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 16182 | push @gather, (( | ||
| 16183 | sub { | ||
| 16184 | my $C=shift; | ||
| 16185 | $C->_SUBSUMEr(['integer'], sub { | ||
| 16186 | my $C = shift; | ||
| 16187 | $C->integer | ||
| 16188 | }) | ||
| 16189 | }, | ||
| 16190 | sub { | ||
| 16191 | my $C=shift; | ||
| 16192 | $C->_SUBSUMEr(['dec_number'], sub { | ||
| 16193 | my $C = shift; | ||
| 16194 | $C->dec_number | ||
| 16195 | }) | ||
| 16196 | }, | ||
| 16197 | sub { | ||
| 16198 | my $C=shift; | ||
| 16199 | $C->_SUBSUMEr(['rad_number'], sub { | ||
| 16200 | my $C = shift; | ||
| 16201 | $C->rad_number | ||
| 16202 | }) | ||
| 16203 | }, | ||
| 16204 | sub { | ||
| 16205 | my $C=shift; | ||
| 16206 | $C->_PATTERN(qr/\GNaN\b/) | ||
| 16207 | }, | ||
| 16208 | sub { | ||
| 16209 | my $C=shift; | ||
| 16210 | $C->_PATTERN(qr/\GInf\b/) | ||
| 16211 | }, | ||
| 16212 | sub { | ||
| 16213 | my $C=shift; | ||
| 16214 | $C->_PATTERN(qr/\G\+Inf\b/) | ||
| 16215 | }, | ||
| 16216 | sub { | ||
| 16217 | my $C=shift; | ||
| 16218 | $C->_PATTERN(qr/\G\-Inf\b/) | ||
| 16219 | } | ||
| 16220 | )[$try])->($C); | ||
| 16221 | last if @gather; | ||
| 16222 | last if $xact->[-2]; # committed? | ||
| 16223 | } | ||
| 16224 | @gather; | ||
| 16225 | }; | ||
| 16226 | })); | ||
| 16227 | } | ||
| 16228 | ; | ||
| 16229 | ## token number:numish { <numish> } | ||
| 16230 | sub number__S_116numish__PEEK { $_[0]->_AUTOLEXpeek('number__S_116numish', $retree) } | ||
| 16231 | sub number__S_116numish { | ||
| 16232 | no warnings 'recursion'; | ||
| 16233 | my $self = shift; | ||
| 16234 | |||
| 16235 | |||
| 16236 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 16237 | |||
| 16238 | my $C = $self->cursor_xact("RULE number__S_116numish"); | ||
| 16239 | my $xact = $C->xact; | ||
| 16240 | my $S = $C->{'_pos'}; | ||
| 16241 | $C->{sym} = "numish"; | ||
| 16242 | $self->_MATCHIFYr($S, "number__S_116numish", $C->_SUBSUMEr(['numish'], sub { | ||
| 16243 | my $C = shift; | ||
| 16244 | $C->numish | ||
| 16245 | })); | ||
| 16246 | } | ||
| 16247 | ; | ||
| 16248 | ## token integer { | ||
| 16249 | sub integer__PEEK { $_[0]->_AUTOLEXpeek('integer', $retree) } | ||
| 16250 | sub integer { | ||
| 16251 | no warnings 'recursion'; | ||
| 16252 | my $self = shift; | ||
| 16253 | |||
| 16254 | |||
| 16255 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 16256 | |||
| 16257 | my $C = $self->cursor_xact("RULE integer"); | ||
| 16258 | my $xact = $C->xact; | ||
| 16259 | my $S = $C->{'_pos'}; | ||
| 16260 | $self->_MATCHIFYr($S, "integer", $C->_BRACKETr(sub { | ||
| 16261 | my $C=shift; | ||
| 16262 | do { | ||
| 16263 | my ($tag, $try); | ||
| 16264 | my @try; | ||
| 16265 | my $relex; | ||
| 16266 | |||
| 16267 | my $fate; | ||
| 16268 | my $x; | ||
| 16269 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'integer_0') { | ||
| 16270 | $C->deb("Fate passed to integer_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 16271 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 16272 | @try = ($try); | ||
| 16273 | $x = 'ALT integer_0'; # some outer ltm is controlling us | ||
| 16274 | } | ||
| 16275 | else { | ||
| 16276 | $x = 'ALTLTM integer_0'; # we are top level ltm | ||
| 16277 | } | ||
| 16278 | my $C = $C->cursor_xact($x); | ||
| 16279 | my $xact = $C->{_xact}; | ||
| 16280 | |||
| 16281 | my @gather = (); | ||
| 16282 | for (;;) { | ||
| 16283 | unless (@try) { | ||
| 16284 | $relex //= $C->cursor_fate('STD::STD::P5', 'integer_0', $retree); | ||
| 16285 | @try = $relex->($C) or last; | ||
| 16286 | } | ||
| 16287 | $try = shift(@try) // next; | ||
| 16288 | |||
| 16289 | if (ref $try) { | ||
| 16290 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 16291 | } | ||
| 16292 | |||
| 16293 | $C->deb("integer_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 16294 | push @gather, (( | ||
| 16295 | sub { | ||
| 16296 | my $C=shift; | ||
| 16297 | if (($C) = ($C->_EXACT("0")) | ||
| 16298 | and ($C) = ($C->_BRACKETr(sub { | ||
| 16299 | my $C=shift; | ||
| 16300 | do { | ||
| 16301 | my ($tag, $try); | ||
| 16302 | my @try; | ||
| 16303 | my $relex; | ||
| 16304 | |||
| 16305 | my $fate; | ||
| 16306 | my $x; | ||
| 16307 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'integer_1') { | ||
| 16308 | $C->deb("Fate passed to integer_1: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 16309 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 16310 | @try = ($try); | ||
| 16311 | $x = 'ALT integer_1'; # some outer ltm is controlling us | ||
| 16312 | } | ||
| 16313 | else { | ||
| 16314 | $x = 'ALTLTM integer_1'; # we are top level ltm | ||
| 16315 | } | ||
| 16316 | my $C = $C->cursor_xact($x); | ||
| 16317 | my $xact = $C->{_xact}; | ||
| 16318 | |||
| 16319 | my @gather = (); | ||
| 16320 | for (;;) { | ||
| 16321 | unless (@try) { | ||
| 16322 | $relex //= $C->cursor_fate('STD::STD::P5', 'integer_1', $retree); | ||
| 16323 | @try = $relex->($C) or last; | ||
| 16324 | } | ||
| 16325 | $try = shift(@try) // next; | ||
| 16326 | |||
| 16327 | if (ref $try) { | ||
| 16328 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 16329 | } | ||
| 16330 | |||
| 16331 | $C->deb("integer_1 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 16332 | push @gather, (( | ||
| 16333 | sub { | ||
| 16334 | my $C=shift; | ||
| 16335 | if (my ($C) = ($C->_PATTERN(qr/\Gb(?:[01])++/))) { | ||
| 16336 | $C->_STARr(sub { | ||
| 16337 | my $C=shift; | ||
| 16338 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16339 | my $C=shift; | ||
| 16340 | $C->_PATTERN(qr/\G_(?:[01])++/) | ||
| 16341 | }))) { ($C) } else { () } | ||
| 16342 | }) | ||
| 16343 | } else { () } | ||
| 16344 | }, | ||
| 16345 | sub { | ||
| 16346 | my $C=shift; | ||
| 16347 | if (my ($C) = ($C->_PATTERN(qr/\Go(?:[0-7])++/))) { | ||
| 16348 | $C->_STARr(sub { | ||
| 16349 | my $C=shift; | ||
| 16350 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16351 | my $C=shift; | ||
| 16352 | $C->_PATTERN(qr/\G_(?:[0-7])++/) | ||
| 16353 | }))) { ($C) } else { () } | ||
| 16354 | }) | ||
| 16355 | } else { () } | ||
| 16356 | }, | ||
| 16357 | sub { | ||
| 16358 | my $C=shift; | ||
| 16359 | if (my ($C) = ($C->_PATTERN(qr/\Gx(?:[0-9a-fA-F])++/))) { | ||
| 16360 | $C->_STARr(sub { | ||
| 16361 | my $C=shift; | ||
| 16362 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16363 | my $C=shift; | ||
| 16364 | $C->_PATTERN(qr/\G_(?:[0-9a-fA-F])++/) | ||
| 16365 | }))) { ($C) } else { () } | ||
| 16366 | }) | ||
| 16367 | } else { () } | ||
| 16368 | }, | ||
| 16369 | sub { | ||
| 16370 | my $C=shift; | ||
| 16371 | if (my ($C) = ($C->_PATTERN(qr/\Gd\d++/))) { | ||
| 16372 | $C->_STARr(sub { | ||
| 16373 | my $C=shift; | ||
| 16374 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16375 | my $C=shift; | ||
| 16376 | $C->_PATTERN(qr/\G_\d++/) | ||
| 16377 | }))) { ($C) } else { () } | ||
| 16378 | }) | ||
| 16379 | } else { () } | ||
| 16380 | }, | ||
| 16381 | sub { | ||
| 16382 | my $C=shift; | ||
| 16383 | if (($C) = ($C->_PATTERN(qr/\G\d++/)) | ||
| 16384 | and ($C) = ($C->_STARr(sub { | ||
| 16385 | my $C=shift; | ||
| 16386 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16387 | my $C=shift; | ||
| 16388 | $C->_PATTERN(qr/\G_\d++/) | ||
| 16389 | }))) { ($C) } else { () } | ||
| 16390 | })) | ||
| 16391 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 16392 | my $C=shift; | ||
| 16393 | if (my ($C) = ($C->_NOTBEFORE(sub { | ||
| 16394 | my $C=shift; | ||
| 16395 | (($C) x !!do { | ||
| 16396 | $C->worry("Leading 0 does not indicate octal in Perl 6") }) | ||
| 16397 | }))) { ($C) } else { () } | ||
| 16398 | }))) { | ||
| 16399 | $C | ||
| 16400 | } else { () } | ||
| 16401 | } | ||
| 16402 | )[$try])->($C); | ||
| 16403 | last if @gather; | ||
| 16404 | last if $xact->[-2]; # committed? | ||
| 16405 | } | ||
| 16406 | @gather; | ||
| 16407 | }; | ||
| 16408 | }))) { | ||
| 16409 | $C | ||
| 16410 | } else { () } | ||
| 16411 | }, | ||
| 16412 | sub { | ||
| 16413 | my $C=shift; | ||
| 16414 | if (my ($C) = ($C->_PATTERN(qr/\G\d++/))) { | ||
| 16415 | $C->_STARr(sub { | ||
| 16416 | my $C=shift; | ||
| 16417 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16418 | my $C=shift; | ||
| 16419 | $C->_PATTERN(qr/\G_\d++/) | ||
| 16420 | }))) { ($C) } else { () } | ||
| 16421 | }) | ||
| 16422 | } else { () } | ||
| 16423 | } | ||
| 16424 | )[$try])->($C); | ||
| 16425 | last if @gather; | ||
| 16426 | last if $xact->[-2]; # committed? | ||
| 16427 | } | ||
| 16428 | @gather; | ||
| 16429 | }; | ||
| 16430 | })); | ||
| 16431 | } | ||
| 16432 | ; | ||
| 16433 | ## token radint { | ||
| 16434 | sub radint__PEEK { $_[0]->_AUTOLEXpeek('radint', $retree) } | ||
| 16435 | sub radint { | ||
| 16436 | no warnings 'recursion'; | ||
| 16437 | my $self = shift; | ||
| 16438 | |||
| 16439 | |||
| 16440 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 16441 | |||
| 16442 | my $C = $self->cursor_xact("RULE radint"); | ||
| 16443 | my $xact = $C->xact; | ||
| 16444 | my $S = $C->{'_pos'}; | ||
| 16445 | $self->_MATCHIFYr($S, "radint", $C->_BRACKETr(sub { | ||
| 16446 | my $C=shift; | ||
| 16447 | do { | ||
| 16448 | my ($tag, $try); | ||
| 16449 | my @try; | ||
| 16450 | my $relex; | ||
| 16451 | |||
| 16452 | my $fate; | ||
| 16453 | my $x; | ||
| 16454 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'radint_0') { | ||
| 16455 | $C->deb("Fate passed to radint_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 16456 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 16457 | @try = ($try); | ||
| 16458 | $x = 'ALT radint_0'; # some outer ltm is controlling us | ||
| 16459 | } | ||
| 16460 | else { | ||
| 16461 | $x = 'ALTLTM radint_0'; # we are top level ltm | ||
| 16462 | } | ||
| 16463 | my $C = $C->cursor_xact($x); | ||
| 16464 | my $xact = $C->{_xact}; | ||
| 16465 | |||
| 16466 | my @gather = (); | ||
| 16467 | for (;;) { | ||
| 16468 | unless (@try) { | ||
| 16469 | $relex //= $C->cursor_fate('STD::STD::P5', 'radint_0', $retree); | ||
| 16470 | @try = $relex->($C) or last; | ||
| 16471 | } | ||
| 16472 | $try = shift(@try) // next; | ||
| 16473 | |||
| 16474 | if (ref $try) { | ||
| 16475 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 16476 | } | ||
| 16477 | |||
| 16478 | $C->deb("radint_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 16479 | push @gather, (( | ||
| 16480 | sub { | ||
| 16481 | my $C=shift; | ||
| 16482 | $C->_SUBSUMEr(['integer'], sub { | ||
| 16483 | my $C = shift; | ||
| 16484 | $C->integer | ||
| 16485 | }) | ||
| 16486 | }, | ||
| 16487 | sub { | ||
| 16488 | my $C=shift; | ||
| 16489 | if (($C) = ($C->before(sub { | ||
| 16490 | my $C=shift; | ||
| 16491 | if (my ($C) = ($C->before(sub { | ||
| 16492 | my $C=shift; | ||
| 16493 | $C->_EXACT("\:") | ||
| 16494 | }))) { ($C) } else { () } | ||
| 16495 | })) | ||
| 16496 | and ($C) = ($C->_SUBSUMEr(['rad_number'], sub { | ||
| 16497 | my $C = shift; | ||
| 16498 | $C->rad_number | ||
| 16499 | })) | ||
| 16500 | and ($C) = ($C->before(sub { | ||
| 16501 | my $C=shift; | ||
| 16502 | (($C) x !!do { | ||
| 16503 | my $M = $C; | ||
| 16504 | defined $M->{'rad_number'}->{'intpart'} | ||
| 16505 | and | ||
| 16506 | not defined $M->{'rad_number'}->{'fracpart'} | ||
| 16507 | }) | ||
| 16508 | }))) { | ||
| 16509 | $C | ||
| 16510 | } else { () } | ||
| 16511 | } | ||
| 16512 | )[$try])->($C); | ||
| 16513 | last if @gather; | ||
| 16514 | last if $xact->[-2]; # committed? | ||
| 16515 | } | ||
| 16516 | @gather; | ||
| 16517 | }; | ||
| 16518 | })); | ||
| 16519 | } | ||
| 16520 | ; | ||
| 16521 | ## token escale { | ||
| 16522 | sub escale__PEEK { $_[0]->_AUTOLEXpeek('escale', $retree) } | ||
| 16523 | sub escale { | ||
| 16524 | no warnings 'recursion'; | ||
| 16525 | my $self = shift; | ||
| 16526 | |||
| 16527 | |||
| 16528 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 16529 | |||
| 16530 | my $C = $self->cursor_xact("RULE escale"); | ||
| 16531 | my $xact = $C->xact; | ||
| 16532 | my $S = $C->{'_pos'}; | ||
| 16533 | $self->_MATCHIFYr($S, "escale", do { | ||
| 16534 | if (my ($C) = ($C->_PATTERN(qr/\G[Ee](?:[+\-])?+\d++/))) { | ||
| 16535 | $C->_STARr(sub { | ||
| 16536 | my $C=shift; | ||
| 16537 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16538 | my $C=shift; | ||
| 16539 | $C->_PATTERN(qr/\G_\d++/) | ||
| 16540 | }))) { ($C) } else { () } | ||
| 16541 | }) | ||
| 16542 | } else { () } | ||
| 16543 | |||
| 16544 | }); | ||
| 16545 | } | ||
| 16546 | ; | ||
| 16547 | ## token dec_number { | ||
| 16548 | sub dec_number__PEEK { $_[0]->_AUTOLEXpeek('dec_number', $retree) } | ||
| 16549 | sub dec_number { | ||
| 16550 | no warnings 'recursion'; | ||
| 16551 | my $self = shift; | ||
| 16552 | |||
| 16553 | |||
| 16554 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 16555 | |||
| 16556 | my $C = $self->cursor_xact("RULE dec_number"); | ||
| 16557 | my $xact = $C->xact; | ||
| 16558 | my $S = $C->{'_pos'}; | ||
| 16559 | $C->{'escale'} = []; | ||
| 16560 | $self->_MATCHIFYr($S, "dec_number", do { | ||
| 16561 | my $C = $C; | ||
| 16562 | if (($C) = ($C->_BRACKETr(sub { | ||
| 16563 | my $C=shift; | ||
| 16564 | do { | ||
| 16565 | my ($tag, $try); | ||
| 16566 | my @try; | ||
| 16567 | my $relex; | ||
| 16568 | |||
| 16569 | my $fate; | ||
| 16570 | my $x; | ||
| 16571 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'dec_number_0') { | ||
| 16572 | $C->deb("Fate passed to dec_number_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 16573 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 16574 | @try = ($try); | ||
| 16575 | $x = 'ALT dec_number_0'; # some outer ltm is controlling us | ||
| 16576 | } | ||
| 16577 | else { | ||
| 16578 | $x = 'ALTLTM dec_number_0'; # we are top level ltm | ||
| 16579 | } | ||
| 16580 | my $C = $C->cursor_xact($x); | ||
| 16581 | my $xact = $C->{_xact}; | ||
| 16582 | |||
| 16583 | my @gather = (); | ||
| 16584 | for (;;) { | ||
| 16585 | unless (@try) { | ||
| 16586 | $relex //= $C->cursor_fate('STD::STD::P5', 'dec_number_0', $retree); | ||
| 16587 | @try = $relex->($C) or last; | ||
| 16588 | } | ||
| 16589 | $try = shift(@try) // next; | ||
| 16590 | |||
| 16591 | if (ref $try) { | ||
| 16592 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 16593 | } | ||
| 16594 | |||
| 16595 | $C->deb("dec_number_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 16596 | push @gather, (( | ||
| 16597 | sub { | ||
| 16598 | my $C=shift; | ||
| 16599 | if (my ($C) = ($C->_SUBSUMEr(['coeff'], sub { | ||
| 16600 | my $C = shift; | ||
| 16601 | $C->_BRACKETr(sub { | ||
| 16602 | my $C=shift; | ||
| 16603 | if (my ($C) = ($C->_PATTERN(qr/\G\.\d++/))) { | ||
| 16604 | $C->_STARr(sub { | ||
| 16605 | my $C=shift; | ||
| 16606 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16607 | my $C=shift; | ||
| 16608 | $C->_PATTERN(qr/\G_\d++/) | ||
| 16609 | }))) { ($C) } else { () } | ||
| 16610 | }) | ||
| 16611 | } else { () } | ||
| 16612 | }) | ||
| 16613 | }))) { | ||
| 16614 | $C->_OPTr(sub { | ||
| 16615 | my $C=shift; | ||
| 16616 | $C->_SUBSUMEr(['escale'], sub { | ||
| 16617 | my $C = shift; | ||
| 16618 | $C->escale | ||
| 16619 | }) | ||
| 16620 | }) | ||
| 16621 | } else { () } | ||
| 16622 | }, | ||
| 16623 | sub { | ||
| 16624 | my $C=shift; | ||
| 16625 | if (my ($C) = ($C->_SUBSUMEr(['coeff'], sub { | ||
| 16626 | my $C = shift; | ||
| 16627 | $C->_BRACKETr(sub { | ||
| 16628 | my $C=shift; | ||
| 16629 | if (($C) = ($C->_PATTERN(qr/\G\d++/)) | ||
| 16630 | and ($C) = ($C->_STARr(sub { | ||
| 16631 | my $C=shift; | ||
| 16632 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16633 | my $C=shift; | ||
| 16634 | $C->_PATTERN(qr/\G_\d++/) | ||
| 16635 | }))) { ($C) } else { () } | ||
| 16636 | })) | ||
| 16637 | and ($C) = ($C->_PATTERN(qr/\G\.\d++/))) { | ||
| 16638 | $C->_STARr(sub { | ||
| 16639 | my $C=shift; | ||
| 16640 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16641 | my $C=shift; | ||
| 16642 | $C->_PATTERN(qr/\G_\d++/) | ||
| 16643 | }))) { ($C) } else { () } | ||
| 16644 | }) | ||
| 16645 | } else { () } | ||
| 16646 | }) | ||
| 16647 | }))) { | ||
| 16648 | $C->_OPTr(sub { | ||
| 16649 | my $C=shift; | ||
| 16650 | $C->_SUBSUMEr(['escale'], sub { | ||
| 16651 | my $C = shift; | ||
| 16652 | $C->escale | ||
| 16653 | }) | ||
| 16654 | }) | ||
| 16655 | } else { () } | ||
| 16656 | }, | ||
| 16657 | sub { | ||
| 16658 | my $C=shift; | ||
| 16659 | if (my ($C) = ($C->_SUBSUMEr(['coeff'], sub { | ||
| 16660 | my $C = shift; | ||
| 16661 | $C->_BRACKETr(sub { | ||
| 16662 | my $C=shift; | ||
| 16663 | if (my ($C) = ($C->_PATTERN(qr/\G\d++/))) { | ||
| 16664 | $C->_STARr(sub { | ||
| 16665 | my $C=shift; | ||
| 16666 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16667 | my $C=shift; | ||
| 16668 | $C->_PATTERN(qr/\G_\d++/) | ||
| 16669 | }))) { ($C) } else { () } | ||
| 16670 | }) | ||
| 16671 | } else { () } | ||
| 16672 | }) | ||
| 16673 | }))) { | ||
| 16674 | $C->_SUBSUMEr(['escale'], sub { | ||
| 16675 | my $C = shift; | ||
| 16676 | $C->escale | ||
| 16677 | }) | ||
| 16678 | } else { () } | ||
| 16679 | } | ||
| 16680 | )[$try])->($C); | ||
| 16681 | last if @gather; | ||
| 16682 | last if $xact->[-2]; # committed? | ||
| 16683 | } | ||
| 16684 | @gather; | ||
| 16685 | }; | ||
| 16686 | })) | ||
| 16687 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 16688 | my $C=shift; | ||
| 16689 | if (my ($C) = ($C->_NOTBEFORE(sub { | ||
| 16690 | my $C=shift; | ||
| 16691 | if (my ($C) = ($C->before(sub { | ||
| 16692 | my $C=shift; | ||
| 16693 | $C->_OPTr(sub { | ||
| 16694 | my $C=shift; | ||
| 16695 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16696 | my $C=shift; | ||
| 16697 | if (($C) = ($C->_EXACT("\.")) | ||
| 16698 | and ($C) = ($C->before(sub { | ||
| 16699 | my $C=shift; | ||
| 16700 | if (my ($C) = ($C->before(sub { | ||
| 16701 | my $C=shift; | ||
| 16702 | $C->_PATTERN(qr/\G\d/) | ||
| 16703 | }))) { ($C) } else { () } | ||
| 16704 | })) | ||
| 16705 | and ($C) = ($C->panic("Number contains two decimal points (missing 'v' for version number?)"))) { | ||
| 16706 | $C | ||
| 16707 | } else { () } | ||
| 16708 | }))) { ($C) } else { () } | ||
| 16709 | }) | ||
| 16710 | }))) { ($C) } else { () } | ||
| 16711 | }))) { ($C) } else { () } | ||
| 16712 | }))) { | ||
| 16713 | $C | ||
| 16714 | } else { () } | ||
| 16715 | |||
| 16716 | }); | ||
| 16717 | } | ||
| 16718 | ; | ||
| 16719 | ## token octints { [<.ws><octint><.ws>] ** ',' } | ||
| 16720 | sub octints__PEEK { $_[0]->_AUTOLEXpeek('octints', $retree) } | ||
| 16721 | sub octints { | ||
| 16722 | no warnings 'recursion'; | ||
| 16723 | my $self = shift; | ||
| 16724 | |||
| 16725 | |||
| 16726 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 16727 | |||
| 16728 | my $C = $self->cursor_xact("RULE octints"); | ||
| 16729 | my $xact = $C->xact; | ||
| 16730 | my $S = $C->{'_pos'}; | ||
| 16731 | $C->{'octint'} = []; | ||
| 16732 | $self->_MATCHIFYr($S, "octints", $C->_REPSEPr( sub { | ||
| 16733 | my $C=shift; | ||
| 16734 | $C->_EXACT("\,") | ||
| 16735 | }, sub { | ||
| 16736 | my $C=shift; | ||
| 16737 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16738 | my $C=shift; | ||
| 16739 | if (($C) = ($C->ws) | ||
| 16740 | and ($C) = ($C->_SUBSUMEr(['octint'], sub { | ||
| 16741 | my $C = shift; | ||
| 16742 | $C->octint | ||
| 16743 | })) | ||
| 16744 | and ($C) = ($C->ws)) { | ||
| 16745 | $C | ||
| 16746 | } else { () } | ||
| 16747 | }))) { ($C) } else { () } | ||
| 16748 | })); | ||
| 16749 | } | ||
| 16750 | ; | ||
| 16751 | ## token octint { | ||
| 16752 | sub octint__PEEK { $_[0]->_AUTOLEXpeek('octint', $retree) } | ||
| 16753 | sub octint { | ||
| 16754 | no warnings 'recursion'; | ||
| 16755 | my $self = shift; | ||
| 16756 | |||
| 16757 | |||
| 16758 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 16759 | |||
| 16760 | my $C = $self->cursor_xact("RULE octint"); | ||
| 16761 | my $xact = $C->xact; | ||
| 16762 | my $S = $C->{'_pos'}; | ||
| 16763 | $self->_MATCHIFYr($S, "octint", do { | ||
| 16764 | if (my ($C) = ($C->_PATTERN(qr/\G(?:[0-7])++/))) { | ||
| 16765 | $C->_STARr(sub { | ||
| 16766 | my $C=shift; | ||
| 16767 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16768 | my $C=shift; | ||
| 16769 | $C->_PATTERN(qr/\G_(?:[0-7])++/) | ||
| 16770 | }))) { ($C) } else { () } | ||
| 16771 | }) | ||
| 16772 | } else { () } | ||
| 16773 | |||
| 16774 | }); | ||
| 16775 | } | ||
| 16776 | ; | ||
| 16777 | ## token hexints { [<.ws><hexint><.ws>] ** ',' } | ||
| 16778 | sub hexints__PEEK { $_[0]->_AUTOLEXpeek('hexints', $retree) } | ||
| 16779 | sub hexints { | ||
| 16780 | no warnings 'recursion'; | ||
| 16781 | my $self = shift; | ||
| 16782 | |||
| 16783 | |||
| 16784 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 16785 | |||
| 16786 | my $C = $self->cursor_xact("RULE hexints"); | ||
| 16787 | my $xact = $C->xact; | ||
| 16788 | my $S = $C->{'_pos'}; | ||
| 16789 | $C->{'hexint'} = []; | ||
| 16790 | $self->_MATCHIFYr($S, "hexints", $C->_REPSEPr( sub { | ||
| 16791 | my $C=shift; | ||
| 16792 | $C->_EXACT("\,") | ||
| 16793 | }, sub { | ||
| 16794 | my $C=shift; | ||
| 16795 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16796 | my $C=shift; | ||
| 16797 | if (($C) = ($C->ws) | ||
| 16798 | and ($C) = ($C->_SUBSUMEr(['hexint'], sub { | ||
| 16799 | my $C = shift; | ||
| 16800 | $C->hexint | ||
| 16801 | })) | ||
| 16802 | and ($C) = ($C->ws)) { | ||
| 16803 | $C | ||
| 16804 | } else { () } | ||
| 16805 | }))) { ($C) } else { () } | ||
| 16806 | })); | ||
| 16807 | } | ||
| 16808 | ; | ||
| 16809 | ## token hexint { | ||
| 16810 | sub hexint__PEEK { $_[0]->_AUTOLEXpeek('hexint', $retree) } | ||
| 16811 | sub hexint { | ||
| 16812 | no warnings 'recursion'; | ||
| 16813 | my $self = shift; | ||
| 16814 | |||
| 16815 | |||
| 16816 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 16817 | |||
| 16818 | my $C = $self->cursor_xact("RULE hexint"); | ||
| 16819 | my $xact = $C->xact; | ||
| 16820 | my $S = $C->{'_pos'}; | ||
| 16821 | $self->_MATCHIFYr($S, "hexint", do { | ||
| 16822 | if (my ($C) = ($C->_PATTERN(qr/\G(?:[0-9a-fA-F])++/))) { | ||
| 16823 | $C->_STARr(sub { | ||
| 16824 | my $C=shift; | ||
| 16825 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 16826 | my $C=shift; | ||
| 16827 | $C->_PATTERN(qr/\G_(?:[0-9a-fA-F])++/) | ||
| 16828 | }))) { ($C) } else { () } | ||
| 16829 | }) | ||
| 16830 | } else { () } | ||
| 16831 | |||
| 16832 | }); | ||
| 16833 | } | ||
| 16834 | ; | ||
| 16835 | our @herestub_queue; | ||
| 16836 | { package STD::P5::Herestub; | ||
| 16837 | use Moose ':all' => { -prefix => "moose_" }; | ||
| 16838 | use Encode; | ||
| 16839 | our $ALLROLES = { 'STD::P5::Herestub', 1 }; | ||
| 16840 | our $REGEXES = { | ||
| 16841 | ALL => [ qw// ], | ||
| 16842 | }; | ||
| 16843 | |||
| 16844 | |||
| 16845 | no warnings 'qw', 'recursion'; | ||
| 16846 | my $retree; | ||
| 16847 | |||
| 16848 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 16849 | |||
| 16850 | use YAML::XS; | ||
| 16851 | |||
| 16852 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 16853 | " } if $::DEBUG; | ||
| 16854 | |||
| 16855 | moose_has 'delim' => (isa => 'Str', is => 'rw'); | ||
| 16856 | moose_has 'orignode' => (is => 'rw'); | ||
| 16857 | moose_has 'lang' => (is => 'rw'); | ||
| 16858 | 1; }; | ||
| 16859 | { package STD::P5::herestop; | ||
| 16860 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 16861 | use Encode; | ||
| 16862 | our $ALLROLES = { 'STD::P5::herestop', 1 }; | ||
| 16863 | our $REGEXES = { | ||
| 16864 | ALL => [ qw/stopper/ ], | ||
| 16865 | }; | ||
| 16866 | |||
| 16867 | |||
| 16868 | no warnings 'qw', 'recursion'; | ||
| 16869 | my $retree; | ||
| 16870 | |||
| 16871 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 16872 | |||
| 16873 | use YAML::XS; | ||
| 16874 | |||
| 16875 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 16876 | " } if $::DEBUG; | ||
| 16877 | |||
| 16878 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 16879 | --- | ||
| 16880 | stopper: !!perl/hash:RE_ast | ||
| 16881 | dba: stopper | ||
| 16882 | dic: STD::P5::herestop | ||
| 16883 | re: !!perl/hash:RE_sequence | ||
| 16884 | zyg: | ||
| 16885 | - !!perl/hash:RE_meta | ||
| 16886 | text: ^^ | ||
| 16887 | - !!perl/hash:RE_block {} | ||
| 16888 | - !!perl/hash:RE_bindnamed | ||
| 16889 | atom: !!perl/hash:RE_paren | ||
| 16890 | re: !!perl/hash:RE_quantified_atom | ||
| 16891 | atom: !!perl/hash:RE_meta | ||
| 16892 | min: 1 | ||
| 16893 | text: \h | ||
| 16894 | quant: | ||
| 16895 | - '*' | ||
| 16896 | - !!perl/hash:RE_var | ||
| 16897 | var: $::DELIM | ||
| 16898 | - !!perl/hash:RE_quantified_atom | ||
| 16899 | atom: !!perl/hash:RE_meta | ||
| 16900 | min: 1 | ||
| 16901 | text: \h | ||
| 16902 | quant: | ||
| 16903 | - '*' | ||
| 16904 | - !!perl/hash:RE_quantified_atom | ||
| 16905 | atom: !!perl/hash:RE_method | ||
| 16906 | name: unv | ||
| 16907 | rest: '' | ||
| 16908 | quant: | ||
| 16909 | - '?' | ||
| 16910 | - !!perl/hash:RE_meta | ||
| 16911 | text: $$ | ||
| 16912 | - !!perl/hash:RE_quantified_atom | ||
| 16913 | atom: !!perl/hash:RE_meta | ||
| 16914 | min: 1 | ||
| 16915 | text: \v | ||
| 16916 | quant: | ||
| 16917 | - '?' | ||
| 16918 | RETREE_END | ||
| 16919 | ## token stopper { ^^ {} $<ws>=(\h*?) $*DELIM \h* <.unv>?? $$ \v? } | ||
| 16920 | sub stopper__PEEK { $_[0]->_AUTOLEXpeek('stopper', $retree) } | ||
| 16921 | sub stopper { | ||
| 16922 | no warnings 'recursion'; | ||
| 16923 | my $self = shift; | ||
| 16924 | |||
| 16925 | |||
| 16926 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 16927 | |||
| 16928 | my $C = $self->cursor_xact("RULE stopper"); | ||
| 16929 | my $xact = $C->xact; | ||
| 16930 | my $S = $C->{'_pos'}; | ||
| 16931 | $self->_MATCHIFYr($S, "stopper", do { | ||
| 16932 | my $C = $C; | ||
| 16933 | if (($C) = ($C->_PATTERN(qr/\G(?m:^)/)) | ||
| 16934 | and ($C) = (scalar(do { | ||
| 16935 | }, $C)) | ||
| 16936 | and ($C) = ($C->_SUBSUMEr(['ws'], sub { | ||
| 16937 | my $C = shift; | ||
| 16938 | $C->_PAREN( sub { | ||
| 16939 | my $C=shift; | ||
| 16940 | $C->_STARf(sub { | ||
| 16941 | my $C=shift; | ||
| 16942 | $C->_PATTERN(qr/\G[\x20\t\r]/) | ||
| 16943 | }) | ||
| 16944 | |||
| 16945 | }) | ||
| 16946 | })) | ||
| 16947 | and ($C) = ($C->_EXACT($::DELIM)) | ||
| 16948 | and ($C) = ($C->_PATTERN(qr/\G[\x20\t\r]*+/))) { | ||
| 16949 | STD::LazyMap::lazymap(sub { | ||
| 16950 | my $C=shift; | ||
| 16951 | $C->_PATTERN(qr/\G(?m:$)\n?+/) | ||
| 16952 | }, | ||
| 16953 | $C->_OPTf(sub { | ||
| 16954 | my $C=shift; | ||
| 16955 | if (my ($C) = ($C->unv)) { ($C) } else { () } | ||
| 16956 | })) | ||
| 16957 | } else { () } | ||
| 16958 | |||
| 16959 | }); | ||
| 16960 | } | ||
| 16961 | 1; }; | ||
| 16962 | ## method heredoc () | ||
| 16963 | sub heredoc { | ||
| 16964 | no warnings 'recursion'; | ||
| 16965 | my $self = shift; | ||
| 16966 | local $::CTX = $self->callm if $::DEBUG & DEBUG::trace_call; | ||
| 16967 | return if $self->peek; | ||
| 16968 | my $here = $self; | ||
| 16969 | while (my $herestub = shift @herestub_queue) { | ||
| 16970 | local $::DELIM = $herestub->delim; | ||
| 16971 | my $lang = $herestub->lang->mixin( 'STD::P5::herestop' ); | ||
| 16972 | my $doc; | ||
| 16973 | if (($doc) = $here->nibble($lang)) { | ||
| 16974 | $here = $doc->trim_heredoc(); | ||
| 16975 | $herestub->orignode->{'doc'} = $doc; | ||
| 16976 | } | ||
| 16977 | else { | ||
| 16978 | $self->panic("Ending delimiter $::DELIM not found")}; | ||
| 16979 | } | ||
| 16980 | ; | ||
| 16981 | return $self->cursor($here->{'_pos'}); | ||
| 16982 | }; | ||
| 16983 | ## token backslash { <...> } | ||
| 16984 | sub backslash__PEEK { $_[0]->_AUTOLEXpeek('backslash:*',$retree); } | ||
| 16985 | sub backslash { | ||
| 16986 | my $self = shift; | ||
| 16987 | my $subs; | ||
| 16988 | |||
| 16989 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 16990 | |||
| 16991 | my $C = $self->cursor_xact('RULE backslash'); | ||
| 16992 | my $S = $C->{'_pos'}; | ||
| 16993 | |||
| 16994 | my @result = do { | ||
| 16995 | my ($tag, $try); | ||
| 16996 | my @try; | ||
| 16997 | my $relex; | ||
| 16998 | my $x; | ||
| 16999 | if (my $fate = $C->{'_fate'}) { | ||
| 17000 | if ($fate->[1] eq 'backslash') { | ||
| 17001 | $C->deb("Fate passed to backslash: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 17002 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 17003 | @try = ($try); | ||
| 17004 | $x = 'ALT backslash'; | ||
| 17005 | } | ||
| 17006 | else { | ||
| 17007 | $x = 'ALTLTM backslash'; | ||
| 17008 | } | ||
| 17009 | } | ||
| 17010 | else { | ||
| 17011 | $x = 'ALTLTM backslash'; | ||
| 17012 | } | ||
| 17013 | my $C = $C->cursor_xact($x); | ||
| 17014 | my $xact = $C->{_xact}; | ||
| 17015 | |||
| 17016 | my @gather = (); | ||
| 17017 | for (;;) { | ||
| 17018 | unless (@try) { | ||
| 17019 | $relex //= $C->cursor_fate('STD::STD::P5', 'backslash:*', $retree); | ||
| 17020 | @try = $relex->($C) or last; | ||
| 17021 | } | ||
| 17022 | $try = shift(@try) // next; | ||
| 17023 | |||
| 17024 | if (ref $try) { | ||
| 17025 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 17026 | } | ||
| 17027 | |||
| 17028 | $C->deb("backslash trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 17029 | push @gather, $C->$try(@_); | ||
| 17030 | last if @gather; | ||
| 17031 | last if $xact->[-2]; # committed? | ||
| 17032 | } | ||
| 17033 | $self->_MATCHIFYr($S, "backslash", @gather); | ||
| 17034 | }; | ||
| 17035 | @result; | ||
| 17036 | } | ||
| 17037 | ; | ||
| 17038 | ## token escape { <...> } | ||
| 17039 | sub escape__PEEK { $_[0]->_AUTOLEXpeek('escape:*',$retree); } | ||
| 17040 | sub escape { | ||
| 17041 | my $self = shift; | ||
| 17042 | my $subs; | ||
| 17043 | |||
| 17044 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17045 | |||
| 17046 | my $C = $self->cursor_xact('RULE escape'); | ||
| 17047 | my $S = $C->{'_pos'}; | ||
| 17048 | |||
| 17049 | my @result = do { | ||
| 17050 | my ($tag, $try); | ||
| 17051 | my @try; | ||
| 17052 | my $relex; | ||
| 17053 | my $x; | ||
| 17054 | if (my $fate = $C->{'_fate'}) { | ||
| 17055 | if ($fate->[1] eq 'escape') { | ||
| 17056 | $C->deb("Fate passed to escape: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 17057 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 17058 | @try = ($try); | ||
| 17059 | $x = 'ALT escape'; | ||
| 17060 | } | ||
| 17061 | else { | ||
| 17062 | $x = 'ALTLTM escape'; | ||
| 17063 | } | ||
| 17064 | } | ||
| 17065 | else { | ||
| 17066 | $x = 'ALTLTM escape'; | ||
| 17067 | } | ||
| 17068 | my $C = $C->cursor_xact($x); | ||
| 17069 | my $xact = $C->{_xact}; | ||
| 17070 | |||
| 17071 | my @gather = (); | ||
| 17072 | for (;;) { | ||
| 17073 | unless (@try) { | ||
| 17074 | $relex //= $C->cursor_fate('STD::STD::P5', 'escape:*', $retree); | ||
| 17075 | @try = $relex->($C) or last; | ||
| 17076 | } | ||
| 17077 | $try = shift(@try) // next; | ||
| 17078 | |||
| 17079 | if (ref $try) { | ||
| 17080 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 17081 | } | ||
| 17082 | |||
| 17083 | $C->deb("escape trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 17084 | push @gather, $C->$try(@_); | ||
| 17085 | last if @gather; | ||
| 17086 | last if $xact->[-2]; # committed? | ||
| 17087 | } | ||
| 17088 | $self->_MATCHIFYr($S, "escape", @gather); | ||
| 17089 | }; | ||
| 17090 | @result; | ||
| 17091 | } | ||
| 17092 | ; | ||
| 17093 | ## token starter { <!> } | ||
| 17094 | sub starter__PEEK { $_[0]->_AUTOLEXpeek('starter', $retree) } | ||
| 17095 | sub starter { | ||
| 17096 | no warnings 'recursion'; | ||
| 17097 | my $self = shift; | ||
| 17098 | |||
| 17099 | |||
| 17100 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17101 | |||
| 17102 | my $C = $self->cursor_xact("RULE starter"); | ||
| 17103 | my $xact = $C->xact; | ||
| 17104 | my $S = $C->{'_pos'}; | ||
| 17105 | $self->_MATCHIFYr($S, "starter", $C->_NOTBEFORE(sub { | ||
| 17106 | my $C=shift; | ||
| 17107 | $C | ||
| 17108 | })); | ||
| 17109 | } | ||
| 17110 | ; | ||
| 17111 | ## token escape:none { <!> } | ||
| 17112 | sub escape__S_117none__PEEK { $_[0]->_AUTOLEXpeek('escape__S_117none', $retree) } | ||
| 17113 | sub escape__S_117none { | ||
| 17114 | no warnings 'recursion'; | ||
| 17115 | my $self = shift; | ||
| 17116 | |||
| 17117 | |||
| 17118 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17119 | |||
| 17120 | my $C = $self->cursor_xact("RULE escape__S_117none"); | ||
| 17121 | my $xact = $C->xact; | ||
| 17122 | my $S = $C->{'_pos'}; | ||
| 17123 | $C->{sym} = "none"; | ||
| 17124 | $self->_MATCHIFYr($S, "escape__S_117none", $C->_NOTBEFORE(sub { | ||
| 17125 | my $C=shift; | ||
| 17126 | $C | ||
| 17127 | })); | ||
| 17128 | } | ||
| 17129 | ; | ||
| 17130 | ## token babble ($l) { | ||
| 17131 | sub babble__PEEK { $_[0]->_AUTOLEXpeek('babble', $retree) } | ||
| 17132 | sub babble { | ||
| 17133 | no warnings 'recursion'; | ||
| 17134 | my $self = shift; | ||
| 17135 | |||
| 17136 | die 'Required argument l omitted' unless @_; | ||
| 17137 | my $l = @_ ? shift() : undef; | ||
| 17138 | my $lang = $l;my $start;my $stop; | ||
| 17139 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17140 | |||
| 17141 | my $C = $self->cursor_xact("RULE babble"); | ||
| 17142 | my $xact = $C->xact; | ||
| 17143 | my $S = $C->{'_pos'}; | ||
| 17144 | $C->{'quotepair'} = []; | ||
| 17145 | $self->_MATCHIFYr($S, "babble", do { | ||
| 17146 | my $C = $C; | ||
| 17147 | if (($C) = ($C->ws) | ||
| 17148 | and ($C) = ($C->_STARr(sub { | ||
| 17149 | my $C=shift; | ||
| 17150 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 17151 | my $C=shift; | ||
| 17152 | if (($C) = ($C->_SUBSUMEr(['quotepair'], sub { | ||
| 17153 | my $C = shift; | ||
| 17154 | $C->quotepair | ||
| 17155 | })) | ||
| 17156 | and ($C) = ($C->ws)) { | ||
| 17157 | scalar(do { | ||
| 17158 | my $M = $C; | ||
| 17159 | my $kv = $M->{'quotepair'}->[-1]; | ||
| 17160 | $lang = $lang->tweak($kv->{'k'}, $kv->{'v'}) | ||
| 17161 | or $self->sorry("Unrecognized adverb :" . $kv->{'k'} . '(' . $kv->{'v'} . ')'); | ||
| 17162 | }, $C) | ||
| 17163 | } else { () } | ||
| 17164 | }))) { ($C) } else { () } | ||
| 17165 | }))) { | ||
| 17166 | scalar(do { | ||
| 17167 | my $M = $C; | ||
| 17168 | ($start,$stop) = $C->peek_delimiters(); | ||
| 17169 | $lang = $start ne $stop ? $lang->balanced($start,$stop) | ||
| 17170 | : $lang->unbalanced($stop); | ||
| 17171 | $M->{'B'} = [$lang,$start,$stop]; | ||
| 17172 | }, $C) | ||
| 17173 | } else { () } | ||
| 17174 | |||
| 17175 | }); | ||
| 17176 | } | ||
| 17177 | ; | ||
| 17178 | ## token quibble ($l) { | ||
| 17179 | sub quibble__PEEK { $_[0]->_AUTOLEXpeek('quibble', $retree) } | ||
| 17180 | sub quibble { | ||
| 17181 | no warnings 'recursion'; | ||
| 17182 | my $self = shift; | ||
| 17183 | |||
| 17184 | die 'Required argument l omitted' unless @_; | ||
| 17185 | my $l = @_ ? shift() : undef; | ||
| 17186 | my ($lang, $start, $stop); | ||
| 17187 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17188 | |||
| 17189 | my $C = $self->cursor_xact("RULE quibble"); | ||
| 17190 | my $xact = $C->xact; | ||
| 17191 | my $S = $C->{'_pos'}; | ||
| 17192 | $self->_MATCHIFYr($S, "quibble", do { | ||
| 17193 | my $C = $C; | ||
| 17194 | if (($C) = ($C->_SUBSUMEr(['babble'], sub { | ||
| 17195 | my $C = shift; | ||
| 17196 | $C->babble($l) | ||
| 17197 | })) | ||
| 17198 | and ($C) = (scalar(do { | ||
| 17199 | my $M = $C; | ||
| 17200 | my $B = $M->{'babble'}->{'B'}; | ||
| 17201 | ($lang,$start,$stop) = @$B; | ||
| 17202 | }, $C)) | ||
| 17203 | and ($C) = ($C->_EXACT($start)) | ||
| 17204 | and ($C) = ($C->_SUBSUMEr(['nibble'], sub { | ||
| 17205 | my $C = shift; | ||
| 17206 | $C->nibble($lang) | ||
| 17207 | })) | ||
| 17208 | and ($C) = ($C->_BRACKETr(sub { | ||
| 17209 | my $C=shift; | ||
| 17210 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 17211 | my $xact = $C->xact; | ||
| 17212 | my @gather; | ||
| 17213 | do { | ||
| 17214 | push @gather, do { | ||
| 17215 | if (my ($C) = ($C->_EXACT($stop))) { ($C) } else { () } | ||
| 17216 | |||
| 17217 | } | ||
| 17218 | } | ||
| 17219 | or $xact->[-2] or | ||
| 17220 | do { | ||
| 17221 | push @gather, do { | ||
| 17222 | if (my ($C) = ($C->panic("Couldn't find terminator $stop"))) { ($C) } else { () } | ||
| 17223 | |||
| 17224 | } | ||
| 17225 | }; | ||
| 17226 | @gather; | ||
| 17227 | } | ||
| 17228 | }))) { | ||
| 17229 | scalar(do { | ||
| 17230 | my $M = $C; | ||
| 17231 | { | ||
| 17232 | if ($lang->{'_herelang'}) { | ||
| 17233 | push @herestub_queue, | ||
| 17234 | 'STD::P5::Herestub'->new( | ||
| 17235 | delim => $M->{'nibble'}->{'nibbles'}->[0]->{'TEXT'}, | ||
| 17236 | orignode => $C, | ||
| 17237 | lang => $lang->{'_herelang'}, | ||
| 17238 | )}}}, $C) | ||
| 17239 | } else { () } | ||
| 17240 | |||
| 17241 | }); | ||
| 17242 | } | ||
| 17243 | ; | ||
| 17244 | ## token sibble ($l, $lang2) { | ||
| 17245 | sub sibble__PEEK { $_[0]->_AUTOLEXpeek('sibble', $retree) } | ||
| 17246 | sub sibble { | ||
| 17247 | no warnings 'recursion'; | ||
| 17248 | my $self = shift; | ||
| 17249 | |||
| 17250 | die 'Required argument l omitted' unless @_; | ||
| 17251 | my $l = @_ ? shift() : undef; | ||
| 17252 | die 'Required argument lang2 omitted' unless @_; | ||
| 17253 | my $lang2 = @_ ? shift() : undef; | ||
| 17254 | my ($lang, $start, $stop); | ||
| 17255 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17256 | |||
| 17257 | my $C = $self->cursor_xact("RULE sibble"); | ||
| 17258 | my $xact = $C->xact; | ||
| 17259 | my $S = $C->{'_pos'}; | ||
| 17260 | $C->{'nibble'} = []; | ||
| 17261 | $self->_MATCHIFYr($S, "sibble", do { | ||
| 17262 | my $C = $C; | ||
| 17263 | if (($C) = ($C->_SUBSUMEr(['babble'], sub { | ||
| 17264 | my $C = shift; | ||
| 17265 | $C->babble($l) | ||
| 17266 | })) | ||
| 17267 | and ($C) = (scalar(do { | ||
| 17268 | my $M = $C; | ||
| 17269 | my $B = $M->{'babble'}->{'B'}; | ||
| 17270 | ($lang,$start,$stop) = @$B; | ||
| 17271 | }, $C)) | ||
| 17272 | and ($C) = ($C->_EXACT($start)) | ||
| 17273 | and ($C) = ($C->_SUBSUMEr(['left','nibble'], sub { | ||
| 17274 | my $C = shift; | ||
| 17275 | $C->nibble($lang) | ||
| 17276 | })) | ||
| 17277 | and ($C) = ($C->_BRACKETr(sub { | ||
| 17278 | my $C=shift; | ||
| 17279 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 17280 | my $xact = $C->xact; | ||
| 17281 | my @gather; | ||
| 17282 | do { | ||
| 17283 | push @gather, do { | ||
| 17284 | if (my ($C) = ($C->_EXACT($stop))) { ($C) } else { () } | ||
| 17285 | |||
| 17286 | } | ||
| 17287 | } | ||
| 17288 | or $xact->[-2] or | ||
| 17289 | do { | ||
| 17290 | push @gather, do { | ||
| 17291 | if (my ($C) = ($C->panic("Couldn't find terminator $stop"))) { ($C) } else { () } | ||
| 17292 | |||
| 17293 | } | ||
| 17294 | }; | ||
| 17295 | @gather; | ||
| 17296 | } | ||
| 17297 | })) | ||
| 17298 | and ($C) = ($C->_BRACKETr(sub { | ||
| 17299 | my $C=shift; | ||
| 17300 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 17301 | my $xact = $C->xact; | ||
| 17302 | my @gather; | ||
| 17303 | do { | ||
| 17304 | push @gather, do { | ||
| 17305 | my $C = $C; | ||
| 17306 | if (($C) = ($C->before(sub { | ||
| 17307 | my $C=shift; | ||
| 17308 | (($C) x !!do { | ||
| 17309 | $start ne $stop }) | ||
| 17310 | })) | ||
| 17311 | and ($C) = ($C->ws)) { | ||
| 17312 | $C->_SUBSUMEr(['quibble'], sub { | ||
| 17313 | my $C = shift; | ||
| 17314 | $C->quibble($lang2) | ||
| 17315 | }) | ||
| 17316 | } else { () } | ||
| 17317 | |||
| 17318 | } | ||
| 17319 | } | ||
| 17320 | or $xact->[-2] or | ||
| 17321 | do { | ||
| 17322 | push @gather, do { | ||
| 17323 | my $C = $C; | ||
| 17324 | if (($C) = (scalar(do { | ||
| 17325 | $lang = $lang2->unbalanced($stop)}, $C)) | ||
| 17326 | and ($C) = ($C->_SUBSUMEr(['right','nibble'], sub { | ||
| 17327 | my $C = shift; | ||
| 17328 | $C->nibble($lang) | ||
| 17329 | })) | ||
| 17330 | and ($C) = ($C->_EXACT($stop))) { | ||
| 17331 | $C | ||
| 17332 | } else { () } | ||
| 17333 | |||
| 17334 | } | ||
| 17335 | }; | ||
| 17336 | @gather; | ||
| 17337 | } | ||
| 17338 | }))) { | ||
| 17339 | $C | ||
| 17340 | } else { () } | ||
| 17341 | |||
| 17342 | }); | ||
| 17343 | } | ||
| 17344 | ; | ||
| 17345 | ## token tribble ($l, $lang2 = $l) { | ||
| 17346 | sub tribble__PEEK { $_[0]->_AUTOLEXpeek('tribble', $retree) } | ||
| 17347 | sub tribble { | ||
| 17348 | no warnings 'recursion'; | ||
| 17349 | my $self = shift; | ||
| 17350 | |||
| 17351 | die 'Required argument l omitted' unless @_; | ||
| 17352 | my $l = @_ ? shift() : undef; | ||
| 17353 | my $lang2 = @_ ? shift() : $l; | ||
| 17354 | my ($lang, $start, $stop); | ||
| 17355 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17356 | |||
| 17357 | my $C = $self->cursor_xact("RULE tribble"); | ||
| 17358 | my $xact = $C->xact; | ||
| 17359 | my $S = $C->{'_pos'}; | ||
| 17360 | $C->{'nibble'} = []; | ||
| 17361 | $self->_MATCHIFYr($S, "tribble", do { | ||
| 17362 | my $C = $C; | ||
| 17363 | if (($C) = ($C->_SUBSUMEr(['babble'], sub { | ||
| 17364 | my $C = shift; | ||
| 17365 | $C->babble($l) | ||
| 17366 | })) | ||
| 17367 | and ($C) = (scalar(do { | ||
| 17368 | my $M = $C; | ||
| 17369 | my $B = $M->{'babble'}->{'B'}; | ||
| 17370 | ($lang,$start,$stop) = @$B; | ||
| 17371 | }, $C)) | ||
| 17372 | and ($C) = ($C->_EXACT($start)) | ||
| 17373 | and ($C) = ($C->_SUBSUMEr(['left','nibble'], sub { | ||
| 17374 | my $C = shift; | ||
| 17375 | $C->nibble($lang) | ||
| 17376 | })) | ||
| 17377 | and ($C) = ($C->_BRACKETr(sub { | ||
| 17378 | my $C=shift; | ||
| 17379 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 17380 | my $xact = $C->xact; | ||
| 17381 | my @gather; | ||
| 17382 | do { | ||
| 17383 | push @gather, do { | ||
| 17384 | if (my ($C) = ($C->_EXACT($stop))) { ($C) } else { () } | ||
| 17385 | |||
| 17386 | } | ||
| 17387 | } | ||
| 17388 | or $xact->[-2] or | ||
| 17389 | do { | ||
| 17390 | push @gather, do { | ||
| 17391 | if (my ($C) = ($C->panic("Couldn't find terminator $stop"))) { ($C) } else { () } | ||
| 17392 | |||
| 17393 | } | ||
| 17394 | }; | ||
| 17395 | @gather; | ||
| 17396 | } | ||
| 17397 | })) | ||
| 17398 | and ($C) = ($C->_BRACKETr(sub { | ||
| 17399 | my $C=shift; | ||
| 17400 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 17401 | my $xact = $C->xact; | ||
| 17402 | my @gather; | ||
| 17403 | do { | ||
| 17404 | push @gather, do { | ||
| 17405 | my $C = $C; | ||
| 17406 | if (($C) = ($C->before(sub { | ||
| 17407 | my $C=shift; | ||
| 17408 | (($C) x !!do { | ||
| 17409 | $start ne $stop }) | ||
| 17410 | })) | ||
| 17411 | and ($C) = ($C->ws)) { | ||
| 17412 | $C->_SUBSUMEr(['quibble'], sub { | ||
| 17413 | my $C = shift; | ||
| 17414 | $C->quibble($lang2) | ||
| 17415 | }) | ||
| 17416 | } else { () } | ||
| 17417 | |||
| 17418 | } | ||
| 17419 | } | ||
| 17420 | or $xact->[-2] or | ||
| 17421 | do { | ||
| 17422 | push @gather, do { | ||
| 17423 | my $C = $C; | ||
| 17424 | if (($C) = (scalar(do { | ||
| 17425 | $lang = $lang2->unbalanced($stop)}, $C)) | ||
| 17426 | and ($C) = ($C->_SUBSUMEr(['right','nibble'], sub { | ||
| 17427 | my $C = shift; | ||
| 17428 | $C->nibble($lang) | ||
| 17429 | })) | ||
| 17430 | and ($C) = ($C->_EXACT($stop))) { | ||
| 17431 | $C | ||
| 17432 | } else { () } | ||
| 17433 | |||
| 17434 | } | ||
| 17435 | }; | ||
| 17436 | @gather; | ||
| 17437 | } | ||
| 17438 | }))) { | ||
| 17439 | $C | ||
| 17440 | } else { () } | ||
| 17441 | |||
| 17442 | }); | ||
| 17443 | } | ||
| 17444 | ; | ||
| 17445 | ## token quasiquibble ($l) { | ||
| 17446 | sub quasiquibble__PEEK { $_[0]->_AUTOLEXpeek('quasiquibble', $retree) } | ||
| 17447 | sub quasiquibble { | ||
| 17448 | no warnings 'recursion'; | ||
| 17449 | my $self = shift; | ||
| 17450 | |||
| 17451 | die 'Required argument l omitted' unless @_; | ||
| 17452 | my $l = @_ ? shift() : undef; | ||
| 17453 | my ($lang, $start, $stop);local $::QUASIMODO = 0; | ||
| 17454 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17455 | |||
| 17456 | my $C = $self->cursor_xact("RULE quasiquibble"); | ||
| 17457 | my $xact = $C->xact; | ||
| 17458 | my $S = $C->{'_pos'}; | ||
| 17459 | $self->_MATCHIFYr($S, "quasiquibble", do { | ||
| 17460 | my $C = $C; | ||
| 17461 | if (($C) = ($C->_SUBSUMEr(['babble'], sub { | ||
| 17462 | my $C = shift; | ||
| 17463 | $C->babble($l) | ||
| 17464 | })) | ||
| 17465 | and ($C) = (scalar(do { | ||
| 17466 | my $M = $C; | ||
| 17467 | my $B = $M->{'babble'}->{'B'}; | ||
| 17468 | ($lang,$start,$stop) = @$B; | ||
| 17469 | }, $C)) | ||
| 17470 | and ($C) = ($C->_BRACKETr(sub { | ||
| 17471 | my $C=shift; | ||
| 17472 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 17473 | my $xact = $C->xact; | ||
| 17474 | my @gather; | ||
| 17475 | do { | ||
| 17476 | push @gather, do { | ||
| 17477 | my $C = $C; | ||
| 17478 | if (($C) = ($C->before(sub { | ||
| 17479 | my $C=shift; | ||
| 17480 | (($C) x !!do { | ||
| 17481 | $start eq '{' }) | ||
| 17482 | })) | ||
| 17483 | and ($C) = ($C->_BRACKETr(sub { | ||
| 17484 | my $C=shift; | ||
| 17485 | my $newlang = ($lang); | ||
| 17486 | $C = bless($C, (ref($newlang) || $newlang)); | ||
| 17487 | $C->_SUBSUMEr(['block'], sub { | ||
| 17488 | my $C = shift; | ||
| 17489 | $C->block | ||
| 17490 | }) | ||
| 17491 | }))) { | ||
| 17492 | $C | ||
| 17493 | } else { () } | ||
| 17494 | |||
| 17495 | } | ||
| 17496 | } | ||
| 17497 | or $xact->[-2] or | ||
| 17498 | do { | ||
| 17499 | push @gather, do { | ||
| 17500 | my $C = $C; | ||
| 17501 | if (($C) = ($C->_EXACT($start)) | ||
| 17502 | and ($C) = ($C->_BRACKETr(sub { | ||
| 17503 | my $C=shift; | ||
| 17504 | my $newlang = ($lang); | ||
| 17505 | $C = bless($C, (ref($newlang) || $newlang)); | ||
| 17506 | $C->_SUBSUMEr(['statementlist'], sub { | ||
| 17507 | my $C = shift; | ||
| 17508 | $C->statementlist | ||
| 17509 | }) | ||
| 17510 | })) | ||
| 17511 | and ($C) = ($C->_BRACKETr(sub { | ||
| 17512 | my $C=shift; | ||
| 17513 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 17514 | my $xact = $C->xact; | ||
| 17515 | my @gather; | ||
| 17516 | do { | ||
| 17517 | push @gather, do { | ||
| 17518 | if (my ($C) = ($C->_EXACT($stop))) { ($C) } else { () } | ||
| 17519 | |||
| 17520 | } | ||
| 17521 | } | ||
| 17522 | or $xact->[-2] or | ||
| 17523 | do { | ||
| 17524 | push @gather, do { | ||
| 17525 | if (my ($C) = ($C->panic("Couldn't find terminator $stop"))) { ($C) } else { () } | ||
| 17526 | |||
| 17527 | } | ||
| 17528 | }; | ||
| 17529 | @gather; | ||
| 17530 | } | ||
| 17531 | }))) { | ||
| 17532 | $C | ||
| 17533 | } else { () } | ||
| 17534 | |||
| 17535 | } | ||
| 17536 | }; | ||
| 17537 | @gather; | ||
| 17538 | } | ||
| 17539 | }))) { | ||
| 17540 | $C | ||
| 17541 | } else { () } | ||
| 17542 | |||
| 17543 | }); | ||
| 17544 | } | ||
| 17545 | ; | ||
| 17546 | ## token nibbler { | ||
| 17547 | sub nibbler__PEEK { $_[0]->_AUTOLEXpeek('nibbler', $retree) } | ||
| 17548 | sub nibbler { | ||
| 17549 | no warnings 'recursion'; | ||
| 17550 | my $self = shift; | ||
| 17551 | |||
| 17552 | my $text = '';my $from = $self->{'_pos'};my $to = $from;my @nibbles = ();my $multiline = 0; | ||
| 17553 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17554 | |||
| 17555 | my $C = $self->cursor_xact("RULE nibbler"); | ||
| 17556 | my $xact = $C->xact; | ||
| 17557 | my $S = $C->{'_pos'}; | ||
| 17558 | $C->{'escape'} = []; | ||
| 17559 | $C->{'nibbler'} = []; | ||
| 17560 | $C->{'starter'} = []; | ||
| 17561 | $C->{'stopper'} = []; | ||
| 17562 | $self->_MATCHIFYr($S, "nibbler", do { | ||
| 17563 | my $C = $C; | ||
| 17564 | if (($C) = (scalar(do { | ||
| 17565 | my $M = $C; | ||
| 17566 | $M->{'_from'} = $self->{'_pos'}}, $C)) | ||
| 17567 | and ($C) = ($C->_STARr(sub { | ||
| 17568 | my $C=shift; | ||
| 17569 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 17570 | my $C=shift; | ||
| 17571 | if (($C) = ($C->_NOTBEFORE(sub { | ||
| 17572 | my $C=shift; | ||
| 17573 | if (my ($C) = ($C->before(sub { | ||
| 17574 | my $C=shift; | ||
| 17575 | $C->{'stopper'} = []; | ||
| 17576 | $C->_SUBSUMEr(['stopper'], sub { | ||
| 17577 | my $C = shift; | ||
| 17578 | $C->stopper | ||
| 17579 | }) | ||
| 17580 | }))) { ($C) } else { () } | ||
| 17581 | })) | ||
| 17582 | and ($C) = ($C->_BRACKETr(sub { | ||
| 17583 | my $C=shift; | ||
| 17584 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 17585 | my $xact = $C->xact; | ||
| 17586 | my @gather; | ||
| 17587 | do { | ||
| 17588 | push @gather, do { | ||
| 17589 | my $C = $C; | ||
| 17590 | if (($C) = ($C->_SUBSUMEr(['starter'], sub { | ||
| 17591 | my $C = shift; | ||
| 17592 | $C->starter | ||
| 17593 | })) | ||
| 17594 | and ($C) = ($C->_SUBSUMEr(['nibbler'], sub { | ||
| 17595 | my $C = shift; | ||
| 17596 | $C->nibbler | ||
| 17597 | })) | ||
| 17598 | and ($C) = ($C->_SUBSUMEr(['stopper'], sub { | ||
| 17599 | my $C = shift; | ||
| 17600 | $C->stopper | ||
| 17601 | }))) { | ||
| 17602 | scalar(do { | ||
| 17603 | my $M = $C; | ||
| 17604 | { | ||
| 17605 | push @nibbles, $C->makestr(TEXT => $text, _from => $from, _pos => $to ) if $from != $to; | ||
| 17606 | my $n = $M->{'nibbler'}->[-1]->{'nibbles'}; | ||
| 17607 | my @n = @$n; | ||
| 17608 | push @nibbles, $M->{'starter'}; | ||
| 17609 | push @nibbles, @n; | ||
| 17610 | push @nibbles, $M->{'stopper'}; | ||
| 17611 | $text = ''; | ||
| 17612 | $to = $from = $C->{'_pos'}; | ||
| 17613 | }}, $C) | ||
| 17614 | } else { () } | ||
| 17615 | |||
| 17616 | } | ||
| 17617 | } | ||
| 17618 | or $xact->[-2] or | ||
| 17619 | do { | ||
| 17620 | push @gather, do { | ||
| 17621 | if (my ($C) = ($C->_SUBSUMEr(['escape'], sub { | ||
| 17622 | my $C = shift; | ||
| 17623 | $C->escape | ||
| 17624 | }))) { | ||
| 17625 | scalar(do { | ||
| 17626 | my $M = $C; | ||
| 17627 | { | ||
| 17628 | push @nibbles, $C->makestr(TEXT => $text, _from => $from, _pos => $to ) if $from != $to; | ||
| 17629 | push @nibbles, $M->{'escape'}->[-1]; | ||
| 17630 | $text = ''; | ||
| 17631 | $to = $from = $C->{'_pos'}; | ||
| 17632 | }}, $C) | ||
| 17633 | } else { () } | ||
| 17634 | |||
| 17635 | } | ||
| 17636 | } | ||
| 17637 | or $xact->[-2] or | ||
| 17638 | do { | ||
| 17639 | push @gather, do { | ||
| 17640 | if (my ($C) = ($C->cursor_incr())) { | ||
| 17641 | scalar(do { | ||
| 17642 | { | ||
| 17643 | my $ch = substr($::ORIG, $C->{'_pos'}-1, 1); | ||
| 17644 | $text .= $ch; | ||
| 17645 | $to = $C->{'_pos'}; | ||
| 17646 | if ($ch =~ "\n") { | ||
| 17647 | $multiline++}; | ||
| 17648 | }}, $C) | ||
| 17649 | } else { () } | ||
| 17650 | |||
| 17651 | } | ||
| 17652 | }; | ||
| 17653 | @gather; | ||
| 17654 | } | ||
| 17655 | }))) { | ||
| 17656 | $C | ||
| 17657 | } else { () } | ||
| 17658 | }))) { ($C) } else { () } | ||
| 17659 | }))) { | ||
| 17660 | scalar(do { | ||
| 17661 | my $M = $C; | ||
| 17662 | { | ||
| 17663 | push @nibbles, $C->makestr(TEXT => $text, _from => $from, _pos => $to ) if $from != $to or !@nibbles; | ||
| 17664 | $M->{'nibbles'} = \@nibbles; | ||
| 17665 | $M->{'_pos'} = $C->{'_pos'}; | ||
| 17666 | delete $M->{'nibbler'}; | ||
| 17667 | delete $M->{'escape'}; | ||
| 17668 | delete $M->{'starter'}; | ||
| 17669 | delete $M->{'stopper'}; | ||
| 17670 | $::LAST_NIBBLE = $C; | ||
| 17671 | $::LAST_NIBBLE_MULTILINE = $C if $multiline; | ||
| 17672 | }}, $C) | ||
| 17673 | } else { () } | ||
| 17674 | |||
| 17675 | }); | ||
| 17676 | } | ||
| 17677 | ; | ||
| 17678 | ## method nibble ($lang) | ||
| 17679 | sub nibble { | ||
| 17680 | no warnings 'recursion'; | ||
| 17681 | my $self = shift; | ||
| 17682 | die 'Required argument lang omitted' unless @_; | ||
| 17683 | my $lang = @_ ? shift() : undef; | ||
| 17684 | $self->cursor_fresh($lang)->nibbler}; | ||
| 17685 | ## token p5quote:sym<' '> { "'" <nibble($¢.cursor_fresh( %*LANG<Q> ).tweak(:q).unbalanced("'"))> "'" | ||
| 17686 | sub p5quote__S_118Single_Single__PEEK { $_[0]->_AUTOLEXpeek('p5quote__S_118Single_Single', $retree) } | ||
| 17687 | sub p5quote__S_118Single_Single { | ||
| 17688 | no warnings 'recursion'; | ||
| 17689 | my $self = shift; | ||
| 17690 | |||
| 17691 | |||
| 17692 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17693 | |||
| 17694 | my $C = $self->cursor_xact("RULE p5quote__S_118Single_Single"); | ||
| 17695 | my $xact = $C->xact; | ||
| 17696 | my $S = $C->{'_pos'}; | ||
| 17697 | $C->{sym} = "\'\ \'"; | ||
| 17698 | $self->_MATCHIFYr($S, "p5quote__S_118Single_Single", do { | ||
| 17699 | my $C = $C; | ||
| 17700 | if (($C) = ($C->_EXACT("\'")) | ||
| 17701 | and ($C) = ($C->_SUBSUMEr(['nibble'], sub { | ||
| 17702 | my $C = shift; | ||
| 17703 | $C->nibble($C->cursor_fresh( $::LANG{'Q'} )->tweak('q' => 1)->unbalanced("'")) | ||
| 17704 | }))) { | ||
| 17705 | $C->_EXACT("\'") | ||
| 17706 | } else { () } | ||
| 17707 | |||
| 17708 | }); | ||
| 17709 | } | ||
| 17710 | ; | ||
| 17711 | ## token p5quote:sym<" "> { '"' <nibble($¢.cursor_fresh( %*LANG<Q> ).tweak(:qq).unbalanced('"'))> '"' | ||
| 17712 | sub p5quote__S_119Double_Double__PEEK { $_[0]->_AUTOLEXpeek('p5quote__S_119Double_Double', $retree) } | ||
| 17713 | sub p5quote__S_119Double_Double { | ||
| 17714 | no warnings 'recursion'; | ||
| 17715 | my $self = shift; | ||
| 17716 | |||
| 17717 | |||
| 17718 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17719 | |||
| 17720 | my $C = $self->cursor_xact("RULE p5quote__S_119Double_Double"); | ||
| 17721 | my $xact = $C->xact; | ||
| 17722 | my $S = $C->{'_pos'}; | ||
| 17723 | $C->{sym} = "\"\ \""; | ||
| 17724 | $self->_MATCHIFYr($S, "p5quote__S_119Double_Double", do { | ||
| 17725 | my $C = $C; | ||
| 17726 | if (($C) = ($C->_EXACT("\"")) | ||
| 17727 | and ($C) = ($C->_SUBSUMEr(['nibble'], sub { | ||
| 17728 | my $C = shift; | ||
| 17729 | $C->nibble($C->cursor_fresh( $::LANG{'Q'} )->tweak('qq' => 1)->unbalanced('"')) | ||
| 17730 | }))) { | ||
| 17731 | $C->_EXACT("\"") | ||
| 17732 | } else { () } | ||
| 17733 | |||
| 17734 | }); | ||
| 17735 | } | ||
| 17736 | ; | ||
| 17737 | ## token p5circumfix:sym«< >» { '<' | ||
| 17738 | sub p5circumfix__S_120Lt_Gt__PEEK { $_[0]->_AUTOLEXpeek('p5circumfix__S_120Lt_Gt', $retree) } | ||
| 17739 | sub p5circumfix__S_120Lt_Gt { | ||
| 17740 | no warnings 'recursion'; | ||
| 17741 | my $self = shift; | ||
| 17742 | |||
| 17743 | |||
| 17744 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17745 | |||
| 17746 | my $C = $self->cursor_xact("RULE p5circumfix__S_120Lt_Gt"); | ||
| 17747 | my $xact = $C->xact; | ||
| 17748 | my $S = $C->{'_pos'}; | ||
| 17749 | $C->{sym} = "\<\ \>"; | ||
| 17750 | $self->_MATCHIFYr($S, "p5circumfix__S_120Lt_Gt", do { | ||
| 17751 | my $C = $C; | ||
| 17752 | if (($C) = ($C->_EXACT("\<")) | ||
| 17753 | and ($C) = ($C->_SUBSUMEr(['nibble'], sub { | ||
| 17754 | my $C = shift; | ||
| 17755 | $C->nibble($C->cursor_fresh( $::LANG{'Q'} )->tweak('qq' => 1)->tweak('w' => 1)->balanced('<','>')) | ||
| 17756 | }))) { | ||
| 17757 | $C->_EXACT("\>") | ||
| 17758 | } else { () } | ||
| 17759 | |||
| 17760 | }); | ||
| 17761 | } | ||
| 17762 | ; | ||
| 17763 | ## token p5quote:sym</ /> { | ||
| 17764 | sub p5quote__S_121Slash_Slash__PEEK { $_[0]->_AUTOLEXpeek('p5quote__S_121Slash_Slash', $retree) } | ||
| 17765 | sub p5quote__S_121Slash_Slash { | ||
| 17766 | no warnings 'recursion'; | ||
| 17767 | my $self = shift; | ||
| 17768 | |||
| 17769 | |||
| 17770 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17771 | |||
| 17772 | my $C = $self->cursor_xact("RULE p5quote__S_121Slash_Slash"); | ||
| 17773 | my $xact = $C->xact; | ||
| 17774 | my $S = $C->{'_pos'}; | ||
| 17775 | $C->{'p5rx_mods'} = []; | ||
| 17776 | $C->{sym} = "\/\ \/"; | ||
| 17777 | $self->_MATCHIFYr($S, "p5quote__S_121Slash_Slash", do { | ||
| 17778 | my $C = $C; | ||
| 17779 | if (($C) = ($C->_EXACT("\/")) | ||
| 17780 | and ($C) = ($C->_SUBSUMEr(['nibble'], sub { | ||
| 17781 | my $C = shift; | ||
| 17782 | $C->nibble( $C->cursor_fresh( $::LANG{'Regex'} )->unbalanced("/") ) | ||
| 17783 | })) | ||
| 17784 | and ($C) = ($C->_BRACKETr(sub { | ||
| 17785 | my $C=shift; | ||
| 17786 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 17787 | my $xact = $C->xact; | ||
| 17788 | my @gather; | ||
| 17789 | do { | ||
| 17790 | push @gather, $C->_EXACT("\/") | ||
| 17791 | } | ||
| 17792 | or $xact->[-2] or | ||
| 17793 | do { | ||
| 17794 | push @gather, do { | ||
| 17795 | if (my ($C) = ($C->panic("Unable to parse regex; couldn't find final '/'"))) { ($C) } else { () } | ||
| 17796 | |||
| 17797 | } | ||
| 17798 | }; | ||
| 17799 | @gather; | ||
| 17800 | } | ||
| 17801 | }))) { | ||
| 17802 | $C->_OPTr(sub { | ||
| 17803 | my $C=shift; | ||
| 17804 | $C->_SUBSUMEr(['p5rx_mods'], sub { | ||
| 17805 | my $C = shift; | ||
| 17806 | $C->p5rx_mods | ||
| 17807 | }) | ||
| 17808 | }) | ||
| 17809 | } else { () } | ||
| 17810 | |||
| 17811 | }); | ||
| 17812 | } | ||
| 17813 | ; | ||
| 17814 | ## token quote:qq { | ||
| 17815 | sub quote__S_122qq__PEEK { $_[0]->_AUTOLEXpeek('quote__S_122qq', $retree) } | ||
| 17816 | sub quote__S_122qq { | ||
| 17817 | no warnings 'recursion'; | ||
| 17818 | my $self = shift; | ||
| 17819 | |||
| 17820 | |||
| 17821 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17822 | |||
| 17823 | my $C = $self->cursor_xact("RULE quote__S_122qq"); | ||
| 17824 | my $xact = $C->xact; | ||
| 17825 | my $S = $C->{'_pos'}; | ||
| 17826 | $C->{sym} = "qq"; | ||
| 17827 | $self->_MATCHIFYr($S, "quote__S_122qq", do { | ||
| 17828 | my $C = $C; | ||
| 17829 | if (($C) = ($C->_EXACT("qq")) | ||
| 17830 | and ($C) = ($C->_BRACKETr(sub { | ||
| 17831 | my $C=shift; | ||
| 17832 | if (($C) = ($C->_PATTERN(qr/\G\b/)) | ||
| 17833 | and ($C) = ($C->ws)) { | ||
| 17834 | $C->_SUBSUMEr(['quibble'], sub { | ||
| 17835 | my $C = shift; | ||
| 17836 | $C->quibble($C->cursor_fresh( $::LANG{'Q'} )->tweak('qq' => 1)) | ||
| 17837 | }) | ||
| 17838 | } else { () } | ||
| 17839 | }))) { | ||
| 17840 | $C | ||
| 17841 | } else { () } | ||
| 17842 | |||
| 17843 | }); | ||
| 17844 | } | ||
| 17845 | ; | ||
| 17846 | ## token quote:q { | ||
| 17847 | sub quote__S_123q__PEEK { $_[0]->_AUTOLEXpeek('quote__S_123q', $retree) } | ||
| 17848 | sub quote__S_123q { | ||
| 17849 | no warnings 'recursion'; | ||
| 17850 | my $self = shift; | ||
| 17851 | |||
| 17852 | |||
| 17853 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17854 | |||
| 17855 | my $C = $self->cursor_xact("RULE quote__S_123q"); | ||
| 17856 | my $xact = $C->xact; | ||
| 17857 | my $S = $C->{'_pos'}; | ||
| 17858 | $C->{sym} = "q"; | ||
| 17859 | $self->_MATCHIFYr($S, "quote__S_123q", do { | ||
| 17860 | my $C = $C; | ||
| 17861 | if (($C) = ($C->_EXACT("q")) | ||
| 17862 | and ($C) = ($C->_BRACKETr(sub { | ||
| 17863 | my $C=shift; | ||
| 17864 | if (($C) = ($C->_PATTERN(qr/\G\b/)) | ||
| 17865 | and ($C) = ($C->ws)) { | ||
| 17866 | $C->_SUBSUMEr(['quibble'], sub { | ||
| 17867 | my $C = shift; | ||
| 17868 | $C->quibble($C->cursor_fresh( $::LANG{'Q'} )->tweak('q' => 1)) | ||
| 17869 | }) | ||
| 17870 | } else { () } | ||
| 17871 | }))) { | ||
| 17872 | $C | ||
| 17873 | } else { () } | ||
| 17874 | |||
| 17875 | }); | ||
| 17876 | } | ||
| 17877 | ; | ||
| 17878 | ## token quote:qr { | ||
| 17879 | sub quote__S_124qr__PEEK { $_[0]->_AUTOLEXpeek('quote__S_124qr', $retree) } | ||
| 17880 | sub quote__S_124qr { | ||
| 17881 | no warnings 'recursion'; | ||
| 17882 | my $self = shift; | ||
| 17883 | |||
| 17884 | |||
| 17885 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17886 | |||
| 17887 | my $C = $self->cursor_xact("RULE quote__S_124qr"); | ||
| 17888 | my $xact = $C->xact; | ||
| 17889 | my $S = $C->{'_pos'}; | ||
| 17890 | $C->{sym} = "qr"; | ||
| 17891 | $self->_MATCHIFYr($S, "quote__S_124qr", do { | ||
| 17892 | my $C = $C; | ||
| 17893 | if (($C) = ($C->_PATTERN(qr/\Gqr\b/)) | ||
| 17894 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 17895 | my $C=shift; | ||
| 17896 | if (my ($C) = ($C->before(sub { | ||
| 17897 | my $C=shift; | ||
| 17898 | $C->_EXACT("\(") | ||
| 17899 | }))) { ($C) } else { () } | ||
| 17900 | })) | ||
| 17901 | and ($C) = ($C->_SUBSUMEr(['quibble'], sub { | ||
| 17902 | my $C = shift; | ||
| 17903 | $C->quibble( $C->cursor_fresh( $::LANG{'Regex'} ) ) | ||
| 17904 | }))) { | ||
| 17905 | $C->_SUBSUMEr(['p5rx_mods'], sub { | ||
| 17906 | my $C = shift; | ||
| 17907 | $C->p5rx_mods | ||
| 17908 | }) | ||
| 17909 | } else { () } | ||
| 17910 | |||
| 17911 | }); | ||
| 17912 | } | ||
| 17913 | ; | ||
| 17914 | ## token quote:m { | ||
| 17915 | sub quote__S_125m__PEEK { $_[0]->_AUTOLEXpeek('quote__S_125m', $retree) } | ||
| 17916 | sub quote__S_125m { | ||
| 17917 | no warnings 'recursion'; | ||
| 17918 | my $self = shift; | ||
| 17919 | |||
| 17920 | |||
| 17921 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17922 | |||
| 17923 | my $C = $self->cursor_xact("RULE quote__S_125m"); | ||
| 17924 | my $xact = $C->xact; | ||
| 17925 | my $S = $C->{'_pos'}; | ||
| 17926 | $C->{sym} = "m"; | ||
| 17927 | $self->_MATCHIFYr($S, "quote__S_125m", do { | ||
| 17928 | my $C = $C; | ||
| 17929 | if (($C) = ($C->_PATTERN(qr/\Gm\b/)) | ||
| 17930 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 17931 | my $C=shift; | ||
| 17932 | if (my ($C) = ($C->before(sub { | ||
| 17933 | my $C=shift; | ||
| 17934 | $C->_EXACT("\(") | ||
| 17935 | }))) { ($C) } else { () } | ||
| 17936 | })) | ||
| 17937 | and ($C) = ($C->_SUBSUMEr(['quibble'], sub { | ||
| 17938 | my $C = shift; | ||
| 17939 | $C->quibble( $C->cursor_fresh( $::LANG{'Regex'} ) ) | ||
| 17940 | }))) { | ||
| 17941 | $C->_SUBSUMEr(['p5rx_mods'], sub { | ||
| 17942 | my $C = shift; | ||
| 17943 | $C->p5rx_mods | ||
| 17944 | }) | ||
| 17945 | } else { () } | ||
| 17946 | |||
| 17947 | }); | ||
| 17948 | } | ||
| 17949 | ; | ||
| 17950 | ## token quote:s { | ||
| 17951 | sub quote__S_126s__PEEK { $_[0]->_AUTOLEXpeek('quote__S_126s', $retree) } | ||
| 17952 | sub quote__S_126s { | ||
| 17953 | no warnings 'recursion'; | ||
| 17954 | my $self = shift; | ||
| 17955 | |||
| 17956 | |||
| 17957 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17958 | |||
| 17959 | my $C = $self->cursor_xact("RULE quote__S_126s"); | ||
| 17960 | my $xact = $C->xact; | ||
| 17961 | my $S = $C->{'_pos'}; | ||
| 17962 | $C->{sym} = "s"; | ||
| 17963 | $self->_MATCHIFYr($S, "quote__S_126s", do { | ||
| 17964 | my $C = $C; | ||
| 17965 | if (($C) = ($C->_PATTERN(qr/\Gs\b/)) | ||
| 17966 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 17967 | my $C=shift; | ||
| 17968 | if (my ($C) = ($C->before(sub { | ||
| 17969 | my $C=shift; | ||
| 17970 | $C->_EXACT("\(") | ||
| 17971 | }))) { ($C) } else { () } | ||
| 17972 | })) | ||
| 17973 | and ($C) = ($C->_SUBSUMEr(['pat','sibble'], sub { | ||
| 17974 | my $C = shift; | ||
| 17975 | $C->sibble( $C->cursor_fresh( $::LANG{'Regex'} ), $C->cursor_fresh( $::LANG{'Q'} )->tweak('qq' => 1)) | ||
| 17976 | }))) { | ||
| 17977 | $C->_SUBSUMEr(['p5rx_mods'], sub { | ||
| 17978 | my $C = shift; | ||
| 17979 | $C->p5rx_mods | ||
| 17980 | }) | ||
| 17981 | } else { () } | ||
| 17982 | |||
| 17983 | }); | ||
| 17984 | } | ||
| 17985 | ; | ||
| 17986 | ## token quote:tr { | ||
| 17987 | sub quote__S_127tr__PEEK { $_[0]->_AUTOLEXpeek('quote__S_127tr', $retree) } | ||
| 17988 | sub quote__S_127tr { | ||
| 17989 | no warnings 'recursion'; | ||
| 17990 | my $self = shift; | ||
| 17991 | |||
| 17992 | |||
| 17993 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 17994 | |||
| 17995 | my $C = $self->cursor_xact("RULE quote__S_127tr"); | ||
| 17996 | my $xact = $C->xact; | ||
| 17997 | my $S = $C->{'_pos'}; | ||
| 17998 | $C->{sym} = "tr"; | ||
| 17999 | $self->_MATCHIFYr($S, "quote__S_127tr", do { | ||
| 18000 | my $C = $C; | ||
| 18001 | if (($C) = ($C->_PATTERN(qr/\Gtr\b/)) | ||
| 18002 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 18003 | my $C=shift; | ||
| 18004 | if (my ($C) = ($C->before(sub { | ||
| 18005 | my $C=shift; | ||
| 18006 | $C->_EXACT("\(") | ||
| 18007 | }))) { ($C) } else { () } | ||
| 18008 | })) | ||
| 18009 | and ($C) = ($C->_SUBSUMEr(['pat','tribble'], sub { | ||
| 18010 | my $C = shift; | ||
| 18011 | $C->tribble( $C->cursor_fresh( $::LANG{'Q'} )->tweak('q' => 1)) | ||
| 18012 | }))) { | ||
| 18013 | $C->_SUBSUMEr(['p5tr_mods'], sub { | ||
| 18014 | my $C = shift; | ||
| 18015 | $C->p5tr_mods | ||
| 18016 | }) | ||
| 18017 | } else { () } | ||
| 18018 | |||
| 18019 | }); | ||
| 18020 | } | ||
| 18021 | ; | ||
| 18022 | ## token p5rx_mods { | ||
| 18023 | sub p5rx_mods__PEEK { $_[0]->_AUTOLEXpeek('p5rx_mods', $retree) } | ||
| 18024 | sub p5rx_mods { | ||
| 18025 | no warnings 'recursion'; | ||
| 18026 | my $self = shift; | ||
| 18027 | |||
| 18028 | |||
| 18029 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18030 | |||
| 18031 | my $C = $self->cursor_xact("RULE p5rx_mods"); | ||
| 18032 | my $xact = $C->xact; | ||
| 18033 | my $S = $C->{'_pos'}; | ||
| 18034 | $self->_MATCHIFYr($S, "p5rx_mods", do { | ||
| 18035 | if (my ($C) = ($C->_NOTBEFORE(sub { | ||
| 18036 | my $C=shift; | ||
| 18037 | if (my ($C) = ($C->after(sub { | ||
| 18038 | my $C=shift; | ||
| 18039 | $C->_PATTERN(qr/\G(?<=\w)/) | ||
| 18040 | }))) { ($C) } else { () } | ||
| 18041 | }))) { | ||
| 18042 | $C->_SUBSUMEr(['0'], sub { | ||
| 18043 | my $C = shift; | ||
| 18044 | $C->_PAREN( sub { | ||
| 18045 | my $C=shift; | ||
| 18046 | $C->_PLUSr(sub { | ||
| 18047 | my $C=shift; | ||
| 18048 | if (my ($C) = ($C->_ARRAY( qw< i g s m x c e > ))) { ($C) } else { () } | ||
| 18049 | }) | ||
| 18050 | |||
| 18051 | }) | ||
| 18052 | }) | ||
| 18053 | } else { () } | ||
| 18054 | |||
| 18055 | }); | ||
| 18056 | } | ||
| 18057 | ; | ||
| 18058 | ## token p5tr_mods { | ||
| 18059 | sub p5tr_mods__PEEK { $_[0]->_AUTOLEXpeek('p5tr_mods', $retree) } | ||
| 18060 | sub p5tr_mods { | ||
| 18061 | no warnings 'recursion'; | ||
| 18062 | my $self = shift; | ||
| 18063 | |||
| 18064 | |||
| 18065 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18066 | |||
| 18067 | my $C = $self->cursor_xact("RULE p5tr_mods"); | ||
| 18068 | my $xact = $C->xact; | ||
| 18069 | my $S = $C->{'_pos'}; | ||
| 18070 | $self->_MATCHIFYr($S, "p5tr_mods", $C->_SUBSUMEr(['0'], sub { | ||
| 18071 | my $C = shift; | ||
| 18072 | $C->_PAREN( sub { | ||
| 18073 | my $C=shift; | ||
| 18074 | $C->_PLUSr(sub { | ||
| 18075 | my $C=shift; | ||
| 18076 | if (my ($C) = ($C->_ARRAY( qw< c d s ] > ))) { ($C) } else { () } | ||
| 18077 | }) | ||
| 18078 | |||
| 18079 | }) | ||
| 18080 | })); | ||
| 18081 | } | ||
| 18082 | ; | ||
| 18083 | ## method peek_delimiters | ||
| 18084 | sub peek_delimiters { | ||
| 18085 | no warnings 'recursion'; | ||
| 18086 | my $self = shift; | ||
| 18087 | my $pos = $self->{'_pos'}; | ||
| 18088 | my $startpos = $pos; | ||
| 18089 | my $char = substr($::ORIG,$pos++,1); | ||
| 18090 | if ($char =~ /^\s$/) { | ||
| 18091 | $self->panic("Whitespace character is not allowed as delimiter")} | ||
| 18092 | elsif ($char =~ /^\w$/) { | ||
| 18093 | $self->panic("Alphanumeric character is not allowed as delimiter")} | ||
| 18094 | elsif ($STD::close2open{$char}) { | ||
| 18095 | $self->panic("Use of a closing delimiter for an opener is reserved")}; | ||
| 18096 | my $rightbrack = $STD::open2close{$char}; | ||
| 18097 | if (not defined $rightbrack) { | ||
| 18098 | return $char, $char}; | ||
| 18099 | while (substr($::ORIG,$pos,1) eq $char) { | ||
| 18100 | $pos++} | ||
| 18101 | ; | ||
| 18102 | my $len = $pos - $startpos; | ||
| 18103 | my $start = $char x $len; | ||
| 18104 | my $stop = $rightbrack x $len; | ||
| 18105 | return $start, $stop; | ||
| 18106 | }; | ||
| 18107 | { package STD::P5::startstop; | ||
| 18108 | require "mangle.pl"; | ||
| 18109 | our %INSTANTIATED; | ||
| 18110 | sub __instantiate__ { my $self = shift; | ||
| 18111 | my ($start, $stop) = @_; | ||
| 18112 | my $mangle = ::mangle($start, $stop); | ||
| 18113 | my $mixin = "STD::P5::startstop::" . $mangle; | ||
| 18114 | return $mixin if $INSTANTIATED{$mixin}++; | ||
| 18115 | ::deb(" instantiating $mixin") if $::DEBUG & DEBUG::mixins; | ||
| 18116 | my $eval = "package $mixin" . q{; | ||
| 18117 | sub _PARAMS { { '$start' => $start, '$stop' => $stop } } | ||
| 18118 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 18119 | use Encode; | ||
| 18120 | our $ALLROLES = { 'STD::P5::startstop', 1 }; | ||
| 18121 | our $REGEXES = { | ||
| 18122 | ALL => [ qw/starter stopper/ ], | ||
| 18123 | }; | ||
| 18124 | |||
| 18125 | |||
| 18126 | no warnings 'qw', 'recursion'; | ||
| 18127 | my $retree; | ||
| 18128 | |||
| 18129 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 18130 | |||
| 18131 | use YAML::XS; | ||
| 18132 | |||
| 18133 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 18134 | " } if $::DEBUG; | ||
| 18135 | |||
| 18136 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 18137 | --- | ||
| 18138 | starter: !!perl/hash:RE_ast | ||
| 18139 | dba: starter | ||
| 18140 | dic: STD::P5::startstop | ||
| 18141 | re: !!perl/hash:RE_var | ||
| 18142 | var: $start | ||
| 18143 | stopper: !!perl/hash:RE_ast | ||
| 18144 | dba: stopper | ||
| 18145 | dic: STD::P5::startstop | ||
| 18146 | re: !!perl/hash:RE_var | ||
| 18147 | var: $stop | ||
| 18148 | RETREE_END | ||
| 18149 | ## token starter { $start } | ||
| 18150 | sub starter__PEEK { $_[0]->_AUTOLEXpeek('starter', $retree) } | ||
| 18151 | sub starter { | ||
| 18152 | no warnings 'recursion'; | ||
| 18153 | my $self = shift; | ||
| 18154 | |||
| 18155 | |||
| 18156 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18157 | |||
| 18158 | my $C = $self->cursor_xact("RULE starter"); | ||
| 18159 | my $xact = $C->xact; | ||
| 18160 | my $S = $C->{'_pos'}; | ||
| 18161 | $self->_MATCHIFYr($S, "starter", $C->_EXACT($start)); | ||
| 18162 | } | ||
| 18163 | ; | ||
| 18164 | ## token stopper { $stop } | ||
| 18165 | sub stopper__PEEK { $_[0]->_AUTOLEXpeek('stopper', $retree) } | ||
| 18166 | sub stopper { | ||
| 18167 | no warnings 'recursion'; | ||
| 18168 | my $self = shift; | ||
| 18169 | |||
| 18170 | |||
| 18171 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18172 | |||
| 18173 | my $C = $self->cursor_xact("RULE stopper"); | ||
| 18174 | my $xact = $C->xact; | ||
| 18175 | my $S = $C->{'_pos'}; | ||
| 18176 | $self->_MATCHIFYr($S, "stopper", $C->_EXACT($stop)); | ||
| 18177 | } | ||
| 18178 | ; | ||
| 18179 | }; | ||
| 18180 | eval $eval; | ||
| 18181 | die $@ if $@; | ||
| 18182 | return $mixin; | ||
| 18183 | } | ||
| 18184 | 1; }; | ||
| 18185 | { package STD::P5::stop; | ||
| 18186 | require "mangle.pl"; | ||
| 18187 | our %INSTANTIATED; | ||
| 18188 | sub __instantiate__ { my $self = shift; | ||
| 18189 | my ($stop) = @_; | ||
| 18190 | my $mangle = ::mangle($stop); | ||
| 18191 | my $mixin = "STD::P5::stop::" . $mangle; | ||
| 18192 | return $mixin if $INSTANTIATED{$mixin}++; | ||
| 18193 | ::deb(" instantiating $mixin") if $::DEBUG & DEBUG::mixins; | ||
| 18194 | my $eval = "package $mixin" . q{; | ||
| 18195 | sub _PARAMS { { '$stop' => $stop } } | ||
| 18196 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 18197 | use Encode; | ||
| 18198 | our $ALLROLES = { 'STD::P5::stop', 1 }; | ||
| 18199 | our $REGEXES = { | ||
| 18200 | ALL => [ qw/starter stopper/ ], | ||
| 18201 | }; | ||
| 18202 | |||
| 18203 | |||
| 18204 | no warnings 'qw', 'recursion'; | ||
| 18205 | my $retree; | ||
| 18206 | |||
| 18207 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 18208 | |||
| 18209 | use YAML::XS; | ||
| 18210 | |||
| 18211 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 18212 | " } if $::DEBUG; | ||
| 18213 | |||
| 18214 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 18215 | --- | ||
| 18216 | starter: !!perl/hash:RE_ast | ||
| 18217 | dba: starter | ||
| 18218 | dic: STD::P5::stop | ||
| 18219 | re: !!perl/hash:RE_assertion | ||
| 18220 | assert: '!' | ||
| 18221 | re: !!perl/hash:RE_noop | ||
| 18222 | nobind: 1 | ||
| 18223 | stopper: !!perl/hash:RE_ast | ||
| 18224 | dba: stopper | ||
| 18225 | dic: STD::P5::stop | ||
| 18226 | re: !!perl/hash:RE_var | ||
| 18227 | var: $stop | ||
| 18228 | RETREE_END | ||
| 18229 | ## token starter { <!> } | ||
| 18230 | sub starter__PEEK { $_[0]->_AUTOLEXpeek('starter', $retree) } | ||
| 18231 | sub starter { | ||
| 18232 | no warnings 'recursion'; | ||
| 18233 | my $self = shift; | ||
| 18234 | |||
| 18235 | |||
| 18236 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18237 | |||
| 18238 | my $C = $self->cursor_xact("RULE starter"); | ||
| 18239 | my $xact = $C->xact; | ||
| 18240 | my $S = $C->{'_pos'}; | ||
| 18241 | $self->_MATCHIFYr($S, "starter", $C->_NOTBEFORE(sub { | ||
| 18242 | my $C=shift; | ||
| 18243 | $C | ||
| 18244 | })); | ||
| 18245 | } | ||
| 18246 | ; | ||
| 18247 | ## token stopper { $stop } | ||
| 18248 | sub stopper__PEEK { $_[0]->_AUTOLEXpeek('stopper', $retree) } | ||
| 18249 | sub stopper { | ||
| 18250 | no warnings 'recursion'; | ||
| 18251 | my $self = shift; | ||
| 18252 | |||
| 18253 | |||
| 18254 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18255 | |||
| 18256 | my $C = $self->cursor_xact("RULE stopper"); | ||
| 18257 | my $xact = $C->xact; | ||
| 18258 | my $S = $C->{'_pos'}; | ||
| 18259 | $self->_MATCHIFYr($S, "stopper", $C->_EXACT($stop)); | ||
| 18260 | } | ||
| 18261 | ; | ||
| 18262 | }; | ||
| 18263 | eval $eval; | ||
| 18264 | die $@ if $@; | ||
| 18265 | return $mixin; | ||
| 18266 | } | ||
| 18267 | 1; }; | ||
| 18268 | { package STD::P5::unitstop; | ||
| 18269 | require "mangle.pl"; | ||
| 18270 | our %INSTANTIATED; | ||
| 18271 | sub __instantiate__ { my $self = shift; | ||
| 18272 | my ($stop) = @_; | ||
| 18273 | my $mangle = ::mangle($stop); | ||
| 18274 | my $mixin = "STD::P5::unitstop::" . $mangle; | ||
| 18275 | return $mixin if $INSTANTIATED{$mixin}++; | ||
| 18276 | ::deb(" instantiating $mixin") if $::DEBUG & DEBUG::mixins; | ||
| 18277 | my $eval = "package $mixin" . q{; | ||
| 18278 | sub _PARAMS { { '$stop' => $stop } } | ||
| 18279 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 18280 | use Encode; | ||
| 18281 | our $ALLROLES = { 'STD::P5::unitstop', 1 }; | ||
| 18282 | our $REGEXES = { | ||
| 18283 | ALL => [ qw/unitstopper/ ], | ||
| 18284 | }; | ||
| 18285 | |||
| 18286 | |||
| 18287 | no warnings 'qw', 'recursion'; | ||
| 18288 | my $retree; | ||
| 18289 | |||
| 18290 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 18291 | |||
| 18292 | use YAML::XS; | ||
| 18293 | |||
| 18294 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 18295 | " } if $::DEBUG; | ||
| 18296 | |||
| 18297 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 18298 | --- | ||
| 18299 | unitstopper: !!perl/hash:RE_ast | ||
| 18300 | dba: unitstopper | ||
| 18301 | dic: STD::P5::unitstop | ||
| 18302 | re: !!perl/hash:RE_var | ||
| 18303 | var: $stop | ||
| 18304 | RETREE_END | ||
| 18305 | ## token unitstopper { $stop } | ||
| 18306 | sub unitstopper__PEEK { $_[0]->_AUTOLEXpeek('unitstopper', $retree) } | ||
| 18307 | sub unitstopper { | ||
| 18308 | no warnings 'recursion'; | ||
| 18309 | my $self = shift; | ||
| 18310 | |||
| 18311 | |||
| 18312 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18313 | |||
| 18314 | my $C = $self->cursor_xact("RULE unitstopper"); | ||
| 18315 | my $xact = $C->xact; | ||
| 18316 | my $S = $C->{'_pos'}; | ||
| 18317 | $self->_MATCHIFYr($S, "unitstopper", $C->_EXACT($stop)); | ||
| 18318 | } | ||
| 18319 | }; | ||
| 18320 | eval $eval; | ||
| 18321 | die $@ if $@; | ||
| 18322 | return $mixin; | ||
| 18323 | } | ||
| 18324 | 1; }; | ||
| 18325 | ## token unitstopper { $ } | ||
| 18326 | sub unitstopper__PEEK { $_[0]->_AUTOLEXpeek('unitstopper', $retree) } | ||
| 18327 | sub unitstopper { | ||
| 18328 | no warnings 'recursion'; | ||
| 18329 | my $self = shift; | ||
| 18330 | |||
| 18331 | |||
| 18332 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18333 | |||
| 18334 | my $C = $self->cursor_xact("RULE unitstopper"); | ||
| 18335 | my $xact = $C->xact; | ||
| 18336 | my $S = $C->{'_pos'}; | ||
| 18337 | $self->_MATCHIFYr($S, "unitstopper", $C->_PATTERN(qr/\G\z/)); | ||
| 18338 | } | ||
| 18339 | ; | ||
| 18340 | ## method balanced ($start,$stop) | ||
| 18341 | sub balanced { | ||
| 18342 | no warnings 'recursion'; | ||
| 18343 | my $self = shift; | ||
| 18344 | die 'Required argument start omitted' unless @_; | ||
| 18345 | my $start = @_ ? shift() : undef; | ||
| 18346 | die 'Required argument stop omitted' unless @_; | ||
| 18347 | my $stop = @_ ? shift() : undef; | ||
| 18348 | $self->mixin( STD::P5::startstop->__instantiate__($start,$stop) )}; | ||
| 18349 | ## method unbalanced ($stop) | ||
| 18350 | sub unbalanced { | ||
| 18351 | no warnings 'recursion'; | ||
| 18352 | my $self = shift; | ||
| 18353 | die 'Required argument stop omitted' unless @_; | ||
| 18354 | my $stop = @_ ? shift() : undef; | ||
| 18355 | $self->mixin( STD::P5::stop->__instantiate__($stop) )}; | ||
| 18356 | ## method unitstop ($stop) | ||
| 18357 | sub unitstop { | ||
| 18358 | no warnings 'recursion'; | ||
| 18359 | my $self = shift; | ||
| 18360 | die 'Required argument stop omitted' unless @_; | ||
| 18361 | my $stop = @_ ? shift() : undef; | ||
| 18362 | $self->mixin( STD::P5::unitstop->__instantiate__($stop) )}; | ||
| 18363 | ## token charname { | ||
| 18364 | sub charname__PEEK { $_[0]->_AUTOLEXpeek('charname', $retree) } | ||
| 18365 | sub charname { | ||
| 18366 | no warnings 'recursion'; | ||
| 18367 | my $self = shift; | ||
| 18368 | |||
| 18369 | |||
| 18370 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18371 | |||
| 18372 | my $C = $self->cursor_xact("RULE charname"); | ||
| 18373 | my $xact = $C->xact; | ||
| 18374 | my $S = $C->{'_pos'}; | ||
| 18375 | $self->_MATCHIFYr($S, "charname", do { my $C = $C->cursor_xact('ALT ||'); | ||
| 18376 | my $xact = $C->xact; | ||
| 18377 | my @gather; | ||
| 18378 | do { | ||
| 18379 | push @gather, do { | ||
| 18380 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 18381 | my $C=shift; | ||
| 18382 | do { | ||
| 18383 | my ($tag, $try); | ||
| 18384 | my @try; | ||
| 18385 | my $relex; | ||
| 18386 | |||
| 18387 | my $fate; | ||
| 18388 | my $x; | ||
| 18389 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'charname_0') { | ||
| 18390 | $C->deb("Fate passed to charname_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 18391 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 18392 | @try = ($try); | ||
| 18393 | $x = 'ALT charname_0'; # some outer ltm is controlling us | ||
| 18394 | } | ||
| 18395 | else { | ||
| 18396 | $x = 'ALTLTM charname_0'; # we are top level ltm | ||
| 18397 | } | ||
| 18398 | my $C = $C->cursor_xact($x); | ||
| 18399 | my $xact = $C->{_xact}; | ||
| 18400 | |||
| 18401 | my @gather = (); | ||
| 18402 | for (;;) { | ||
| 18403 | unless (@try) { | ||
| 18404 | $relex //= $C->cursor_fate('STD::STD::P5', 'charname_0', $retree); | ||
| 18405 | @try = $relex->($C) or last; | ||
| 18406 | } | ||
| 18407 | $try = shift(@try) // next; | ||
| 18408 | |||
| 18409 | if (ref $try) { | ||
| 18410 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 18411 | } | ||
| 18412 | |||
| 18413 | $C->deb("charname_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 18414 | push @gather, (( | ||
| 18415 | sub { | ||
| 18416 | my $C=shift; | ||
| 18417 | $C->_SUBSUMEr(['radint'], sub { | ||
| 18418 | my $C = shift; | ||
| 18419 | $C->radint | ||
| 18420 | }) | ||
| 18421 | }, | ||
| 18422 | sub { | ||
| 18423 | my $C=shift; | ||
| 18424 | if (my ($C) = (do { | ||
| 18425 | if (my ($C) = ($C->_PATTERN(qr/\G[a-zA-Z]/))) { | ||
| 18426 | STD::LazyMap::lazymap(sub { | ||
| 18427 | my $C=shift; | ||
| 18428 | if (($C) = ($C->_PATTERN(qr/\G[a-zA-Z)]/)) | ||
| 18429 | and ($C) = ($C->before(sub { | ||
| 18430 | my $C=shift; | ||
| 18431 | if (my ($C) = ($C->before(sub { | ||
| 18432 | my $C=shift; | ||
| 18433 | $C->_PATTERN(qr/\G\s*+[\],\#]/) | ||
| 18434 | }))) { ($C) } else { () } | ||
| 18435 | }))) { | ||
| 18436 | $C | ||
| 18437 | } else { () } | ||
| 18438 | }, | ||
| 18439 | $C->_STARf(sub { | ||
| 18440 | my $C=shift; | ||
| 18441 | $C->_PATTERN(qr/\G[^\],\#]/) | ||
| 18442 | })) | ||
| 18443 | } else { () } | ||
| 18444 | |||
| 18445 | })) { ($C) } else { () } | ||
| 18446 | } | ||
| 18447 | )[$try])->($C); | ||
| 18448 | last if @gather; | ||
| 18449 | last if $xact->[-2]; # committed? | ||
| 18450 | } | ||
| 18451 | @gather; | ||
| 18452 | }; | ||
| 18453 | }))) { ($C) } else { () } | ||
| 18454 | |||
| 18455 | } | ||
| 18456 | } | ||
| 18457 | or $xact->[-2] or | ||
| 18458 | do { | ||
| 18459 | push @gather, do { | ||
| 18460 | if (my ($C) = ($C->panic("Unrecognized character name"))) { ($C) } else { () } | ||
| 18461 | |||
| 18462 | } | ||
| 18463 | }; | ||
| 18464 | @gather; | ||
| 18465 | }); | ||
| 18466 | } | ||
| 18467 | ; | ||
| 18468 | ## token charnames { [<.ws><charname><.ws>] ** ',' } | ||
| 18469 | sub charnames__PEEK { $_[0]->_AUTOLEXpeek('charnames', $retree) } | ||
| 18470 | sub charnames { | ||
| 18471 | no warnings 'recursion'; | ||
| 18472 | my $self = shift; | ||
| 18473 | |||
| 18474 | |||
| 18475 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18476 | |||
| 18477 | my $C = $self->cursor_xact("RULE charnames"); | ||
| 18478 | my $xact = $C->xact; | ||
| 18479 | my $S = $C->{'_pos'}; | ||
| 18480 | $C->{'charname'} = []; | ||
| 18481 | $self->_MATCHIFYr($S, "charnames", $C->_REPSEPr( sub { | ||
| 18482 | my $C=shift; | ||
| 18483 | $C->_EXACT("\,") | ||
| 18484 | }, sub { | ||
| 18485 | my $C=shift; | ||
| 18486 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 18487 | my $C=shift; | ||
| 18488 | if (($C) = ($C->ws) | ||
| 18489 | and ($C) = ($C->_SUBSUMEr(['charname'], sub { | ||
| 18490 | my $C = shift; | ||
| 18491 | $C->charname | ||
| 18492 | })) | ||
| 18493 | and ($C) = ($C->ws)) { | ||
| 18494 | $C | ||
| 18495 | } else { () } | ||
| 18496 | }))) { ($C) } else { () } | ||
| 18497 | })); | ||
| 18498 | } | ||
| 18499 | ; | ||
| 18500 | ## token charspec { | ||
| 18501 | sub charspec__PEEK { $_[0]->_AUTOLEXpeek('charspec', $retree) } | ||
| 18502 | sub charspec { | ||
| 18503 | no warnings 'recursion'; | ||
| 18504 | my $self = shift; | ||
| 18505 | |||
| 18506 | |||
| 18507 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18508 | |||
| 18509 | my $C = $self->cursor_xact("RULE charspec"); | ||
| 18510 | my $xact = $C->xact; | ||
| 18511 | my $S = $C->{'_pos'}; | ||
| 18512 | $self->_MATCHIFYr($S, "charspec", $C->_BRACKETr(sub { | ||
| 18513 | my $C=shift; | ||
| 18514 | do { | ||
| 18515 | my ($tag, $try); | ||
| 18516 | my @try; | ||
| 18517 | my $relex; | ||
| 18518 | |||
| 18519 | my $fate; | ||
| 18520 | my $x; | ||
| 18521 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'charspec_0') { | ||
| 18522 | $C->deb("Fate passed to charspec_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 18523 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 18524 | @try = ($try); | ||
| 18525 | $x = 'ALT charspec_0'; # some outer ltm is controlling us | ||
| 18526 | } | ||
| 18527 | else { | ||
| 18528 | $x = 'ALTLTM charspec_0'; # we are top level ltm | ||
| 18529 | } | ||
| 18530 | my $C = $C->cursor_xact($x); | ||
| 18531 | my $xact = $C->{_xact}; | ||
| 18532 | |||
| 18533 | my @gather = (); | ||
| 18534 | for (;;) { | ||
| 18535 | unless (@try) { | ||
| 18536 | $relex //= $C->cursor_fate('STD::STD::P5', 'charspec_0', $retree); | ||
| 18537 | @try = $relex->($C) or last; | ||
| 18538 | } | ||
| 18539 | $try = shift(@try) // next; | ||
| 18540 | |||
| 18541 | if (ref $try) { | ||
| 18542 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 18543 | } | ||
| 18544 | |||
| 18545 | $C->deb("charspec_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 18546 | push @gather, (( | ||
| 18547 | sub { | ||
| 18548 | my $C=shift; | ||
| 18549 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 18550 | my $C=shift; | ||
| 18551 | local $::GOAL = "\]"; | ||
| 18552 | my $goalpos = $C; | ||
| 18553 | if (($C) = ($C->_EXACT("\[")) | ||
| 18554 | and ($C) = (scalar(do { | ||
| 18555 | }, $C)) | ||
| 18556 | and ($C) = ($C->_SUBSUMEr(['charnames'], sub { | ||
| 18557 | my $C = shift; | ||
| 18558 | $C->charnames | ||
| 18559 | })) | ||
| 18560 | and ($C) = ($C->_BRACKETr(sub { | ||
| 18561 | my $C=shift; | ||
| 18562 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 18563 | my $xact = $C->xact; | ||
| 18564 | my @gather; | ||
| 18565 | do { | ||
| 18566 | push @gather, $C->_EXACT("\]") | ||
| 18567 | } | ||
| 18568 | or $xact->[-2] or | ||
| 18569 | do { | ||
| 18570 | push @gather, do { | ||
| 18571 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'character name', $goalpos))) { ($C) } else { () } | ||
| 18572 | |||
| 18573 | } | ||
| 18574 | }; | ||
| 18575 | @gather; | ||
| 18576 | } | ||
| 18577 | }))) { | ||
| 18578 | $C | ||
| 18579 | } else { () } | ||
| 18580 | }))) { ($C) } else { () } | ||
| 18581 | }, | ||
| 18582 | sub { | ||
| 18583 | my $C=shift; | ||
| 18584 | $C->_PATTERN(qr/\G\d++/) | ||
| 18585 | }, | ||
| 18586 | sub { | ||
| 18587 | my $C=shift; | ||
| 18588 | $C->_PATTERN(qr/\G[?-Z\\-_]/) | ||
| 18589 | }, | ||
| 18590 | sub { | ||
| 18591 | my $C=shift; | ||
| 18592 | if (($C) = ($C->before(sub { | ||
| 18593 | my $C=shift; | ||
| 18594 | $C | ||
| 18595 | })) | ||
| 18596 | and ($C) = ($C->panic("Unrecognized \\c character"))) { | ||
| 18597 | $C | ||
| 18598 | } else { () } | ||
| 18599 | } | ||
| 18600 | )[$try])->($C); | ||
| 18601 | last if @gather; | ||
| 18602 | last if $xact->[-2]; # committed? | ||
| 18603 | } | ||
| 18604 | @gather; | ||
| 18605 | }; | ||
| 18606 | })); | ||
| 18607 | } | ||
| 18608 | ; | ||
| 18609 | ## method truly ($bool,$opt) | ||
| 18610 | sub truly { | ||
| 18611 | no warnings 'recursion'; | ||
| 18612 | my $self = shift; | ||
| 18613 | die 'Required argument bool omitted' unless @_; | ||
| 18614 | my $bool = @_ ? shift() : undef; | ||
| 18615 | die 'Required argument opt omitted' unless @_; | ||
| 18616 | my $opt = @_ ? shift() : undef; | ||
| 18617 | return $self if $bool; | ||
| 18618 | $self->panic("Can't negate $opt adverb"); | ||
| 18619 | }; | ||
| 18620 | { package STD::P5::Q; | ||
| 18621 | use Moose ':all' => { -prefix => "moose_" }; | ||
| 18622 | use Encode; | ||
| 18623 | moose_extends('STD'); | ||
| 18624 | our $ALLROLES = { 'STD::P5::Q', 1 }; | ||
| 18625 | our $REGEXES = { | ||
| 18626 | ALL => [ qw// ], | ||
| 18627 | }; | ||
| 18628 | |||
| 18629 | |||
| 18630 | no warnings 'qw', 'recursion'; | ||
| 18631 | my $retree; | ||
| 18632 | |||
| 18633 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 18634 | |||
| 18635 | use YAML::XS; | ||
| 18636 | |||
| 18637 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 18638 | " } if $::DEBUG; | ||
| 18639 | |||
| 18640 | { package STD::P5::Q::b1; | ||
| 18641 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 18642 | use Encode; | ||
| 18643 | our $ALLROLES = { 'STD::P5::Q::b1', 1 }; | ||
| 18644 | our $REGEXES = { | ||
| 18645 | ALL => [ qw/p5backslash p5escape/ ], | ||
| 18646 | p5backslash => [ qw/p5backslash__S_001qq__PEEK p5backslash__S_002Back__PEEK p5backslash__S_003stopper__PEEK p5backslash__S_004a__PEEK p5backslash__S_005b__PEEK p5backslash__S_006c__PEEK p5backslash__S_007e__PEEK p5backslash__S_008f__PEEK p5backslash__S_009n__PEEK p5backslash__S_010o__PEEK p5backslash__S_011r__PEEK p5backslash__S_012t__PEEK p5backslash__S_013x__PEEK p5backslash__S_0140__PEEK/ ], | ||
| 18647 | p5escape => [ qw/p5escape__S_000Back__PEEK/ ], | ||
| 18648 | }; | ||
| 18649 | |||
| 18650 | |||
| 18651 | no warnings 'qw', 'recursion'; | ||
| 18652 | my $retree; | ||
| 18653 | |||
| 18654 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 18655 | |||
| 18656 | use YAML::XS; | ||
| 18657 | |||
| 18658 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 18659 | " } if $::DEBUG; | ||
| 18660 | |||
| 18661 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 18662 | --- | ||
| 18663 | p5backslash__S_001qq: !!perl/hash:RE_ast | ||
| 18664 | dba: p5backslash | ||
| 18665 | dic: STD::P5::Q::b1 | ||
| 18666 | re: !!perl/hash:RE_sequence | ||
| 18667 | zyg: | ||
| 18668 | - !!perl/hash:RE_assertion | ||
| 18669 | assert: '?' | ||
| 18670 | re: !!perl/hash:RE_method_re | ||
| 18671 | name: before | ||
| 18672 | nobind: 1 | ||
| 18673 | re: !!perl/hash:RE_string | ||
| 18674 | i: 0 | ||
| 18675 | text: q | ||
| 18676 | - !!perl/hash:RE_block {} | ||
| 18677 | p5backslash__S_002Back: !!perl/hash:RE_ast | ||
| 18678 | dba: p5backslash | ||
| 18679 | dic: STD::P5::Q::b1 | ||
| 18680 | re: !!perl/hash:RE_bindnamed | ||
| 18681 | atom: !!perl/hash:RE_method | ||
| 18682 | i: 0 | ||
| 18683 | name: sym | ||
| 18684 | rest: '' | ||
| 18685 | sym: \ | ||
| 18686 | p5backslash__S_003stopper: !!perl/hash:RE_ast | ||
| 18687 | dba: p5backslash | ||
| 18688 | dic: STD::P5::Q::b1 | ||
| 18689 | re: !!perl/hash:RE_bindnamed | ||
| 18690 | atom: !!perl/hash:RE_method | ||
| 18691 | name: stopper | ||
| 18692 | rest: '' | ||
| 18693 | p5backslash__S_004a: !!perl/hash:RE_ast | ||
| 18694 | dba: p5backslash | ||
| 18695 | dic: STD::P5::Q::b1 | ||
| 18696 | re: !!perl/hash:RE_method | ||
| 18697 | i: 0 | ||
| 18698 | name: sym | ||
| 18699 | rest: '' | ||
| 18700 | sym: a | ||
| 18701 | p5backslash__S_005b: !!perl/hash:RE_ast | ||
| 18702 | dba: p5backslash | ||
| 18703 | dic: STD::P5::Q::b1 | ||
| 18704 | re: !!perl/hash:RE_method | ||
| 18705 | i: 0 | ||
| 18706 | name: sym | ||
| 18707 | rest: '' | ||
| 18708 | sym: b | ||
| 18709 | p5backslash__S_006c: !!perl/hash:RE_ast | ||
| 18710 | dba: p5backslash | ||
| 18711 | dic: STD::P5::Q::b1 | ||
| 18712 | re: !!perl/hash:RE_sequence | ||
| 18713 | zyg: | ||
| 18714 | - !!perl/hash:RE_method | ||
| 18715 | i: 0 | ||
| 18716 | name: sym | ||
| 18717 | rest: '' | ||
| 18718 | sym: c | ||
| 18719 | - !!perl/hash:RE_method | ||
| 18720 | name: charspec | ||
| 18721 | rest: '' | ||
| 18722 | p5backslash__S_007e: !!perl/hash:RE_ast | ||
| 18723 | dba: p5backslash | ||
| 18724 | dic: STD::P5::Q::b1 | ||
| 18725 | re: !!perl/hash:RE_method | ||
| 18726 | i: 0 | ||
| 18727 | name: sym | ||
| 18728 | rest: '' | ||
| 18729 | sym: e | ||
| 18730 | p5backslash__S_008f: !!perl/hash:RE_ast | ||
| 18731 | dba: p5backslash | ||
| 18732 | dic: STD::P5::Q::b1 | ||
| 18733 | re: !!perl/hash:RE_method | ||
| 18734 | i: 0 | ||
| 18735 | name: sym | ||
| 18736 | rest: '' | ||
| 18737 | sym: f | ||
| 18738 | p5backslash__S_009n: !!perl/hash:RE_ast | ||
| 18739 | dba: p5backslash | ||
| 18740 | dic: STD::P5::Q::b1 | ||
| 18741 | re: !!perl/hash:RE_method | ||
| 18742 | i: 0 | ||
| 18743 | name: sym | ||
| 18744 | rest: '' | ||
| 18745 | sym: n | ||
| 18746 | p5backslash__S_010o: !!perl/hash:RE_ast | ||
| 18747 | dba: octal character | ||
| 18748 | dic: STD::P5::Q::b1 | ||
| 18749 | re: !!perl/hash:RE_sequence | ||
| 18750 | zyg: | ||
| 18751 | - !!perl/hash:RE_method | ||
| 18752 | i: 0 | ||
| 18753 | name: sym | ||
| 18754 | rest: '' | ||
| 18755 | sym: o | ||
| 18756 | - !!perl/hash:RE_bracket | ||
| 18757 | re: &1 !!perl/hash:RE_any | ||
| 18758 | altname: p5backslash__S_010o_0 | ||
| 18759 | dba: octal character | ||
| 18760 | dic: STD::P5::Q::b1 | ||
| 18761 | zyg: | ||
| 18762 | - !!perl/hash:RE_method | ||
| 18763 | alt: p5backslash__S_010o_0 0 | ||
| 18764 | name: octint | ||
| 18765 | rest: '' | ||
| 18766 | - !!perl/hash:RE_bracket | ||
| 18767 | alt: p5backslash__S_010o_0 1 | ||
| 18768 | re: !!perl/hash:RE_sequence | ||
| 18769 | zyg: | ||
| 18770 | - !!perl/hash:RE_string | ||
| 18771 | i: 0 | ||
| 18772 | text: '[' | ||
| 18773 | - !!perl/hash:RE_block {} | ||
| 18774 | - !!perl/hash:RE_method | ||
| 18775 | name: octints | ||
| 18776 | rest: '' | ||
| 18777 | - !!perl/hash:RE_bracket | ||
| 18778 | re: !!perl/hash:RE_first | ||
| 18779 | zyg: | ||
| 18780 | - !!perl/hash:RE_string | ||
| 18781 | i: 0 | ||
| 18782 | text: ']' | ||
| 18783 | - !!perl/hash:RE_method | ||
| 18784 | name: FAILGOAL | ||
| 18785 | rest: 1 | ||
| 18786 | p5backslash__S_010o_0: *1 | ||
| 18787 | p5backslash__S_011r: !!perl/hash:RE_ast | ||
| 18788 | dba: p5backslash | ||
| 18789 | dic: STD::P5::Q::b1 | ||
| 18790 | re: !!perl/hash:RE_method | ||
| 18791 | i: 0 | ||
| 18792 | name: sym | ||
| 18793 | rest: '' | ||
| 18794 | sym: r | ||
| 18795 | p5backslash__S_012t: !!perl/hash:RE_ast | ||
| 18796 | dba: p5backslash | ||
| 18797 | dic: STD::P5::Q::b1 | ||
| 18798 | re: !!perl/hash:RE_method | ||
| 18799 | i: 0 | ||
| 18800 | name: sym | ||
| 18801 | rest: '' | ||
| 18802 | sym: t | ||
| 18803 | p5backslash__S_013x: !!perl/hash:RE_ast | ||
| 18804 | dba: hex character | ||
| 18805 | dic: STD::P5::Q::b1 | ||
| 18806 | re: !!perl/hash:RE_sequence | ||
| 18807 | zyg: | ||
| 18808 | - !!perl/hash:RE_method | ||
| 18809 | i: 0 | ||
| 18810 | name: sym | ||
| 18811 | rest: '' | ||
| 18812 | sym: x | ||
| 18813 | - !!perl/hash:RE_bracket | ||
| 18814 | re: &2 !!perl/hash:RE_any | ||
| 18815 | altname: p5backslash__S_013x_0 | ||
| 18816 | dba: hex character | ||
| 18817 | dic: STD::P5::Q::b1 | ||
| 18818 | zyg: | ||
| 18819 | - !!perl/hash:RE_method | ||
| 18820 | alt: p5backslash__S_013x_0 0 | ||
| 18821 | name: hexint | ||
| 18822 | rest: '' | ||
| 18823 | - !!perl/hash:RE_bracket | ||
| 18824 | alt: p5backslash__S_013x_0 1 | ||
| 18825 | re: !!perl/hash:RE_sequence | ||
| 18826 | zyg: | ||
| 18827 | - !!perl/hash:RE_string | ||
| 18828 | i: 0 | ||
| 18829 | text: '[' | ||
| 18830 | - !!perl/hash:RE_block {} | ||
| 18831 | - !!perl/hash:RE_method | ||
| 18832 | name: hexints | ||
| 18833 | rest: '' | ||
| 18834 | - !!perl/hash:RE_bracket | ||
| 18835 | re: !!perl/hash:RE_first | ||
| 18836 | zyg: | ||
| 18837 | - !!perl/hash:RE_string | ||
| 18838 | i: 0 | ||
| 18839 | text: ']' | ||
| 18840 | - !!perl/hash:RE_method | ||
| 18841 | name: FAILGOAL | ||
| 18842 | rest: 1 | ||
| 18843 | p5backslash__S_013x_0: *2 | ||
| 18844 | p5backslash__S_0140: !!perl/hash:RE_ast | ||
| 18845 | dba: p5backslash | ||
| 18846 | dic: STD::P5::Q::b1 | ||
| 18847 | re: !!perl/hash:RE_method | ||
| 18848 | i: 0 | ||
| 18849 | name: sym | ||
| 18850 | rest: '' | ||
| 18851 | sym: '0' | ||
| 18852 | p5escape__S_000Back: !!perl/hash:RE_ast | ||
| 18853 | dba: p5escape | ||
| 18854 | dic: STD::P5::Q::b1 | ||
| 18855 | re: !!perl/hash:RE_sequence | ||
| 18856 | zyg: | ||
| 18857 | - !!perl/hash:RE_method | ||
| 18858 | i: 0 | ||
| 18859 | name: sym | ||
| 18860 | rest: '' | ||
| 18861 | sym: \ | ||
| 18862 | - !!perl/hash:RE_bindnamed | ||
| 18863 | atom: !!perl/hash:RE_method | ||
| 18864 | name: p5backslash | ||
| 18865 | rest: '' | ||
| 18866 | RETREE_END | ||
| 18867 | ## token p5escape:sym<\\> { <sym> <item=p5backslash> } | ||
| 18868 | sub p5escape__S_000Back__PEEK { $_[0]->_AUTOLEXpeek('p5escape__S_000Back', $retree) } | ||
| 18869 | sub p5escape__S_000Back { | ||
| 18870 | no warnings 'recursion'; | ||
| 18871 | my $self = shift; | ||
| 18872 | |||
| 18873 | |||
| 18874 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18875 | |||
| 18876 | my $C = $self->cursor_xact("RULE p5escape__S_000Back"); | ||
| 18877 | my $xact = $C->xact; | ||
| 18878 | my $S = $C->{'_pos'}; | ||
| 18879 | $C->{sym} = "\\"; | ||
| 18880 | $self->_MATCHIFYr($S, "p5escape__S_000Back", do { | ||
| 18881 | if (my ($C) = ($C->_EXACT("\\"))) { | ||
| 18882 | $C->_SUBSUMEr(['item','p5backslash'], sub { | ||
| 18883 | my $C = shift; | ||
| 18884 | $C->p5backslash | ||
| 18885 | }) | ||
| 18886 | } else { () } | ||
| 18887 | |||
| 18888 | }); | ||
| 18889 | } | ||
| 18890 | ; | ||
| 18891 | ## token p5backslash:qq { <?before 'q'> { $<quote> = $¢.cursor_fresh(%*LANG<MAIN>).quote(); } } | ||
| 18892 | sub p5backslash__S_001qq__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_001qq', $retree) } | ||
| 18893 | sub p5backslash__S_001qq { | ||
| 18894 | no warnings 'recursion'; | ||
| 18895 | my $self = shift; | ||
| 18896 | |||
| 18897 | |||
| 18898 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18899 | |||
| 18900 | my $C = $self->cursor_xact("RULE p5backslash__S_001qq"); | ||
| 18901 | my $xact = $C->xact; | ||
| 18902 | my $S = $C->{'_pos'}; | ||
| 18903 | $C->{sym} = "qq"; | ||
| 18904 | $self->_MATCHIFYr($S, "p5backslash__S_001qq", do { | ||
| 18905 | if (my ($C) = ($C->before(sub { | ||
| 18906 | my $C=shift; | ||
| 18907 | if (my ($C) = ($C->before(sub { | ||
| 18908 | my $C=shift; | ||
| 18909 | $C->_EXACT("q") | ||
| 18910 | }))) { ($C) } else { () } | ||
| 18911 | }))) { | ||
| 18912 | scalar(do { | ||
| 18913 | my $M = $C; | ||
| 18914 | $M->{'quote'} = $C->cursor_fresh($::LANG{'MAIN'})->quote()}, $C) | ||
| 18915 | } else { () } | ||
| 18916 | |||
| 18917 | }); | ||
| 18918 | } | ||
| 18919 | ; | ||
| 18920 | ## token p5backslash:sym<\\> { <text=sym> } | ||
| 18921 | sub p5backslash__S_002Back__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_002Back', $retree) } | ||
| 18922 | sub p5backslash__S_002Back { | ||
| 18923 | no warnings 'recursion'; | ||
| 18924 | my $self = shift; | ||
| 18925 | |||
| 18926 | |||
| 18927 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18928 | |||
| 18929 | my $C = $self->cursor_xact("RULE p5backslash__S_002Back"); | ||
| 18930 | my $xact = $C->xact; | ||
| 18931 | my $S = $C->{'_pos'}; | ||
| 18932 | $C->{sym} = "\\"; | ||
| 18933 | $self->_MATCHIFYr($S, "p5backslash__S_002Back", $C->_SUBSUMEr(['text'], sub { | ||
| 18934 | my $C = shift; | ||
| 18935 | $C->_EXACT("\\") | ||
| 18936 | })); | ||
| 18937 | } | ||
| 18938 | ; | ||
| 18939 | ## token p5backslash:stopper { <text=stopper> } | ||
| 18940 | sub p5backslash__S_003stopper__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_003stopper', $retree) } | ||
| 18941 | sub p5backslash__S_003stopper { | ||
| 18942 | no warnings 'recursion'; | ||
| 18943 | my $self = shift; | ||
| 18944 | |||
| 18945 | |||
| 18946 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18947 | |||
| 18948 | my $C = $self->cursor_xact("RULE p5backslash__S_003stopper"); | ||
| 18949 | my $xact = $C->xact; | ||
| 18950 | my $S = $C->{'_pos'}; | ||
| 18951 | $C->{sym} = "stopper"; | ||
| 18952 | $self->_MATCHIFYr($S, "p5backslash__S_003stopper", $C->_SUBSUMEr(['text','stopper'], sub { | ||
| 18953 | my $C = shift; | ||
| 18954 | $C->stopper | ||
| 18955 | })); | ||
| 18956 | } | ||
| 18957 | ; | ||
| 18958 | ## token p5backslash:a { <sym> } | ||
| 18959 | sub p5backslash__S_004a__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_004a', $retree) } | ||
| 18960 | sub p5backslash__S_004a { | ||
| 18961 | no warnings 'recursion'; | ||
| 18962 | my $self = shift; | ||
| 18963 | |||
| 18964 | |||
| 18965 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18966 | |||
| 18967 | my $C = $self->cursor_xact("RULE p5backslash__S_004a"); | ||
| 18968 | my $xact = $C->xact; | ||
| 18969 | my $S = $C->{'_pos'}; | ||
| 18970 | $C->{sym} = "a"; | ||
| 18971 | $self->_MATCHIFYr($S, "p5backslash__S_004a", $C->_EXACT("a")); | ||
| 18972 | } | ||
| 18973 | ; | ||
| 18974 | ## token p5backslash:b { <sym> } | ||
| 18975 | sub p5backslash__S_005b__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_005b', $retree) } | ||
| 18976 | sub p5backslash__S_005b { | ||
| 18977 | no warnings 'recursion'; | ||
| 18978 | my $self = shift; | ||
| 18979 | |||
| 18980 | |||
| 18981 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18982 | |||
| 18983 | my $C = $self->cursor_xact("RULE p5backslash__S_005b"); | ||
| 18984 | my $xact = $C->xact; | ||
| 18985 | my $S = $C->{'_pos'}; | ||
| 18986 | $C->{sym} = "b"; | ||
| 18987 | $self->_MATCHIFYr($S, "p5backslash__S_005b", $C->_EXACT("b")); | ||
| 18988 | } | ||
| 18989 | ; | ||
| 18990 | ## token p5backslash:c { <sym> <charspec> } | ||
| 18991 | sub p5backslash__S_006c__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_006c', $retree) } | ||
| 18992 | sub p5backslash__S_006c { | ||
| 18993 | no warnings 'recursion'; | ||
| 18994 | my $self = shift; | ||
| 18995 | |||
| 18996 | |||
| 18997 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 18998 | |||
| 18999 | my $C = $self->cursor_xact("RULE p5backslash__S_006c"); | ||
| 19000 | my $xact = $C->xact; | ||
| 19001 | my $S = $C->{'_pos'}; | ||
| 19002 | $C->{sym} = "c"; | ||
| 19003 | $self->_MATCHIFYr($S, "p5backslash__S_006c", do { | ||
| 19004 | if (my ($C) = ($C->_EXACT("c"))) { | ||
| 19005 | $C->_SUBSUMEr(['charspec'], sub { | ||
| 19006 | my $C = shift; | ||
| 19007 | $C->charspec | ||
| 19008 | }) | ||
| 19009 | } else { () } | ||
| 19010 | |||
| 19011 | }); | ||
| 19012 | } | ||
| 19013 | ; | ||
| 19014 | ## token p5backslash:e { <sym> } | ||
| 19015 | sub p5backslash__S_007e__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_007e', $retree) } | ||
| 19016 | sub p5backslash__S_007e { | ||
| 19017 | no warnings 'recursion'; | ||
| 19018 | my $self = shift; | ||
| 19019 | |||
| 19020 | |||
| 19021 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19022 | |||
| 19023 | my $C = $self->cursor_xact("RULE p5backslash__S_007e"); | ||
| 19024 | my $xact = $C->xact; | ||
| 19025 | my $S = $C->{'_pos'}; | ||
| 19026 | $C->{sym} = "e"; | ||
| 19027 | $self->_MATCHIFYr($S, "p5backslash__S_007e", $C->_EXACT("e")); | ||
| 19028 | } | ||
| 19029 | ; | ||
| 19030 | ## token p5backslash:f { <sym> } | ||
| 19031 | sub p5backslash__S_008f__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_008f', $retree) } | ||
| 19032 | sub p5backslash__S_008f { | ||
| 19033 | no warnings 'recursion'; | ||
| 19034 | my $self = shift; | ||
| 19035 | |||
| 19036 | |||
| 19037 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19038 | |||
| 19039 | my $C = $self->cursor_xact("RULE p5backslash__S_008f"); | ||
| 19040 | my $xact = $C->xact; | ||
| 19041 | my $S = $C->{'_pos'}; | ||
| 19042 | $C->{sym} = "f"; | ||
| 19043 | $self->_MATCHIFYr($S, "p5backslash__S_008f", $C->_EXACT("f")); | ||
| 19044 | } | ||
| 19045 | ; | ||
| 19046 | ## token p5backslash:n { <sym> } | ||
| 19047 | sub p5backslash__S_009n__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_009n', $retree) } | ||
| 19048 | sub p5backslash__S_009n { | ||
| 19049 | no warnings 'recursion'; | ||
| 19050 | my $self = shift; | ||
| 19051 | |||
| 19052 | |||
| 19053 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19054 | |||
| 19055 | my $C = $self->cursor_xact("RULE p5backslash__S_009n"); | ||
| 19056 | my $xact = $C->xact; | ||
| 19057 | my $S = $C->{'_pos'}; | ||
| 19058 | $C->{sym} = "n"; | ||
| 19059 | $self->_MATCHIFYr($S, "p5backslash__S_009n", $C->_EXACT("n")); | ||
| 19060 | } | ||
| 19061 | ; | ||
| 19062 | ## token p5backslash:o { :dba('octal character') <sym> [ <octint> | '[' ~ ']' <octints> ] } | ||
| 19063 | sub p5backslash__S_010o__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_010o', $retree) } | ||
| 19064 | sub p5backslash__S_010o { | ||
| 19065 | no warnings 'recursion'; | ||
| 19066 | my $self = shift; | ||
| 19067 | |||
| 19068 | |||
| 19069 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19070 | |||
| 19071 | my $C = $self->cursor_xact("RULE p5backslash__S_010o"); | ||
| 19072 | my $xact = $C->xact; | ||
| 19073 | my $S = $C->{'_pos'}; | ||
| 19074 | $C->{sym} = "o"; | ||
| 19075 | $self->_MATCHIFYr($S, "p5backslash__S_010o", do { | ||
| 19076 | my $C = $C; | ||
| 19077 | if (($C) = ($C->_EXACT("o")) | ||
| 19078 | and ($C) = ($C->_BRACKETr(sub { | ||
| 19079 | my $C=shift; | ||
| 19080 | do { | ||
| 19081 | my ($tag, $try); | ||
| 19082 | my @try; | ||
| 19083 | my $relex; | ||
| 19084 | |||
| 19085 | my $fate; | ||
| 19086 | my $x; | ||
| 19087 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5backslash__S_010o_0') { | ||
| 19088 | $C->deb("Fate passed to p5backslash__S_010o_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 19089 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 19090 | @try = ($try); | ||
| 19091 | $x = 'ALT p5backslash__S_010o_0'; # some outer ltm is controlling us | ||
| 19092 | } | ||
| 19093 | else { | ||
| 19094 | $x = 'ALTLTM p5backslash__S_010o_0'; # we are top level ltm | ||
| 19095 | } | ||
| 19096 | my $C = $C->cursor_xact($x); | ||
| 19097 | my $xact = $C->{_xact}; | ||
| 19098 | |||
| 19099 | my @gather = (); | ||
| 19100 | for (;;) { | ||
| 19101 | unless (@try) { | ||
| 19102 | $relex //= $C->cursor_fate('STD::P5::Q::b1', 'p5backslash__S_010o_0', $retree); | ||
| 19103 | @try = $relex->($C) or last; | ||
| 19104 | } | ||
| 19105 | $try = shift(@try) // next; | ||
| 19106 | |||
| 19107 | if (ref $try) { | ||
| 19108 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 19109 | } | ||
| 19110 | |||
| 19111 | $C->deb("p5backslash__S_010o_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 19112 | push @gather, (( | ||
| 19113 | sub { | ||
| 19114 | my $C=shift; | ||
| 19115 | $C->_SUBSUMEr(['octint'], sub { | ||
| 19116 | my $C = shift; | ||
| 19117 | $C->octint | ||
| 19118 | }) | ||
| 19119 | }, | ||
| 19120 | sub { | ||
| 19121 | my $C=shift; | ||
| 19122 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 19123 | my $C=shift; | ||
| 19124 | local $::GOAL = "\]"; | ||
| 19125 | my $goalpos = $C; | ||
| 19126 | if (($C) = ($C->_EXACT("\[")) | ||
| 19127 | and ($C) = (scalar(do { | ||
| 19128 | }, $C)) | ||
| 19129 | and ($C) = ($C->_SUBSUMEr(['octints'], sub { | ||
| 19130 | my $C = shift; | ||
| 19131 | $C->octints | ||
| 19132 | })) | ||
| 19133 | and ($C) = ($C->_BRACKETr(sub { | ||
| 19134 | my $C=shift; | ||
| 19135 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 19136 | my $xact = $C->xact; | ||
| 19137 | my @gather; | ||
| 19138 | do { | ||
| 19139 | push @gather, $C->_EXACT("\]") | ||
| 19140 | } | ||
| 19141 | or $xact->[-2] or | ||
| 19142 | do { | ||
| 19143 | push @gather, do { | ||
| 19144 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'octal character', $goalpos))) { ($C) } else { () } | ||
| 19145 | |||
| 19146 | } | ||
| 19147 | }; | ||
| 19148 | @gather; | ||
| 19149 | } | ||
| 19150 | }))) { | ||
| 19151 | $C | ||
| 19152 | } else { () } | ||
| 19153 | }))) { ($C) } else { () } | ||
| 19154 | } | ||
| 19155 | )[$try])->($C); | ||
| 19156 | last if @gather; | ||
| 19157 | last if $xact->[-2]; # committed? | ||
| 19158 | } | ||
| 19159 | @gather; | ||
| 19160 | }; | ||
| 19161 | }))) { | ||
| 19162 | $C | ||
| 19163 | } else { () } | ||
| 19164 | |||
| 19165 | }); | ||
| 19166 | } | ||
| 19167 | ; | ||
| 19168 | ## token p5backslash:r { <sym> } | ||
| 19169 | sub p5backslash__S_011r__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_011r', $retree) } | ||
| 19170 | sub p5backslash__S_011r { | ||
| 19171 | no warnings 'recursion'; | ||
| 19172 | my $self = shift; | ||
| 19173 | |||
| 19174 | |||
| 19175 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19176 | |||
| 19177 | my $C = $self->cursor_xact("RULE p5backslash__S_011r"); | ||
| 19178 | my $xact = $C->xact; | ||
| 19179 | my $S = $C->{'_pos'}; | ||
| 19180 | $C->{sym} = "r"; | ||
| 19181 | $self->_MATCHIFYr($S, "p5backslash__S_011r", $C->_EXACT("r")); | ||
| 19182 | } | ||
| 19183 | ; | ||
| 19184 | ## token p5backslash:t { <sym> } | ||
| 19185 | sub p5backslash__S_012t__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_012t', $retree) } | ||
| 19186 | sub p5backslash__S_012t { | ||
| 19187 | no warnings 'recursion'; | ||
| 19188 | my $self = shift; | ||
| 19189 | |||
| 19190 | |||
| 19191 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19192 | |||
| 19193 | my $C = $self->cursor_xact("RULE p5backslash__S_012t"); | ||
| 19194 | my $xact = $C->xact; | ||
| 19195 | my $S = $C->{'_pos'}; | ||
| 19196 | $C->{sym} = "t"; | ||
| 19197 | $self->_MATCHIFYr($S, "p5backslash__S_012t", $C->_EXACT("t")); | ||
| 19198 | } | ||
| 19199 | ; | ||
| 19200 | ## token p5backslash:x { :dba('hex character') <sym> [ <hexint> | '[' ~ ']' <hexints> ] } | ||
| 19201 | sub p5backslash__S_013x__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_013x', $retree) } | ||
| 19202 | sub p5backslash__S_013x { | ||
| 19203 | no warnings 'recursion'; | ||
| 19204 | my $self = shift; | ||
| 19205 | |||
| 19206 | |||
| 19207 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19208 | |||
| 19209 | my $C = $self->cursor_xact("RULE p5backslash__S_013x"); | ||
| 19210 | my $xact = $C->xact; | ||
| 19211 | my $S = $C->{'_pos'}; | ||
| 19212 | $C->{sym} = "x"; | ||
| 19213 | $self->_MATCHIFYr($S, "p5backslash__S_013x", do { | ||
| 19214 | my $C = $C; | ||
| 19215 | if (($C) = ($C->_EXACT("x")) | ||
| 19216 | and ($C) = ($C->_BRACKETr(sub { | ||
| 19217 | my $C=shift; | ||
| 19218 | do { | ||
| 19219 | my ($tag, $try); | ||
| 19220 | my @try; | ||
| 19221 | my $relex; | ||
| 19222 | |||
| 19223 | my $fate; | ||
| 19224 | my $x; | ||
| 19225 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5backslash__S_013x_0') { | ||
| 19226 | $C->deb("Fate passed to p5backslash__S_013x_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 19227 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 19228 | @try = ($try); | ||
| 19229 | $x = 'ALT p5backslash__S_013x_0'; # some outer ltm is controlling us | ||
| 19230 | } | ||
| 19231 | else { | ||
| 19232 | $x = 'ALTLTM p5backslash__S_013x_0'; # we are top level ltm | ||
| 19233 | } | ||
| 19234 | my $C = $C->cursor_xact($x); | ||
| 19235 | my $xact = $C->{_xact}; | ||
| 19236 | |||
| 19237 | my @gather = (); | ||
| 19238 | for (;;) { | ||
| 19239 | unless (@try) { | ||
| 19240 | $relex //= $C->cursor_fate('STD::P5::Q::b1', 'p5backslash__S_013x_0', $retree); | ||
| 19241 | @try = $relex->($C) or last; | ||
| 19242 | } | ||
| 19243 | $try = shift(@try) // next; | ||
| 19244 | |||
| 19245 | if (ref $try) { | ||
| 19246 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 19247 | } | ||
| 19248 | |||
| 19249 | $C->deb("p5backslash__S_013x_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 19250 | push @gather, (( | ||
| 19251 | sub { | ||
| 19252 | my $C=shift; | ||
| 19253 | $C->_SUBSUMEr(['hexint'], sub { | ||
| 19254 | my $C = shift; | ||
| 19255 | $C->hexint | ||
| 19256 | }) | ||
| 19257 | }, | ||
| 19258 | sub { | ||
| 19259 | my $C=shift; | ||
| 19260 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 19261 | my $C=shift; | ||
| 19262 | local $::GOAL = "\]"; | ||
| 19263 | my $goalpos = $C; | ||
| 19264 | if (($C) = ($C->_EXACT("\[")) | ||
| 19265 | and ($C) = (scalar(do { | ||
| 19266 | }, $C)) | ||
| 19267 | and ($C) = ($C->_SUBSUMEr(['hexints'], sub { | ||
| 19268 | my $C = shift; | ||
| 19269 | $C->hexints | ||
| 19270 | })) | ||
| 19271 | and ($C) = ($C->_BRACKETr(sub { | ||
| 19272 | my $C=shift; | ||
| 19273 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 19274 | my $xact = $C->xact; | ||
| 19275 | my @gather; | ||
| 19276 | do { | ||
| 19277 | push @gather, $C->_EXACT("\]") | ||
| 19278 | } | ||
| 19279 | or $xact->[-2] or | ||
| 19280 | do { | ||
| 19281 | push @gather, do { | ||
| 19282 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'hex character', $goalpos))) { ($C) } else { () } | ||
| 19283 | |||
| 19284 | } | ||
| 19285 | }; | ||
| 19286 | @gather; | ||
| 19287 | } | ||
| 19288 | }))) { | ||
| 19289 | $C | ||
| 19290 | } else { () } | ||
| 19291 | }))) { ($C) } else { () } | ||
| 19292 | } | ||
| 19293 | )[$try])->($C); | ||
| 19294 | last if @gather; | ||
| 19295 | last if $xact->[-2]; # committed? | ||
| 19296 | } | ||
| 19297 | @gather; | ||
| 19298 | }; | ||
| 19299 | }))) { | ||
| 19300 | $C | ||
| 19301 | } else { () } | ||
| 19302 | |||
| 19303 | }); | ||
| 19304 | } | ||
| 19305 | ; | ||
| 19306 | ## token p5backslash:sym<0> { <sym> } | ||
| 19307 | sub p5backslash__S_0140__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_0140', $retree) } | ||
| 19308 | sub p5backslash__S_0140 { | ||
| 19309 | no warnings 'recursion'; | ||
| 19310 | my $self = shift; | ||
| 19311 | |||
| 19312 | |||
| 19313 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19314 | |||
| 19315 | my $C = $self->cursor_xact("RULE p5backslash__S_0140"); | ||
| 19316 | my $xact = $C->xact; | ||
| 19317 | my $S = $C->{'_pos'}; | ||
| 19318 | $self->_MATCHIFYr($S, "p5backslash__S_0140", $C->_EXACT("0")); | ||
| 19319 | } | ||
| 19320 | ; | ||
| 19321 | 1; }; | ||
| 19322 | { package STD::P5::Q::b0; | ||
| 19323 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 19324 | use Encode; | ||
| 19325 | our $ALLROLES = { 'STD::P5::Q::b0', 1 }; | ||
| 19326 | our $REGEXES = { | ||
| 19327 | ALL => [ qw/p5escape/ ], | ||
| 19328 | p5escape => [ qw/p5escape__S_000Back__PEEK/ ], | ||
| 19329 | }; | ||
| 19330 | |||
| 19331 | |||
| 19332 | no warnings 'qw', 'recursion'; | ||
| 19333 | my $retree; | ||
| 19334 | |||
| 19335 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 19336 | |||
| 19337 | use YAML::XS; | ||
| 19338 | |||
| 19339 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 19340 | " } if $::DEBUG; | ||
| 19341 | |||
| 19342 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 19343 | --- | ||
| 19344 | p5escape__S_000Back: !!perl/hash:RE_ast | ||
| 19345 | dba: p5escape | ||
| 19346 | dic: STD::P5::Q::b0 | ||
| 19347 | re: !!perl/hash:RE_assertion | ||
| 19348 | assert: '!' | ||
| 19349 | re: !!perl/hash:RE_noop | ||
| 19350 | nobind: 1 | ||
| 19351 | RETREE_END | ||
| 19352 | ## token p5escape:sym<\\> { <!> } | ||
| 19353 | sub p5escape__S_000Back__PEEK { $_[0]->_AUTOLEXpeek('p5escape__S_000Back', $retree) } | ||
| 19354 | sub p5escape__S_000Back { | ||
| 19355 | no warnings 'recursion'; | ||
| 19356 | my $self = shift; | ||
| 19357 | |||
| 19358 | |||
| 19359 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19360 | |||
| 19361 | my $C = $self->cursor_xact("RULE p5escape__S_000Back"); | ||
| 19362 | my $xact = $C->xact; | ||
| 19363 | my $S = $C->{'_pos'}; | ||
| 19364 | $C->{sym} = "\\"; | ||
| 19365 | $self->_MATCHIFYr($S, "p5escape__S_000Back", $C->_NOTBEFORE(sub { | ||
| 19366 | my $C=shift; | ||
| 19367 | $C | ||
| 19368 | })); | ||
| 19369 | } | ||
| 19370 | 1; }; | ||
| 19371 | { package STD::P5::Q::c1; | ||
| 19372 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 19373 | use Encode; | ||
| 19374 | our $ALLROLES = { 'STD::P5::Q::c1', 1 }; | ||
| 19375 | our $REGEXES = { | ||
| 19376 | ALL => [ qw/p5escape/ ], | ||
| 19377 | p5escape => [ qw/p5escape__S_000Cur_Ly__PEEK/ ], | ||
| 19378 | }; | ||
| 19379 | |||
| 19380 | |||
| 19381 | no warnings 'qw', 'recursion'; | ||
| 19382 | my $retree; | ||
| 19383 | |||
| 19384 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 19385 | |||
| 19386 | use YAML::XS; | ||
| 19387 | |||
| 19388 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 19389 | " } if $::DEBUG; | ||
| 19390 | |||
| 19391 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 19392 | --- | ||
| 19393 | p5escape__S_000Cur_Ly: !!perl/hash:RE_ast | ||
| 19394 | dba: p5escape | ||
| 19395 | dic: STD::P5::Q::c1 | ||
| 19396 | re: !!perl/hash:RE_sequence | ||
| 19397 | zyg: | ||
| 19398 | - !!perl/hash:RE_assertion | ||
| 19399 | assert: '?' | ||
| 19400 | re: !!perl/hash:RE_method_re | ||
| 19401 | name: before | ||
| 19402 | nobind: 1 | ||
| 19403 | re: !!perl/hash:RE_string | ||
| 19404 | i: 0 | ||
| 19405 | text: '{' | ||
| 19406 | - !!perl/hash:RE_bracket | ||
| 19407 | re: !!perl/hash:RE_sequence | ||
| 19408 | zyg: | ||
| 19409 | - !!perl/hash:RE_decl {} | ||
| 19410 | - !!perl/hash:RE_method | ||
| 19411 | name: block | ||
| 19412 | rest: '' | ||
| 19413 | RETREE_END | ||
| 19414 | ## token p5escape:sym<{ }> { <?before '{'> [ :lang(%*LANG<MAIN>) <block> ] } | ||
| 19415 | sub p5escape__S_000Cur_Ly__PEEK { $_[0]->_AUTOLEXpeek('p5escape__S_000Cur_Ly', $retree) } | ||
| 19416 | sub p5escape__S_000Cur_Ly { | ||
| 19417 | no warnings 'recursion'; | ||
| 19418 | my $self = shift; | ||
| 19419 | |||
| 19420 | |||
| 19421 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19422 | |||
| 19423 | my $C = $self->cursor_xact("RULE p5escape__S_000Cur_Ly"); | ||
| 19424 | my $xact = $C->xact; | ||
| 19425 | my $S = $C->{'_pos'}; | ||
| 19426 | $C->{sym} = "\{\ \}"; | ||
| 19427 | $self->_MATCHIFYr($S, "p5escape__S_000Cur_Ly", do { | ||
| 19428 | my $C = $C; | ||
| 19429 | if (($C) = ($C->before(sub { | ||
| 19430 | my $C=shift; | ||
| 19431 | if (my ($C) = ($C->before(sub { | ||
| 19432 | my $C=shift; | ||
| 19433 | $C->_EXACT("\{") | ||
| 19434 | }))) { ($C) } else { () } | ||
| 19435 | })) | ||
| 19436 | and ($C) = ($C->_BRACKETr(sub { | ||
| 19437 | my $C=shift; | ||
| 19438 | my $newlang = ($::LANG{'MAIN'}); | ||
| 19439 | $C = bless($C, (ref($newlang) || $newlang)); | ||
| 19440 | $C->_SUBSUMEr(['block'], sub { | ||
| 19441 | my $C = shift; | ||
| 19442 | $C->block | ||
| 19443 | }) | ||
| 19444 | }))) { | ||
| 19445 | $C | ||
| 19446 | } else { () } | ||
| 19447 | |||
| 19448 | }); | ||
| 19449 | } | ||
| 19450 | 1; }; | ||
| 19451 | { package STD::P5::Q::c0; | ||
| 19452 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 19453 | use Encode; | ||
| 19454 | our $ALLROLES = { 'STD::P5::Q::c0', 1 }; | ||
| 19455 | our $REGEXES = { | ||
| 19456 | ALL => [ qw/p5escape/ ], | ||
| 19457 | p5escape => [ qw/p5escape__S_000Cur_Ly__PEEK/ ], | ||
| 19458 | }; | ||
| 19459 | |||
| 19460 | |||
| 19461 | no warnings 'qw', 'recursion'; | ||
| 19462 | my $retree; | ||
| 19463 | |||
| 19464 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 19465 | |||
| 19466 | use YAML::XS; | ||
| 19467 | |||
| 19468 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 19469 | " } if $::DEBUG; | ||
| 19470 | |||
| 19471 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 19472 | --- | ||
| 19473 | p5escape__S_000Cur_Ly: !!perl/hash:RE_ast | ||
| 19474 | dba: p5escape | ||
| 19475 | dic: STD::P5::Q::c0 | ||
| 19476 | re: !!perl/hash:RE_assertion | ||
| 19477 | assert: '!' | ||
| 19478 | re: !!perl/hash:RE_noop | ||
| 19479 | nobind: 1 | ||
| 19480 | RETREE_END | ||
| 19481 | ## token p5escape:sym<{ }> { <!> } | ||
| 19482 | sub p5escape__S_000Cur_Ly__PEEK { $_[0]->_AUTOLEXpeek('p5escape__S_000Cur_Ly', $retree) } | ||
| 19483 | sub p5escape__S_000Cur_Ly { | ||
| 19484 | no warnings 'recursion'; | ||
| 19485 | my $self = shift; | ||
| 19486 | |||
| 19487 | |||
| 19488 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19489 | |||
| 19490 | my $C = $self->cursor_xact("RULE p5escape__S_000Cur_Ly"); | ||
| 19491 | my $xact = $C->xact; | ||
| 19492 | my $S = $C->{'_pos'}; | ||
| 19493 | $C->{sym} = "\{\ \}"; | ||
| 19494 | $self->_MATCHIFYr($S, "p5escape__S_000Cur_Ly", $C->_NOTBEFORE(sub { | ||
| 19495 | my $C=shift; | ||
| 19496 | $C | ||
| 19497 | })); | ||
| 19498 | } | ||
| 19499 | 1; }; | ||
| 19500 | { package STD::P5::Q::s1; | ||
| 19501 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 19502 | use Encode; | ||
| 19503 | our $ALLROLES = { 'STD::P5::Q::s1', 1 }; | ||
| 19504 | our $REGEXES = { | ||
| 19505 | ALL => [ qw/p5escape/ ], | ||
| 19506 | p5escape => [ qw/p5escape__S_000Dollar__PEEK/ ], | ||
| 19507 | }; | ||
| 19508 | |||
| 19509 | |||
| 19510 | no warnings 'qw', 'recursion'; | ||
| 19511 | my $retree; | ||
| 19512 | |||
| 19513 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 19514 | |||
| 19515 | use YAML::XS; | ||
| 19516 | |||
| 19517 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 19518 | " } if $::DEBUG; | ||
| 19519 | |||
| 19520 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 19521 | --- | ||
| 19522 | p5escape__S_000Dollar: !!perl/hash:RE_ast | ||
| 19523 | dba: p5escape | ||
| 19524 | dic: STD::P5::Q::s1 | ||
| 19525 | re: !!perl/hash:RE_first | ||
| 19526 | zyg: | ||
| 19527 | - !!perl/hash:RE_sequence | ||
| 19528 | zyg: | ||
| 19529 | - !!perl/hash:RE_assertion | ||
| 19530 | assert: '?' | ||
| 19531 | re: !!perl/hash:RE_method_re | ||
| 19532 | name: before | ||
| 19533 | nobind: 1 | ||
| 19534 | re: !!perl/hash:RE_string | ||
| 19535 | i: 0 | ||
| 19536 | text: $ | ||
| 19537 | - !!perl/hash:RE_bracket | ||
| 19538 | re: !!perl/hash:RE_sequence | ||
| 19539 | zyg: | ||
| 19540 | - !!perl/hash:RE_decl {} | ||
| 19541 | - !!perl/hash:RE_method | ||
| 19542 | name: EXPR | ||
| 19543 | rest: 1 | ||
| 19544 | - !!perl/hash:RE_method | ||
| 19545 | name: panic | ||
| 19546 | rest: 1 | ||
| 19547 | RETREE_END | ||
| 19548 | ## token p5escape:sym<$> { | ||
| 19549 | sub p5escape__S_000Dollar__PEEK { $_[0]->_AUTOLEXpeek('p5escape__S_000Dollar', $retree) } | ||
| 19550 | sub p5escape__S_000Dollar { | ||
| 19551 | no warnings 'recursion'; | ||
| 19552 | my $self = shift; | ||
| 19553 | |||
| 19554 | local $::QSIGIL = '$'; | ||
| 19555 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19556 | |||
| 19557 | my $C = $self->cursor_xact("RULE p5escape__S_000Dollar"); | ||
| 19558 | my $xact = $C->xact; | ||
| 19559 | my $S = $C->{'_pos'}; | ||
| 19560 | $C->{sym} = "\$"; | ||
| 19561 | $self->_MATCHIFYr($S, "p5escape__S_000Dollar", do { my $C = $C->cursor_xact('ALT ||'); | ||
| 19562 | my $xact = $C->xact; | ||
| 19563 | my @gather; | ||
| 19564 | do { | ||
| 19565 | push @gather, do { | ||
| 19566 | my $C = $C; | ||
| 19567 | if (($C) = ($C->before(sub { | ||
| 19568 | my $C=shift; | ||
| 19569 | if (my ($C) = ($C->before(sub { | ||
| 19570 | my $C=shift; | ||
| 19571 | $C->_EXACT("\$") | ||
| 19572 | }))) { ($C) } else { () } | ||
| 19573 | })) | ||
| 19574 | and ($C) = ($C->_BRACKETr(sub { | ||
| 19575 | my $C=shift; | ||
| 19576 | my $newlang = ($::LANG{'MAIN'}); | ||
| 19577 | $C = bless($C, (ref($newlang) || $newlang)); | ||
| 19578 | $C->_SUBSUMEr(['EXPR'], sub { | ||
| 19579 | my $C = shift; | ||
| 19580 | $C->EXPR(\%methodcall) | ||
| 19581 | }) | ||
| 19582 | }))) { | ||
| 19583 | $C | ||
| 19584 | } else { () } | ||
| 19585 | |||
| 19586 | } | ||
| 19587 | } | ||
| 19588 | or $xact->[-2] or | ||
| 19589 | do { | ||
| 19590 | push @gather, do { | ||
| 19591 | if (my ($C) = ($C->panic("Non-variable \$ must be backslashed"))) { ($C) } else { () } | ||
| 19592 | |||
| 19593 | } | ||
| 19594 | }; | ||
| 19595 | @gather; | ||
| 19596 | }); | ||
| 19597 | } | ||
| 19598 | 1; }; | ||
| 19599 | { package STD::P5::Q::s0; | ||
| 19600 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 19601 | use Encode; | ||
| 19602 | our $ALLROLES = { 'STD::P5::Q::s0', 1 }; | ||
| 19603 | our $REGEXES = { | ||
| 19604 | ALL => [ qw/p5escape/ ], | ||
| 19605 | p5escape => [ qw/p5escape__S_000Dollar__PEEK/ ], | ||
| 19606 | }; | ||
| 19607 | |||
| 19608 | |||
| 19609 | no warnings 'qw', 'recursion'; | ||
| 19610 | my $retree; | ||
| 19611 | |||
| 19612 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 19613 | |||
| 19614 | use YAML::XS; | ||
| 19615 | |||
| 19616 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 19617 | " } if $::DEBUG; | ||
| 19618 | |||
| 19619 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 19620 | --- | ||
| 19621 | p5escape__S_000Dollar: !!perl/hash:RE_ast | ||
| 19622 | dba: p5escape | ||
| 19623 | dic: STD::P5::Q::s0 | ||
| 19624 | re: !!perl/hash:RE_assertion | ||
| 19625 | assert: '!' | ||
| 19626 | re: !!perl/hash:RE_noop | ||
| 19627 | nobind: 1 | ||
| 19628 | RETREE_END | ||
| 19629 | ## token p5escape:sym<$> { <!> } | ||
| 19630 | sub p5escape__S_000Dollar__PEEK { $_[0]->_AUTOLEXpeek('p5escape__S_000Dollar', $retree) } | ||
| 19631 | sub p5escape__S_000Dollar { | ||
| 19632 | no warnings 'recursion'; | ||
| 19633 | my $self = shift; | ||
| 19634 | |||
| 19635 | |||
| 19636 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19637 | |||
| 19638 | my $C = $self->cursor_xact("RULE p5escape__S_000Dollar"); | ||
| 19639 | my $xact = $C->xact; | ||
| 19640 | my $S = $C->{'_pos'}; | ||
| 19641 | $C->{sym} = "\$"; | ||
| 19642 | $self->_MATCHIFYr($S, "p5escape__S_000Dollar", $C->_NOTBEFORE(sub { | ||
| 19643 | my $C=shift; | ||
| 19644 | $C | ||
| 19645 | })); | ||
| 19646 | } | ||
| 19647 | 1; }; | ||
| 19648 | { package STD::P5::Q::a1; | ||
| 19649 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 19650 | use Encode; | ||
| 19651 | our $ALLROLES = { 'STD::P5::Q::a1', 1 }; | ||
| 19652 | our $REGEXES = { | ||
| 19653 | ALL => [ qw/p5escape/ ], | ||
| 19654 | p5escape => [ qw/p5escape__S_000At__PEEK/ ], | ||
| 19655 | }; | ||
| 19656 | |||
| 19657 | |||
| 19658 | no warnings 'qw', 'recursion'; | ||
| 19659 | my $retree; | ||
| 19660 | |||
| 19661 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 19662 | |||
| 19663 | use YAML::XS; | ||
| 19664 | |||
| 19665 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 19666 | " } if $::DEBUG; | ||
| 19667 | |||
| 19668 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 19669 | --- | ||
| 19670 | p5escape__S_000At: !!perl/hash:RE_ast | ||
| 19671 | dba: p5escape | ||
| 19672 | dic: STD::P5::Q::a1 | ||
| 19673 | re: !!perl/hash:RE_sequence | ||
| 19674 | zyg: | ||
| 19675 | - !!perl/hash:RE_assertion | ||
| 19676 | assert: '?' | ||
| 19677 | re: !!perl/hash:RE_method_re | ||
| 19678 | name: before | ||
| 19679 | nobind: 1 | ||
| 19680 | re: !!perl/hash:RE_string | ||
| 19681 | i: 0 | ||
| 19682 | text: '@' | ||
| 19683 | - !!perl/hash:RE_bracket | ||
| 19684 | re: &1 !!perl/hash:RE_any | ||
| 19685 | altname: p5escape__S_000At_0 | ||
| 19686 | dba: p5escape | ||
| 19687 | dic: STD::P5::Q::a1 | ||
| 19688 | zyg: | ||
| 19689 | - !!perl/hash:RE_sequence | ||
| 19690 | alt: p5escape__S_000At_0 0 | ||
| 19691 | zyg: | ||
| 19692 | - !!perl/hash:RE_decl {} | ||
| 19693 | - !!perl/hash:RE_method | ||
| 19694 | name: EXPR | ||
| 19695 | rest: 1 | ||
| 19696 | - !!perl/hash:RE_assertion | ||
| 19697 | alt: p5escape__S_000At_0 1 | ||
| 19698 | assert: '!' | ||
| 19699 | re: !!perl/hash:RE_noop | ||
| 19700 | nobind: 1 | ||
| 19701 | p5escape__S_000At_0: *1 | ||
| 19702 | RETREE_END | ||
| 19703 | ## token p5escape:sym<@> { | ||
| 19704 | sub p5escape__S_000At__PEEK { $_[0]->_AUTOLEXpeek('p5escape__S_000At', $retree) } | ||
| 19705 | sub p5escape__S_000At { | ||
| 19706 | no warnings 'recursion'; | ||
| 19707 | my $self = shift; | ||
| 19708 | |||
| 19709 | local $::QSIGIL = '@'; | ||
| 19710 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19711 | |||
| 19712 | my $C = $self->cursor_xact("RULE p5escape__S_000At"); | ||
| 19713 | my $xact = $C->xact; | ||
| 19714 | my $S = $C->{'_pos'}; | ||
| 19715 | $C->{sym} = "\@"; | ||
| 19716 | $self->_MATCHIFYr($S, "p5escape__S_000At", do { | ||
| 19717 | my $C = $C; | ||
| 19718 | if (($C) = ($C->before(sub { | ||
| 19719 | my $C=shift; | ||
| 19720 | if (my ($C) = ($C->before(sub { | ||
| 19721 | my $C=shift; | ||
| 19722 | $C->_EXACT("\@") | ||
| 19723 | }))) { ($C) } else { () } | ||
| 19724 | })) | ||
| 19725 | and ($C) = ($C->_BRACKETr(sub { | ||
| 19726 | my $C=shift; | ||
| 19727 | do { | ||
| 19728 | my ($tag, $try); | ||
| 19729 | my @try; | ||
| 19730 | my $relex; | ||
| 19731 | |||
| 19732 | my $fate; | ||
| 19733 | my $x; | ||
| 19734 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5escape__S_000At_0') { | ||
| 19735 | $C->deb("Fate passed to p5escape__S_000At_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 19736 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 19737 | @try = ($try); | ||
| 19738 | $x = 'ALT p5escape__S_000At_0'; # some outer ltm is controlling us | ||
| 19739 | } | ||
| 19740 | else { | ||
| 19741 | $x = 'ALTLTM p5escape__S_000At_0'; # we are top level ltm | ||
| 19742 | } | ||
| 19743 | my $C = $C->cursor_xact($x); | ||
| 19744 | my $xact = $C->{_xact}; | ||
| 19745 | |||
| 19746 | my @gather = (); | ||
| 19747 | for (;;) { | ||
| 19748 | unless (@try) { | ||
| 19749 | $relex //= $C->cursor_fate('STD::P5::Q::a1', 'p5escape__S_000At_0', $retree); | ||
| 19750 | @try = $relex->($C) or last; | ||
| 19751 | } | ||
| 19752 | $try = shift(@try) // next; | ||
| 19753 | |||
| 19754 | if (ref $try) { | ||
| 19755 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 19756 | } | ||
| 19757 | |||
| 19758 | $C->deb("p5escape__S_000At_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 19759 | push @gather, (( | ||
| 19760 | sub { | ||
| 19761 | my $C=shift; | ||
| 19762 | if (my ($C) = (do { | ||
| 19763 | my $newlang = ($::LANG{'MAIN'}); | ||
| 19764 | $C = bless($C, (ref($newlang) || $newlang)); | ||
| 19765 | $C->_SUBSUMEr(['EXPR'], sub { | ||
| 19766 | my $C = shift; | ||
| 19767 | $C->EXPR(\%methodcall) | ||
| 19768 | }) | ||
| 19769 | |||
| 19770 | })) { ($C) } else { () } | ||
| 19771 | }, | ||
| 19772 | sub { | ||
| 19773 | my $C=shift; | ||
| 19774 | if (my ($C) = ($C->_NOTBEFORE(sub { | ||
| 19775 | my $C=shift; | ||
| 19776 | $C | ||
| 19777 | }))) { ($C) } else { () } | ||
| 19778 | } | ||
| 19779 | )[$try])->($C); | ||
| 19780 | last if @gather; | ||
| 19781 | last if $xact->[-2]; # committed? | ||
| 19782 | } | ||
| 19783 | @gather; | ||
| 19784 | }; | ||
| 19785 | }))) { | ||
| 19786 | $C | ||
| 19787 | } else { () } | ||
| 19788 | |||
| 19789 | }); | ||
| 19790 | } | ||
| 19791 | 1; }; | ||
| 19792 | { package STD::P5::Q::a0; | ||
| 19793 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 19794 | use Encode; | ||
| 19795 | our $ALLROLES = { 'STD::P5::Q::a0', 1 }; | ||
| 19796 | our $REGEXES = { | ||
| 19797 | ALL => [ qw/p5escape/ ], | ||
| 19798 | p5escape => [ qw/p5escape__S_000At__PEEK/ ], | ||
| 19799 | }; | ||
| 19800 | |||
| 19801 | |||
| 19802 | no warnings 'qw', 'recursion'; | ||
| 19803 | my $retree; | ||
| 19804 | |||
| 19805 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 19806 | |||
| 19807 | use YAML::XS; | ||
| 19808 | |||
| 19809 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 19810 | " } if $::DEBUG; | ||
| 19811 | |||
| 19812 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 19813 | --- | ||
| 19814 | p5escape__S_000At: !!perl/hash:RE_ast | ||
| 19815 | dba: p5escape | ||
| 19816 | dic: STD::P5::Q::a0 | ||
| 19817 | re: !!perl/hash:RE_assertion | ||
| 19818 | assert: '!' | ||
| 19819 | re: !!perl/hash:RE_noop | ||
| 19820 | nobind: 1 | ||
| 19821 | RETREE_END | ||
| 19822 | ## token p5escape:sym<@> { <!> } | ||
| 19823 | sub p5escape__S_000At__PEEK { $_[0]->_AUTOLEXpeek('p5escape__S_000At', $retree) } | ||
| 19824 | sub p5escape__S_000At { | ||
| 19825 | no warnings 'recursion'; | ||
| 19826 | my $self = shift; | ||
| 19827 | |||
| 19828 | |||
| 19829 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19830 | |||
| 19831 | my $C = $self->cursor_xact("RULE p5escape__S_000At"); | ||
| 19832 | my $xact = $C->xact; | ||
| 19833 | my $S = $C->{'_pos'}; | ||
| 19834 | $C->{sym} = "\@"; | ||
| 19835 | $self->_MATCHIFYr($S, "p5escape__S_000At", $C->_NOTBEFORE(sub { | ||
| 19836 | my $C=shift; | ||
| 19837 | $C | ||
| 19838 | })); | ||
| 19839 | } | ||
| 19840 | 1; }; | ||
| 19841 | { package STD::P5::Q::h1; | ||
| 19842 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 19843 | use Encode; | ||
| 19844 | our $ALLROLES = { 'STD::P5::Q::h1', 1 }; | ||
| 19845 | our $REGEXES = { | ||
| 19846 | ALL => [ qw/p5escape/ ], | ||
| 19847 | p5escape => [ qw/p5escape__S_000Percent__PEEK/ ], | ||
| 19848 | }; | ||
| 19849 | |||
| 19850 | |||
| 19851 | no warnings 'qw', 'recursion'; | ||
| 19852 | my $retree; | ||
| 19853 | |||
| 19854 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 19855 | |||
| 19856 | use YAML::XS; | ||
| 19857 | |||
| 19858 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 19859 | " } if $::DEBUG; | ||
| 19860 | |||
| 19861 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 19862 | --- | ||
| 19863 | p5escape__S_000Percent: !!perl/hash:RE_ast | ||
| 19864 | dba: p5escape | ||
| 19865 | dic: STD::P5::Q::h1 | ||
| 19866 | re: !!perl/hash:RE_sequence | ||
| 19867 | zyg: | ||
| 19868 | - !!perl/hash:RE_assertion | ||
| 19869 | assert: '?' | ||
| 19870 | re: !!perl/hash:RE_method_re | ||
| 19871 | name: before | ||
| 19872 | nobind: 1 | ||
| 19873 | re: !!perl/hash:RE_string | ||
| 19874 | i: 0 | ||
| 19875 | text: '%' | ||
| 19876 | - !!perl/hash:RE_bracket | ||
| 19877 | re: &1 !!perl/hash:RE_any | ||
| 19878 | altname: p5escape__S_000Percent_0 | ||
| 19879 | dba: p5escape | ||
| 19880 | dic: STD::P5::Q::h1 | ||
| 19881 | zyg: | ||
| 19882 | - !!perl/hash:RE_sequence | ||
| 19883 | alt: p5escape__S_000Percent_0 0 | ||
| 19884 | zyg: | ||
| 19885 | - !!perl/hash:RE_decl {} | ||
| 19886 | - !!perl/hash:RE_method | ||
| 19887 | name: EXPR | ||
| 19888 | rest: 1 | ||
| 19889 | - !!perl/hash:RE_assertion | ||
| 19890 | alt: p5escape__S_000Percent_0 1 | ||
| 19891 | assert: '!' | ||
| 19892 | re: !!perl/hash:RE_noop | ||
| 19893 | nobind: 1 | ||
| 19894 | p5escape__S_000Percent_0: *1 | ||
| 19895 | RETREE_END | ||
| 19896 | ## token p5escape:sym<%> { | ||
| 19897 | sub p5escape__S_000Percent__PEEK { $_[0]->_AUTOLEXpeek('p5escape__S_000Percent', $retree) } | ||
| 19898 | sub p5escape__S_000Percent { | ||
| 19899 | no warnings 'recursion'; | ||
| 19900 | my $self = shift; | ||
| 19901 | |||
| 19902 | local $::QSIGIL = '%'; | ||
| 19903 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 19904 | |||
| 19905 | my $C = $self->cursor_xact("RULE p5escape__S_000Percent"); | ||
| 19906 | my $xact = $C->xact; | ||
| 19907 | my $S = $C->{'_pos'}; | ||
| 19908 | $C->{sym} = "\%"; | ||
| 19909 | $self->_MATCHIFYr($S, "p5escape__S_000Percent", do { | ||
| 19910 | my $C = $C; | ||
| 19911 | if (($C) = ($C->before(sub { | ||
| 19912 | my $C=shift; | ||
| 19913 | if (my ($C) = ($C->before(sub { | ||
| 19914 | my $C=shift; | ||
| 19915 | $C->_EXACT("\%") | ||
| 19916 | }))) { ($C) } else { () } | ||
| 19917 | })) | ||
| 19918 | and ($C) = ($C->_BRACKETr(sub { | ||
| 19919 | my $C=shift; | ||
| 19920 | do { | ||
| 19921 | my ($tag, $try); | ||
| 19922 | my @try; | ||
| 19923 | my $relex; | ||
| 19924 | |||
| 19925 | my $fate; | ||
| 19926 | my $x; | ||
| 19927 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5escape__S_000Percent_0') { | ||
| 19928 | $C->deb("Fate passed to p5escape__S_000Percent_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 19929 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 19930 | @try = ($try); | ||
| 19931 | $x = 'ALT p5escape__S_000Percent_0'; # some outer ltm is controlling us | ||
| 19932 | } | ||
| 19933 | else { | ||
| 19934 | $x = 'ALTLTM p5escape__S_000Percent_0'; # we are top level ltm | ||
| 19935 | } | ||
| 19936 | my $C = $C->cursor_xact($x); | ||
| 19937 | my $xact = $C->{_xact}; | ||
| 19938 | |||
| 19939 | my @gather = (); | ||
| 19940 | for (;;) { | ||
| 19941 | unless (@try) { | ||
| 19942 | $relex //= $C->cursor_fate('STD::P5::Q::h1', 'p5escape__S_000Percent_0', $retree); | ||
| 19943 | @try = $relex->($C) or last; | ||
| 19944 | } | ||
| 19945 | $try = shift(@try) // next; | ||
| 19946 | |||
| 19947 | if (ref $try) { | ||
| 19948 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 19949 | } | ||
| 19950 | |||
| 19951 | $C->deb("p5escape__S_000Percent_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 19952 | push @gather, (( | ||
| 19953 | sub { | ||
| 19954 | my $C=shift; | ||
| 19955 | if (my ($C) = (do { | ||
| 19956 | my $newlang = ($::LANG{'MAIN'}); | ||
| 19957 | $C = bless($C, (ref($newlang) || $newlang)); | ||
| 19958 | $C->_SUBSUMEr(['EXPR'], sub { | ||
| 19959 | my $C = shift; | ||
| 19960 | $C->EXPR(\%methodcall) | ||
| 19961 | }) | ||
| 19962 | |||
| 19963 | })) { ($C) } else { () } | ||
| 19964 | }, | ||
| 19965 | sub { | ||
| 19966 | my $C=shift; | ||
| 19967 | if (my ($C) = ($C->_NOTBEFORE(sub { | ||
| 19968 | my $C=shift; | ||
| 19969 | $C | ||
| 19970 | }))) { ($C) } else { () } | ||
| 19971 | } | ||
| 19972 | )[$try])->($C); | ||
| 19973 | last if @gather; | ||
| 19974 | last if $xact->[-2]; # committed? | ||
| 19975 | } | ||
| 19976 | @gather; | ||
| 19977 | }; | ||
| 19978 | }))) { | ||
| 19979 | $C | ||
| 19980 | } else { () } | ||
| 19981 | |||
| 19982 | }); | ||
| 19983 | } | ||
| 19984 | 1; }; | ||
| 19985 | { package STD::P5::Q::h0; | ||
| 19986 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 19987 | use Encode; | ||
| 19988 | our $ALLROLES = { 'STD::P5::Q::h0', 1 }; | ||
| 19989 | our $REGEXES = { | ||
| 19990 | ALL => [ qw/p5escape/ ], | ||
| 19991 | p5escape => [ qw/p5escape__S_000Percent__PEEK/ ], | ||
| 19992 | }; | ||
| 19993 | |||
| 19994 | |||
| 19995 | no warnings 'qw', 'recursion'; | ||
| 19996 | my $retree; | ||
| 19997 | |||
| 19998 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 19999 | |||
| 20000 | use YAML::XS; | ||
| 20001 | |||
| 20002 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 20003 | " } if $::DEBUG; | ||
| 20004 | |||
| 20005 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 20006 | --- | ||
| 20007 | p5escape__S_000Percent: !!perl/hash:RE_ast | ||
| 20008 | dba: p5escape | ||
| 20009 | dic: STD::P5::Q::h0 | ||
| 20010 | re: !!perl/hash:RE_assertion | ||
| 20011 | assert: '!' | ||
| 20012 | re: !!perl/hash:RE_noop | ||
| 20013 | nobind: 1 | ||
| 20014 | RETREE_END | ||
| 20015 | ## token p5escape:sym<%> { <!> } | ||
| 20016 | sub p5escape__S_000Percent__PEEK { $_[0]->_AUTOLEXpeek('p5escape__S_000Percent', $retree) } | ||
| 20017 | sub p5escape__S_000Percent { | ||
| 20018 | no warnings 'recursion'; | ||
| 20019 | my $self = shift; | ||
| 20020 | |||
| 20021 | |||
| 20022 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 20023 | |||
| 20024 | my $C = $self->cursor_xact("RULE p5escape__S_000Percent"); | ||
| 20025 | my $xact = $C->xact; | ||
| 20026 | my $S = $C->{'_pos'}; | ||
| 20027 | $C->{sym} = "\%"; | ||
| 20028 | $self->_MATCHIFYr($S, "p5escape__S_000Percent", $C->_NOTBEFORE(sub { | ||
| 20029 | my $C=shift; | ||
| 20030 | $C | ||
| 20031 | })); | ||
| 20032 | } | ||
| 20033 | 1; }; | ||
| 20034 | { package STD::P5::Q::f1; | ||
| 20035 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 20036 | use Encode; | ||
| 20037 | our $ALLROLES = { 'STD::P5::Q::f1', 1 }; | ||
| 20038 | our $REGEXES = { | ||
| 20039 | ALL => [ qw/p5escape/ ], | ||
| 20040 | p5escape => [ qw/p5escape__S_000Amp__PEEK/ ], | ||
| 20041 | }; | ||
| 20042 | |||
| 20043 | |||
| 20044 | no warnings 'qw', 'recursion'; | ||
| 20045 | my $retree; | ||
| 20046 | |||
| 20047 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 20048 | |||
| 20049 | use YAML::XS; | ||
| 20050 | |||
| 20051 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 20052 | " } if $::DEBUG; | ||
| 20053 | |||
| 20054 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 20055 | --- | ||
| 20056 | p5escape__S_000Amp: !!perl/hash:RE_ast | ||
| 20057 | dba: p5escape | ||
| 20058 | dic: STD::P5::Q::f1 | ||
| 20059 | re: !!perl/hash:RE_sequence | ||
| 20060 | zyg: | ||
| 20061 | - !!perl/hash:RE_assertion | ||
| 20062 | assert: '?' | ||
| 20063 | re: !!perl/hash:RE_method_re | ||
| 20064 | name: before | ||
| 20065 | nobind: 1 | ||
| 20066 | re: !!perl/hash:RE_string | ||
| 20067 | i: 0 | ||
| 20068 | text: '&' | ||
| 20069 | - !!perl/hash:RE_bracket | ||
| 20070 | re: &1 !!perl/hash:RE_any | ||
| 20071 | altname: p5escape__S_000Amp_0 | ||
| 20072 | dba: p5escape | ||
| 20073 | dic: STD::P5::Q::f1 | ||
| 20074 | zyg: | ||
| 20075 | - !!perl/hash:RE_sequence | ||
| 20076 | alt: p5escape__S_000Amp_0 0 | ||
| 20077 | zyg: | ||
| 20078 | - !!perl/hash:RE_decl {} | ||
| 20079 | - !!perl/hash:RE_method | ||
| 20080 | name: EXPR | ||
| 20081 | rest: 1 | ||
| 20082 | - !!perl/hash:RE_assertion | ||
| 20083 | alt: p5escape__S_000Amp_0 1 | ||
| 20084 | assert: '!' | ||
| 20085 | re: !!perl/hash:RE_noop | ||
| 20086 | nobind: 1 | ||
| 20087 | p5escape__S_000Amp_0: *1 | ||
| 20088 | RETREE_END | ||
| 20089 | ## token p5escape:sym<&> { | ||
| 20090 | sub p5escape__S_000Amp__PEEK { $_[0]->_AUTOLEXpeek('p5escape__S_000Amp', $retree) } | ||
| 20091 | sub p5escape__S_000Amp { | ||
| 20092 | no warnings 'recursion'; | ||
| 20093 | my $self = shift; | ||
| 20094 | |||
| 20095 | local $::QSIGIL = '&'; | ||
| 20096 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 20097 | |||
| 20098 | my $C = $self->cursor_xact("RULE p5escape__S_000Amp"); | ||
| 20099 | my $xact = $C->xact; | ||
| 20100 | my $S = $C->{'_pos'}; | ||
| 20101 | $C->{sym} = "\&"; | ||
| 20102 | $self->_MATCHIFYr($S, "p5escape__S_000Amp", do { | ||
| 20103 | my $C = $C; | ||
| 20104 | if (($C) = ($C->before(sub { | ||
| 20105 | my $C=shift; | ||
| 20106 | if (my ($C) = ($C->before(sub { | ||
| 20107 | my $C=shift; | ||
| 20108 | $C->_EXACT("\&") | ||
| 20109 | }))) { ($C) } else { () } | ||
| 20110 | })) | ||
| 20111 | and ($C) = ($C->_BRACKETr(sub { | ||
| 20112 | my $C=shift; | ||
| 20113 | do { | ||
| 20114 | my ($tag, $try); | ||
| 20115 | my @try; | ||
| 20116 | my $relex; | ||
| 20117 | |||
| 20118 | my $fate; | ||
| 20119 | my $x; | ||
| 20120 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5escape__S_000Amp_0') { | ||
| 20121 | $C->deb("Fate passed to p5escape__S_000Amp_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 20122 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 20123 | @try = ($try); | ||
| 20124 | $x = 'ALT p5escape__S_000Amp_0'; # some outer ltm is controlling us | ||
| 20125 | } | ||
| 20126 | else { | ||
| 20127 | $x = 'ALTLTM p5escape__S_000Amp_0'; # we are top level ltm | ||
| 20128 | } | ||
| 20129 | my $C = $C->cursor_xact($x); | ||
| 20130 | my $xact = $C->{_xact}; | ||
| 20131 | |||
| 20132 | my @gather = (); | ||
| 20133 | for (;;) { | ||
| 20134 | unless (@try) { | ||
| 20135 | $relex //= $C->cursor_fate('STD::P5::Q::f1', 'p5escape__S_000Amp_0', $retree); | ||
| 20136 | @try = $relex->($C) or last; | ||
| 20137 | } | ||
| 20138 | $try = shift(@try) // next; | ||
| 20139 | |||
| 20140 | if (ref $try) { | ||
| 20141 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 20142 | } | ||
| 20143 | |||
| 20144 | $C->deb("p5escape__S_000Amp_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 20145 | push @gather, (( | ||
| 20146 | sub { | ||
| 20147 | my $C=shift; | ||
| 20148 | if (my ($C) = (do { | ||
| 20149 | my $newlang = ($::LANG{'MAIN'}); | ||
| 20150 | $C = bless($C, (ref($newlang) || $newlang)); | ||
| 20151 | $C->_SUBSUMEr(['EXPR'], sub { | ||
| 20152 | my $C = shift; | ||
| 20153 | $C->EXPR(\%methodcall) | ||
| 20154 | }) | ||
| 20155 | |||
| 20156 | })) { ($C) } else { () } | ||
| 20157 | }, | ||
| 20158 | sub { | ||
| 20159 | my $C=shift; | ||
| 20160 | if (my ($C) = ($C->_NOTBEFORE(sub { | ||
| 20161 | my $C=shift; | ||
| 20162 | $C | ||
| 20163 | }))) { ($C) } else { () } | ||
| 20164 | } | ||
| 20165 | )[$try])->($C); | ||
| 20166 | last if @gather; | ||
| 20167 | last if $xact->[-2]; # committed? | ||
| 20168 | } | ||
| 20169 | @gather; | ||
| 20170 | }; | ||
| 20171 | }))) { | ||
| 20172 | $C | ||
| 20173 | } else { () } | ||
| 20174 | |||
| 20175 | }); | ||
| 20176 | } | ||
| 20177 | 1; }; | ||
| 20178 | { package STD::P5::Q::f0; | ||
| 20179 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 20180 | use Encode; | ||
| 20181 | our $ALLROLES = { 'STD::P5::Q::f0', 1 }; | ||
| 20182 | our $REGEXES = { | ||
| 20183 | ALL => [ qw/p5escape/ ], | ||
| 20184 | p5escape => [ qw/p5escape__S_000Amp__PEEK/ ], | ||
| 20185 | }; | ||
| 20186 | |||
| 20187 | |||
| 20188 | no warnings 'qw', 'recursion'; | ||
| 20189 | my $retree; | ||
| 20190 | |||
| 20191 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 20192 | |||
| 20193 | use YAML::XS; | ||
| 20194 | |||
| 20195 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 20196 | " } if $::DEBUG; | ||
| 20197 | |||
| 20198 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 20199 | --- | ||
| 20200 | p5escape__S_000Amp: !!perl/hash:RE_ast | ||
| 20201 | dba: p5escape | ||
| 20202 | dic: STD::P5::Q::f0 | ||
| 20203 | re: !!perl/hash:RE_assertion | ||
| 20204 | assert: '!' | ||
| 20205 | re: !!perl/hash:RE_noop | ||
| 20206 | nobind: 1 | ||
| 20207 | RETREE_END | ||
| 20208 | ## token p5escape:sym<&> { <!> } | ||
| 20209 | sub p5escape__S_000Amp__PEEK { $_[0]->_AUTOLEXpeek('p5escape__S_000Amp', $retree) } | ||
| 20210 | sub p5escape__S_000Amp { | ||
| 20211 | no warnings 'recursion'; | ||
| 20212 | my $self = shift; | ||
| 20213 | |||
| 20214 | |||
| 20215 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 20216 | |||
| 20217 | my $C = $self->cursor_xact("RULE p5escape__S_000Amp"); | ||
| 20218 | my $xact = $C->xact; | ||
| 20219 | my $S = $C->{'_pos'}; | ||
| 20220 | $C->{sym} = "\&"; | ||
| 20221 | $self->_MATCHIFYr($S, "p5escape__S_000Amp", $C->_NOTBEFORE(sub { | ||
| 20222 | my $C=shift; | ||
| 20223 | $C | ||
| 20224 | })); | ||
| 20225 | } | ||
| 20226 | 1; }; | ||
| 20227 | { package STD::P5::Q::w1; | ||
| 20228 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 20229 | use Encode; | ||
| 20230 | our $ALLROLES = { 'STD::P5::Q::w1', 1 }; | ||
| 20231 | our $REGEXES = { | ||
| 20232 | ALL => [ qw// ], | ||
| 20233 | }; | ||
| 20234 | |||
| 20235 | |||
| 20236 | no warnings 'qw', 'recursion'; | ||
| 20237 | my $retree; | ||
| 20238 | |||
| 20239 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 20240 | |||
| 20241 | use YAML::XS; | ||
| 20242 | |||
| 20243 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 20244 | " } if $::DEBUG; | ||
| 20245 | |||
| 20246 | ## method postprocess ($s) | ||
| 20247 | sub postprocess { | ||
| 20248 | no warnings 'recursion'; | ||
| 20249 | my $self = shift; | ||
| 20250 | die 'Required argument s omitted' unless @_; | ||
| 20251 | my $s = @_ ? shift() : undef; | ||
| 20252 | $s->words } 1; }; | ||
| 20253 | { package STD::P5::Q::w0; | ||
| 20254 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 20255 | use Encode; | ||
| 20256 | our $ALLROLES = { 'STD::P5::Q::w0', 1 }; | ||
| 20257 | our $REGEXES = { | ||
| 20258 | ALL => [ qw// ], | ||
| 20259 | }; | ||
| 20260 | |||
| 20261 | |||
| 20262 | no warnings 'qw', 'recursion'; | ||
| 20263 | my $retree; | ||
| 20264 | |||
| 20265 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 20266 | |||
| 20267 | use YAML::XS; | ||
| 20268 | |||
| 20269 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 20270 | " } if $::DEBUG; | ||
| 20271 | |||
| 20272 | ## method postprocess ($s) | ||
| 20273 | sub postprocess { | ||
| 20274 | no warnings 'recursion'; | ||
| 20275 | my $self = shift; | ||
| 20276 | die 'Required argument s omitted' unless @_; | ||
| 20277 | my $s = @_ ? shift() : undef; | ||
| 20278 | $s } 1; }; | ||
| 20279 | { package STD::P5::Q::ww1; | ||
| 20280 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 20281 | use Encode; | ||
| 20282 | our $ALLROLES = { 'STD::P5::Q::ww1', 1 }; | ||
| 20283 | our $REGEXES = { | ||
| 20284 | ALL => [ qw// ], | ||
| 20285 | }; | ||
| 20286 | |||
| 20287 | |||
| 20288 | no warnings 'qw', 'recursion'; | ||
| 20289 | my $retree; | ||
| 20290 | |||
| 20291 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 20292 | |||
| 20293 | use YAML::XS; | ||
| 20294 | |||
| 20295 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 20296 | " } if $::DEBUG; | ||
| 20297 | |||
| 20298 | ## method postprocess ($s) | ||
| 20299 | sub postprocess { | ||
| 20300 | no warnings 'recursion'; | ||
| 20301 | my $self = shift; | ||
| 20302 | die 'Required argument s omitted' unless @_; | ||
| 20303 | my $s = @_ ? shift() : undef; | ||
| 20304 | $s->words } 1; }; | ||
| 20305 | { package STD::P5::Q::ww0; | ||
| 20306 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 20307 | use Encode; | ||
| 20308 | our $ALLROLES = { 'STD::P5::Q::ww0', 1 }; | ||
| 20309 | our $REGEXES = { | ||
| 20310 | ALL => [ qw// ], | ||
| 20311 | }; | ||
| 20312 | |||
| 20313 | |||
| 20314 | no warnings 'qw', 'recursion'; | ||
| 20315 | my $retree; | ||
| 20316 | |||
| 20317 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 20318 | |||
| 20319 | use YAML::XS; | ||
| 20320 | |||
| 20321 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 20322 | " } if $::DEBUG; | ||
| 20323 | |||
| 20324 | ## method postprocess ($s) | ||
| 20325 | sub postprocess { | ||
| 20326 | no warnings 'recursion'; | ||
| 20327 | my $self = shift; | ||
| 20328 | die 'Required argument s omitted' unless @_; | ||
| 20329 | my $s = @_ ? shift() : undef; | ||
| 20330 | $s } 1; }; | ||
| 20331 | { package STD::P5::Q::x1; | ||
| 20332 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 20333 | use Encode; | ||
| 20334 | our $ALLROLES = { 'STD::P5::Q::x1', 1 }; | ||
| 20335 | our $REGEXES = { | ||
| 20336 | ALL => [ qw// ], | ||
| 20337 | }; | ||
| 20338 | |||
| 20339 | |||
| 20340 | no warnings 'qw', 'recursion'; | ||
| 20341 | my $retree; | ||
| 20342 | |||
| 20343 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 20344 | |||
| 20345 | use YAML::XS; | ||
| 20346 | |||
| 20347 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 20348 | " } if $::DEBUG; | ||
| 20349 | |||
| 20350 | ## method postprocess ($s) | ||
| 20351 | sub postprocess { | ||
| 20352 | no warnings 'recursion'; | ||
| 20353 | my $self = shift; | ||
| 20354 | die 'Required argument s omitted' unless @_; | ||
| 20355 | my $s = @_ ? shift() : undef; | ||
| 20356 | $s->run } 1; }; | ||
| 20357 | { package STD::P5::Q::x0; | ||
| 20358 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 20359 | use Encode; | ||
| 20360 | our $ALLROLES = { 'STD::P5::Q::x0', 1 }; | ||
| 20361 | our $REGEXES = { | ||
| 20362 | ALL => [ qw// ], | ||
| 20363 | }; | ||
| 20364 | |||
| 20365 | |||
| 20366 | no warnings 'qw', 'recursion'; | ||
| 20367 | my $retree; | ||
| 20368 | |||
| 20369 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 20370 | |||
| 20371 | use YAML::XS; | ||
| 20372 | |||
| 20373 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 20374 | " } if $::DEBUG; | ||
| 20375 | |||
| 20376 | ## method postprocess ($s) | ||
| 20377 | sub postprocess { | ||
| 20378 | no warnings 'recursion'; | ||
| 20379 | my $self = shift; | ||
| 20380 | die 'Required argument s omitted' unless @_; | ||
| 20381 | my $s = @_ ? shift() : undef; | ||
| 20382 | $s } 1; }; | ||
| 20383 | { package STD::P5::Q::q; | ||
| 20384 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 20385 | use Encode; | ||
| 20386 | our $ALLROLES = { 'STD::P5::Q::q', 1 }; | ||
| 20387 | our $REGEXES = { | ||
| 20388 | ALL => [ qw/p5backslash p5escape stopper/ ], | ||
| 20389 | p5backslash => [ qw/p5backslash__S_001qq__PEEK p5backslash__S_002Back__PEEK p5backslash__S_003stopper__PEEK p5backslash__S_004misc__PEEK/ ], | ||
| 20390 | p5escape => [ qw/p5escape__S_000Back__PEEK/ ], | ||
| 20391 | }; | ||
| 20392 | |||
| 20393 | |||
| 20394 | no warnings 'qw', 'recursion'; | ||
| 20395 | my $retree; | ||
| 20396 | |||
| 20397 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 20398 | |||
| 20399 | use YAML::XS; | ||
| 20400 | |||
| 20401 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 20402 | " } if $::DEBUG; | ||
| 20403 | |||
| 20404 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 20405 | --- | ||
| 20406 | p5backslash__S_001qq: !!perl/hash:RE_ast | ||
| 20407 | dba: p5backslash | ||
| 20408 | dic: STD::P5::Q::q | ||
| 20409 | re: !!perl/hash:RE_sequence | ||
| 20410 | zyg: | ||
| 20411 | - !!perl/hash:RE_assertion | ||
| 20412 | assert: '?' | ||
| 20413 | re: !!perl/hash:RE_method_re | ||
| 20414 | name: before | ||
| 20415 | nobind: 1 | ||
| 20416 | re: !!perl/hash:RE_string | ||
| 20417 | i: 0 | ||
| 20418 | text: q | ||
| 20419 | - !!perl/hash:RE_block {} | ||
| 20420 | p5backslash__S_002Back: !!perl/hash:RE_ast | ||
| 20421 | dba: p5backslash | ||
| 20422 | dic: STD::P5::Q::q | ||
| 20423 | re: !!perl/hash:RE_bindnamed | ||
| 20424 | atom: !!perl/hash:RE_method | ||
| 20425 | i: 0 | ||
| 20426 | name: sym | ||
| 20427 | rest: '' | ||
| 20428 | sym: \ | ||
| 20429 | p5backslash__S_003stopper: !!perl/hash:RE_ast | ||
| 20430 | dba: p5backslash | ||
| 20431 | dic: STD::P5::Q::q | ||
| 20432 | re: !!perl/hash:RE_bindnamed | ||
| 20433 | atom: !!perl/hash:RE_method | ||
| 20434 | name: stopper | ||
| 20435 | rest: '' | ||
| 20436 | p5backslash__S_004misc: !!perl/hash:RE_ast | ||
| 20437 | dba: p5backslash | ||
| 20438 | dic: STD::P5::Q::q | ||
| 20439 | re: !!perl/hash:RE_sequence | ||
| 20440 | zyg: | ||
| 20441 | - !!perl/hash:RE_block {} | ||
| 20442 | - !!perl/hash:RE_bindpos | ||
| 20443 | atom: !!perl/hash:RE_paren | ||
| 20444 | re: !!perl/hash:RE_meta | ||
| 20445 | min: 1 | ||
| 20446 | text: . | ||
| 20447 | - !!perl/hash:RE_block {} | ||
| 20448 | p5escape__S_000Back: !!perl/hash:RE_ast | ||
| 20449 | dba: p5escape | ||
| 20450 | dic: STD::P5::Q::q | ||
| 20451 | re: !!perl/hash:RE_sequence | ||
| 20452 | zyg: | ||
| 20453 | - !!perl/hash:RE_method | ||
| 20454 | i: 0 | ||
| 20455 | name: sym | ||
| 20456 | rest: '' | ||
| 20457 | sym: \ | ||
| 20458 | - !!perl/hash:RE_bindnamed | ||
| 20459 | atom: !!perl/hash:RE_method | ||
| 20460 | name: p5backslash | ||
| 20461 | rest: '' | ||
| 20462 | stopper: !!perl/hash:RE_ast | ||
| 20463 | dba: stopper | ||
| 20464 | dic: STD::P5::Q::q | ||
| 20465 | re: !!perl/hash:RE_meta | ||
| 20466 | min: 1 | ||
| 20467 | text: \' | ||
| 20468 | RETREE_END | ||
| 20469 | ## token stopper { \' } | ||
| 20470 | sub stopper__PEEK { $_[0]->_AUTOLEXpeek('stopper', $retree) } | ||
| 20471 | sub stopper { | ||
| 20472 | no warnings 'recursion'; | ||
| 20473 | my $self = shift; | ||
| 20474 | |||
| 20475 | |||
| 20476 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 20477 | |||
| 20478 | my $C = $self->cursor_xact("RULE stopper"); | ||
| 20479 | my $xact = $C->xact; | ||
| 20480 | my $S = $C->{'_pos'}; | ||
| 20481 | $self->_MATCHIFYr($S, "stopper", $C->_EXACT("\'")); | ||
| 20482 | } | ||
| 20483 | ; | ||
| 20484 | ## token p5escape:sym<\\> { <sym> <item=p5backslash> } | ||
| 20485 | sub p5escape__S_000Back__PEEK { $_[0]->_AUTOLEXpeek('p5escape__S_000Back', $retree) } | ||
| 20486 | sub p5escape__S_000Back { | ||
| 20487 | no warnings 'recursion'; | ||
| 20488 | my $self = shift; | ||
| 20489 | |||
| 20490 | |||
| 20491 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 20492 | |||
| 20493 | my $C = $self->cursor_xact("RULE p5escape__S_000Back"); | ||
| 20494 | my $xact = $C->xact; | ||
| 20495 | my $S = $C->{'_pos'}; | ||
| 20496 | $C->{sym} = "\\"; | ||
| 20497 | $self->_MATCHIFYr($S, "p5escape__S_000Back", do { | ||
| 20498 | if (my ($C) = ($C->_EXACT("\\"))) { | ||
| 20499 | $C->_SUBSUMEr(['item','p5backslash'], sub { | ||
| 20500 | my $C = shift; | ||
| 20501 | $C->p5backslash | ||
| 20502 | }) | ||
| 20503 | } else { () } | ||
| 20504 | |||
| 20505 | }); | ||
| 20506 | } | ||
| 20507 | ; | ||
| 20508 | ## token p5backslash:qq { <?before 'q'> { $<quote> = $¢.cursor_fresh(%*LANG<MAIN>).quote(); } } | ||
| 20509 | sub p5backslash__S_001qq__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_001qq', $retree) } | ||
| 20510 | sub p5backslash__S_001qq { | ||
| 20511 | no warnings 'recursion'; | ||
| 20512 | my $self = shift; | ||
| 20513 | |||
| 20514 | |||
| 20515 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 20516 | |||
| 20517 | my $C = $self->cursor_xact("RULE p5backslash__S_001qq"); | ||
| 20518 | my $xact = $C->xact; | ||
| 20519 | my $S = $C->{'_pos'}; | ||
| 20520 | $C->{sym} = "qq"; | ||
| 20521 | $self->_MATCHIFYr($S, "p5backslash__S_001qq", do { | ||
| 20522 | if (my ($C) = ($C->before(sub { | ||
| 20523 | my $C=shift; | ||
| 20524 | if (my ($C) = ($C->before(sub { | ||
| 20525 | my $C=shift; | ||
| 20526 | $C->_EXACT("q") | ||
| 20527 | }))) { ($C) } else { () } | ||
| 20528 | }))) { | ||
| 20529 | scalar(do { | ||
| 20530 | my $M = $C; | ||
| 20531 | $M->{'quote'} = $C->cursor_fresh($::LANG{'MAIN'})->quote()}, $C) | ||
| 20532 | } else { () } | ||
| 20533 | |||
| 20534 | }); | ||
| 20535 | } | ||
| 20536 | ; | ||
| 20537 | ## token p5backslash:sym<\\> { <text=sym> } | ||
| 20538 | sub p5backslash__S_002Back__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_002Back', $retree) } | ||
| 20539 | sub p5backslash__S_002Back { | ||
| 20540 | no warnings 'recursion'; | ||
| 20541 | my $self = shift; | ||
| 20542 | |||
| 20543 | |||
| 20544 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 20545 | |||
| 20546 | my $C = $self->cursor_xact("RULE p5backslash__S_002Back"); | ||
| 20547 | my $xact = $C->xact; | ||
| 20548 | my $S = $C->{'_pos'}; | ||
| 20549 | $C->{sym} = "\\"; | ||
| 20550 | $self->_MATCHIFYr($S, "p5backslash__S_002Back", $C->_SUBSUMEr(['text'], sub { | ||
| 20551 | my $C = shift; | ||
| 20552 | $C->_EXACT("\\") | ||
| 20553 | })); | ||
| 20554 | } | ||
| 20555 | ; | ||
| 20556 | ## token p5backslash:stopper { <text=stopper> } | ||
| 20557 | sub p5backslash__S_003stopper__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_003stopper', $retree) } | ||
| 20558 | sub p5backslash__S_003stopper { | ||
| 20559 | no warnings 'recursion'; | ||
| 20560 | my $self = shift; | ||
| 20561 | |||
| 20562 | |||
| 20563 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 20564 | |||
| 20565 | my $C = $self->cursor_xact("RULE p5backslash__S_003stopper"); | ||
| 20566 | my $xact = $C->xact; | ||
| 20567 | my $S = $C->{'_pos'}; | ||
| 20568 | $C->{sym} = "stopper"; | ||
| 20569 | $self->_MATCHIFYr($S, "p5backslash__S_003stopper", $C->_SUBSUMEr(['text','stopper'], sub { | ||
| 20570 | my $C = shift; | ||
| 20571 | $C->stopper | ||
| 20572 | })); | ||
| 20573 | } | ||
| 20574 | ; | ||
| 20575 | ## token p5backslash:misc { {} (.) { $<text> = "\\" ~ $0.Str; } } | ||
| 20576 | sub p5backslash__S_004misc__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_004misc', $retree) } | ||
| 20577 | sub p5backslash__S_004misc { | ||
| 20578 | no warnings 'recursion'; | ||
| 20579 | my $self = shift; | ||
| 20580 | |||
| 20581 | |||
| 20582 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 20583 | |||
| 20584 | my $C = $self->cursor_xact("RULE p5backslash__S_004misc"); | ||
| 20585 | my $xact = $C->xact; | ||
| 20586 | my $S = $C->{'_pos'}; | ||
| 20587 | $C->{sym} = "misc"; | ||
| 20588 | $self->_MATCHIFYr($S, "p5backslash__S_004misc", do { | ||
| 20589 | my $C = $C; | ||
| 20590 | if (($C) = (scalar(do { | ||
| 20591 | }, $C)) | ||
| 20592 | and ($C) = ($C->_SUBSUMEr(['0'], sub { | ||
| 20593 | my $C = shift; | ||
| 20594 | $C->_PAREN( sub { | ||
| 20595 | my $C=shift; | ||
| 20596 | $C->cursor_incr() | ||
| 20597 | |||
| 20598 | }) | ||
| 20599 | }))) { | ||
| 20600 | scalar(do { | ||
| 20601 | my $M = $C; | ||
| 20602 | $M->{'text'} = "\\" . $M->{0}->Str}, $C) | ||
| 20603 | } else { () } | ||
| 20604 | |||
| 20605 | }); | ||
| 20606 | } | ||
| 20607 | ; | ||
| 20608 | ## method tweak (:single(:$q)!) | ||
| 20609 | ; | ||
| 20610 | ## method tweak (:double(:$qq)!) | ||
| 20611 | ; | ||
| 20612 | moose_around tweak => sub { | ||
| 20613 | my $orig = shift; | ||
| 20614 | no warnings 'recursion'; | ||
| 20615 | { | ||
| 20616 | local @_ = @_; | ||
| 20617 | return scalar do { # work around #38809 | ||
| 20618 | my $self = shift; | ||
| 20619 | my %args = @_; | ||
| 20620 | last unless exists $args{single} || exists $args{q}; | ||
| 20621 | my $q = exists $args{single} ? delete $args{single} : exists $args{q} ? delete $args{q} : undef; | ||
| 20622 | $self->panic("Too late for :q") }; | ||
| 20623 | } | ||
| 20624 | { | ||
| 20625 | local @_ = @_; | ||
| 20626 | return scalar do { # work around #38809 | ||
| 20627 | my $self = shift; | ||
| 20628 | my %args = @_; | ||
| 20629 | last unless exists $args{double} || exists $args{qq}; | ||
| 20630 | my $qq = exists $args{double} ? delete $args{double} : exists $args{qq} ? delete $args{qq} : undef; | ||
| 20631 | $self->panic("Too late for :qq") }; | ||
| 20632 | } | ||
| 20633 | $orig->(@_); | ||
| 20634 | }; | ||
| 20635 | |||
| 20636 | 1; }; | ||
| 20637 | { package STD::P5::Q::qq; | ||
| 20638 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 20639 | use Encode; | ||
| 20640 | moose_with('STD::P5::Q::b1'); | ||
| 20641 | moose_with('STD::P5::Q::c1'); | ||
| 20642 | moose_with('STD::P5::Q::s1'); | ||
| 20643 | moose_with('STD::P5::Q::a1'); | ||
| 20644 | moose_with('STD::P5::Q::h1'); | ||
| 20645 | moose_with('STD::P5::Q::f1'); | ||
| 20646 | our $REGEXES = { | ||
| 20647 | ALL => [ qw/p5backslash stopper/ ], | ||
| 20648 | p5backslash => [ qw/p5backslash__S_000misc__PEEK/ ], | ||
| 20649 | }; | ||
| 20650 | |||
| 20651 | |||
| 20652 | no warnings 'qw', 'recursion'; | ||
| 20653 | my $retree; | ||
| 20654 | |||
| 20655 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 20656 | |||
| 20657 | use YAML::XS; | ||
| 20658 | |||
| 20659 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 20660 | " } if $::DEBUG; | ||
| 20661 | |||
| 20662 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 20663 | --- | ||
| 20664 | p5backslash__S_000misc: !!perl/hash:RE_ast | ||
| 20665 | dba: p5backslash | ||
| 20666 | dic: STD::P5::Q::qq | ||
| 20667 | re: !!perl/hash:RE_sequence | ||
| 20668 | zyg: | ||
| 20669 | - !!perl/hash:RE_block {} | ||
| 20670 | - !!perl/hash:RE_bracket | ||
| 20671 | re: &1 !!perl/hash:RE_any | ||
| 20672 | altname: p5backslash__S_000misc_0 | ||
| 20673 | dba: p5backslash | ||
| 20674 | dic: STD::P5::Q::qq | ||
| 20675 | zyg: | ||
| 20676 | - !!perl/hash:RE_sequence | ||
| 20677 | alt: p5backslash__S_000misc_0 0 | ||
| 20678 | zyg: | ||
| 20679 | - !!perl/hash:RE_bindpos | ||
| 20680 | atom: !!perl/hash:RE_paren | ||
| 20681 | re: !!perl/hash:RE_meta | ||
| 20682 | min: 1 | ||
| 20683 | text: \W | ||
| 20684 | - !!perl/hash:RE_block {} | ||
| 20685 | - !!perl/hash:RE_sequence | ||
| 20686 | alt: p5backslash__S_000misc_0 1 | ||
| 20687 | zyg: | ||
| 20688 | - !!perl/hash:RE_bindnamed | ||
| 20689 | atom: !!perl/hash:RE_paren | ||
| 20690 | re: !!perl/hash:RE_meta | ||
| 20691 | min: 1 | ||
| 20692 | text: \w | ||
| 20693 | - !!perl/hash:RE_method | ||
| 20694 | name: panic | ||
| 20695 | rest: 1 | ||
| 20696 | p5backslash__S_000misc_0: *1 | ||
| 20697 | stopper: !!perl/hash:RE_ast | ||
| 20698 | dba: stopper | ||
| 20699 | dic: STD::P5::Q::qq | ||
| 20700 | re: !!perl/hash:RE_meta | ||
| 20701 | min: 1 | ||
| 20702 | text: \" | ||
| 20703 | RETREE_END | ||
| 20704 | ## token stopper { \" } | ||
| 20705 | sub stopper__PEEK { $_[0]->_AUTOLEXpeek('stopper', $retree) } | ||
| 20706 | sub stopper { | ||
| 20707 | no warnings 'recursion'; | ||
| 20708 | my $self = shift; | ||
| 20709 | |||
| 20710 | |||
| 20711 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 20712 | |||
| 20713 | my $C = $self->cursor_xact("RULE stopper"); | ||
| 20714 | my $xact = $C->xact; | ||
| 20715 | my $S = $C->{'_pos'}; | ||
| 20716 | $self->_MATCHIFYr($S, "stopper", $C->_EXACT("\"")); | ||
| 20717 | } | ||
| 20718 | ; | ||
| 20719 | ## token p5backslash:misc { {} [ (\W) { $<text> = $0.Str; } | $<x>=(\w) <.panic("Unrecognized backslash | ||
| 20720 | sub p5backslash__S_000misc__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_000misc', $retree) } | ||
| 20721 | sub p5backslash__S_000misc { | ||
| 20722 | no warnings 'recursion'; | ||
| 20723 | my $self = shift; | ||
| 20724 | |||
| 20725 | |||
| 20726 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 20727 | |||
| 20728 | my $C = $self->cursor_xact("RULE p5backslash__S_000misc"); | ||
| 20729 | my $xact = $C->xact; | ||
| 20730 | my $S = $C->{'_pos'}; | ||
| 20731 | $C->{sym} = "misc"; | ||
| 20732 | $self->_MATCHIFYr($S, "p5backslash__S_000misc", do { | ||
| 20733 | my $C = $C; | ||
| 20734 | if (($C) = (scalar(do { | ||
| 20735 | }, $C)) | ||
| 20736 | and ($C) = ($C->_BRACKETr(sub { | ||
| 20737 | my $C=shift; | ||
| 20738 | do { | ||
| 20739 | my ($tag, $try); | ||
| 20740 | my @try; | ||
| 20741 | my $relex; | ||
| 20742 | |||
| 20743 | my $fate; | ||
| 20744 | my $x; | ||
| 20745 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5backslash__S_000misc_0') { | ||
| 20746 | $C->deb("Fate passed to p5backslash__S_000misc_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 20747 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 20748 | @try = ($try); | ||
| 20749 | $x = 'ALT p5backslash__S_000misc_0'; # some outer ltm is controlling us | ||
| 20750 | } | ||
| 20751 | else { | ||
| 20752 | $x = 'ALTLTM p5backslash__S_000misc_0'; # we are top level ltm | ||
| 20753 | } | ||
| 20754 | my $C = $C->cursor_xact($x); | ||
| 20755 | my $xact = $C->{_xact}; | ||
| 20756 | |||
| 20757 | my @gather = (); | ||
| 20758 | for (;;) { | ||
| 20759 | unless (@try) { | ||
| 20760 | $relex //= $C->cursor_fate('STD::P5::Q::qq', 'p5backslash__S_000misc_0', $retree); | ||
| 20761 | @try = $relex->($C) or last; | ||
| 20762 | } | ||
| 20763 | $try = shift(@try) // next; | ||
| 20764 | |||
| 20765 | if (ref $try) { | ||
| 20766 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 20767 | } | ||
| 20768 | |||
| 20769 | $C->deb("p5backslash__S_000misc_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 20770 | push @gather, (( | ||
| 20771 | sub { | ||
| 20772 | my $C=shift; | ||
| 20773 | if (my ($C) = ($C->_SUBSUMEr(['0'], sub { | ||
| 20774 | my $C = shift; | ||
| 20775 | $C->_PAREN( sub { | ||
| 20776 | my $C=shift; | ||
| 20777 | $C->_PATTERN(qr/\G\W/) | ||
| 20778 | |||
| 20779 | }) | ||
| 20780 | }))) { | ||
| 20781 | scalar(do { | ||
| 20782 | my $M = $C; | ||
| 20783 | $M->{'text'} = $M->{0}->Str}, $C) | ||
| 20784 | } else { () } | ||
| 20785 | }, | ||
| 20786 | sub { | ||
| 20787 | my $C=shift; | ||
| 20788 | if (($C) = ($C->_SUBSUMEr(['x'], sub { | ||
| 20789 | my $C = shift; | ||
| 20790 | $C->_PAREN( sub { | ||
| 20791 | my $C=shift; | ||
| 20792 | $C->_PATTERN(qr/\G\w/) | ||
| 20793 | |||
| 20794 | }) | ||
| 20795 | })) | ||
| 20796 | and ($C) = (do { | ||
| 20797 | my $M = $C; | ||
| 20798 | $C->panic("Unrecognized backslash sequence: '\\" . $M->{'x'}->Str . "'") | ||
| 20799 | })) { | ||
| 20800 | $C | ||
| 20801 | } else { () } | ||
| 20802 | } | ||
| 20803 | )[$try])->($C); | ||
| 20804 | last if @gather; | ||
| 20805 | last if $xact->[-2]; # committed? | ||
| 20806 | } | ||
| 20807 | @gather; | ||
| 20808 | }; | ||
| 20809 | }))) { | ||
| 20810 | $C | ||
| 20811 | } else { () } | ||
| 20812 | |||
| 20813 | }); | ||
| 20814 | } | ||
| 20815 | ; | ||
| 20816 | ## method tweak (:single(:$q)!) | ||
| 20817 | ; | ||
| 20818 | ## method tweak (:double(:$qq)!) | ||
| 20819 | ; | ||
| 20820 | moose_around tweak => sub { | ||
| 20821 | my $orig = shift; | ||
| 20822 | no warnings 'recursion'; | ||
| 20823 | { | ||
| 20824 | local @_ = @_; | ||
| 20825 | return scalar do { # work around #38809 | ||
| 20826 | my $self = shift; | ||
| 20827 | my %args = @_; | ||
| 20828 | last unless exists $args{single} || exists $args{q}; | ||
| 20829 | my $q = exists $args{single} ? delete $args{single} : exists $args{q} ? delete $args{q} : undef; | ||
| 20830 | $self->panic("Too late for :q") }; | ||
| 20831 | } | ||
| 20832 | { | ||
| 20833 | local @_ = @_; | ||
| 20834 | return scalar do { # work around #38809 | ||
| 20835 | my $self = shift; | ||
| 20836 | my %args = @_; | ||
| 20837 | last unless exists $args{double} || exists $args{qq}; | ||
| 20838 | my $qq = exists $args{double} ? delete $args{double} : exists $args{qq} ? delete $args{qq} : undef; | ||
| 20839 | $self->panic("Too late for :qq") }; | ||
| 20840 | } | ||
| 20841 | $orig->(@_); | ||
| 20842 | }; | ||
| 20843 | |||
| 20844 | 1; }; | ||
| 20845 | { package STD::P5::Q::p5; | ||
| 20846 | use Moose::Role ':all' => { -prefix => "moose_" }; | ||
| 20847 | use Encode; | ||
| 20848 | our $ALLROLES = { 'STD::P5::Q::p5', 1 }; | ||
| 20849 | our $REGEXES = { | ||
| 20850 | ALL => [ qw// ], | ||
| 20851 | }; | ||
| 20852 | |||
| 20853 | |||
| 20854 | no warnings 'qw', 'recursion'; | ||
| 20855 | my $retree; | ||
| 20856 | |||
| 20857 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 20858 | |||
| 20859 | use YAML::XS; | ||
| 20860 | |||
| 20861 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 20862 | " } if $::DEBUG; | ||
| 20863 | |||
| 20864 | ## method tweak (:$g!) | ||
| 20865 | ; | ||
| 20866 | ## method tweak (:$i!) | ||
| 20867 | ; | ||
| 20868 | ## method tweak (:$m!) | ||
| 20869 | ; | ||
| 20870 | ## method tweak (:$s!) | ||
| 20871 | ; | ||
| 20872 | ## method tweak (:$x!) | ||
| 20873 | ; | ||
| 20874 | ## method tweak (:$p!) | ||
| 20875 | ; | ||
| 20876 | ## method tweak (:$c!) | ||
| 20877 | ; | ||
| 20878 | moose_around tweak => sub { | ||
| 20879 | my $orig = shift; | ||
| 20880 | no warnings 'recursion'; | ||
| 20881 | { | ||
| 20882 | local @_ = @_; | ||
| 20883 | return scalar do { # work around #38809 | ||
| 20884 | my $self = shift; | ||
| 20885 | my %args = @_; | ||
| 20886 | last unless exists $args{g}; | ||
| 20887 | my $g = exists $args{g} ? delete $args{g} : undef; | ||
| 20888 | $self }; | ||
| 20889 | } | ||
| 20890 | { | ||
| 20891 | local @_ = @_; | ||
| 20892 | return scalar do { # work around #38809 | ||
| 20893 | my $self = shift; | ||
| 20894 | my %args = @_; | ||
| 20895 | last unless exists $args{i}; | ||
| 20896 | my $i = exists $args{i} ? delete $args{i} : undef; | ||
| 20897 | $self }; | ||
| 20898 | } | ||
| 20899 | { | ||
| 20900 | local @_ = @_; | ||
| 20901 | return scalar do { # work around #38809 | ||
| 20902 | my $self = shift; | ||
| 20903 | my %args = @_; | ||
| 20904 | last unless exists $args{m}; | ||
| 20905 | my $m = exists $args{m} ? delete $args{m} : undef; | ||
| 20906 | $self }; | ||
| 20907 | } | ||
| 20908 | { | ||
| 20909 | local @_ = @_; | ||
| 20910 | return scalar do { # work around #38809 | ||
| 20911 | my $self = shift; | ||
| 20912 | my %args = @_; | ||
| 20913 | last unless exists $args{s}; | ||
| 20914 | my $s = exists $args{s} ? delete $args{s} : undef; | ||
| 20915 | $self }; | ||
| 20916 | } | ||
| 20917 | { | ||
| 20918 | local @_ = @_; | ||
| 20919 | return scalar do { # work around #38809 | ||
| 20920 | my $self = shift; | ||
| 20921 | my %args = @_; | ||
| 20922 | last unless exists $args{x}; | ||
| 20923 | my $x = exists $args{x} ? delete $args{x} : undef; | ||
| 20924 | $self }; | ||
| 20925 | } | ||
| 20926 | { | ||
| 20927 | local @_ = @_; | ||
| 20928 | return scalar do { # work around #38809 | ||
| 20929 | my $self = shift; | ||
| 20930 | my %args = @_; | ||
| 20931 | last unless exists $args{p}; | ||
| 20932 | my $p = exists $args{p} ? delete $args{p} : undef; | ||
| 20933 | $self }; | ||
| 20934 | } | ||
| 20935 | { | ||
| 20936 | local @_ = @_; | ||
| 20937 | return scalar do { # work around #38809 | ||
| 20938 | my $self = shift; | ||
| 20939 | my %args = @_; | ||
| 20940 | last unless exists $args{c}; | ||
| 20941 | my $c = exists $args{c} ? delete $args{c} : undef; | ||
| 20942 | $self }; | ||
| 20943 | } | ||
| 20944 | $orig->(@_); | ||
| 20945 | }; | ||
| 20946 | |||
| 20947 | 1; }; | ||
| 20948 | ## method tweak (:single(:$q)!) | ||
| 20949 | ; | ||
| 20950 | ## method tweak (:double(:$qq)!) | ||
| 20951 | ; | ||
| 20952 | ## method tweak (:backslash(:$b)!) | ||
| 20953 | ; | ||
| 20954 | ## method tweak (:scalar(:$s)!) | ||
| 20955 | ; | ||
| 20956 | ## method tweak (:array(:$a)!) | ||
| 20957 | ; | ||
| 20958 | ## method tweak (:hash(:$h)!) | ||
| 20959 | ; | ||
| 20960 | ## method tweak (:function(:$f)!) | ||
| 20961 | ; | ||
| 20962 | ## method tweak (:closure(:$c)!) | ||
| 20963 | ; | ||
| 20964 | ## method tweak (:exec(:$x)!) | ||
| 20965 | ; | ||
| 20966 | ## method tweak (:words(:$w)!) | ||
| 20967 | ; | ||
| 20968 | ## method tweak (:quotewords(:$ww)!) | ||
| 20969 | ; | ||
| 20970 | ## method tweak (:heredoc(:$to)!) | ||
| 20971 | ; | ||
| 20972 | ## method tweak (:$regex!) | ||
| 20973 | ; | ||
| 20974 | ## method tweak (:$trans!) | ||
| 20975 | ; | ||
| 20976 | ## method tweak (*%x) | ||
| 20977 | ; | ||
| 20978 | moose_around tweak => sub { | ||
| 20979 | my $orig = shift; | ||
| 20980 | no warnings 'recursion'; | ||
| 20981 | { | ||
| 20982 | local @_ = @_; | ||
| 20983 | return scalar do { # work around #38809 | ||
| 20984 | my $self = shift; | ||
| 20985 | my %args = @_; | ||
| 20986 | last unless exists $args{single} || exists $args{q}; | ||
| 20987 | my $q = exists $args{single} ? delete $args{single} : exists $args{q} ? delete $args{q} : undef; | ||
| 20988 | $self->truly($q,':q'); | ||
| 20989 | $self->mixin( 'STD::P5::Q::q' ); | ||
| 20990 | }; | ||
| 20991 | } | ||
| 20992 | { | ||
| 20993 | local @_ = @_; | ||
| 20994 | return scalar do { # work around #38809 | ||
| 20995 | my $self = shift; | ||
| 20996 | my %args = @_; | ||
| 20997 | last unless exists $args{double} || exists $args{qq}; | ||
| 20998 | my $qq = exists $args{double} ? delete $args{double} : exists $args{qq} ? delete $args{qq} : undef; | ||
| 20999 | $self->truly($qq, ':qq'); | ||
| 21000 | $self->mixin( 'STD::P5::Q::qq' ); | ||
| 21001 | }; | ||
| 21002 | } | ||
| 21003 | { | ||
| 21004 | local @_ = @_; | ||
| 21005 | return scalar do { # work around #38809 | ||
| 21006 | my $self = shift; | ||
| 21007 | my %args = @_; | ||
| 21008 | last unless exists $args{backslash} || exists $args{b}; | ||
| 21009 | my $b = exists $args{backslash} ? delete $args{backslash} : exists $args{b} ? delete $args{b} : undef; | ||
| 21010 | $self->mixin($b ? 'STD::P5::Q::b1' : 'STD::P5::Q::b0') }; | ||
| 21011 | } | ||
| 21012 | { | ||
| 21013 | local @_ = @_; | ||
| 21014 | return scalar do { # work around #38809 | ||
| 21015 | my $self = shift; | ||
| 21016 | my %args = @_; | ||
| 21017 | last unless exists $args{scalar} || exists $args{s}; | ||
| 21018 | my $s = exists $args{scalar} ? delete $args{scalar} : exists $args{s} ? delete $args{s} : undef; | ||
| 21019 | $self->mixin($s ? 'STD::P5::Q::s1' : 'STD::P5::Q::s0') }; | ||
| 21020 | } | ||
| 21021 | { | ||
| 21022 | local @_ = @_; | ||
| 21023 | return scalar do { # work around #38809 | ||
| 21024 | my $self = shift; | ||
| 21025 | my %args = @_; | ||
| 21026 | last unless exists $args{array} || exists $args{a}; | ||
| 21027 | my $a = exists $args{array} ? delete $args{array} : exists $args{a} ? delete $args{a} : undef; | ||
| 21028 | $self->mixin($a ? 'STD::P5::Q::a1' : 'STD::P5::Q::a0') }; | ||
| 21029 | } | ||
| 21030 | { | ||
| 21031 | local @_ = @_; | ||
| 21032 | return scalar do { # work around #38809 | ||
| 21033 | my $self = shift; | ||
| 21034 | my %args = @_; | ||
| 21035 | last unless exists $args{hash} || exists $args{h}; | ||
| 21036 | my $h = exists $args{hash} ? delete $args{hash} : exists $args{h} ? delete $args{h} : undef; | ||
| 21037 | $self->mixin($h ? 'STD::P5::Q::h1' : 'STD::P5::Q::h0') }; | ||
| 21038 | } | ||
| 21039 | { | ||
| 21040 | local @_ = @_; | ||
| 21041 | return scalar do { # work around #38809 | ||
| 21042 | my $self = shift; | ||
| 21043 | my %args = @_; | ||
| 21044 | last unless exists $args{function} || exists $args{f}; | ||
| 21045 | my $f = exists $args{function} ? delete $args{function} : exists $args{f} ? delete $args{f} : undef; | ||
| 21046 | $self->mixin($f ? 'STD::P5::Q::f1' : 'STD::P5::Q::f0') }; | ||
| 21047 | } | ||
| 21048 | { | ||
| 21049 | local @_ = @_; | ||
| 21050 | return scalar do { # work around #38809 | ||
| 21051 | my $self = shift; | ||
| 21052 | my %args = @_; | ||
| 21053 | last unless exists $args{closure} || exists $args{c}; | ||
| 21054 | my $c = exists $args{closure} ? delete $args{closure} : exists $args{c} ? delete $args{c} : undef; | ||
| 21055 | $self->mixin($c ? 'STD::P5::Q::c1' : 'STD::P5::Q::c0') }; | ||
| 21056 | } | ||
| 21057 | { | ||
| 21058 | local @_ = @_; | ||
| 21059 | return scalar do { # work around #38809 | ||
| 21060 | my $self = shift; | ||
| 21061 | my %args = @_; | ||
| 21062 | last unless exists $args{exec} || exists $args{x}; | ||
| 21063 | my $x = exists $args{exec} ? delete $args{exec} : exists $args{x} ? delete $args{x} : undef; | ||
| 21064 | $self->mixin($x ? 'STD::P5::Q::x1' : 'STD::P5::Q::x0') }; | ||
| 21065 | } | ||
| 21066 | { | ||
| 21067 | local @_ = @_; | ||
| 21068 | return scalar do { # work around #38809 | ||
| 21069 | my $self = shift; | ||
| 21070 | my %args = @_; | ||
| 21071 | last unless exists $args{words} || exists $args{w}; | ||
| 21072 | my $w = exists $args{words} ? delete $args{words} : exists $args{w} ? delete $args{w} : undef; | ||
| 21073 | $self->mixin($w ? 'STD::P5::Q::w1' : 'STD::P5::Q::w0') }; | ||
| 21074 | } | ||
| 21075 | { | ||
| 21076 | local @_ = @_; | ||
| 21077 | return scalar do { # work around #38809 | ||
| 21078 | my $self = shift; | ||
| 21079 | my %args = @_; | ||
| 21080 | last unless exists $args{quotewords} || exists $args{ww}; | ||
| 21081 | my $ww = exists $args{quotewords} ? delete $args{quotewords} : exists $args{ww} ? delete $args{ww} : undef; | ||
| 21082 | $self->mixin($ww ? 'STD::P5::Q::ww1' : 'STD::P5::Q::ww0') }; | ||
| 21083 | } | ||
| 21084 | { | ||
| 21085 | local @_ = @_; | ||
| 21086 | return scalar do { # work around #38809 | ||
| 21087 | my $self = shift; | ||
| 21088 | my %args = @_; | ||
| 21089 | last unless exists $args{heredoc} || exists $args{to}; | ||
| 21090 | my $to = exists $args{heredoc} ? delete $args{heredoc} : exists $args{to} ? delete $args{to} : undef; | ||
| 21091 | $self->truly($to, ':to'); | ||
| 21092 | $self->cursor_herelang; | ||
| 21093 | }; | ||
| 21094 | } | ||
| 21095 | { | ||
| 21096 | local @_ = @_; | ||
| 21097 | return scalar do { # work around #38809 | ||
| 21098 | my $self = shift; | ||
| 21099 | my %args = @_; | ||
| 21100 | last unless exists $args{regex}; | ||
| 21101 | my $regex = exists $args{regex} ? delete $args{regex} : undef; | ||
| 21102 | return $::LANG{'Regex'} }; | ||
| 21103 | } | ||
| 21104 | { | ||
| 21105 | local @_ = @_; | ||
| 21106 | return scalar do { # work around #38809 | ||
| 21107 | my $self = shift; | ||
| 21108 | my %args = @_; | ||
| 21109 | last unless exists $args{trans}; | ||
| 21110 | my $trans = exists $args{trans} ? delete $args{trans} : undef; | ||
| 21111 | return $::LANG{'Trans'} }; | ||
| 21112 | } | ||
| 21113 | { | ||
| 21114 | local @_ = @_; | ||
| 21115 | return scalar do { # work around #38809 | ||
| 21116 | my $self = shift; | ||
| 21117 | my %args = @_; | ||
| 21118 | my %x = %args; | ||
| 21119 | my @k = keys(%x); | ||
| 21120 | $self->panic("Unrecognized quote modifier: " . join('',@k)); | ||
| 21121 | }; | ||
| 21122 | } | ||
| 21123 | $orig->(@_); | ||
| 21124 | }; | ||
| 21125 | |||
| 21126 | 1; }; | ||
| 21127 | ## token capterm { | ||
| 21128 | sub capterm__PEEK { $_[0]->_AUTOLEXpeek('capterm', $retree) } | ||
| 21129 | sub capterm { | ||
| 21130 | no warnings 'recursion'; | ||
| 21131 | my $self = shift; | ||
| 21132 | |||
| 21133 | |||
| 21134 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21135 | |||
| 21136 | my $C = $self->cursor_xact("RULE capterm"); | ||
| 21137 | my $xact = $C->xact; | ||
| 21138 | my $S = $C->{'_pos'}; | ||
| 21139 | $C->{'capture'} = []; | ||
| 21140 | $self->_MATCHIFYr($S, "capterm", do { | ||
| 21141 | my $C = $C; | ||
| 21142 | if (($C) = ($C->_EXACT("\\")) | ||
| 21143 | and ($C) = ($C->_BRACKETr(sub { | ||
| 21144 | my $C=shift; | ||
| 21145 | do { | ||
| 21146 | my ($tag, $try); | ||
| 21147 | my @try; | ||
| 21148 | my $relex; | ||
| 21149 | |||
| 21150 | my $fate; | ||
| 21151 | my $x; | ||
| 21152 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'capterm_0') { | ||
| 21153 | $C->deb("Fate passed to capterm_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 21154 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 21155 | @try = ($try); | ||
| 21156 | $x = 'ALT capterm_0'; # some outer ltm is controlling us | ||
| 21157 | } | ||
| 21158 | else { | ||
| 21159 | $x = 'ALTLTM capterm_0'; # we are top level ltm | ||
| 21160 | } | ||
| 21161 | my $C = $C->cursor_xact($x); | ||
| 21162 | my $xact = $C->{_xact}; | ||
| 21163 | |||
| 21164 | my @gather = (); | ||
| 21165 | for (;;) { | ||
| 21166 | unless (@try) { | ||
| 21167 | $relex //= $C->cursor_fate('STD::STD::P5', 'capterm_0', $retree); | ||
| 21168 | @try = $relex->($C) or last; | ||
| 21169 | } | ||
| 21170 | $try = shift(@try) // next; | ||
| 21171 | |||
| 21172 | if (ref $try) { | ||
| 21173 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 21174 | } | ||
| 21175 | |||
| 21176 | $C->deb("capterm_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 21177 | push @gather, (( | ||
| 21178 | sub { | ||
| 21179 | my $C=shift; | ||
| 21180 | if (($C) = ($C->_EXACT("\(")) | ||
| 21181 | and ($C) = ($C->_OPTr(sub { | ||
| 21182 | my $C=shift; | ||
| 21183 | $C->_SUBSUMEr(['capture'], sub { | ||
| 21184 | my $C = shift; | ||
| 21185 | $C->capture | ||
| 21186 | }) | ||
| 21187 | }))) { | ||
| 21188 | $C->_EXACT("\)") | ||
| 21189 | } else { () } | ||
| 21190 | }, | ||
| 21191 | sub { | ||
| 21192 | my $C=shift; | ||
| 21193 | if (my ($C) = ($C->before(sub { | ||
| 21194 | my $C=shift; | ||
| 21195 | if (my ($C) = ($C->before(sub { | ||
| 21196 | my $C=shift; | ||
| 21197 | $C->_PATTERN(qr/\G\S/) | ||
| 21198 | }))) { ($C) } else { () } | ||
| 21199 | }))) { | ||
| 21200 | $C->_SUBSUMEr(['termish'], sub { | ||
| 21201 | my $C = shift; | ||
| 21202 | $C->termish | ||
| 21203 | }) | ||
| 21204 | } else { () } | ||
| 21205 | } | ||
| 21206 | )[$try])->($C); | ||
| 21207 | last if @gather; | ||
| 21208 | last if $xact->[-2]; # committed? | ||
| 21209 | } | ||
| 21210 | @gather; | ||
| 21211 | }; | ||
| 21212 | }))) { | ||
| 21213 | $C | ||
| 21214 | } else { () } | ||
| 21215 | |||
| 21216 | }); | ||
| 21217 | } | ||
| 21218 | ; | ||
| 21219 | ## rule capture { | ||
| 21220 | sub capture__PEEK { $_[0]->_AUTOLEXpeek('capture', $retree) } | ||
| 21221 | sub capture { | ||
| 21222 | no warnings 'recursion'; | ||
| 21223 | my $self = shift; | ||
| 21224 | |||
| 21225 | local $::INVOCANT_OK = 1; | ||
| 21226 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21227 | |||
| 21228 | my $C = $self->cursor_xact("RULE capture"); | ||
| 21229 | my $xact = $C->xact; | ||
| 21230 | my $S = $C->{'_pos'}; | ||
| 21231 | $self->_MATCHIFYr($S, "capture", do { | ||
| 21232 | my $C = $C; | ||
| 21233 | if (($C) = ($C->ws) | ||
| 21234 | and ($C) = ($C->_SUBSUMEr(['EXPR'], sub { | ||
| 21235 | my $C = shift; | ||
| 21236 | $C->EXPR | ||
| 21237 | })) | ||
| 21238 | and ($C) = ($C->ws)) { | ||
| 21239 | $C | ||
| 21240 | } else { () } | ||
| 21241 | |||
| 21242 | }); | ||
| 21243 | } | ||
| 21244 | ; | ||
| 21245 | ## rule param_sep { [','|':'|';'|';;'] } | ||
| 21246 | sub param_sep__PEEK { $_[0]->_AUTOLEXpeek('param_sep', $retree) } | ||
| 21247 | sub param_sep { | ||
| 21248 | no warnings 'recursion'; | ||
| 21249 | my $self = shift; | ||
| 21250 | |||
| 21251 | |||
| 21252 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21253 | |||
| 21254 | my $C = $self->cursor_xact("RULE param_sep"); | ||
| 21255 | my $xact = $C->xact; | ||
| 21256 | my $S = $C->{'_pos'}; | ||
| 21257 | $self->_MATCHIFYr($S, "param_sep", do { | ||
| 21258 | my $C = $C; | ||
| 21259 | if (($C) = ($C->ws) | ||
| 21260 | and ($C) = ($C->_BRACKETr(sub { | ||
| 21261 | my $C=shift; | ||
| 21262 | do { | ||
| 21263 | my ($tag, $try); | ||
| 21264 | my @try; | ||
| 21265 | my $relex; | ||
| 21266 | |||
| 21267 | my $fate; | ||
| 21268 | my $x; | ||
| 21269 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'param_sep_0') { | ||
| 21270 | $C->deb("Fate passed to param_sep_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 21271 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 21272 | @try = ($try); | ||
| 21273 | $x = 'ALT param_sep_0'; # some outer ltm is controlling us | ||
| 21274 | } | ||
| 21275 | else { | ||
| 21276 | $x = 'ALTLTM param_sep_0'; # we are top level ltm | ||
| 21277 | } | ||
| 21278 | my $C = $C->cursor_xact($x); | ||
| 21279 | my $xact = $C->{_xact}; | ||
| 21280 | |||
| 21281 | my @gather = (); | ||
| 21282 | for (;;) { | ||
| 21283 | unless (@try) { | ||
| 21284 | $relex //= $C->cursor_fate('STD::STD::P5', 'param_sep_0', $retree); | ||
| 21285 | @try = $relex->($C) or last; | ||
| 21286 | } | ||
| 21287 | $try = shift(@try) // next; | ||
| 21288 | |||
| 21289 | if (ref $try) { | ||
| 21290 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 21291 | } | ||
| 21292 | |||
| 21293 | $C->deb("param_sep_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 21294 | push @gather, (( | ||
| 21295 | sub { | ||
| 21296 | my $C=shift; | ||
| 21297 | $C->_EXACT("\,") | ||
| 21298 | }, | ||
| 21299 | sub { | ||
| 21300 | my $C=shift; | ||
| 21301 | $C->_EXACT("\:") | ||
| 21302 | }, | ||
| 21303 | sub { | ||
| 21304 | my $C=shift; | ||
| 21305 | $C->_EXACT("\;") | ||
| 21306 | }, | ||
| 21307 | sub { | ||
| 21308 | my $C=shift; | ||
| 21309 | $C->_EXACT("\;\;") | ||
| 21310 | } | ||
| 21311 | )[$try])->($C); | ||
| 21312 | last if @gather; | ||
| 21313 | last if $xact->[-2]; # committed? | ||
| 21314 | } | ||
| 21315 | @gather; | ||
| 21316 | }; | ||
| 21317 | })) | ||
| 21318 | and ($C) = ($C->ws)) { | ||
| 21319 | $C | ||
| 21320 | } else { () } | ||
| 21321 | |||
| 21322 | }); | ||
| 21323 | } | ||
| 21324 | ; | ||
| 21325 | ## token signature ($lexsig = 0) { | ||
| 21326 | sub signature__PEEK { $_[0]->_AUTOLEXpeek('signature', $retree) } | ||
| 21327 | sub signature { | ||
| 21328 | no warnings 'recursion'; | ||
| 21329 | my $self = shift; | ||
| 21330 | |||
| 21331 | my $lexsig = @_ ? shift() : 0; | ||
| 21332 | local $::IN_DECL = 1;local $::zone = 'posreq';my $startpos = $self->{'_pos'}; | ||
| 21333 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21334 | |||
| 21335 | my $C = $self->cursor_xact("RULE signature"); | ||
| 21336 | my $xact = $C->xact; | ||
| 21337 | my $S = $C->{'_pos'}; | ||
| 21338 | $C->{'param_sep'} = []; | ||
| 21339 | $C->{'parameter'} = []; | ||
| 21340 | $C->{'typename'} = []; | ||
| 21341 | $self->_MATCHIFYr($S, "signature", do { | ||
| 21342 | my $C = $C; | ||
| 21343 | if (($C) = ($C->ws) | ||
| 21344 | and ($C) = ($C->_REPSEPr( sub { | ||
| 21345 | my $C=shift; | ||
| 21346 | $C->_SUBSUMEr(['param_sep'], sub { | ||
| 21347 | my $C = shift; | ||
| 21348 | $C->param_sep | ||
| 21349 | }) | ||
| 21350 | }, sub { | ||
| 21351 | my $C=shift; | ||
| 21352 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 21353 | my $C=shift; | ||
| 21354 | do { | ||
| 21355 | my ($tag, $try); | ||
| 21356 | my @try; | ||
| 21357 | my $relex; | ||
| 21358 | |||
| 21359 | my $fate; | ||
| 21360 | my $x; | ||
| 21361 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'signature_0') { | ||
| 21362 | $C->deb("Fate passed to signature_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 21363 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 21364 | @try = ($try); | ||
| 21365 | $x = 'ALT signature_0'; # some outer ltm is controlling us | ||
| 21366 | } | ||
| 21367 | else { | ||
| 21368 | $x = 'ALTLTM signature_0'; # we are top level ltm | ||
| 21369 | } | ||
| 21370 | my $C = $C->cursor_xact($x); | ||
| 21371 | my $xact = $C->{_xact}; | ||
| 21372 | |||
| 21373 | my @gather = (); | ||
| 21374 | for (;;) { | ||
| 21375 | unless (@try) { | ||
| 21376 | $relex //= $C->cursor_fate('STD::STD::P5', 'signature_0', $retree); | ||
| 21377 | @try = $relex->($C) or last; | ||
| 21378 | } | ||
| 21379 | $try = shift(@try) // next; | ||
| 21380 | |||
| 21381 | if (ref $try) { | ||
| 21382 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 21383 | } | ||
| 21384 | |||
| 21385 | $C->deb("signature_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 21386 | push @gather, (( | ||
| 21387 | sub { | ||
| 21388 | my $C=shift; | ||
| 21389 | if (my ($C) = ($C->before(sub { | ||
| 21390 | my $C=shift; | ||
| 21391 | if (my ($C) = ($C->before(sub { | ||
| 21392 | my $C=shift; | ||
| 21393 | if (my ($C) = (do { | ||
| 21394 | do { | ||
| 21395 | my ($tag, $try); | ||
| 21396 | my @try; | ||
| 21397 | my $relex; | ||
| 21398 | |||
| 21399 | my $fate; | ||
| 21400 | my $x; | ||
| 21401 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'signature_1') { | ||
| 21402 | $C->deb("Fate passed to signature_1: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 21403 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 21404 | @try = ($try); | ||
| 21405 | $x = 'ALT signature_1'; # some outer ltm is controlling us | ||
| 21406 | } | ||
| 21407 | else { | ||
| 21408 | $x = 'ALTLTM signature_1'; # we are top level ltm | ||
| 21409 | } | ||
| 21410 | my $C = $C->cursor_xact($x); | ||
| 21411 | my $xact = $C->{_xact}; | ||
| 21412 | |||
| 21413 | my @gather = (); | ||
| 21414 | for (;;) { | ||
| 21415 | unless (@try) { | ||
| 21416 | $relex //= $C->cursor_fate('STD::STD::P5', 'signature_1', $retree); | ||
| 21417 | @try = $relex->($C) or last; | ||
| 21418 | } | ||
| 21419 | $try = shift(@try) // next; | ||
| 21420 | |||
| 21421 | if (ref $try) { | ||
| 21422 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 21423 | } | ||
| 21424 | |||
| 21425 | $C->deb("signature_1 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 21426 | push @gather, (( | ||
| 21427 | sub { | ||
| 21428 | my $C=shift; | ||
| 21429 | $C->_EXACT("\-\-\>") | ||
| 21430 | }, | ||
| 21431 | sub { | ||
| 21432 | my $C=shift; | ||
| 21433 | $C->_EXACT("\)") | ||
| 21434 | }, | ||
| 21435 | sub { | ||
| 21436 | my $C=shift; | ||
| 21437 | $C->_EXACT("\]") | ||
| 21438 | }, | ||
| 21439 | sub { | ||
| 21440 | my $C=shift; | ||
| 21441 | $C->_EXACT("\{") | ||
| 21442 | }, | ||
| 21443 | sub { | ||
| 21444 | my $C=shift; | ||
| 21445 | $C->_PATTERN(qr/\G\:\s/) | ||
| 21446 | } | ||
| 21447 | )[$try])->($C); | ||
| 21448 | last if @gather; | ||
| 21449 | last if $xact->[-2]; # committed? | ||
| 21450 | } | ||
| 21451 | @gather; | ||
| 21452 | }; | ||
| 21453 | |||
| 21454 | })) { ($C) } else { () } | ||
| 21455 | }))) { ($C) } else { () } | ||
| 21456 | }))) { ($C) } else { () } | ||
| 21457 | }, | ||
| 21458 | sub { | ||
| 21459 | my $C=shift; | ||
| 21460 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 21461 | my $C=shift; | ||
| 21462 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 21463 | my $xact = $C->xact; | ||
| 21464 | my @gather; | ||
| 21465 | do { | ||
| 21466 | push @gather, $C->_SUBSUMEr(['parameter'], sub { | ||
| 21467 | my $C = shift; | ||
| 21468 | $C->parameter | ||
| 21469 | }) | ||
| 21470 | } | ||
| 21471 | or $xact->[-2] or | ||
| 21472 | do { | ||
| 21473 | push @gather, do { | ||
| 21474 | if (my ($C) = ($C->panic("Malformed parameter"))) { ($C) } else { () } | ||
| 21475 | |||
| 21476 | } | ||
| 21477 | }; | ||
| 21478 | @gather; | ||
| 21479 | } | ||
| 21480 | }))) { ($C) } else { () } | ||
| 21481 | } | ||
| 21482 | )[$try])->($C); | ||
| 21483 | last if @gather; | ||
| 21484 | last if $xact->[-2]; # committed? | ||
| 21485 | } | ||
| 21486 | @gather; | ||
| 21487 | }; | ||
| 21488 | }))) { ($C) } else { () } | ||
| 21489 | })) | ||
| 21490 | and ($C) = ($C->ws) | ||
| 21491 | and ($C) = (scalar(do { | ||
| 21492 | $::IN_DECL = 0}, $C)) | ||
| 21493 | and ($C) = ($C->_OPTr(sub { | ||
| 21494 | my $C=shift; | ||
| 21495 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 21496 | my $C=shift; | ||
| 21497 | if (($C) = ($C->_EXACT("\-\-\>")) | ||
| 21498 | and ($C) = ($C->ws)) { | ||
| 21499 | $C->_SUBSUMEr(['typename'], sub { | ||
| 21500 | my $C = shift; | ||
| 21501 | $C->typename | ||
| 21502 | }) | ||
| 21503 | } else { () } | ||
| 21504 | }))) { ($C) } else { () } | ||
| 21505 | }))) { | ||
| 21506 | scalar(do { | ||
| 21507 | { | ||
| 21508 | $::LEFTSIGIL = '@'; | ||
| 21509 | if ($lexsig) { | ||
| 21510 | $::CURLEX->{'$?SIGNATURE'} .= '(' . substr($::ORIG, $startpos, $C->{'_pos'} - $startpos) . ')'; | ||
| 21511 | delete $::CURLEX->{'!NEEDSIG'}; | ||
| 21512 | }; | ||
| 21513 | }}, $C) | ||
| 21514 | } else { () } | ||
| 21515 | |||
| 21516 | }); | ||
| 21517 | } | ||
| 21518 | ; | ||
| 21519 | ## token type_constraint { | ||
| 21520 | sub type_constraint__PEEK { $_[0]->_AUTOLEXpeek('type_constraint', $retree) } | ||
| 21521 | sub type_constraint { | ||
| 21522 | no warnings 'recursion'; | ||
| 21523 | my $self = shift; | ||
| 21524 | |||
| 21525 | |||
| 21526 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21527 | |||
| 21528 | my $C = $self->cursor_xact("RULE type_constraint"); | ||
| 21529 | my $xact = $C->xact; | ||
| 21530 | my $S = $C->{'_pos'}; | ||
| 21531 | $self->_MATCHIFYr($S, "type_constraint", do { | ||
| 21532 | my $C = $C; | ||
| 21533 | if (($C) = ($C->_SUBSUMEr(['typename'], sub { | ||
| 21534 | my $C = shift; | ||
| 21535 | $C->typename | ||
| 21536 | })) | ||
| 21537 | and ($C) = ($C->ws)) { | ||
| 21538 | $C | ||
| 21539 | } else { () } | ||
| 21540 | |||
| 21541 | }); | ||
| 21542 | } | ||
| 21543 | ; | ||
| 21544 | ## rule p5statement_prefix:do {<sym> <block> } | ||
| 21545 | sub p5statement_prefix__S_128do__PEEK { $_[0]->_AUTOLEXpeek('p5statement_prefix__S_128do', $retree) } | ||
| 21546 | sub p5statement_prefix__S_128do { | ||
| 21547 | no warnings 'recursion'; | ||
| 21548 | my $self = shift; | ||
| 21549 | |||
| 21550 | |||
| 21551 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21552 | |||
| 21553 | my $C = $self->cursor_xact("RULE p5statement_prefix__S_128do"); | ||
| 21554 | my $xact = $C->xact; | ||
| 21555 | my $S = $C->{'_pos'}; | ||
| 21556 | $C->{sym} = "do"; | ||
| 21557 | $self->_MATCHIFYr($S, "p5statement_prefix__S_128do", do { | ||
| 21558 | my $C = $C; | ||
| 21559 | if (($C) = ($C->_EXACT("do")) | ||
| 21560 | and ($C) = ($C->ws) | ||
| 21561 | and ($C) = ($C->_SUBSUMEr(['block'], sub { | ||
| 21562 | my $C = shift; | ||
| 21563 | $C->block | ||
| 21564 | })) | ||
| 21565 | and ($C) = ($C->ws)) { | ||
| 21566 | $C | ||
| 21567 | } else { () } | ||
| 21568 | |||
| 21569 | }); | ||
| 21570 | } | ||
| 21571 | ; | ||
| 21572 | ## rule p5statement_prefix:eval {<sym> <block> } | ||
| 21573 | sub p5statement_prefix__S_129eval__PEEK { $_[0]->_AUTOLEXpeek('p5statement_prefix__S_129eval', $retree) } | ||
| 21574 | sub p5statement_prefix__S_129eval { | ||
| 21575 | no warnings 'recursion'; | ||
| 21576 | my $self = shift; | ||
| 21577 | |||
| 21578 | |||
| 21579 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21580 | |||
| 21581 | my $C = $self->cursor_xact("RULE p5statement_prefix__S_129eval"); | ||
| 21582 | my $xact = $C->xact; | ||
| 21583 | my $S = $C->{'_pos'}; | ||
| 21584 | $C->{sym} = "eval"; | ||
| 21585 | $self->_MATCHIFYr($S, "p5statement_prefix__S_129eval", do { | ||
| 21586 | my $C = $C; | ||
| 21587 | if (($C) = ($C->_EXACT("eval")) | ||
| 21588 | and ($C) = ($C->ws) | ||
| 21589 | and ($C) = ($C->_SUBSUMEr(['block'], sub { | ||
| 21590 | my $C = shift; | ||
| 21591 | $C->block | ||
| 21592 | })) | ||
| 21593 | and ($C) = ($C->ws)) { | ||
| 21594 | $C | ||
| 21595 | } else { () } | ||
| 21596 | |||
| 21597 | }); | ||
| 21598 | } | ||
| 21599 | ; | ||
| 21600 | ## token p5term:sym<undef> { | ||
| 21601 | sub p5term__S_130undef__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_130undef', $retree) } | ||
| 21602 | sub p5term__S_130undef { | ||
| 21603 | no warnings 'recursion'; | ||
| 21604 | my $self = shift; | ||
| 21605 | |||
| 21606 | |||
| 21607 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21608 | |||
| 21609 | my $C = $self->cursor_xact("RULE p5term__S_130undef"); | ||
| 21610 | my $xact = $C->xact; | ||
| 21611 | my $S = $C->{'_pos'}; | ||
| 21612 | $C->{sym} = "undef"; | ||
| 21613 | $self->_MATCHIFYr($S, "p5term__S_130undef", do { | ||
| 21614 | if (my ($C) = ($C->_PATTERN(qr/\Gundef\b/))) { | ||
| 21615 | $C->_SUBSUMEr(['O'], sub { | ||
| 21616 | my $C = shift; | ||
| 21617 | $C->O(%term) | ||
| 21618 | }) | ||
| 21619 | } else { () } | ||
| 21620 | |||
| 21621 | }); | ||
| 21622 | } | ||
| 21623 | ; | ||
| 21624 | ## token p5term:sym<continue> | ||
| 21625 | sub p5term__S_131continue__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_131continue', $retree) } | ||
| 21626 | sub p5term__S_131continue { | ||
| 21627 | no warnings 'recursion'; | ||
| 21628 | my $self = shift; | ||
| 21629 | |||
| 21630 | |||
| 21631 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21632 | |||
| 21633 | my $C = $self->cursor_xact("RULE p5term__S_131continue"); | ||
| 21634 | my $xact = $C->xact; | ||
| 21635 | my $S = $C->{'_pos'}; | ||
| 21636 | $C->{sym} = "continue"; | ||
| 21637 | $self->_MATCHIFYr($S, "p5term__S_131continue", do { | ||
| 21638 | if (my ($C) = ($C->_PATTERN(qr/\Gcontinue\b/))) { | ||
| 21639 | $C->_SUBSUMEr(['O'], sub { | ||
| 21640 | my $C = shift; | ||
| 21641 | $C->O(%term) | ||
| 21642 | }) | ||
| 21643 | } else { () } | ||
| 21644 | |||
| 21645 | }); | ||
| 21646 | } | ||
| 21647 | ; | ||
| 21648 | ## token p5circumfix:sigil | ||
| 21649 | sub p5circumfix__S_132sigil__PEEK { $_[0]->_AUTOLEXpeek('p5circumfix__S_132sigil', $retree) } | ||
| 21650 | sub p5circumfix__S_132sigil { | ||
| 21651 | no warnings 'recursion'; | ||
| 21652 | my $self = shift; | ||
| 21653 | |||
| 21654 | |||
| 21655 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21656 | |||
| 21657 | my $C = $self->cursor_xact("RULE p5circumfix__S_132sigil"); | ||
| 21658 | my $xact = $C->xact; | ||
| 21659 | my $S = $C->{'_pos'}; | ||
| 21660 | $C->{sym} = "sigil"; | ||
| 21661 | $self->_MATCHIFYr($S, "p5circumfix__S_132sigil", do { | ||
| 21662 | my $C = $C; | ||
| 21663 | if (($C) = ($C->_SUBSUMEr(['sigil','p5sigil'], sub { | ||
| 21664 | my $C = shift; | ||
| 21665 | $C->p5sigil | ||
| 21666 | })) | ||
| 21667 | and ($C) = ($C->_BRACKETr(sub { | ||
| 21668 | my $C=shift; | ||
| 21669 | local $::GOAL = "\)"; | ||
| 21670 | my $goalpos = $C; | ||
| 21671 | if (($C) = ($C->_EXACT("\(")) | ||
| 21672 | and ($C) = (scalar(do { | ||
| 21673 | }, $C)) | ||
| 21674 | and ($C) = ($C->_SUBSUMEr(['semilist'], sub { | ||
| 21675 | my $C = shift; | ||
| 21676 | $C->semilist | ||
| 21677 | })) | ||
| 21678 | and ($C) = ($C->_BRACKETr(sub { | ||
| 21679 | my $C=shift; | ||
| 21680 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 21681 | my $xact = $C->xact; | ||
| 21682 | my @gather; | ||
| 21683 | do { | ||
| 21684 | push @gather, $C->_EXACT("\)") | ||
| 21685 | } | ||
| 21686 | or $xact->[-2] or | ||
| 21687 | do { | ||
| 21688 | push @gather, do { | ||
| 21689 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'contextualizer', $goalpos))) { ($C) } else { () } | ||
| 21690 | |||
| 21691 | } | ||
| 21692 | }; | ||
| 21693 | @gather; | ||
| 21694 | } | ||
| 21695 | }))) { | ||
| 21696 | $C | ||
| 21697 | } else { () } | ||
| 21698 | })) | ||
| 21699 | and ($C) = (scalar(do { | ||
| 21700 | my $M = $C; | ||
| 21701 | $::LEFTSIGIL ||= $M->{'sigil'}->Str }, $C))) { | ||
| 21702 | $C->_SUBSUMEr(['O'], sub { | ||
| 21703 | my $C = shift; | ||
| 21704 | $C->O(%term) | ||
| 21705 | }) | ||
| 21706 | } else { () } | ||
| 21707 | |||
| 21708 | }); | ||
| 21709 | } | ||
| 21710 | ; | ||
| 21711 | ## token p5circumfix:sym<( )> | ||
| 21712 | sub p5circumfix__S_133Paren_Thesis__PEEK { $_[0]->_AUTOLEXpeek('p5circumfix__S_133Paren_Thesis', $retree) } | ||
| 21713 | sub p5circumfix__S_133Paren_Thesis { | ||
| 21714 | no warnings 'recursion'; | ||
| 21715 | my $self = shift; | ||
| 21716 | |||
| 21717 | |||
| 21718 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21719 | |||
| 21720 | my $C = $self->cursor_xact("RULE p5circumfix__S_133Paren_Thesis"); | ||
| 21721 | my $xact = $C->xact; | ||
| 21722 | my $S = $C->{'_pos'}; | ||
| 21723 | $C->{sym} = "\(\ \)"; | ||
| 21724 | $self->_MATCHIFYr($S, "p5circumfix__S_133Paren_Thesis", do { | ||
| 21725 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 21726 | my $C=shift; | ||
| 21727 | local $::GOAL = "\)"; | ||
| 21728 | my $goalpos = $C; | ||
| 21729 | if (($C) = ($C->_EXACT("\(")) | ||
| 21730 | and ($C) = (scalar(do { | ||
| 21731 | }, $C)) | ||
| 21732 | and ($C) = ($C->_SUBSUMEr(['semilist'], sub { | ||
| 21733 | my $C = shift; | ||
| 21734 | $C->semilist | ||
| 21735 | })) | ||
| 21736 | and ($C) = ($C->_BRACKETr(sub { | ||
| 21737 | my $C=shift; | ||
| 21738 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 21739 | my $xact = $C->xact; | ||
| 21740 | my @gather; | ||
| 21741 | do { | ||
| 21742 | push @gather, $C->_EXACT("\)") | ||
| 21743 | } | ||
| 21744 | or $xact->[-2] or | ||
| 21745 | do { | ||
| 21746 | push @gather, do { | ||
| 21747 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'parenthesized expression', $goalpos))) { ($C) } else { () } | ||
| 21748 | |||
| 21749 | } | ||
| 21750 | }; | ||
| 21751 | @gather; | ||
| 21752 | } | ||
| 21753 | }))) { | ||
| 21754 | $C | ||
| 21755 | } else { () } | ||
| 21756 | }))) { | ||
| 21757 | $C->_SUBSUMEr(['O'], sub { | ||
| 21758 | my $C = shift; | ||
| 21759 | $C->O(%term) | ||
| 21760 | }) | ||
| 21761 | } else { () } | ||
| 21762 | |||
| 21763 | }); | ||
| 21764 | } | ||
| 21765 | ; | ||
| 21766 | ## token p5circumfix:sym<[ ]> | ||
| 21767 | sub p5circumfix__S_134Bra_Ket__PEEK { $_[0]->_AUTOLEXpeek('p5circumfix__S_134Bra_Ket', $retree) } | ||
| 21768 | sub p5circumfix__S_134Bra_Ket { | ||
| 21769 | no warnings 'recursion'; | ||
| 21770 | my $self = shift; | ||
| 21771 | |||
| 21772 | |||
| 21773 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21774 | |||
| 21775 | my $C = $self->cursor_xact("RULE p5circumfix__S_134Bra_Ket"); | ||
| 21776 | my $xact = $C->xact; | ||
| 21777 | my $S = $C->{'_pos'}; | ||
| 21778 | $C->{sym} = "\[\ \]"; | ||
| 21779 | $self->_MATCHIFYr($S, "p5circumfix__S_134Bra_Ket", do { | ||
| 21780 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 21781 | my $C=shift; | ||
| 21782 | local $::GOAL = "\]"; | ||
| 21783 | my $goalpos = $C; | ||
| 21784 | if (($C) = ($C->_EXACT("\[")) | ||
| 21785 | and ($C) = (scalar(do { | ||
| 21786 | }, $C)) | ||
| 21787 | and ($C) = ($C->_SUBSUMEr(['semilist'], sub { | ||
| 21788 | my $C = shift; | ||
| 21789 | $C->semilist | ||
| 21790 | })) | ||
| 21791 | and ($C) = ($C->_BRACKETr(sub { | ||
| 21792 | my $C=shift; | ||
| 21793 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 21794 | my $xact = $C->xact; | ||
| 21795 | my @gather; | ||
| 21796 | do { | ||
| 21797 | push @gather, $C->_EXACT("\]") | ||
| 21798 | } | ||
| 21799 | or $xact->[-2] or | ||
| 21800 | do { | ||
| 21801 | push @gather, do { | ||
| 21802 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'array composer', $goalpos))) { ($C) } else { () } | ||
| 21803 | |||
| 21804 | } | ||
| 21805 | }; | ||
| 21806 | @gather; | ||
| 21807 | } | ||
| 21808 | }))) { | ||
| 21809 | $C | ||
| 21810 | } else { () } | ||
| 21811 | }))) { | ||
| 21812 | $C->_SUBSUMEr(['O'], sub { | ||
| 21813 | my $C = shift; | ||
| 21814 | $C->O(%term) | ||
| 21815 | }) | ||
| 21816 | } else { () } | ||
| 21817 | |||
| 21818 | }); | ||
| 21819 | } | ||
| 21820 | ; | ||
| 21821 | ## token PRE { | ||
| 21822 | sub PRE__PEEK { $_[0]->_AUTOLEXpeek('PRE', $retree) } | ||
| 21823 | sub PRE { | ||
| 21824 | no warnings 'recursion'; | ||
| 21825 | my $self = shift; | ||
| 21826 | |||
| 21827 | |||
| 21828 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21829 | |||
| 21830 | my $C = $self->cursor_xact("RULE PRE"); | ||
| 21831 | my $xact = $C->xact; | ||
| 21832 | my $S = $C->{'_pos'}; | ||
| 21833 | $self->_MATCHIFYr($S, "PRE", do { | ||
| 21834 | my $C = $C; | ||
| 21835 | if (($C) = ($C->_BRACKETr(sub { | ||
| 21836 | my $C=shift; | ||
| 21837 | if (my ($C) = ($C->_SUBSUMEr(['prefix','p5prefix'], sub { | ||
| 21838 | my $C = shift; | ||
| 21839 | $C->p5prefix | ||
| 21840 | }))) { | ||
| 21841 | scalar(do { | ||
| 21842 | my $M = $C; | ||
| 21843 | $M->{'O'} = $M->{'prefix'}->{'O'}; | ||
| 21844 | $M->{'sym'} = $M->{'prefix'}->{'sym'} ; | ||
| 21845 | }, $C) | ||
| 21846 | } else { () } | ||
| 21847 | })) | ||
| 21848 | and ($C) = ($C->ws)) { | ||
| 21849 | $C | ||
| 21850 | } else { () } | ||
| 21851 | |||
| 21852 | }); | ||
| 21853 | } | ||
| 21854 | ; | ||
| 21855 | ## token infixish ($in_meta = $*IN_META) { | ||
| 21856 | sub infixish__PEEK { $_[0]->_AUTOLEXpeek('infixish', $retree) } | ||
| 21857 | sub infixish { | ||
| 21858 | no warnings 'recursion'; | ||
| 21859 | my $self = shift; | ||
| 21860 | |||
| 21861 | my $in_meta = @_ ? shift() : $::IN_META; | ||
| 21862 | local $::IN_META = $in_meta; | ||
| 21863 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21864 | |||
| 21865 | my $C = $self->cursor_xact("RULE infixish"); | ||
| 21866 | my $xact = $C->xact; | ||
| 21867 | my $S = $C->{'_pos'}; | ||
| 21868 | $self->_MATCHIFYr($S, "infixish", do { | ||
| 21869 | my $C = $C; | ||
| 21870 | if (($C) = ($C->_NOTBEFORE(sub { | ||
| 21871 | my $C=shift; | ||
| 21872 | if (my ($C) = ($C->stdstopper)) { ($C) } else { () } | ||
| 21873 | })) | ||
| 21874 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 21875 | my $C=shift; | ||
| 21876 | if (my ($C) = ($C->infixstopper)) { ($C) } else { () } | ||
| 21877 | })) | ||
| 21878 | and ($C) = ($C->_SUBSUMEr(['infix','p5infix'], sub { | ||
| 21879 | my $C = shift; | ||
| 21880 | $C->p5infix | ||
| 21881 | }))) { | ||
| 21882 | scalar(do { | ||
| 21883 | my $M = $C; | ||
| 21884 | $M->{'O'} = $M->{'infix'}->{'O'}; | ||
| 21885 | $M->{'sym'} = $M->{'infix'}->{'sym'}; | ||
| 21886 | }, $C) | ||
| 21887 | } else { () } | ||
| 21888 | |||
| 21889 | }); | ||
| 21890 | } | ||
| 21891 | ; | ||
| 21892 | ## token p5dotty:sym«->» { | ||
| 21893 | sub p5dotty__S_135MinusGt__PEEK { $_[0]->_AUTOLEXpeek('p5dotty__S_135MinusGt', $retree) } | ||
| 21894 | sub p5dotty__S_135MinusGt { | ||
| 21895 | no warnings 'recursion'; | ||
| 21896 | my $self = shift; | ||
| 21897 | |||
| 21898 | ; | ||
| 21899 | |||
| 21900 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21901 | |||
| 21902 | my $C = $self->cursor_xact("RULE p5dotty__S_135MinusGt"); | ||
| 21903 | my $xact = $C->xact; | ||
| 21904 | my $S = $C->{'_pos'}; | ||
| 21905 | $C->{sym} = "\-\>"; | ||
| 21906 | $self->_MATCHIFYr($S, "p5dotty__S_135MinusGt", do { | ||
| 21907 | my $C = $C; | ||
| 21908 | if (($C) = ($C->_EXACT("\-\>")) | ||
| 21909 | and ($C) = ($C->unspacey) | ||
| 21910 | and ($C) = ($C->_SUBSUMEr(['dottyop'], sub { | ||
| 21911 | my $C = shift; | ||
| 21912 | $C->dottyop | ||
| 21913 | }))) { | ||
| 21914 | $C->_SUBSUMEr(['O'], sub { | ||
| 21915 | my $C = shift; | ||
| 21916 | $C->O(%methodcall) | ||
| 21917 | }) | ||
| 21918 | } else { () } | ||
| 21919 | |||
| 21920 | }); | ||
| 21921 | } | ||
| 21922 | ; | ||
| 21923 | ## token dottyopish { | ||
| 21924 | sub dottyopish__PEEK { $_[0]->_AUTOLEXpeek('dottyopish', $retree) } | ||
| 21925 | sub dottyopish { | ||
| 21926 | no warnings 'recursion'; | ||
| 21927 | my $self = shift; | ||
| 21928 | |||
| 21929 | |||
| 21930 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21931 | |||
| 21932 | my $C = $self->cursor_xact("RULE dottyopish"); | ||
| 21933 | my $xact = $C->xact; | ||
| 21934 | my $S = $C->{'_pos'}; | ||
| 21935 | $self->_MATCHIFYr($S, "dottyopish", $C->_SUBSUMEr(['term','dottyop'], sub { | ||
| 21936 | my $C = shift; | ||
| 21937 | $C->dottyop | ||
| 21938 | })); | ||
| 21939 | } | ||
| 21940 | ; | ||
| 21941 | ## token dottyop { | ||
| 21942 | sub dottyop__PEEK { $_[0]->_AUTOLEXpeek('dottyop', $retree) } | ||
| 21943 | sub dottyop { | ||
| 21944 | no warnings 'recursion'; | ||
| 21945 | my $self = shift; | ||
| 21946 | |||
| 21947 | |||
| 21948 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 21949 | |||
| 21950 | my $C = $self->cursor_xact("RULE dottyop"); | ||
| 21951 | my $xact = $C->xact; | ||
| 21952 | my $S = $C->{'_pos'}; | ||
| 21953 | $self->_MATCHIFYr($S, "dottyop", $C->_BRACKETr(sub { | ||
| 21954 | my $C=shift; | ||
| 21955 | do { | ||
| 21956 | my ($tag, $try); | ||
| 21957 | my @try; | ||
| 21958 | my $relex; | ||
| 21959 | |||
| 21960 | my $fate; | ||
| 21961 | my $x; | ||
| 21962 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'dottyop_0') { | ||
| 21963 | $C->deb("Fate passed to dottyop_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 21964 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 21965 | @try = ($try); | ||
| 21966 | $x = 'ALT dottyop_0'; # some outer ltm is controlling us | ||
| 21967 | } | ||
| 21968 | else { | ||
| 21969 | $x = 'ALTLTM dottyop_0'; # we are top level ltm | ||
| 21970 | } | ||
| 21971 | my $C = $C->cursor_xact($x); | ||
| 21972 | my $xact = $C->{_xact}; | ||
| 21973 | |||
| 21974 | my @gather = (); | ||
| 21975 | for (;;) { | ||
| 21976 | unless (@try) { | ||
| 21977 | $relex //= $C->cursor_fate('STD::STD::P5', 'dottyop_0', $retree); | ||
| 21978 | @try = $relex->($C) or last; | ||
| 21979 | } | ||
| 21980 | $try = shift(@try) // next; | ||
| 21981 | |||
| 21982 | if (ref $try) { | ||
| 21983 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 21984 | } | ||
| 21985 | |||
| 21986 | $C->deb("dottyop_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 21987 | push @gather, (( | ||
| 21988 | sub { | ||
| 21989 | my $C=shift; | ||
| 21990 | $C->_SUBSUMEr(['methodop'], sub { | ||
| 21991 | my $C = shift; | ||
| 21992 | $C->methodop | ||
| 21993 | }) | ||
| 21994 | }, | ||
| 21995 | sub { | ||
| 21996 | my $C=shift; | ||
| 21997 | if (($C) = ($C->_NOTBEFORE(sub { | ||
| 21998 | my $C=shift; | ||
| 21999 | $C->_PATTERN(qr/\G[_[:alpha:]]/) | ||
| 22000 | })) | ||
| 22001 | and ($C) = ($C->_SUBSUMEr(['postcircumfix','p5postcircumfix'], sub { | ||
| 22002 | my $C = shift; | ||
| 22003 | $C->p5postcircumfix | ||
| 22004 | }))) { | ||
| 22005 | scalar(do { | ||
| 22006 | my $M = $C; | ||
| 22007 | $M->{'O'} = $M->{'postcircumfix'}->{'O'}; | ||
| 22008 | $M->{'sym'} = $M->{'postcircumfix'}->{'sym'}; | ||
| 22009 | }, $C) | ||
| 22010 | } else { () } | ||
| 22011 | } | ||
| 22012 | )[$try])->($C); | ||
| 22013 | last if @gather; | ||
| 22014 | last if $xact->[-2]; # committed? | ||
| 22015 | } | ||
| 22016 | @gather; | ||
| 22017 | }; | ||
| 22018 | })); | ||
| 22019 | } | ||
| 22020 | ; | ||
| 22021 | ## token POST { | ||
| 22022 | sub POST__PEEK { $_[0]->_AUTOLEXpeek('POST', $retree) } | ||
| 22023 | sub POST { | ||
| 22024 | no warnings 'recursion'; | ||
| 22025 | my $self = shift; | ||
| 22026 | |||
| 22027 | |||
| 22028 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22029 | |||
| 22030 | my $C = $self->cursor_xact("RULE POST"); | ||
| 22031 | my $xact = $C->xact; | ||
| 22032 | my $S = $C->{'_pos'}; | ||
| 22033 | $self->_MATCHIFYr($S, "POST", do { | ||
| 22034 | my $C = $C; | ||
| 22035 | if (($C) = ($C->_NOTBEFORE(sub { | ||
| 22036 | my $C=shift; | ||
| 22037 | if (my ($C) = ($C->stdstopper)) { ($C) } else { () } | ||
| 22038 | })) | ||
| 22039 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 22040 | my $C=shift; | ||
| 22041 | (($C) x !!do { | ||
| 22042 | $::MEMOS[$C->{'_pos'}]->{'ws'} }) | ||
| 22043 | })) | ||
| 22044 | and ($C) = ($C->_BRACKETr(sub { | ||
| 22045 | my $C=shift; | ||
| 22046 | do { | ||
| 22047 | my ($tag, $try); | ||
| 22048 | my @try; | ||
| 22049 | my $relex; | ||
| 22050 | |||
| 22051 | my $fate; | ||
| 22052 | my $x; | ||
| 22053 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'POST_0') { | ||
| 22054 | $C->deb("Fate passed to POST_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 22055 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 22056 | @try = ($try); | ||
| 22057 | $x = 'ALT POST_0'; # some outer ltm is controlling us | ||
| 22058 | } | ||
| 22059 | else { | ||
| 22060 | $x = 'ALTLTM POST_0'; # we are top level ltm | ||
| 22061 | } | ||
| 22062 | my $C = $C->cursor_xact($x); | ||
| 22063 | my $xact = $C->{_xact}; | ||
| 22064 | |||
| 22065 | my @gather = (); | ||
| 22066 | for (;;) { | ||
| 22067 | unless (@try) { | ||
| 22068 | $relex //= $C->cursor_fate('STD::STD::P5', 'POST_0', $retree); | ||
| 22069 | @try = $relex->($C) or last; | ||
| 22070 | } | ||
| 22071 | $try = shift(@try) // next; | ||
| 22072 | |||
| 22073 | if (ref $try) { | ||
| 22074 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 22075 | } | ||
| 22076 | |||
| 22077 | $C->deb("POST_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 22078 | push @gather, (( | ||
| 22079 | sub { | ||
| 22080 | my $C=shift; | ||
| 22081 | if (my ($C) = ($C->_SUBSUMEr(['dotty','p5dotty'], sub { | ||
| 22082 | my $C = shift; | ||
| 22083 | $C->p5dotty | ||
| 22084 | }))) { | ||
| 22085 | scalar(do { | ||
| 22086 | my $M = $C; | ||
| 22087 | $M->{'O'} = $M->{'dotty'}->{'O'}; | ||
| 22088 | $M->{'sym'} = $M->{'dotty'}->{'sym'}; | ||
| 22089 | $M->{'~CAPS'} = $M->{'dotty'}->{'~CAPS'}; | ||
| 22090 | }, $C) | ||
| 22091 | } else { () } | ||
| 22092 | }, | ||
| 22093 | sub { | ||
| 22094 | my $C=shift; | ||
| 22095 | if (my ($C) = ($C->_SUBSUMEr(['postop'], sub { | ||
| 22096 | my $C = shift; | ||
| 22097 | $C->postop | ||
| 22098 | }))) { | ||
| 22099 | scalar(do { | ||
| 22100 | my $M = $C; | ||
| 22101 | $M->{'O'} = $M->{'postop'}->{'O'}; | ||
| 22102 | $M->{'sym'} = $M->{'postop'}->{'sym'}; | ||
| 22103 | $M->{'~CAPS'} = $M->{'postop'}->{'~CAPS'}; | ||
| 22104 | }, $C) | ||
| 22105 | } else { () } | ||
| 22106 | } | ||
| 22107 | )[$try])->($C); | ||
| 22108 | last if @gather; | ||
| 22109 | last if $xact->[-2]; # committed? | ||
| 22110 | } | ||
| 22111 | @gather; | ||
| 22112 | }; | ||
| 22113 | }))) { | ||
| 22114 | $C | ||
| 22115 | } else { () } | ||
| 22116 | |||
| 22117 | }); | ||
| 22118 | } | ||
| 22119 | ; | ||
| 22120 | ## token p5postcircumfix:sym<( )> | ||
| 22121 | sub p5postcircumfix__S_136Paren_Thesis__PEEK { $_[0]->_AUTOLEXpeek('p5postcircumfix__S_136Paren_Thesis', $retree) } | ||
| 22122 | sub p5postcircumfix__S_136Paren_Thesis { | ||
| 22123 | no warnings 'recursion'; | ||
| 22124 | my $self = shift; | ||
| 22125 | |||
| 22126 | |||
| 22127 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22128 | |||
| 22129 | my $C = $self->cursor_xact("RULE p5postcircumfix__S_136Paren_Thesis"); | ||
| 22130 | my $xact = $C->xact; | ||
| 22131 | my $S = $C->{'_pos'}; | ||
| 22132 | $C->{sym} = "\(\ \)"; | ||
| 22133 | $self->_MATCHIFYr($S, "p5postcircumfix__S_136Paren_Thesis", do { | ||
| 22134 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 22135 | my $C=shift; | ||
| 22136 | local $::GOAL = "\)"; | ||
| 22137 | my $goalpos = $C; | ||
| 22138 | if (($C) = ($C->_EXACT("\(")) | ||
| 22139 | and ($C) = (scalar(do { | ||
| 22140 | }, $C)) | ||
| 22141 | and ($C) = ($C->_SUBSUMEr(['semiarglist'], sub { | ||
| 22142 | my $C = shift; | ||
| 22143 | $C->semiarglist | ||
| 22144 | })) | ||
| 22145 | and ($C) = ($C->_BRACKETr(sub { | ||
| 22146 | my $C=shift; | ||
| 22147 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 22148 | my $xact = $C->xact; | ||
| 22149 | my @gather; | ||
| 22150 | do { | ||
| 22151 | push @gather, $C->_EXACT("\)") | ||
| 22152 | } | ||
| 22153 | or $xact->[-2] or | ||
| 22154 | do { | ||
| 22155 | push @gather, do { | ||
| 22156 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'argument list', $goalpos))) { ($C) } else { () } | ||
| 22157 | |||
| 22158 | } | ||
| 22159 | }; | ||
| 22160 | @gather; | ||
| 22161 | } | ||
| 22162 | }))) { | ||
| 22163 | $C | ||
| 22164 | } else { () } | ||
| 22165 | }))) { | ||
| 22166 | $C->_SUBSUMEr(['O'], sub { | ||
| 22167 | my $C = shift; | ||
| 22168 | $C->O(%methodcall) | ||
| 22169 | }) | ||
| 22170 | } else { () } | ||
| 22171 | |||
| 22172 | }); | ||
| 22173 | } | ||
| 22174 | ; | ||
| 22175 | ## token p5postcircumfix:sym<[ ]> | ||
| 22176 | sub p5postcircumfix__S_137Bra_Ket__PEEK { $_[0]->_AUTOLEXpeek('p5postcircumfix__S_137Bra_Ket', $retree) } | ||
| 22177 | sub p5postcircumfix__S_137Bra_Ket { | ||
| 22178 | no warnings 'recursion'; | ||
| 22179 | my $self = shift; | ||
| 22180 | |||
| 22181 | |||
| 22182 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22183 | |||
| 22184 | my $C = $self->cursor_xact("RULE p5postcircumfix__S_137Bra_Ket"); | ||
| 22185 | my $xact = $C->xact; | ||
| 22186 | my $S = $C->{'_pos'}; | ||
| 22187 | $C->{sym} = "\[\ \]"; | ||
| 22188 | $self->_MATCHIFYr($S, "p5postcircumfix__S_137Bra_Ket", do { | ||
| 22189 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 22190 | my $C=shift; | ||
| 22191 | local $::GOAL = "\]"; | ||
| 22192 | my $goalpos = $C; | ||
| 22193 | if (($C) = ($C->_EXACT("\[")) | ||
| 22194 | and ($C) = (scalar(do { | ||
| 22195 | }, $C)) | ||
| 22196 | and ($C) = ($C->_SUBSUMEr(['semilist'], sub { | ||
| 22197 | my $C = shift; | ||
| 22198 | $C->semilist | ||
| 22199 | })) | ||
| 22200 | and ($C) = ($C->_BRACKETr(sub { | ||
| 22201 | my $C=shift; | ||
| 22202 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 22203 | my $xact = $C->xact; | ||
| 22204 | my @gather; | ||
| 22205 | do { | ||
| 22206 | push @gather, $C->_EXACT("\]") | ||
| 22207 | } | ||
| 22208 | or $xact->[-2] or | ||
| 22209 | do { | ||
| 22210 | push @gather, do { | ||
| 22211 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'subscript', $goalpos))) { ($C) } else { () } | ||
| 22212 | |||
| 22213 | } | ||
| 22214 | }; | ||
| 22215 | @gather; | ||
| 22216 | } | ||
| 22217 | }))) { | ||
| 22218 | $C | ||
| 22219 | } else { () } | ||
| 22220 | }))) { | ||
| 22221 | $C->_SUBSUMEr(['O'], sub { | ||
| 22222 | my $C = shift; | ||
| 22223 | $C->O(%methodcall) | ||
| 22224 | }) | ||
| 22225 | } else { () } | ||
| 22226 | |||
| 22227 | }); | ||
| 22228 | } | ||
| 22229 | ; | ||
| 22230 | ## token p5postcircumfix:sym<{ }> | ||
| 22231 | sub p5postcircumfix__S_138Cur_Ly__PEEK { $_[0]->_AUTOLEXpeek('p5postcircumfix__S_138Cur_Ly', $retree) } | ||
| 22232 | sub p5postcircumfix__S_138Cur_Ly { | ||
| 22233 | no warnings 'recursion'; | ||
| 22234 | my $self = shift; | ||
| 22235 | |||
| 22236 | |||
| 22237 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22238 | |||
| 22239 | my $C = $self->cursor_xact("RULE p5postcircumfix__S_138Cur_Ly"); | ||
| 22240 | my $xact = $C->xact; | ||
| 22241 | my $S = $C->{'_pos'}; | ||
| 22242 | $C->{sym} = "\{\ \}"; | ||
| 22243 | $self->_MATCHIFYr($S, "p5postcircumfix__S_138Cur_Ly", do { | ||
| 22244 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 22245 | my $C=shift; | ||
| 22246 | local $::GOAL = "\}"; | ||
| 22247 | my $goalpos = $C; | ||
| 22248 | if (($C) = ($C->_EXACT("\{")) | ||
| 22249 | and ($C) = (scalar(do { | ||
| 22250 | }, $C)) | ||
| 22251 | and ($C) = ($C->_SUBSUMEr(['semilist'], sub { | ||
| 22252 | my $C = shift; | ||
| 22253 | $C->semilist | ||
| 22254 | })) | ||
| 22255 | and ($C) = ($C->_BRACKETr(sub { | ||
| 22256 | my $C=shift; | ||
| 22257 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 22258 | my $xact = $C->xact; | ||
| 22259 | my @gather; | ||
| 22260 | do { | ||
| 22261 | push @gather, $C->_EXACT("\}") | ||
| 22262 | } | ||
| 22263 | or $xact->[-2] or | ||
| 22264 | do { | ||
| 22265 | push @gather, do { | ||
| 22266 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'subscript', $goalpos))) { ($C) } else { () } | ||
| 22267 | |||
| 22268 | } | ||
| 22269 | }; | ||
| 22270 | @gather; | ||
| 22271 | } | ||
| 22272 | }))) { | ||
| 22273 | $C | ||
| 22274 | } else { () } | ||
| 22275 | }))) { | ||
| 22276 | $C->_SUBSUMEr(['O'], sub { | ||
| 22277 | my $C = shift; | ||
| 22278 | $C->O(%methodcall) | ||
| 22279 | }) | ||
| 22280 | } else { () } | ||
| 22281 | |||
| 22282 | }); | ||
| 22283 | } | ||
| 22284 | ; | ||
| 22285 | ## token postop { | ||
| 22286 | sub postop__PEEK { $_[0]->_AUTOLEXpeek('postop', $retree) } | ||
| 22287 | sub postop { | ||
| 22288 | no warnings 'recursion'; | ||
| 22289 | my $self = shift; | ||
| 22290 | |||
| 22291 | |||
| 22292 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22293 | |||
| 22294 | my $C = $self->cursor_xact("RULE postop"); | ||
| 22295 | my $xact = $C->xact; | ||
| 22296 | my $S = $C->{'_pos'}; | ||
| 22297 | $self->_MATCHIFYr($S, "postop", do { | ||
| 22298 | do { | ||
| 22299 | my ($tag, $try); | ||
| 22300 | my @try; | ||
| 22301 | my $relex; | ||
| 22302 | |||
| 22303 | my $fate; | ||
| 22304 | my $x; | ||
| 22305 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'postop_0') { | ||
| 22306 | $C->deb("Fate passed to postop_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 22307 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 22308 | @try = ($try); | ||
| 22309 | $x = 'ALT postop_0'; # some outer ltm is controlling us | ||
| 22310 | } | ||
| 22311 | else { | ||
| 22312 | $x = 'ALTLTM postop_0'; # we are top level ltm | ||
| 22313 | } | ||
| 22314 | my $C = $C->cursor_xact($x); | ||
| 22315 | my $xact = $C->{_xact}; | ||
| 22316 | |||
| 22317 | my @gather = (); | ||
| 22318 | for (;;) { | ||
| 22319 | unless (@try) { | ||
| 22320 | $relex //= $C->cursor_fate('STD::STD::P5', 'postop_0', $retree); | ||
| 22321 | @try = $relex->($C) or last; | ||
| 22322 | } | ||
| 22323 | $try = shift(@try) // next; | ||
| 22324 | |||
| 22325 | if (ref $try) { | ||
| 22326 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 22327 | } | ||
| 22328 | |||
| 22329 | $C->deb("postop_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 22330 | push @gather, (( | ||
| 22331 | sub { | ||
| 22332 | my $C=shift; | ||
| 22333 | if (my ($C) = ($C->_SUBSUMEr(['postfix','p5postfix'], sub { | ||
| 22334 | my $C = shift; | ||
| 22335 | $C->p5postfix | ||
| 22336 | }))) { | ||
| 22337 | scalar(do { | ||
| 22338 | my $M = $C; | ||
| 22339 | $M->{'O'} = $M->{'postfix'}->{'O'}; | ||
| 22340 | $M->{'sym'} = $M->{'postfix'}->{'sym'}; | ||
| 22341 | }, $C) | ||
| 22342 | } else { () } | ||
| 22343 | }, | ||
| 22344 | sub { | ||
| 22345 | my $C=shift; | ||
| 22346 | if (my ($C) = ($C->_SUBSUMEr(['postcircumfix','p5postcircumfix'], sub { | ||
| 22347 | my $C = shift; | ||
| 22348 | $C->p5postcircumfix | ||
| 22349 | }))) { | ||
| 22350 | scalar(do { | ||
| 22351 | my $M = $C; | ||
| 22352 | $M->{'O'} = $M->{'postcircumfix'}->{'O'}; | ||
| 22353 | $M->{'sym'} = $M->{'postcircumfix'}->{'sym'}; | ||
| 22354 | }, $C) | ||
| 22355 | } else { () } | ||
| 22356 | } | ||
| 22357 | )[$try])->($C); | ||
| 22358 | last if @gather; | ||
| 22359 | last if $xact->[-2]; # committed? | ||
| 22360 | } | ||
| 22361 | @gather; | ||
| 22362 | }; | ||
| 22363 | |||
| 22364 | }); | ||
| 22365 | } | ||
| 22366 | ; | ||
| 22367 | ## token methodop { | ||
| 22368 | sub methodop__PEEK { $_[0]->_AUTOLEXpeek('methodop', $retree) } | ||
| 22369 | sub methodop { | ||
| 22370 | no warnings 'recursion'; | ||
| 22371 | my $self = shift; | ||
| 22372 | |||
| 22373 | |||
| 22374 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22375 | |||
| 22376 | my $C = $self->cursor_xact("RULE methodop"); | ||
| 22377 | my $xact = $C->xact; | ||
| 22378 | my $S = $C->{'_pos'}; | ||
| 22379 | $C->{'args'} = []; | ||
| 22380 | $self->_MATCHIFYr($S, "methodop", do { | ||
| 22381 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 22382 | my $C=shift; | ||
| 22383 | do { | ||
| 22384 | my ($tag, $try); | ||
| 22385 | my @try; | ||
| 22386 | my $relex; | ||
| 22387 | |||
| 22388 | my $fate; | ||
| 22389 | my $x; | ||
| 22390 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'methodop_0') { | ||
| 22391 | $C->deb("Fate passed to methodop_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 22392 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 22393 | @try = ($try); | ||
| 22394 | $x = 'ALT methodop_0'; # some outer ltm is controlling us | ||
| 22395 | } | ||
| 22396 | else { | ||
| 22397 | $x = 'ALTLTM methodop_0'; # we are top level ltm | ||
| 22398 | } | ||
| 22399 | my $C = $C->cursor_xact($x); | ||
| 22400 | my $xact = $C->{_xact}; | ||
| 22401 | |||
| 22402 | my @gather = (); | ||
| 22403 | for (;;) { | ||
| 22404 | unless (@try) { | ||
| 22405 | $relex //= $C->cursor_fate('STD::STD::P5', 'methodop_0', $retree); | ||
| 22406 | @try = $relex->($C) or last; | ||
| 22407 | } | ||
| 22408 | $try = shift(@try) // next; | ||
| 22409 | |||
| 22410 | if (ref $try) { | ||
| 22411 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 22412 | } | ||
| 22413 | |||
| 22414 | $C->deb("methodop_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 22415 | push @gather, (( | ||
| 22416 | sub { | ||
| 22417 | my $C=shift; | ||
| 22418 | $C->_SUBSUMEr(['longname'], sub { | ||
| 22419 | my $C = shift; | ||
| 22420 | $C->longname | ||
| 22421 | }) | ||
| 22422 | }, | ||
| 22423 | sub { | ||
| 22424 | my $C=shift; | ||
| 22425 | if (($C) = ($C->before(sub { | ||
| 22426 | my $C=shift; | ||
| 22427 | if (my ($C) = ($C->before(sub { | ||
| 22428 | my $C=shift; | ||
| 22429 | if (my ($C) = (do { | ||
| 22430 | do { | ||
| 22431 | my ($tag, $try); | ||
| 22432 | my @try; | ||
| 22433 | my $relex; | ||
| 22434 | |||
| 22435 | my $fate; | ||
| 22436 | my $x; | ||
| 22437 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'methodop_1') { | ||
| 22438 | $C->deb("Fate passed to methodop_1: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 22439 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 22440 | @try = ($try); | ||
| 22441 | $x = 'ALT methodop_1'; # some outer ltm is controlling us | ||
| 22442 | } | ||
| 22443 | else { | ||
| 22444 | $x = 'ALTLTM methodop_1'; # we are top level ltm | ||
| 22445 | } | ||
| 22446 | my $C = $C->cursor_xact($x); | ||
| 22447 | my $xact = $C->{_xact}; | ||
| 22448 | |||
| 22449 | my @gather = (); | ||
| 22450 | for (;;) { | ||
| 22451 | unless (@try) { | ||
| 22452 | $relex //= $C->cursor_fate('STD::STD::P5', 'methodop_1', $retree); | ||
| 22453 | @try = $relex->($C) or last; | ||
| 22454 | } | ||
| 22455 | $try = shift(@try) // next; | ||
| 22456 | |||
| 22457 | if (ref $try) { | ||
| 22458 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 22459 | } | ||
| 22460 | |||
| 22461 | $C->deb("methodop_1 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 22462 | push @gather, (( | ||
| 22463 | sub { | ||
| 22464 | my $C=shift; | ||
| 22465 | $C->_EXACT("\$") | ||
| 22466 | }, | ||
| 22467 | sub { | ||
| 22468 | my $C=shift; | ||
| 22469 | $C->_EXACT("\@") | ||
| 22470 | }, | ||
| 22471 | sub { | ||
| 22472 | my $C=shift; | ||
| 22473 | $C->_EXACT("\&") | ||
| 22474 | } | ||
| 22475 | )[$try])->($C); | ||
| 22476 | last if @gather; | ||
| 22477 | last if $xact->[-2]; # committed? | ||
| 22478 | } | ||
| 22479 | @gather; | ||
| 22480 | }; | ||
| 22481 | |||
| 22482 | })) { ($C) } else { () } | ||
| 22483 | }))) { ($C) } else { () } | ||
| 22484 | })) | ||
| 22485 | and ($C) = ($C->_SUBSUMEr(['variable'], sub { | ||
| 22486 | my $C = shift; | ||
| 22487 | $C->variable | ||
| 22488 | }))) { | ||
| 22489 | scalar(do { | ||
| 22490 | my $M = $C; | ||
| 22491 | $::VAR = $M->{'variable'} }, $C) | ||
| 22492 | } else { () } | ||
| 22493 | } | ||
| 22494 | )[$try])->($C); | ||
| 22495 | last if @gather; | ||
| 22496 | last if $xact->[-2]; # committed? | ||
| 22497 | } | ||
| 22498 | @gather; | ||
| 22499 | }; | ||
| 22500 | }))) { | ||
| 22501 | $C->_OPTr(sub { | ||
| 22502 | my $C=shift; | ||
| 22503 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 22504 | my $C=shift; | ||
| 22505 | if (my ($C) = ($C->before(sub { | ||
| 22506 | my $C=shift; | ||
| 22507 | $C->_PATTERN(qr/\G[\\(]/) | ||
| 22508 | }))) { | ||
| 22509 | $C->_SUBSUMEr(['args'], sub { | ||
| 22510 | my $C = shift; | ||
| 22511 | $C->args | ||
| 22512 | }) | ||
| 22513 | } else { () } | ||
| 22514 | }))) { ($C) } else { () } | ||
| 22515 | }) | ||
| 22516 | } else { () } | ||
| 22517 | |||
| 22518 | }); | ||
| 22519 | } | ||
| 22520 | ; | ||
| 22521 | ## token semiarglist { | ||
| 22522 | sub semiarglist__PEEK { $_[0]->_AUTOLEXpeek('semiarglist', $retree) } | ||
| 22523 | sub semiarglist { | ||
| 22524 | no warnings 'recursion'; | ||
| 22525 | my $self = shift; | ||
| 22526 | |||
| 22527 | |||
| 22528 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22529 | |||
| 22530 | my $C = $self->cursor_xact("RULE semiarglist"); | ||
| 22531 | my $xact = $C->xact; | ||
| 22532 | my $S = $C->{'_pos'}; | ||
| 22533 | $C->{'arglist'} = []; | ||
| 22534 | $self->_MATCHIFYr($S, "semiarglist", do { | ||
| 22535 | my $C = $C; | ||
| 22536 | if (($C) = ($C->_REPSEPr( sub { | ||
| 22537 | my $C=shift; | ||
| 22538 | $C->_EXACT("\;") | ||
| 22539 | }, sub { | ||
| 22540 | my $C=shift; | ||
| 22541 | $C->_SUBSUMEr(['arglist'], sub { | ||
| 22542 | my $C = shift; | ||
| 22543 | $C->arglist | ||
| 22544 | }) | ||
| 22545 | })) | ||
| 22546 | and ($C) = ($C->ws)) { | ||
| 22547 | $C | ||
| 22548 | } else { () } | ||
| 22549 | |||
| 22550 | }); | ||
| 22551 | } | ||
| 22552 | ; | ||
| 22553 | ## token arglist { | ||
| 22554 | sub arglist__PEEK { $_[0]->_AUTOLEXpeek('arglist', $retree) } | ||
| 22555 | sub arglist { | ||
| 22556 | no warnings 'recursion'; | ||
| 22557 | my $self = shift; | ||
| 22558 | |||
| 22559 | my $inv_ok = $::INVOCANT_OK;local $::endargs = 0;local $::GOAL = 'endargs';local $::QSIGIL = ''; | ||
| 22560 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22561 | |||
| 22562 | my $C = $self->cursor_xact("RULE arglist"); | ||
| 22563 | my $xact = $C->xact; | ||
| 22564 | my $S = $C->{'_pos'}; | ||
| 22565 | $self->_MATCHIFYr($S, "arglist", do { | ||
| 22566 | my $C = $C; | ||
| 22567 | if (($C) = ($C->ws) | ||
| 22568 | and ($C) = ($C->_BRACKETr(sub { | ||
| 22569 | my $C=shift; | ||
| 22570 | do { | ||
| 22571 | my ($tag, $try); | ||
| 22572 | my @try; | ||
| 22573 | my $relex; | ||
| 22574 | |||
| 22575 | my $fate; | ||
| 22576 | my $x; | ||
| 22577 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'arglist_0') { | ||
| 22578 | $C->deb("Fate passed to arglist_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 22579 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 22580 | @try = ($try); | ||
| 22581 | $x = 'ALT arglist_0'; # some outer ltm is controlling us | ||
| 22582 | } | ||
| 22583 | else { | ||
| 22584 | $x = 'ALTLTM arglist_0'; # we are top level ltm | ||
| 22585 | } | ||
| 22586 | my $C = $C->cursor_xact($x); | ||
| 22587 | my $xact = $C->{_xact}; | ||
| 22588 | |||
| 22589 | my @gather = (); | ||
| 22590 | for (;;) { | ||
| 22591 | unless (@try) { | ||
| 22592 | $relex //= $C->cursor_fate('STD::STD::P5', 'arglist_0', $retree); | ||
| 22593 | @try = $relex->($C) or last; | ||
| 22594 | } | ||
| 22595 | $try = shift(@try) // next; | ||
| 22596 | |||
| 22597 | if (ref $try) { | ||
| 22598 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 22599 | } | ||
| 22600 | |||
| 22601 | $C->deb("arglist_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 22602 | push @gather, (( | ||
| 22603 | sub { | ||
| 22604 | my $C=shift; | ||
| 22605 | if (my ($C) = ($C->before(sub { | ||
| 22606 | my $C=shift; | ||
| 22607 | if (my ($C) = ($C->stdstopper)) { ($C) } else { () } | ||
| 22608 | }))) { ($C) } else { () } | ||
| 22609 | }, | ||
| 22610 | sub { | ||
| 22611 | my $C=shift; | ||
| 22612 | if (my ($C) = ($C->_SUBSUMEr(['EXPR'], sub { | ||
| 22613 | my $C = shift; | ||
| 22614 | $C->EXPR(\%listop) | ||
| 22615 | }))) { | ||
| 22616 | scalar(do { | ||
| 22617 | my $M = $C; | ||
| 22618 | { | ||
| 22619 | my $delims = $M->{'EXPR'}->{'delims'}; | ||
| 22620 | for (@$delims) { | ||
| 22621 | if (($_->{'sym'} // '') eq ':') { | ||
| 22622 | if ($inv_ok) { | ||
| 22623 | $::INVOCANT_IS = $M->{'EXPR'}->{'list'}->[0]}}} | ||
| 22624 | ; | ||
| 22625 | }}, $C) | ||
| 22626 | } else { () } | ||
| 22627 | } | ||
| 22628 | )[$try])->($C); | ||
| 22629 | last if @gather; | ||
| 22630 | last if $xact->[-2]; # committed? | ||
| 22631 | } | ||
| 22632 | @gather; | ||
| 22633 | }; | ||
| 22634 | }))) { | ||
| 22635 | $C | ||
| 22636 | } else { () } | ||
| 22637 | |||
| 22638 | }); | ||
| 22639 | } | ||
| 22640 | ; | ||
| 22641 | ## token p5circumfix:sym<{ }> { | ||
| 22642 | sub p5circumfix__S_139Cur_Ly__PEEK { $_[0]->_AUTOLEXpeek('p5circumfix__S_139Cur_Ly', $retree) } | ||
| 22643 | sub p5circumfix__S_139Cur_Ly { | ||
| 22644 | no warnings 'recursion'; | ||
| 22645 | my $self = shift; | ||
| 22646 | |||
| 22647 | |||
| 22648 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22649 | |||
| 22650 | my $C = $self->cursor_xact("RULE p5circumfix__S_139Cur_Ly"); | ||
| 22651 | my $xact = $C->xact; | ||
| 22652 | my $S = $C->{'_pos'}; | ||
| 22653 | $C->{sym} = "\{\ \}"; | ||
| 22654 | $self->_MATCHIFYr($S, "p5circumfix__S_139Cur_Ly", do { | ||
| 22655 | my $C = $C; | ||
| 22656 | if (($C) = ($C->before(sub { | ||
| 22657 | my $C=shift; | ||
| 22658 | if (my ($C) = ($C->before(sub { | ||
| 22659 | my $C=shift; | ||
| 22660 | $C->_EXACT("\{") | ||
| 22661 | }))) { ($C) } else { () } | ||
| 22662 | })) | ||
| 22663 | and ($C) = ($C->_SUBSUMEr(['pblock'], sub { | ||
| 22664 | my $C = shift; | ||
| 22665 | $C->pblock | ||
| 22666 | }))) { | ||
| 22667 | $C->_SUBSUMEr(['O'], sub { | ||
| 22668 | my $C = shift; | ||
| 22669 | $C->O(%term) | ||
| 22670 | }) | ||
| 22671 | } else { () } | ||
| 22672 | |||
| 22673 | }); | ||
| 22674 | } | ||
| 22675 | ; | ||
| 22676 | ## token p5postfix:sym['->'] () | ||
| 22677 | sub p5postfix__S_140MinusGt__PEEK { $_[0]->_AUTOLEXpeek('p5postfix__S_140MinusGt', $retree) } | ||
| 22678 | sub p5postfix__S_140MinusGt { | ||
| 22679 | no warnings 'recursion'; | ||
| 22680 | my $self = shift; | ||
| 22681 | |||
| 22682 | |||
| 22683 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22684 | |||
| 22685 | my $C = $self->cursor_xact("RULE p5postfix__S_140MinusGt"); | ||
| 22686 | my $xact = $C->xact; | ||
| 22687 | my $S = $C->{'_pos'}; | ||
| 22688 | $C->{sym} = "\-\>"; | ||
| 22689 | $self->_MATCHIFYr($S, "p5postfix__S_140MinusGt", $C->_EXACT("\-\>")); | ||
| 22690 | } | ||
| 22691 | ; | ||
| 22692 | ## token p5postfix:sym<++> | ||
| 22693 | sub p5postfix__S_141PlusPlus__PEEK { $_[0]->_AUTOLEXpeek('p5postfix__S_141PlusPlus', $retree) } | ||
| 22694 | sub p5postfix__S_141PlusPlus { | ||
| 22695 | no warnings 'recursion'; | ||
| 22696 | my $self = shift; | ||
| 22697 | |||
| 22698 | |||
| 22699 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22700 | |||
| 22701 | my $C = $self->cursor_xact("RULE p5postfix__S_141PlusPlus"); | ||
| 22702 | my $xact = $C->xact; | ||
| 22703 | my $S = $C->{'_pos'}; | ||
| 22704 | $C->{sym} = "\+\+"; | ||
| 22705 | $self->_MATCHIFYr($S, "p5postfix__S_141PlusPlus", do { | ||
| 22706 | if (my ($C) = ($C->_EXACT("\+\+"))) { | ||
| 22707 | $C->_SUBSUMEr(['O'], sub { | ||
| 22708 | my $C = shift; | ||
| 22709 | $C->O(%autoincrement) | ||
| 22710 | }) | ||
| 22711 | } else { () } | ||
| 22712 | |||
| 22713 | }); | ||
| 22714 | } | ||
| 22715 | ; | ||
| 22716 | ## token p5postfix:sym«--» | ||
| 22717 | sub p5postfix__S_142MinusMinus__PEEK { $_[0]->_AUTOLEXpeek('p5postfix__S_142MinusMinus', $retree) } | ||
| 22718 | sub p5postfix__S_142MinusMinus { | ||
| 22719 | no warnings 'recursion'; | ||
| 22720 | my $self = shift; | ||
| 22721 | |||
| 22722 | |||
| 22723 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22724 | |||
| 22725 | my $C = $self->cursor_xact("RULE p5postfix__S_142MinusMinus"); | ||
| 22726 | my $xact = $C->xact; | ||
| 22727 | my $S = $C->{'_pos'}; | ||
| 22728 | $C->{sym} = "\-\-"; | ||
| 22729 | $self->_MATCHIFYr($S, "p5postfix__S_142MinusMinus", do { | ||
| 22730 | if (my ($C) = ($C->_EXACT("\-\-"))) { | ||
| 22731 | $C->_SUBSUMEr(['O'], sub { | ||
| 22732 | my $C = shift; | ||
| 22733 | $C->O(%autoincrement) | ||
| 22734 | }) | ||
| 22735 | } else { () } | ||
| 22736 | |||
| 22737 | }); | ||
| 22738 | } | ||
| 22739 | ; | ||
| 22740 | ## token p5prefix:sym<++> | ||
| 22741 | sub p5prefix__S_143PlusPlus__PEEK { $_[0]->_AUTOLEXpeek('p5prefix__S_143PlusPlus', $retree) } | ||
| 22742 | sub p5prefix__S_143PlusPlus { | ||
| 22743 | no warnings 'recursion'; | ||
| 22744 | my $self = shift; | ||
| 22745 | |||
| 22746 | |||
| 22747 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22748 | |||
| 22749 | my $C = $self->cursor_xact("RULE p5prefix__S_143PlusPlus"); | ||
| 22750 | my $xact = $C->xact; | ||
| 22751 | my $S = $C->{'_pos'}; | ||
| 22752 | $C->{sym} = "\+\+"; | ||
| 22753 | $self->_MATCHIFYr($S, "p5prefix__S_143PlusPlus", do { | ||
| 22754 | if (my ($C) = ($C->_EXACT("\+\+"))) { | ||
| 22755 | $C->_SUBSUMEr(['O'], sub { | ||
| 22756 | my $C = shift; | ||
| 22757 | $C->O(%autoincrement) | ||
| 22758 | }) | ||
| 22759 | } else { () } | ||
| 22760 | |||
| 22761 | }); | ||
| 22762 | } | ||
| 22763 | ; | ||
| 22764 | ## token p5prefix:sym«--» | ||
| 22765 | sub p5prefix__S_144MinusMinus__PEEK { $_[0]->_AUTOLEXpeek('p5prefix__S_144MinusMinus', $retree) } | ||
| 22766 | sub p5prefix__S_144MinusMinus { | ||
| 22767 | no warnings 'recursion'; | ||
| 22768 | my $self = shift; | ||
| 22769 | |||
| 22770 | |||
| 22771 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22772 | |||
| 22773 | my $C = $self->cursor_xact("RULE p5prefix__S_144MinusMinus"); | ||
| 22774 | my $xact = $C->xact; | ||
| 22775 | my $S = $C->{'_pos'}; | ||
| 22776 | $C->{sym} = "\-\-"; | ||
| 22777 | $self->_MATCHIFYr($S, "p5prefix__S_144MinusMinus", do { | ||
| 22778 | if (my ($C) = ($C->_EXACT("\-\-"))) { | ||
| 22779 | $C->_SUBSUMEr(['O'], sub { | ||
| 22780 | my $C = shift; | ||
| 22781 | $C->O(%autoincrement) | ||
| 22782 | }) | ||
| 22783 | } else { () } | ||
| 22784 | |||
| 22785 | }); | ||
| 22786 | } | ||
| 22787 | ; | ||
| 22788 | ## token p5infix:sym<**> | ||
| 22789 | sub p5infix__S_145StarStar__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_145StarStar', $retree) } | ||
| 22790 | sub p5infix__S_145StarStar { | ||
| 22791 | no warnings 'recursion'; | ||
| 22792 | my $self = shift; | ||
| 22793 | |||
| 22794 | |||
| 22795 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22796 | |||
| 22797 | my $C = $self->cursor_xact("RULE p5infix__S_145StarStar"); | ||
| 22798 | my $xact = $C->xact; | ||
| 22799 | my $S = $C->{'_pos'}; | ||
| 22800 | $C->{sym} = "\*\*"; | ||
| 22801 | $self->_MATCHIFYr($S, "p5infix__S_145StarStar", do { | ||
| 22802 | if (my ($C) = ($C->_EXACT("\*\*"))) { | ||
| 22803 | $C->_SUBSUMEr(['O'], sub { | ||
| 22804 | my $C = shift; | ||
| 22805 | $C->O(%exponentiation) | ||
| 22806 | }) | ||
| 22807 | } else { () } | ||
| 22808 | |||
| 22809 | }); | ||
| 22810 | } | ||
| 22811 | ; | ||
| 22812 | ## token p5prefix:sym<!> | ||
| 22813 | sub p5prefix__S_146Bang__PEEK { $_[0]->_AUTOLEXpeek('p5prefix__S_146Bang', $retree) } | ||
| 22814 | sub p5prefix__S_146Bang { | ||
| 22815 | no warnings 'recursion'; | ||
| 22816 | my $self = shift; | ||
| 22817 | |||
| 22818 | |||
| 22819 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22820 | |||
| 22821 | my $C = $self->cursor_xact("RULE p5prefix__S_146Bang"); | ||
| 22822 | my $xact = $C->xact; | ||
| 22823 | my $S = $C->{'_pos'}; | ||
| 22824 | $C->{sym} = "\!"; | ||
| 22825 | $self->_MATCHIFYr($S, "p5prefix__S_146Bang", do { | ||
| 22826 | if (my ($C) = ($C->_EXACT("\!"))) { | ||
| 22827 | $C->_SUBSUMEr(['O'], sub { | ||
| 22828 | my $C = shift; | ||
| 22829 | $C->O(%symbolic_unary) | ||
| 22830 | }) | ||
| 22831 | } else { () } | ||
| 22832 | |||
| 22833 | }); | ||
| 22834 | } | ||
| 22835 | ; | ||
| 22836 | ## token p5prefix:sym<+> | ||
| 22837 | sub p5prefix__S_147Plus__PEEK { $_[0]->_AUTOLEXpeek('p5prefix__S_147Plus', $retree) } | ||
| 22838 | sub p5prefix__S_147Plus { | ||
| 22839 | no warnings 'recursion'; | ||
| 22840 | my $self = shift; | ||
| 22841 | |||
| 22842 | |||
| 22843 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22844 | |||
| 22845 | my $C = $self->cursor_xact("RULE p5prefix__S_147Plus"); | ||
| 22846 | my $xact = $C->xact; | ||
| 22847 | my $S = $C->{'_pos'}; | ||
| 22848 | $C->{sym} = "\+"; | ||
| 22849 | $self->_MATCHIFYr($S, "p5prefix__S_147Plus", do { | ||
| 22850 | if (my ($C) = ($C->_EXACT("\+"))) { | ||
| 22851 | $C->_SUBSUMEr(['O'], sub { | ||
| 22852 | my $C = shift; | ||
| 22853 | $C->O(%symbolic_unary) | ||
| 22854 | }) | ||
| 22855 | } else { () } | ||
| 22856 | |||
| 22857 | }); | ||
| 22858 | } | ||
| 22859 | ; | ||
| 22860 | ## token p5prefix:sym<-> | ||
| 22861 | sub p5prefix__S_148Minus__PEEK { $_[0]->_AUTOLEXpeek('p5prefix__S_148Minus', $retree) } | ||
| 22862 | sub p5prefix__S_148Minus { | ||
| 22863 | no warnings 'recursion'; | ||
| 22864 | my $self = shift; | ||
| 22865 | |||
| 22866 | |||
| 22867 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22868 | |||
| 22869 | my $C = $self->cursor_xact("RULE p5prefix__S_148Minus"); | ||
| 22870 | my $xact = $C->xact; | ||
| 22871 | my $S = $C->{'_pos'}; | ||
| 22872 | $C->{sym} = "\-"; | ||
| 22873 | $self->_MATCHIFYr($S, "p5prefix__S_148Minus", do { | ||
| 22874 | if (my ($C) = ($C->_EXACT("\-"))) { | ||
| 22875 | $C->_SUBSUMEr(['O'], sub { | ||
| 22876 | my $C = shift; | ||
| 22877 | $C->O(%symbolic_unary) | ||
| 22878 | }) | ||
| 22879 | } else { () } | ||
| 22880 | |||
| 22881 | }); | ||
| 22882 | } | ||
| 22883 | ; | ||
| 22884 | ## token p5prefix:sym<~> | ||
| 22885 | sub p5prefix__S_149Tilde__PEEK { $_[0]->_AUTOLEXpeek('p5prefix__S_149Tilde', $retree) } | ||
| 22886 | sub p5prefix__S_149Tilde { | ||
| 22887 | no warnings 'recursion'; | ||
| 22888 | my $self = shift; | ||
| 22889 | |||
| 22890 | |||
| 22891 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22892 | |||
| 22893 | my $C = $self->cursor_xact("RULE p5prefix__S_149Tilde"); | ||
| 22894 | my $xact = $C->xact; | ||
| 22895 | my $S = $C->{'_pos'}; | ||
| 22896 | $C->{sym} = "\~"; | ||
| 22897 | $self->_MATCHIFYr($S, "p5prefix__S_149Tilde", do { | ||
| 22898 | if (my ($C) = ($C->_EXACT("\~"))) { | ||
| 22899 | $C->_SUBSUMEr(['O'], sub { | ||
| 22900 | my $C = shift; | ||
| 22901 | $C->O(%symbolic_unary) | ||
| 22902 | }) | ||
| 22903 | } else { () } | ||
| 22904 | |||
| 22905 | }); | ||
| 22906 | } | ||
| 22907 | ; | ||
| 22908 | ## token p5infix:sym<!~> | ||
| 22909 | sub p5infix__S_150BangTilde__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_150BangTilde', $retree) } | ||
| 22910 | sub p5infix__S_150BangTilde { | ||
| 22911 | no warnings 'recursion'; | ||
| 22912 | my $self = shift; | ||
| 22913 | |||
| 22914 | |||
| 22915 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22916 | |||
| 22917 | my $C = $self->cursor_xact("RULE p5infix__S_150BangTilde"); | ||
| 22918 | my $xact = $C->xact; | ||
| 22919 | my $S = $C->{'_pos'}; | ||
| 22920 | $C->{sym} = "\!\~"; | ||
| 22921 | $self->_MATCHIFYr($S, "p5infix__S_150BangTilde", do { | ||
| 22922 | if (my ($C) = ($C->_EXACT("\!\~"))) { | ||
| 22923 | $C->_SUBSUMEr(['O'], sub { | ||
| 22924 | my $C = shift; | ||
| 22925 | $C->O(%binding) | ||
| 22926 | }) | ||
| 22927 | } else { () } | ||
| 22928 | |||
| 22929 | }); | ||
| 22930 | } | ||
| 22931 | ; | ||
| 22932 | ## token p5infix:sym<=~> | ||
| 22933 | sub p5infix__S_151EqualTilde__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_151EqualTilde', $retree) } | ||
| 22934 | sub p5infix__S_151EqualTilde { | ||
| 22935 | no warnings 'recursion'; | ||
| 22936 | my $self = shift; | ||
| 22937 | |||
| 22938 | |||
| 22939 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22940 | |||
| 22941 | my $C = $self->cursor_xact("RULE p5infix__S_151EqualTilde"); | ||
| 22942 | my $xact = $C->xact; | ||
| 22943 | my $S = $C->{'_pos'}; | ||
| 22944 | $C->{sym} = "\=\~"; | ||
| 22945 | $self->_MATCHIFYr($S, "p5infix__S_151EqualTilde", do { | ||
| 22946 | if (my ($C) = ($C->_EXACT("\=\~"))) { | ||
| 22947 | $C->_SUBSUMEr(['O'], sub { | ||
| 22948 | my $C = shift; | ||
| 22949 | $C->O(%binding) | ||
| 22950 | }) | ||
| 22951 | } else { () } | ||
| 22952 | |||
| 22953 | }); | ||
| 22954 | } | ||
| 22955 | ; | ||
| 22956 | ## token p5infix:sym<*> | ||
| 22957 | sub p5infix__S_152Star__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_152Star', $retree) } | ||
| 22958 | sub p5infix__S_152Star { | ||
| 22959 | no warnings 'recursion'; | ||
| 22960 | my $self = shift; | ||
| 22961 | |||
| 22962 | |||
| 22963 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22964 | |||
| 22965 | my $C = $self->cursor_xact("RULE p5infix__S_152Star"); | ||
| 22966 | my $xact = $C->xact; | ||
| 22967 | my $S = $C->{'_pos'}; | ||
| 22968 | $C->{sym} = "\*"; | ||
| 22969 | $self->_MATCHIFYr($S, "p5infix__S_152Star", do { | ||
| 22970 | if (my ($C) = ($C->_EXACT("\*"))) { | ||
| 22971 | $C->_SUBSUMEr(['O'], sub { | ||
| 22972 | my $C = shift; | ||
| 22973 | $C->O(%multiplicative) | ||
| 22974 | }) | ||
| 22975 | } else { () } | ||
| 22976 | |||
| 22977 | }); | ||
| 22978 | } | ||
| 22979 | ; | ||
| 22980 | ## token p5infix:sym</> | ||
| 22981 | sub p5infix__S_153Slash__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_153Slash', $retree) } | ||
| 22982 | sub p5infix__S_153Slash { | ||
| 22983 | no warnings 'recursion'; | ||
| 22984 | my $self = shift; | ||
| 22985 | |||
| 22986 | |||
| 22987 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 22988 | |||
| 22989 | my $C = $self->cursor_xact("RULE p5infix__S_153Slash"); | ||
| 22990 | my $xact = $C->xact; | ||
| 22991 | my $S = $C->{'_pos'}; | ||
| 22992 | $C->{sym} = "\/"; | ||
| 22993 | $self->_MATCHIFYr($S, "p5infix__S_153Slash", do { | ||
| 22994 | if (my ($C) = ($C->_EXACT("\/"))) { | ||
| 22995 | $C->_SUBSUMEr(['O'], sub { | ||
| 22996 | my $C = shift; | ||
| 22997 | $C->O(%multiplicative) | ||
| 22998 | }) | ||
| 22999 | } else { () } | ||
| 23000 | |||
| 23001 | }); | ||
| 23002 | } | ||
| 23003 | ; | ||
| 23004 | ## token p5infix:sym<%> | ||
| 23005 | sub p5infix__S_154Percent__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_154Percent', $retree) } | ||
| 23006 | sub p5infix__S_154Percent { | ||
| 23007 | no warnings 'recursion'; | ||
| 23008 | my $self = shift; | ||
| 23009 | |||
| 23010 | |||
| 23011 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23012 | |||
| 23013 | my $C = $self->cursor_xact("RULE p5infix__S_154Percent"); | ||
| 23014 | my $xact = $C->xact; | ||
| 23015 | my $S = $C->{'_pos'}; | ||
| 23016 | $C->{sym} = "\%"; | ||
| 23017 | $self->_MATCHIFYr($S, "p5infix__S_154Percent", do { | ||
| 23018 | if (my ($C) = ($C->_EXACT("\%"))) { | ||
| 23019 | $C->_SUBSUMEr(['O'], sub { | ||
| 23020 | my $C = shift; | ||
| 23021 | $C->O(%multiplicative) | ||
| 23022 | }) | ||
| 23023 | } else { () } | ||
| 23024 | |||
| 23025 | }); | ||
| 23026 | } | ||
| 23027 | ; | ||
| 23028 | ## token p5infix:sym« << » | ||
| 23029 | sub p5infix__S_155LtLt__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_155LtLt', $retree) } | ||
| 23030 | sub p5infix__S_155LtLt { | ||
| 23031 | no warnings 'recursion'; | ||
| 23032 | my $self = shift; | ||
| 23033 | |||
| 23034 | |||
| 23035 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23036 | |||
| 23037 | my $C = $self->cursor_xact("RULE p5infix__S_155LtLt"); | ||
| 23038 | my $xact = $C->xact; | ||
| 23039 | my $S = $C->{'_pos'}; | ||
| 23040 | $C->{sym} = "\<\<"; | ||
| 23041 | $self->_MATCHIFYr($S, "p5infix__S_155LtLt", do { | ||
| 23042 | if (my ($C) = ($C->_EXACT("\<\<"))) { | ||
| 23043 | $C->_SUBSUMEr(['O'], sub { | ||
| 23044 | my $C = shift; | ||
| 23045 | $C->O(%multiplicative) | ||
| 23046 | }) | ||
| 23047 | } else { () } | ||
| 23048 | |||
| 23049 | }); | ||
| 23050 | } | ||
| 23051 | ; | ||
| 23052 | ## token p5infix:sym« >> » | ||
| 23053 | sub p5infix__S_156GtGt__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_156GtGt', $retree) } | ||
| 23054 | sub p5infix__S_156GtGt { | ||
| 23055 | no warnings 'recursion'; | ||
| 23056 | my $self = shift; | ||
| 23057 | |||
| 23058 | |||
| 23059 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23060 | |||
| 23061 | my $C = $self->cursor_xact("RULE p5infix__S_156GtGt"); | ||
| 23062 | my $xact = $C->xact; | ||
| 23063 | my $S = $C->{'_pos'}; | ||
| 23064 | $C->{sym} = "\>\>"; | ||
| 23065 | $self->_MATCHIFYr($S, "p5infix__S_156GtGt", do { | ||
| 23066 | if (my ($C) = ($C->_EXACT("\>\>"))) { | ||
| 23067 | $C->_SUBSUMEr(['O'], sub { | ||
| 23068 | my $C = shift; | ||
| 23069 | $C->O(%multiplicative) | ||
| 23070 | }) | ||
| 23071 | } else { () } | ||
| 23072 | |||
| 23073 | }); | ||
| 23074 | } | ||
| 23075 | ; | ||
| 23076 | ## token p5infix:sym<x> | ||
| 23077 | sub p5infix__S_157x__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_157x', $retree) } | ||
| 23078 | sub p5infix__S_157x { | ||
| 23079 | no warnings 'recursion'; | ||
| 23080 | my $self = shift; | ||
| 23081 | |||
| 23082 | |||
| 23083 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23084 | |||
| 23085 | my $C = $self->cursor_xact("RULE p5infix__S_157x"); | ||
| 23086 | my $xact = $C->xact; | ||
| 23087 | my $S = $C->{'_pos'}; | ||
| 23088 | $C->{sym} = "x"; | ||
| 23089 | $self->_MATCHIFYr($S, "p5infix__S_157x", do { | ||
| 23090 | if (my ($C) = ($C->_EXACT("x"))) { | ||
| 23091 | $C->_SUBSUMEr(['O'], sub { | ||
| 23092 | my $C = shift; | ||
| 23093 | $C->O(%multiplicative) | ||
| 23094 | }) | ||
| 23095 | } else { () } | ||
| 23096 | |||
| 23097 | }); | ||
| 23098 | } | ||
| 23099 | ; | ||
| 23100 | ## token p5infix:sym<.> () | ||
| 23101 | sub p5infix__S_158Dot__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_158Dot', $retree) } | ||
| 23102 | sub p5infix__S_158Dot { | ||
| 23103 | no warnings 'recursion'; | ||
| 23104 | my $self = shift; | ||
| 23105 | |||
| 23106 | |||
| 23107 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23108 | |||
| 23109 | my $C = $self->cursor_xact("RULE p5infix__S_158Dot"); | ||
| 23110 | my $xact = $C->xact; | ||
| 23111 | my $S = $C->{'_pos'}; | ||
| 23112 | $C->{sym} = "\."; | ||
| 23113 | $self->_MATCHIFYr($S, "p5infix__S_158Dot", do { | ||
| 23114 | if (my ($C) = ($C->_EXACT("\."))) { | ||
| 23115 | $C->_SUBSUMEr(['O'], sub { | ||
| 23116 | my $C = shift; | ||
| 23117 | $C->O(%additive) | ||
| 23118 | }) | ||
| 23119 | } else { () } | ||
| 23120 | |||
| 23121 | }); | ||
| 23122 | } | ||
| 23123 | ; | ||
| 23124 | ## token p5infix:sym<+> | ||
| 23125 | sub p5infix__S_159Plus__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_159Plus', $retree) } | ||
| 23126 | sub p5infix__S_159Plus { | ||
| 23127 | no warnings 'recursion'; | ||
| 23128 | my $self = shift; | ||
| 23129 | |||
| 23130 | |||
| 23131 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23132 | |||
| 23133 | my $C = $self->cursor_xact("RULE p5infix__S_159Plus"); | ||
| 23134 | my $xact = $C->xact; | ||
| 23135 | my $S = $C->{'_pos'}; | ||
| 23136 | $C->{sym} = "\+"; | ||
| 23137 | $self->_MATCHIFYr($S, "p5infix__S_159Plus", do { | ||
| 23138 | if (my ($C) = ($C->_EXACT("\+"))) { | ||
| 23139 | $C->_SUBSUMEr(['O'], sub { | ||
| 23140 | my $C = shift; | ||
| 23141 | $C->O(%additive) | ||
| 23142 | }) | ||
| 23143 | } else { () } | ||
| 23144 | |||
| 23145 | }); | ||
| 23146 | } | ||
| 23147 | ; | ||
| 23148 | ## token p5infix:sym<-> | ||
| 23149 | sub p5infix__S_160Minus__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_160Minus', $retree) } | ||
| 23150 | sub p5infix__S_160Minus { | ||
| 23151 | no warnings 'recursion'; | ||
| 23152 | my $self = shift; | ||
| 23153 | |||
| 23154 | |||
| 23155 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23156 | |||
| 23157 | my $C = $self->cursor_xact("RULE p5infix__S_160Minus"); | ||
| 23158 | my $xact = $C->xact; | ||
| 23159 | my $S = $C->{'_pos'}; | ||
| 23160 | $C->{sym} = "\-"; | ||
| 23161 | $self->_MATCHIFYr($S, "p5infix__S_160Minus", do { | ||
| 23162 | if (my ($C) = ($C->_EXACT("\-"))) { | ||
| 23163 | $C->_SUBSUMEr(['O'], sub { | ||
| 23164 | my $C = shift; | ||
| 23165 | $C->O(%additive) | ||
| 23166 | }) | ||
| 23167 | } else { () } | ||
| 23168 | |||
| 23169 | }); | ||
| 23170 | } | ||
| 23171 | ; | ||
| 23172 | ## token p5infix:sym<&> | ||
| 23173 | sub p5infix__S_161Amp__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_161Amp', $retree) } | ||
| 23174 | sub p5infix__S_161Amp { | ||
| 23175 | no warnings 'recursion'; | ||
| 23176 | my $self = shift; | ||
| 23177 | |||
| 23178 | |||
| 23179 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23180 | |||
| 23181 | my $C = $self->cursor_xact("RULE p5infix__S_161Amp"); | ||
| 23182 | my $xact = $C->xact; | ||
| 23183 | my $S = $C->{'_pos'}; | ||
| 23184 | $C->{sym} = "\&"; | ||
| 23185 | $self->_MATCHIFYr($S, "p5infix__S_161Amp", do { | ||
| 23186 | if (my ($C) = ($C->_EXACT("\&"))) { | ||
| 23187 | $C->_SUBSUMEr(['O'], sub { | ||
| 23188 | my $C = shift; | ||
| 23189 | $C->O(%bitwise_and) | ||
| 23190 | }) | ||
| 23191 | } else { () } | ||
| 23192 | |||
| 23193 | }); | ||
| 23194 | } | ||
| 23195 | ; | ||
| 23196 | ## token p5infix:sym<also> | ||
| 23197 | sub p5infix__S_162also__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_162also', $retree) } | ||
| 23198 | sub p5infix__S_162also { | ||
| 23199 | no warnings 'recursion'; | ||
| 23200 | my $self = shift; | ||
| 23201 | |||
| 23202 | |||
| 23203 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23204 | |||
| 23205 | my $C = $self->cursor_xact("RULE p5infix__S_162also"); | ||
| 23206 | my $xact = $C->xact; | ||
| 23207 | my $S = $C->{'_pos'}; | ||
| 23208 | $C->{sym} = "also"; | ||
| 23209 | $self->_MATCHIFYr($S, "p5infix__S_162also", do { | ||
| 23210 | if (my ($C) = ($C->_EXACT("also"))) { | ||
| 23211 | $C->_SUBSUMEr(['O'], sub { | ||
| 23212 | my $C = shift; | ||
| 23213 | $C->O(%bitwise_and) | ||
| 23214 | }) | ||
| 23215 | } else { () } | ||
| 23216 | |||
| 23217 | }); | ||
| 23218 | } | ||
| 23219 | ; | ||
| 23220 | ## token p5infix:sym<|> | ||
| 23221 | sub p5infix__S_163Vert__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_163Vert', $retree) } | ||
| 23222 | sub p5infix__S_163Vert { | ||
| 23223 | no warnings 'recursion'; | ||
| 23224 | my $self = shift; | ||
| 23225 | |||
| 23226 | |||
| 23227 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23228 | |||
| 23229 | my $C = $self->cursor_xact("RULE p5infix__S_163Vert"); | ||
| 23230 | my $xact = $C->xact; | ||
| 23231 | my $S = $C->{'_pos'}; | ||
| 23232 | $C->{sym} = "\|"; | ||
| 23233 | $self->_MATCHIFYr($S, "p5infix__S_163Vert", do { | ||
| 23234 | if (my ($C) = ($C->_EXACT("\|"))) { | ||
| 23235 | $C->_SUBSUMEr(['O'], sub { | ||
| 23236 | my $C = shift; | ||
| 23237 | $C->O(%bitwise_or) | ||
| 23238 | }) | ||
| 23239 | } else { () } | ||
| 23240 | |||
| 23241 | }); | ||
| 23242 | } | ||
| 23243 | ; | ||
| 23244 | ## token p5infix:sym<^> | ||
| 23245 | sub p5infix__S_164Caret__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_164Caret', $retree) } | ||
| 23246 | sub p5infix__S_164Caret { | ||
| 23247 | no warnings 'recursion'; | ||
| 23248 | my $self = shift; | ||
| 23249 | |||
| 23250 | |||
| 23251 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23252 | |||
| 23253 | my $C = $self->cursor_xact("RULE p5infix__S_164Caret"); | ||
| 23254 | my $xact = $C->xact; | ||
| 23255 | my $S = $C->{'_pos'}; | ||
| 23256 | $C->{sym} = "\^"; | ||
| 23257 | $self->_MATCHIFYr($S, "p5infix__S_164Caret", do { | ||
| 23258 | if (my ($C) = ($C->_EXACT("\^"))) { | ||
| 23259 | $C->_SUBSUMEr(['O'], sub { | ||
| 23260 | my $C = shift; | ||
| 23261 | $C->O(%bitwise_or) | ||
| 23262 | }) | ||
| 23263 | } else { () } | ||
| 23264 | |||
| 23265 | }); | ||
| 23266 | } | ||
| 23267 | ; | ||
| 23268 | ## token p5prefix:sleep | ||
| 23269 | sub p5prefix__S_165sleep__PEEK { $_[0]->_AUTOLEXpeek('p5prefix__S_165sleep', $retree) } | ||
| 23270 | sub p5prefix__S_165sleep { | ||
| 23271 | no warnings 'recursion'; | ||
| 23272 | my $self = shift; | ||
| 23273 | |||
| 23274 | |||
| 23275 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23276 | |||
| 23277 | my $C = $self->cursor_xact("RULE p5prefix__S_165sleep"); | ||
| 23278 | my $xact = $C->xact; | ||
| 23279 | my $S = $C->{'_pos'}; | ||
| 23280 | $C->{sym} = "sleep"; | ||
| 23281 | $self->_MATCHIFYr($S, "p5prefix__S_165sleep", do { | ||
| 23282 | my $C = $C; | ||
| 23283 | if (($C) = ($C->_PATTERN(qr/\Gsleep\b/)) | ||
| 23284 | and ($C) = ($C->before(sub { | ||
| 23285 | my $C=shift; | ||
| 23286 | if (my ($C) = ($C->before(sub { | ||
| 23287 | my $C=shift; | ||
| 23288 | $C->_PATTERN(qr/\G\s*+/) | ||
| 23289 | }))) { ($C) } else { () } | ||
| 23290 | }))) { | ||
| 23291 | $C->_SUBSUMEr(['O'], sub { | ||
| 23292 | my $C = shift; | ||
| 23293 | $C->O(%named_unary) | ||
| 23294 | }) | ||
| 23295 | } else { () } | ||
| 23296 | |||
| 23297 | }); | ||
| 23298 | } | ||
| 23299 | ; | ||
| 23300 | ## token p5prefix:abs | ||
| 23301 | sub p5prefix__S_166abs__PEEK { $_[0]->_AUTOLEXpeek('p5prefix__S_166abs', $retree) } | ||
| 23302 | sub p5prefix__S_166abs { | ||
| 23303 | no warnings 'recursion'; | ||
| 23304 | my $self = shift; | ||
| 23305 | |||
| 23306 | |||
| 23307 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23308 | |||
| 23309 | my $C = $self->cursor_xact("RULE p5prefix__S_166abs"); | ||
| 23310 | my $xact = $C->xact; | ||
| 23311 | my $S = $C->{'_pos'}; | ||
| 23312 | $C->{sym} = "abs"; | ||
| 23313 | $self->_MATCHIFYr($S, "p5prefix__S_166abs", do { | ||
| 23314 | my $C = $C; | ||
| 23315 | if (($C) = ($C->_PATTERN(qr/\Gabs\b/)) | ||
| 23316 | and ($C) = ($C->before(sub { | ||
| 23317 | my $C=shift; | ||
| 23318 | if (my ($C) = ($C->before(sub { | ||
| 23319 | my $C=shift; | ||
| 23320 | $C->_PATTERN(qr/\G\s*+/) | ||
| 23321 | }))) { ($C) } else { () } | ||
| 23322 | }))) { | ||
| 23323 | $C->_SUBSUMEr(['O'], sub { | ||
| 23324 | my $C = shift; | ||
| 23325 | $C->O(%named_unary) | ||
| 23326 | }) | ||
| 23327 | } else { () } | ||
| 23328 | |||
| 23329 | }); | ||
| 23330 | } | ||
| 23331 | ; | ||
| 23332 | ## token p5prefix:let | ||
| 23333 | sub p5prefix__S_167let__PEEK { $_[0]->_AUTOLEXpeek('p5prefix__S_167let', $retree) } | ||
| 23334 | sub p5prefix__S_167let { | ||
| 23335 | no warnings 'recursion'; | ||
| 23336 | my $self = shift; | ||
| 23337 | |||
| 23338 | |||
| 23339 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23340 | |||
| 23341 | my $C = $self->cursor_xact("RULE p5prefix__S_167let"); | ||
| 23342 | my $xact = $C->xact; | ||
| 23343 | my $S = $C->{'_pos'}; | ||
| 23344 | $C->{sym} = "let"; | ||
| 23345 | $self->_MATCHIFYr($S, "p5prefix__S_167let", do { | ||
| 23346 | my $C = $C; | ||
| 23347 | if (($C) = ($C->_PATTERN(qr/\Glet\b/)) | ||
| 23348 | and ($C) = ($C->before(sub { | ||
| 23349 | my $C=shift; | ||
| 23350 | if (my ($C) = ($C->before(sub { | ||
| 23351 | my $C=shift; | ||
| 23352 | $C->_PATTERN(qr/\G\s*+/) | ||
| 23353 | }))) { ($C) } else { () } | ||
| 23354 | }))) { | ||
| 23355 | $C->_SUBSUMEr(['O'], sub { | ||
| 23356 | my $C = shift; | ||
| 23357 | $C->O(%named_unary) | ||
| 23358 | }) | ||
| 23359 | } else { () } | ||
| 23360 | |||
| 23361 | }); | ||
| 23362 | } | ||
| 23363 | ; | ||
| 23364 | ## token p5prefix:temp | ||
| 23365 | sub p5prefix__S_168temp__PEEK { $_[0]->_AUTOLEXpeek('p5prefix__S_168temp', $retree) } | ||
| 23366 | sub p5prefix__S_168temp { | ||
| 23367 | no warnings 'recursion'; | ||
| 23368 | my $self = shift; | ||
| 23369 | |||
| 23370 | |||
| 23371 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23372 | |||
| 23373 | my $C = $self->cursor_xact("RULE p5prefix__S_168temp"); | ||
| 23374 | my $xact = $C->xact; | ||
| 23375 | my $S = $C->{'_pos'}; | ||
| 23376 | $C->{sym} = "temp"; | ||
| 23377 | $self->_MATCHIFYr($S, "p5prefix__S_168temp", do { | ||
| 23378 | my $C = $C; | ||
| 23379 | if (($C) = ($C->_PATTERN(qr/\Gtemp\b/)) | ||
| 23380 | and ($C) = ($C->before(sub { | ||
| 23381 | my $C=shift; | ||
| 23382 | if (my ($C) = ($C->before(sub { | ||
| 23383 | my $C=shift; | ||
| 23384 | $C->_PATTERN(qr/\G\s*+/) | ||
| 23385 | }))) { ($C) } else { () } | ||
| 23386 | }))) { | ||
| 23387 | $C->_SUBSUMEr(['O'], sub { | ||
| 23388 | my $C = shift; | ||
| 23389 | $C->O(%named_unary) | ||
| 23390 | }) | ||
| 23391 | } else { () } | ||
| 23392 | |||
| 23393 | }); | ||
| 23394 | } | ||
| 23395 | ; | ||
| 23396 | ## token p5infix:sym« <=> » | ||
| 23397 | sub p5infix__S_169LtEqualGt__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_169LtEqualGt', $retree) } | ||
| 23398 | sub p5infix__S_169LtEqualGt { | ||
| 23399 | no warnings 'recursion'; | ||
| 23400 | my $self = shift; | ||
| 23401 | |||
| 23402 | |||
| 23403 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23404 | |||
| 23405 | my $C = $self->cursor_xact("RULE p5infix__S_169LtEqualGt"); | ||
| 23406 | my $xact = $C->xact; | ||
| 23407 | my $S = $C->{'_pos'}; | ||
| 23408 | $C->{sym} = "\<\=\>"; | ||
| 23409 | $self->_MATCHIFYr($S, "p5infix__S_169LtEqualGt", do { | ||
| 23410 | my $C = $C; | ||
| 23411 | if (($C) = ($C->_EXACT("\<\=\>")) | ||
| 23412 | and ($C) = ($C->before(sub { | ||
| 23413 | my $C=shift; | ||
| 23414 | (($C) x !!do { | ||
| 23415 | my $M = $C; | ||
| 23416 | $M->{'O'}->{'returns'} = "Order"}) | ||
| 23417 | }))) { | ||
| 23418 | $C->_SUBSUMEr(['O'], sub { | ||
| 23419 | my $C = shift; | ||
| 23420 | $C->O(%comparison) | ||
| 23421 | }) | ||
| 23422 | } else { () } | ||
| 23423 | |||
| 23424 | }); | ||
| 23425 | } | ||
| 23426 | ; | ||
| 23427 | ## token p5infix:cmp | ||
| 23428 | sub p5infix__S_170cmp__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_170cmp', $retree) } | ||
| 23429 | sub p5infix__S_170cmp { | ||
| 23430 | no warnings 'recursion'; | ||
| 23431 | my $self = shift; | ||
| 23432 | |||
| 23433 | |||
| 23434 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23435 | |||
| 23436 | my $C = $self->cursor_xact("RULE p5infix__S_170cmp"); | ||
| 23437 | my $xact = $C->xact; | ||
| 23438 | my $S = $C->{'_pos'}; | ||
| 23439 | $C->{sym} = "cmp"; | ||
| 23440 | $self->_MATCHIFYr($S, "p5infix__S_170cmp", do { | ||
| 23441 | my $C = $C; | ||
| 23442 | if (($C) = ($C->_EXACT("cmp")) | ||
| 23443 | and ($C) = ($C->before(sub { | ||
| 23444 | my $C=shift; | ||
| 23445 | (($C) x !!do { | ||
| 23446 | my $M = $C; | ||
| 23447 | $M->{'O'}->{'returns'} = "Order"}) | ||
| 23448 | }))) { | ||
| 23449 | $C->_SUBSUMEr(['O'], sub { | ||
| 23450 | my $C = shift; | ||
| 23451 | $C->O(%comparison) | ||
| 23452 | }) | ||
| 23453 | } else { () } | ||
| 23454 | |||
| 23455 | }); | ||
| 23456 | } | ||
| 23457 | ; | ||
| 23458 | ## token p5infix:sym« < » | ||
| 23459 | sub p5infix__S_171Lt__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_171Lt', $retree) } | ||
| 23460 | sub p5infix__S_171Lt { | ||
| 23461 | no warnings 'recursion'; | ||
| 23462 | my $self = shift; | ||
| 23463 | |||
| 23464 | |||
| 23465 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23466 | |||
| 23467 | my $C = $self->cursor_xact("RULE p5infix__S_171Lt"); | ||
| 23468 | my $xact = $C->xact; | ||
| 23469 | my $S = $C->{'_pos'}; | ||
| 23470 | $C->{sym} = "\<"; | ||
| 23471 | $self->_MATCHIFYr($S, "p5infix__S_171Lt", do { | ||
| 23472 | if (my ($C) = ($C->_EXACT("\<"))) { | ||
| 23473 | $C->_SUBSUMEr(['O'], sub { | ||
| 23474 | my $C = shift; | ||
| 23475 | $C->O(%comparison) | ||
| 23476 | }) | ||
| 23477 | } else { () } | ||
| 23478 | |||
| 23479 | }); | ||
| 23480 | } | ||
| 23481 | ; | ||
| 23482 | ## token p5infix:sym« <= » | ||
| 23483 | sub p5infix__S_172LtEqual__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_172LtEqual', $retree) } | ||
| 23484 | sub p5infix__S_172LtEqual { | ||
| 23485 | no warnings 'recursion'; | ||
| 23486 | my $self = shift; | ||
| 23487 | |||
| 23488 | |||
| 23489 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23490 | |||
| 23491 | my $C = $self->cursor_xact("RULE p5infix__S_172LtEqual"); | ||
| 23492 | my $xact = $C->xact; | ||
| 23493 | my $S = $C->{'_pos'}; | ||
| 23494 | $C->{sym} = "\<\="; | ||
| 23495 | $self->_MATCHIFYr($S, "p5infix__S_172LtEqual", do { | ||
| 23496 | if (my ($C) = ($C->_EXACT("\<\="))) { | ||
| 23497 | $C->_SUBSUMEr(['O'], sub { | ||
| 23498 | my $C = shift; | ||
| 23499 | $C->O(%comparison) | ||
| 23500 | }) | ||
| 23501 | } else { () } | ||
| 23502 | |||
| 23503 | }); | ||
| 23504 | } | ||
| 23505 | ; | ||
| 23506 | ## token p5infix:sym« > » | ||
| 23507 | sub p5infix__S_173Gt__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_173Gt', $retree) } | ||
| 23508 | sub p5infix__S_173Gt { | ||
| 23509 | no warnings 'recursion'; | ||
| 23510 | my $self = shift; | ||
| 23511 | |||
| 23512 | |||
| 23513 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23514 | |||
| 23515 | my $C = $self->cursor_xact("RULE p5infix__S_173Gt"); | ||
| 23516 | my $xact = $C->xact; | ||
| 23517 | my $S = $C->{'_pos'}; | ||
| 23518 | $C->{sym} = "\>"; | ||
| 23519 | $self->_MATCHIFYr($S, "p5infix__S_173Gt", do { | ||
| 23520 | if (my ($C) = ($C->_EXACT("\>"))) { | ||
| 23521 | $C->_SUBSUMEr(['O'], sub { | ||
| 23522 | my $C = shift; | ||
| 23523 | $C->O(%comparison) | ||
| 23524 | }) | ||
| 23525 | } else { () } | ||
| 23526 | |||
| 23527 | }); | ||
| 23528 | } | ||
| 23529 | ; | ||
| 23530 | ## token p5infix:sym« >= » | ||
| 23531 | sub p5infix__S_174GtEqual__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_174GtEqual', $retree) } | ||
| 23532 | sub p5infix__S_174GtEqual { | ||
| 23533 | no warnings 'recursion'; | ||
| 23534 | my $self = shift; | ||
| 23535 | |||
| 23536 | |||
| 23537 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23538 | |||
| 23539 | my $C = $self->cursor_xact("RULE p5infix__S_174GtEqual"); | ||
| 23540 | my $xact = $C->xact; | ||
| 23541 | my $S = $C->{'_pos'}; | ||
| 23542 | $C->{sym} = "\>\="; | ||
| 23543 | $self->_MATCHIFYr($S, "p5infix__S_174GtEqual", do { | ||
| 23544 | if (my ($C) = ($C->_EXACT("\>\="))) { | ||
| 23545 | $C->_SUBSUMEr(['O'], sub { | ||
| 23546 | my $C = shift; | ||
| 23547 | $C->O(%comparison) | ||
| 23548 | }) | ||
| 23549 | } else { () } | ||
| 23550 | |||
| 23551 | }); | ||
| 23552 | } | ||
| 23553 | ; | ||
| 23554 | ## token p5infix:sym<eq> | ||
| 23555 | sub p5infix__S_175eq__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_175eq', $retree) } | ||
| 23556 | sub p5infix__S_175eq { | ||
| 23557 | no warnings 'recursion'; | ||
| 23558 | my $self = shift; | ||
| 23559 | |||
| 23560 | |||
| 23561 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23562 | |||
| 23563 | my $C = $self->cursor_xact("RULE p5infix__S_175eq"); | ||
| 23564 | my $xact = $C->xact; | ||
| 23565 | my $S = $C->{'_pos'}; | ||
| 23566 | $C->{sym} = "eq"; | ||
| 23567 | $self->_MATCHIFYr($S, "p5infix__S_175eq", do { | ||
| 23568 | if (my ($C) = ($C->_EXACT("eq"))) { | ||
| 23569 | $C->_SUBSUMEr(['O'], sub { | ||
| 23570 | my $C = shift; | ||
| 23571 | $C->O(%equality) | ||
| 23572 | }) | ||
| 23573 | } else { () } | ||
| 23574 | |||
| 23575 | }); | ||
| 23576 | } | ||
| 23577 | ; | ||
| 23578 | ## token p5infix:sym<ne> | ||
| 23579 | sub p5infix__S_176ne__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_176ne', $retree) } | ||
| 23580 | sub p5infix__S_176ne { | ||
| 23581 | no warnings 'recursion'; | ||
| 23582 | my $self = shift; | ||
| 23583 | |||
| 23584 | |||
| 23585 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23586 | |||
| 23587 | my $C = $self->cursor_xact("RULE p5infix__S_176ne"); | ||
| 23588 | my $xact = $C->xact; | ||
| 23589 | my $S = $C->{'_pos'}; | ||
| 23590 | $C->{sym} = "ne"; | ||
| 23591 | $self->_MATCHIFYr($S, "p5infix__S_176ne", do { | ||
| 23592 | if (my ($C) = ($C->_EXACT("ne"))) { | ||
| 23593 | $C->_SUBSUMEr(['O'], sub { | ||
| 23594 | my $C = shift; | ||
| 23595 | $C->O(%equality) | ||
| 23596 | }) | ||
| 23597 | } else { () } | ||
| 23598 | |||
| 23599 | }); | ||
| 23600 | } | ||
| 23601 | ; | ||
| 23602 | ## token p5infix:sym<lt> | ||
| 23603 | sub p5infix__S_177lt__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_177lt', $retree) } | ||
| 23604 | sub p5infix__S_177lt { | ||
| 23605 | no warnings 'recursion'; | ||
| 23606 | my $self = shift; | ||
| 23607 | |||
| 23608 | |||
| 23609 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23610 | |||
| 23611 | my $C = $self->cursor_xact("RULE p5infix__S_177lt"); | ||
| 23612 | my $xact = $C->xact; | ||
| 23613 | my $S = $C->{'_pos'}; | ||
| 23614 | $C->{sym} = "lt"; | ||
| 23615 | $self->_MATCHIFYr($S, "p5infix__S_177lt", do { | ||
| 23616 | if (my ($C) = ($C->_EXACT("lt"))) { | ||
| 23617 | $C->_SUBSUMEr(['O'], sub { | ||
| 23618 | my $C = shift; | ||
| 23619 | $C->O(%comparison) | ||
| 23620 | }) | ||
| 23621 | } else { () } | ||
| 23622 | |||
| 23623 | }); | ||
| 23624 | } | ||
| 23625 | ; | ||
| 23626 | ## token p5infix:sym<le> | ||
| 23627 | sub p5infix__S_178le__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_178le', $retree) } | ||
| 23628 | sub p5infix__S_178le { | ||
| 23629 | no warnings 'recursion'; | ||
| 23630 | my $self = shift; | ||
| 23631 | |||
| 23632 | |||
| 23633 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23634 | |||
| 23635 | my $C = $self->cursor_xact("RULE p5infix__S_178le"); | ||
| 23636 | my $xact = $C->xact; | ||
| 23637 | my $S = $C->{'_pos'}; | ||
| 23638 | $C->{sym} = "le"; | ||
| 23639 | $self->_MATCHIFYr($S, "p5infix__S_178le", do { | ||
| 23640 | if (my ($C) = ($C->_EXACT("le"))) { | ||
| 23641 | $C->_SUBSUMEr(['O'], sub { | ||
| 23642 | my $C = shift; | ||
| 23643 | $C->O(%comparison) | ||
| 23644 | }) | ||
| 23645 | } else { () } | ||
| 23646 | |||
| 23647 | }); | ||
| 23648 | } | ||
| 23649 | ; | ||
| 23650 | ## token p5infix:sym<gt> | ||
| 23651 | sub p5infix__S_179gt__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_179gt', $retree) } | ||
| 23652 | sub p5infix__S_179gt { | ||
| 23653 | no warnings 'recursion'; | ||
| 23654 | my $self = shift; | ||
| 23655 | |||
| 23656 | |||
| 23657 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23658 | |||
| 23659 | my $C = $self->cursor_xact("RULE p5infix__S_179gt"); | ||
| 23660 | my $xact = $C->xact; | ||
| 23661 | my $S = $C->{'_pos'}; | ||
| 23662 | $C->{sym} = "gt"; | ||
| 23663 | $self->_MATCHIFYr($S, "p5infix__S_179gt", do { | ||
| 23664 | if (my ($C) = ($C->_EXACT("gt"))) { | ||
| 23665 | $C->_SUBSUMEr(['O'], sub { | ||
| 23666 | my $C = shift; | ||
| 23667 | $C->O(%comparison) | ||
| 23668 | }) | ||
| 23669 | } else { () } | ||
| 23670 | |||
| 23671 | }); | ||
| 23672 | } | ||
| 23673 | ; | ||
| 23674 | ## token p5infix:sym<ge> | ||
| 23675 | sub p5infix__S_180ge__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_180ge', $retree) } | ||
| 23676 | sub p5infix__S_180ge { | ||
| 23677 | no warnings 'recursion'; | ||
| 23678 | my $self = shift; | ||
| 23679 | |||
| 23680 | |||
| 23681 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23682 | |||
| 23683 | my $C = $self->cursor_xact("RULE p5infix__S_180ge"); | ||
| 23684 | my $xact = $C->xact; | ||
| 23685 | my $S = $C->{'_pos'}; | ||
| 23686 | $C->{sym} = "ge"; | ||
| 23687 | $self->_MATCHIFYr($S, "p5infix__S_180ge", do { | ||
| 23688 | if (my ($C) = ($C->_EXACT("ge"))) { | ||
| 23689 | $C->_SUBSUMEr(['O'], sub { | ||
| 23690 | my $C = shift; | ||
| 23691 | $C->O(%comparison) | ||
| 23692 | }) | ||
| 23693 | } else { () } | ||
| 23694 | |||
| 23695 | }); | ||
| 23696 | } | ||
| 23697 | ; | ||
| 23698 | ## token p5infix:sym<==> | ||
| 23699 | sub p5infix__S_181EqualEqual__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_181EqualEqual', $retree) } | ||
| 23700 | sub p5infix__S_181EqualEqual { | ||
| 23701 | no warnings 'recursion'; | ||
| 23702 | my $self = shift; | ||
| 23703 | |||
| 23704 | |||
| 23705 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23706 | |||
| 23707 | my $C = $self->cursor_xact("RULE p5infix__S_181EqualEqual"); | ||
| 23708 | my $xact = $C->xact; | ||
| 23709 | my $S = $C->{'_pos'}; | ||
| 23710 | $C->{sym} = "\=\="; | ||
| 23711 | $self->_MATCHIFYr($S, "p5infix__S_181EqualEqual", do { | ||
| 23712 | my $C = $C; | ||
| 23713 | if (($C) = ($C->_EXACT("\=\=")) | ||
| 23714 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 23715 | my $C=shift; | ||
| 23716 | if (my ($C) = ($C->before(sub { | ||
| 23717 | my $C=shift; | ||
| 23718 | $C->_EXACT("\=") | ||
| 23719 | }))) { ($C) } else { () } | ||
| 23720 | }))) { | ||
| 23721 | $C->_SUBSUMEr(['O'], sub { | ||
| 23722 | my $C = shift; | ||
| 23723 | $C->O(%equality) | ||
| 23724 | }) | ||
| 23725 | } else { () } | ||
| 23726 | |||
| 23727 | }); | ||
| 23728 | } | ||
| 23729 | ; | ||
| 23730 | ## token p5infix:sym<!=> | ||
| 23731 | sub p5infix__S_182BangEqual__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_182BangEqual', $retree) } | ||
| 23732 | sub p5infix__S_182BangEqual { | ||
| 23733 | no warnings 'recursion'; | ||
| 23734 | my $self = shift; | ||
| 23735 | |||
| 23736 | |||
| 23737 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23738 | |||
| 23739 | my $C = $self->cursor_xact("RULE p5infix__S_182BangEqual"); | ||
| 23740 | my $xact = $C->xact; | ||
| 23741 | my $S = $C->{'_pos'}; | ||
| 23742 | $C->{sym} = "\!\="; | ||
| 23743 | $self->_MATCHIFYr($S, "p5infix__S_182BangEqual", do { | ||
| 23744 | my $C = $C; | ||
| 23745 | if (($C) = ($C->_EXACT("\!\=")) | ||
| 23746 | and ($C) = ($C->before(sub { | ||
| 23747 | my $C=shift; | ||
| 23748 | if (my ($C) = ($C->before(sub { | ||
| 23749 | my $C=shift; | ||
| 23750 | $C->_PATTERN(qr/\G\s/) | ||
| 23751 | }))) { ($C) } else { () } | ||
| 23752 | }))) { | ||
| 23753 | $C->_SUBSUMEr(['O'], sub { | ||
| 23754 | my $C = shift; | ||
| 23755 | $C->O(%equality) | ||
| 23756 | }) | ||
| 23757 | } else { () } | ||
| 23758 | |||
| 23759 | }); | ||
| 23760 | } | ||
| 23761 | ; | ||
| 23762 | ## token p5infix:sym<&&> | ||
| 23763 | sub p5infix__S_183AmpAmp__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_183AmpAmp', $retree) } | ||
| 23764 | sub p5infix__S_183AmpAmp { | ||
| 23765 | no warnings 'recursion'; | ||
| 23766 | my $self = shift; | ||
| 23767 | |||
| 23768 | |||
| 23769 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23770 | |||
| 23771 | my $C = $self->cursor_xact("RULE p5infix__S_183AmpAmp"); | ||
| 23772 | my $xact = $C->xact; | ||
| 23773 | my $S = $C->{'_pos'}; | ||
| 23774 | $C->{sym} = "\&\&"; | ||
| 23775 | $self->_MATCHIFYr($S, "p5infix__S_183AmpAmp", do { | ||
| 23776 | if (my ($C) = ($C->_EXACT("\&\&"))) { | ||
| 23777 | $C->_SUBSUMEr(['O'], sub { | ||
| 23778 | my $C = shift; | ||
| 23779 | $C->O(%tight_and) | ||
| 23780 | }) | ||
| 23781 | } else { () } | ||
| 23782 | |||
| 23783 | }); | ||
| 23784 | } | ||
| 23785 | ; | ||
| 23786 | ## token p5infix:sym<||> | ||
| 23787 | sub p5infix__S_184VertVert__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_184VertVert', $retree) } | ||
| 23788 | sub p5infix__S_184VertVert { | ||
| 23789 | no warnings 'recursion'; | ||
| 23790 | my $self = shift; | ||
| 23791 | |||
| 23792 | |||
| 23793 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23794 | |||
| 23795 | my $C = $self->cursor_xact("RULE p5infix__S_184VertVert"); | ||
| 23796 | my $xact = $C->xact; | ||
| 23797 | my $S = $C->{'_pos'}; | ||
| 23798 | $C->{sym} = "\|\|"; | ||
| 23799 | $self->_MATCHIFYr($S, "p5infix__S_184VertVert", do { | ||
| 23800 | if (my ($C) = ($C->_EXACT("\|\|"))) { | ||
| 23801 | $C->_SUBSUMEr(['O'], sub { | ||
| 23802 | my $C = shift; | ||
| 23803 | $C->O(%tight_or) | ||
| 23804 | }) | ||
| 23805 | } else { () } | ||
| 23806 | |||
| 23807 | }); | ||
| 23808 | } | ||
| 23809 | ; | ||
| 23810 | ## token p5infix:sym<^^> | ||
| 23811 | sub p5infix__S_185CaretCaret__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_185CaretCaret', $retree) } | ||
| 23812 | sub p5infix__S_185CaretCaret { | ||
| 23813 | no warnings 'recursion'; | ||
| 23814 | my $self = shift; | ||
| 23815 | |||
| 23816 | |||
| 23817 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23818 | |||
| 23819 | my $C = $self->cursor_xact("RULE p5infix__S_185CaretCaret"); | ||
| 23820 | my $xact = $C->xact; | ||
| 23821 | my $S = $C->{'_pos'}; | ||
| 23822 | $C->{sym} = "\^\^"; | ||
| 23823 | $self->_MATCHIFYr($S, "p5infix__S_185CaretCaret", do { | ||
| 23824 | if (my ($C) = ($C->_EXACT("\^\^"))) { | ||
| 23825 | $C->_SUBSUMEr(['O'], sub { | ||
| 23826 | my $C = shift; | ||
| 23827 | $C->O(%tight_or) | ||
| 23828 | }) | ||
| 23829 | } else { () } | ||
| 23830 | |||
| 23831 | }); | ||
| 23832 | } | ||
| 23833 | ; | ||
| 23834 | ## token p5infix:sym<//> | ||
| 23835 | sub p5infix__S_186SlashSlash__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_186SlashSlash', $retree) } | ||
| 23836 | sub p5infix__S_186SlashSlash { | ||
| 23837 | no warnings 'recursion'; | ||
| 23838 | my $self = shift; | ||
| 23839 | |||
| 23840 | |||
| 23841 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23842 | |||
| 23843 | my $C = $self->cursor_xact("RULE p5infix__S_186SlashSlash"); | ||
| 23844 | my $xact = $C->xact; | ||
| 23845 | my $S = $C->{'_pos'}; | ||
| 23846 | $C->{sym} = "\/\/"; | ||
| 23847 | $self->_MATCHIFYr($S, "p5infix__S_186SlashSlash", do { | ||
| 23848 | if (my ($C) = ($C->_EXACT("\/\/"))) { | ||
| 23849 | $C->_SUBSUMEr(['O'], sub { | ||
| 23850 | my $C = shift; | ||
| 23851 | $C->O(%tight_or) | ||
| 23852 | }) | ||
| 23853 | } else { () } | ||
| 23854 | |||
| 23855 | }); | ||
| 23856 | } | ||
| 23857 | ; | ||
| 23858 | ## token p5infix:sym<..> | ||
| 23859 | sub p5infix__S_187DotDot__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_187DotDot', $retree) } | ||
| 23860 | sub p5infix__S_187DotDot { | ||
| 23861 | no warnings 'recursion'; | ||
| 23862 | my $self = shift; | ||
| 23863 | |||
| 23864 | |||
| 23865 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23866 | |||
| 23867 | my $C = $self->cursor_xact("RULE p5infix__S_187DotDot"); | ||
| 23868 | my $xact = $C->xact; | ||
| 23869 | my $S = $C->{'_pos'}; | ||
| 23870 | $C->{sym} = "\.\."; | ||
| 23871 | $self->_MATCHIFYr($S, "p5infix__S_187DotDot", do { | ||
| 23872 | if (my ($C) = ($C->_EXACT("\.\."))) { | ||
| 23873 | $C->_SUBSUMEr(['O'], sub { | ||
| 23874 | my $C = shift; | ||
| 23875 | $C->O(%range) | ||
| 23876 | }) | ||
| 23877 | } else { () } | ||
| 23878 | |||
| 23879 | }); | ||
| 23880 | } | ||
| 23881 | ; | ||
| 23882 | ## token p5infix:sym<...> | ||
| 23883 | sub p5infix__S_188DotDotDot__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_188DotDotDot', $retree) } | ||
| 23884 | sub p5infix__S_188DotDotDot { | ||
| 23885 | no warnings 'recursion'; | ||
| 23886 | my $self = shift; | ||
| 23887 | |||
| 23888 | |||
| 23889 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23890 | |||
| 23891 | my $C = $self->cursor_xact("RULE p5infix__S_188DotDotDot"); | ||
| 23892 | my $xact = $C->xact; | ||
| 23893 | my $S = $C->{'_pos'}; | ||
| 23894 | $C->{sym} = "\.\.\."; | ||
| 23895 | $self->_MATCHIFYr($S, "p5infix__S_188DotDotDot", do { | ||
| 23896 | if (my ($C) = ($C->_EXACT("\.\.\."))) { | ||
| 23897 | $C->_SUBSUMEr(['O'], sub { | ||
| 23898 | my $C = shift; | ||
| 23899 | $C->O(%range) | ||
| 23900 | }) | ||
| 23901 | } else { () } | ||
| 23902 | |||
| 23903 | }); | ||
| 23904 | } | ||
| 23905 | ; | ||
| 23906 | ## token p5infix:sym<? :> { | ||
| 23907 | sub p5infix__S_189Question_Colon__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_189Question_Colon', $retree) } | ||
| 23908 | sub p5infix__S_189Question_Colon { | ||
| 23909 | no warnings 'recursion'; | ||
| 23910 | my $self = shift; | ||
| 23911 | |||
| 23912 | local $::GOAL = ':'; | ||
| 23913 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 23914 | |||
| 23915 | my $C = $self->cursor_xact("RULE p5infix__S_189Question_Colon"); | ||
| 23916 | my $xact = $C->xact; | ||
| 23917 | my $S = $C->{'_pos'}; | ||
| 23918 | $C->{sym} = "\?\ \:"; | ||
| 23919 | $self->_MATCHIFYr($S, "p5infix__S_189Question_Colon", do { | ||
| 23920 | my $C = $C; | ||
| 23921 | if (($C) = ($C->_EXACT("\?")) | ||
| 23922 | and ($C) = ($C->ws) | ||
| 23923 | and ($C) = ($C->_SUBSUMEr(['EXPR'], sub { | ||
| 23924 | my $C = shift; | ||
| 23925 | $C->EXPR(\%assignment) | ||
| 23926 | })) | ||
| 23927 | and ($C) = ($C->_BRACKETr(sub { | ||
| 23928 | my $C=shift; | ||
| 23929 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 23930 | my $xact = $C->xact; | ||
| 23931 | my @gather; | ||
| 23932 | do { | ||
| 23933 | push @gather, $C->_EXACT("\:") | ||
| 23934 | } | ||
| 23935 | or $xact->[-2] or | ||
| 23936 | do { | ||
| 23937 | push @gather, do { | ||
| 23938 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 23939 | my $C=shift; | ||
| 23940 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 23941 | my $xact = $C->xact; | ||
| 23942 | my @gather; | ||
| 23943 | do { | ||
| 23944 | push @gather, do { | ||
| 23945 | my $C = $C; | ||
| 23946 | if (($C) = ($C->before(sub { | ||
| 23947 | my $C=shift; | ||
| 23948 | if (my ($C) = ($C->before(sub { | ||
| 23949 | my $C=shift; | ||
| 23950 | $C->_EXACT("\=") | ||
| 23951 | }))) { ($C) } else { () } | ||
| 23952 | })) | ||
| 23953 | and ($C) = ($C->panic("Assignment not allowed within ?:"))) { | ||
| 23954 | $C | ||
| 23955 | } else { () } | ||
| 23956 | |||
| 23957 | } | ||
| 23958 | } | ||
| 23959 | or $xact->[-2] or | ||
| 23960 | do { | ||
| 23961 | push @gather, do { | ||
| 23962 | my $C = $C; | ||
| 23963 | if (($C) = ($C->before(sub { | ||
| 23964 | my $C=shift; | ||
| 23965 | if (my ($C) = ($C->before(sub { | ||
| 23966 | my $C=shift; | ||
| 23967 | $C->_EXACT("\!\!") | ||
| 23968 | }))) { ($C) } else { () } | ||
| 23969 | })) | ||
| 23970 | and ($C) = ($C->panic("Please use : rather than !!"))) { | ||
| 23971 | $C | ||
| 23972 | } else { () } | ||
| 23973 | |||
| 23974 | } | ||
| 23975 | } | ||
| 23976 | or $xact->[-2] or | ||
| 23977 | do { | ||
| 23978 | push @gather, do { | ||
| 23979 | my $C = $C; | ||
| 23980 | if (($C) = ($C->before(sub { | ||
| 23981 | my $C=shift; | ||
| 23982 | if (my ($C) = ($C->before(sub { | ||
| 23983 | my $C=shift; | ||
| 23984 | $C->_SUBSUMEr(['infixish'], sub { | ||
| 23985 | my $C = shift; | ||
| 23986 | $C->infixish | ||
| 23987 | }) | ||
| 23988 | }))) { ($C) } else { () } | ||
| 23989 | })) | ||
| 23990 | and ($C) = ($C->panic("Precedence too loose within ?:; use ?(): instead "))) { | ||
| 23991 | $C | ||
| 23992 | } else { () } | ||
| 23993 | |||
| 23994 | } | ||
| 23995 | } | ||
| 23996 | or $xact->[-2] or | ||
| 23997 | do { | ||
| 23998 | push @gather, do { | ||
| 23999 | if (my ($C) = ($C->panic("Found ? but no :; possible precedence problem"))) { ($C) } else { () } | ||
| 24000 | |||
| 24001 | } | ||
| 24002 | }; | ||
| 24003 | @gather; | ||
| 24004 | } | ||
| 24005 | }))) { ($C) } else { () } | ||
| 24006 | |||
| 24007 | } | ||
| 24008 | }; | ||
| 24009 | @gather; | ||
| 24010 | } | ||
| 24011 | })) | ||
| 24012 | and ($C) = (scalar(do { | ||
| 24013 | my $M = $C; | ||
| 24014 | $M->{'O'}->{'_reducecheck'} = 'raise_middle'}, $C))) { | ||
| 24015 | $C->_SUBSUMEr(['O'], sub { | ||
| 24016 | my $C = shift; | ||
| 24017 | $C->O(%conditional) | ||
| 24018 | }) | ||
| 24019 | } else { () } | ||
| 24020 | |||
| 24021 | }); | ||
| 24022 | } | ||
| 24023 | ; | ||
| 24024 | ## method raise_middle | ||
| 24025 | sub raise_middle { | ||
| 24026 | no warnings 'recursion'; | ||
| 24027 | my $self = shift; | ||
| 24028 | $self->{'middle'} = $self->{'infix'}->{'EXPR'}; | ||
| 24029 | $self; | ||
| 24030 | }; | ||
| 24031 | ## token p5infix:sym<=> () | ||
| 24032 | sub p5infix__S_190Equal__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_190Equal', $retree) } | ||
| 24033 | sub p5infix__S_190Equal { | ||
| 24034 | no warnings 'recursion'; | ||
| 24035 | my $self = shift; | ||
| 24036 | |||
| 24037 | |||
| 24038 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24039 | |||
| 24040 | my $C = $self->cursor_xact("RULE p5infix__S_190Equal"); | ||
| 24041 | my $xact = $C->xact; | ||
| 24042 | my $S = $C->{'_pos'}; | ||
| 24043 | $C->{sym} = "\="; | ||
| 24044 | $self->_MATCHIFYr($S, "p5infix__S_190Equal", do { | ||
| 24045 | if (my ($C) = ($C->_EXACT("\="))) { | ||
| 24046 | $C->_SUBSUMEr(['O'], sub { | ||
| 24047 | my $C = shift; | ||
| 24048 | $C->O(%assignment) | ||
| 24049 | }) | ||
| 24050 | } else { () } | ||
| 24051 | |||
| 24052 | }); | ||
| 24053 | } | ||
| 24054 | ; | ||
| 24055 | ## token p5infix:sym<,> | ||
| 24056 | sub p5infix__S_191Comma__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_191Comma', $retree) } | ||
| 24057 | sub p5infix__S_191Comma { | ||
| 24058 | no warnings 'recursion'; | ||
| 24059 | my $self = shift; | ||
| 24060 | |||
| 24061 | |||
| 24062 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24063 | |||
| 24064 | my $C = $self->cursor_xact("RULE p5infix__S_191Comma"); | ||
| 24065 | my $xact = $C->xact; | ||
| 24066 | my $S = $C->{'_pos'}; | ||
| 24067 | $C->{sym} = "\,"; | ||
| 24068 | $self->_MATCHIFYr($S, "p5infix__S_191Comma", do { | ||
| 24069 | my $C = $C; | ||
| 24070 | if (($C) = ($C->_EXACT("\,")) | ||
| 24071 | and ($C) = (scalar(do { | ||
| 24072 | my $M = $C; | ||
| 24073 | $M->{'O'}->{'fiddly'} = 0}, $C))) { | ||
| 24074 | $C->_SUBSUMEr(['O'], sub { | ||
| 24075 | my $C = shift; | ||
| 24076 | $C->O(%comma) | ||
| 24077 | }) | ||
| 24078 | } else { () } | ||
| 24079 | |||
| 24080 | }); | ||
| 24081 | } | ||
| 24082 | ; | ||
| 24083 | ## token p5infix:sym« => » | ||
| 24084 | sub p5infix__S_192EqualGt__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_192EqualGt', $retree) } | ||
| 24085 | sub p5infix__S_192EqualGt { | ||
| 24086 | no warnings 'recursion'; | ||
| 24087 | my $self = shift; | ||
| 24088 | |||
| 24089 | |||
| 24090 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24091 | |||
| 24092 | my $C = $self->cursor_xact("RULE p5infix__S_192EqualGt"); | ||
| 24093 | my $xact = $C->xact; | ||
| 24094 | my $S = $C->{'_pos'}; | ||
| 24095 | $C->{sym} = "\=\>"; | ||
| 24096 | $self->_MATCHIFYr($S, "p5infix__S_192EqualGt", do { | ||
| 24097 | my $C = $C; | ||
| 24098 | if (($C) = ($C->_EXACT("\=\>")) | ||
| 24099 | and ($C) = (scalar(do { | ||
| 24100 | my $M = $C; | ||
| 24101 | $M->{'O'}->{'fiddly'} = 0}, $C))) { | ||
| 24102 | $C->_SUBSUMEr(['O'], sub { | ||
| 24103 | my $C = shift; | ||
| 24104 | $C->O(%comma) | ||
| 24105 | }) | ||
| 24106 | } else { () } | ||
| 24107 | |||
| 24108 | }); | ||
| 24109 | } | ||
| 24110 | ; | ||
| 24111 | ## token p5term:identifier | ||
| 24112 | sub p5term__S_193identifier__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_193identifier', $retree) } | ||
| 24113 | sub p5term__S_193identifier { | ||
| 24114 | no warnings 'recursion'; | ||
| 24115 | my $self = shift; | ||
| 24116 | |||
| 24117 | my $name;my $pos; | ||
| 24118 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24119 | |||
| 24120 | my $C = $self->cursor_xact("RULE p5term__S_193identifier"); | ||
| 24121 | my $xact = $C->xact; | ||
| 24122 | my $S = $C->{'_pos'}; | ||
| 24123 | $C->{sym} = "identifier"; | ||
| 24124 | $self->_MATCHIFYr($S, "p5term__S_193identifier", do { | ||
| 24125 | my $C = $C; | ||
| 24126 | if (($C) = ($C->_SUBSUMEr(['identifier'], sub { | ||
| 24127 | my $C = shift; | ||
| 24128 | $C->identifier | ||
| 24129 | })) | ||
| 24130 | and ($C) = ($C->before(sub { | ||
| 24131 | my $C=shift; | ||
| 24132 | if (my ($C) = ($C->before(sub { | ||
| 24133 | my $C=shift; | ||
| 24134 | $C->{'unsp'} = []; | ||
| 24135 | $C->_OPTr(sub { | ||
| 24136 | my $C=shift; | ||
| 24137 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 24138 | my $C=shift; | ||
| 24139 | do { | ||
| 24140 | my ($tag, $try); | ||
| 24141 | my @try; | ||
| 24142 | my $relex; | ||
| 24143 | |||
| 24144 | my $fate; | ||
| 24145 | my $x; | ||
| 24146 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5term__S_193identifier_0') { | ||
| 24147 | $C->deb("Fate passed to p5term__S_193identifier_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 24148 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 24149 | @try = ($try); | ||
| 24150 | $x = 'ALT p5term__S_193identifier_0'; # some outer ltm is controlling us | ||
| 24151 | } | ||
| 24152 | else { | ||
| 24153 | $x = 'ALTLTM p5term__S_193identifier_0'; # we are top level ltm | ||
| 24154 | } | ||
| 24155 | my $C = $C->cursor_xact($x); | ||
| 24156 | my $xact = $C->{_xact}; | ||
| 24157 | |||
| 24158 | my @gather = (); | ||
| 24159 | for (;;) { | ||
| 24160 | unless (@try) { | ||
| 24161 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5term__S_193identifier_0', $retree); | ||
| 24162 | @try = $relex->($C) or last; | ||
| 24163 | } | ||
| 24164 | $try = shift(@try) // next; | ||
| 24165 | |||
| 24166 | if (ref $try) { | ||
| 24167 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 24168 | } | ||
| 24169 | |||
| 24170 | $C->deb("p5term__S_193identifier_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 24171 | push @gather, (( | ||
| 24172 | sub { | ||
| 24173 | my $C=shift; | ||
| 24174 | $C->_SUBSUMEr(['unsp'], sub { | ||
| 24175 | my $C = shift; | ||
| 24176 | $C->unsp | ||
| 24177 | }) | ||
| 24178 | }, | ||
| 24179 | sub { | ||
| 24180 | my $C=shift; | ||
| 24181 | $C->_EXACT("\(") | ||
| 24182 | } | ||
| 24183 | )[$try])->($C); | ||
| 24184 | last if @gather; | ||
| 24185 | last if $xact->[-2]; # committed? | ||
| 24186 | } | ||
| 24187 | @gather; | ||
| 24188 | }; | ||
| 24189 | }))) { ($C) } else { () } | ||
| 24190 | }) | ||
| 24191 | }))) { ($C) } else { () } | ||
| 24192 | })) | ||
| 24193 | and ($C) = (scalar(do { | ||
| 24194 | my $M = $C; | ||
| 24195 | $name = $M->{'identifier'}->Str; | ||
| 24196 | $pos = $C->{'_pos'}; | ||
| 24197 | }, $C)) | ||
| 24198 | and ($C) = ($C->_SUBSUMEr(['args'], sub { | ||
| 24199 | my $C = shift; | ||
| 24200 | $C->args( $C->is_name($name) ) | ||
| 24201 | })) | ||
| 24202 | and ($C) = (scalar(do { | ||
| 24203 | my $M = $C; | ||
| 24204 | $self->add_mystery($name,$pos,substr($::ORIG,$pos,1)) unless $M->{'args'}->{'invocant'}}, $C))) { | ||
| 24205 | $C->_SUBSUMEr(['O'], sub { | ||
| 24206 | my $C = shift; | ||
| 24207 | $C->O(%term) | ||
| 24208 | }) | ||
| 24209 | } else { () } | ||
| 24210 | |||
| 24211 | }); | ||
| 24212 | } | ||
| 24213 | ; | ||
| 24214 | ## token p5term:opfunc | ||
| 24215 | sub p5term__S_194opfunc__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_194opfunc', $retree) } | ||
| 24216 | sub p5term__S_194opfunc { | ||
| 24217 | no warnings 'recursion'; | ||
| 24218 | my $self = shift; | ||
| 24219 | |||
| 24220 | |||
| 24221 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24222 | |||
| 24223 | my $C = $self->cursor_xact("RULE p5term__S_194opfunc"); | ||
| 24224 | my $xact = $C->xact; | ||
| 24225 | my $S = $C->{'_pos'}; | ||
| 24226 | $C->{'colonpair'} = []; | ||
| 24227 | $C->{sym} = "opfunc"; | ||
| 24228 | $self->_MATCHIFYr($S, "p5term__S_194opfunc", do { | ||
| 24229 | my $C = $C; | ||
| 24230 | if (($C) = ($C->_SUBSUMEr(['category'], sub { | ||
| 24231 | my $C = shift; | ||
| 24232 | $C->category | ||
| 24233 | })) | ||
| 24234 | and ($C) = ($C->_PLUSr(sub { | ||
| 24235 | my $C=shift; | ||
| 24236 | $C->_SUBSUMEr(['colonpair'], sub { | ||
| 24237 | my $C = shift; | ||
| 24238 | $C->colonpair | ||
| 24239 | }) | ||
| 24240 | })) | ||
| 24241 | and ($C) = ($C->_SUBSUMEr(['args'], sub { | ||
| 24242 | my $C = shift; | ||
| 24243 | $C->args | ||
| 24244 | }))) { | ||
| 24245 | $C->_SUBSUMEr(['O'], sub { | ||
| 24246 | my $C = shift; | ||
| 24247 | $C->O(%term) | ||
| 24248 | }) | ||
| 24249 | } else { () } | ||
| 24250 | |||
| 24251 | }); | ||
| 24252 | } | ||
| 24253 | ; | ||
| 24254 | ## token args ($istype = 0) { | ||
| 24255 | sub args__PEEK { $_[0]->_AUTOLEXpeek('args', $retree) } | ||
| 24256 | sub args { | ||
| 24257 | no warnings 'recursion'; | ||
| 24258 | my $self = shift; | ||
| 24259 | |||
| 24260 | my $istype = @_ ? shift() : 0; | ||
| 24261 | my $listopish = 0;local $::GOAL = '';local $::INVOCANT_OK = 1;local $::INVOCANT_IS; | ||
| 24262 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24263 | |||
| 24264 | my $C = $self->cursor_xact("RULE args"); | ||
| 24265 | my $xact = $C->xact; | ||
| 24266 | my $S = $C->{'_pos'}; | ||
| 24267 | $C->{'arglist'} = []; | ||
| 24268 | $self->_MATCHIFYr($S, "args", do { | ||
| 24269 | my $C = $C; | ||
| 24270 | if (($C) = ($C->_BRACKETr(sub { | ||
| 24271 | my $C=shift; | ||
| 24272 | do { | ||
| 24273 | my ($tag, $try); | ||
| 24274 | my @try; | ||
| 24275 | my $relex; | ||
| 24276 | |||
| 24277 | my $fate; | ||
| 24278 | my $x; | ||
| 24279 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'args_0') { | ||
| 24280 | $C->deb("Fate passed to args_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 24281 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 24282 | @try = ($try); | ||
| 24283 | $x = 'ALT args_0'; # some outer ltm is controlling us | ||
| 24284 | } | ||
| 24285 | else { | ||
| 24286 | $x = 'ALTLTM args_0'; # we are top level ltm | ||
| 24287 | } | ||
| 24288 | my $C = $C->cursor_xact($x); | ||
| 24289 | my $xact = $C->{_xact}; | ||
| 24290 | |||
| 24291 | my @gather = (); | ||
| 24292 | for (;;) { | ||
| 24293 | unless (@try) { | ||
| 24294 | $relex //= $C->cursor_fate('STD::STD::P5', 'args_0', $retree); | ||
| 24295 | @try = $relex->($C) or last; | ||
| 24296 | } | ||
| 24297 | $try = shift(@try) // next; | ||
| 24298 | |||
| 24299 | if (ref $try) { | ||
| 24300 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 24301 | } | ||
| 24302 | |||
| 24303 | $C->deb("args_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 24304 | push @gather, (( | ||
| 24305 | sub { | ||
| 24306 | my $C=shift; | ||
| 24307 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 24308 | my $C=shift; | ||
| 24309 | local $::GOAL = "\)"; | ||
| 24310 | my $goalpos = $C; | ||
| 24311 | if (($C) = ($C->_EXACT("\(")) | ||
| 24312 | and ($C) = (scalar(do { | ||
| 24313 | }, $C)) | ||
| 24314 | and ($C) = ($C->_SUBSUMEr(['semiarglist'], sub { | ||
| 24315 | my $C = shift; | ||
| 24316 | $C->semiarglist | ||
| 24317 | })) | ||
| 24318 | and ($C) = ($C->_BRACKETr(sub { | ||
| 24319 | my $C=shift; | ||
| 24320 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 24321 | my $xact = $C->xact; | ||
| 24322 | my @gather; | ||
| 24323 | do { | ||
| 24324 | push @gather, $C->_EXACT("\)") | ||
| 24325 | } | ||
| 24326 | or $xact->[-2] or | ||
| 24327 | do { | ||
| 24328 | push @gather, do { | ||
| 24329 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'argument list', $goalpos))) { ($C) } else { () } | ||
| 24330 | |||
| 24331 | } | ||
| 24332 | }; | ||
| 24333 | @gather; | ||
| 24334 | } | ||
| 24335 | }))) { | ||
| 24336 | $C | ||
| 24337 | } else { () } | ||
| 24338 | }))) { ($C) } else { () } | ||
| 24339 | }, | ||
| 24340 | sub { | ||
| 24341 | my $C=shift; | ||
| 24342 | if (($C) = ($C->unsp) | ||
| 24343 | and ($C) = ($C->_BRACKETr(sub { | ||
| 24344 | my $C=shift; | ||
| 24345 | local $::GOAL = "\)"; | ||
| 24346 | my $goalpos = $C; | ||
| 24347 | if (($C) = ($C->_EXACT("\(")) | ||
| 24348 | and ($C) = (scalar(do { | ||
| 24349 | }, $C)) | ||
| 24350 | and ($C) = ($C->_SUBSUMEr(['semiarglist'], sub { | ||
| 24351 | my $C = shift; | ||
| 24352 | $C->semiarglist | ||
| 24353 | })) | ||
| 24354 | and ($C) = ($C->_BRACKETr(sub { | ||
| 24355 | my $C=shift; | ||
| 24356 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 24357 | my $xact = $C->xact; | ||
| 24358 | my @gather; | ||
| 24359 | do { | ||
| 24360 | push @gather, $C->_EXACT("\)") | ||
| 24361 | } | ||
| 24362 | or $xact->[-2] or | ||
| 24363 | do { | ||
| 24364 | push @gather, do { | ||
| 24365 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'argument list', $goalpos))) { ($C) } else { () } | ||
| 24366 | |||
| 24367 | } | ||
| 24368 | }; | ||
| 24369 | @gather; | ||
| 24370 | } | ||
| 24371 | }))) { | ||
| 24372 | $C | ||
| 24373 | } else { () } | ||
| 24374 | }))) { | ||
| 24375 | $C | ||
| 24376 | } else { () } | ||
| 24377 | }, | ||
| 24378 | sub { | ||
| 24379 | my $C=shift; | ||
| 24380 | if (my ($C) = (scalar(do { | ||
| 24381 | $listopish = 1 }, $C))) { | ||
| 24382 | $C->_OPTr(sub { | ||
| 24383 | my $C=shift; | ||
| 24384 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 24385 | my $C=shift; | ||
| 24386 | if (($C) = ($C->before(sub { | ||
| 24387 | my $C=shift; | ||
| 24388 | if (my ($C) = ($C->before(sub { | ||
| 24389 | my $C=shift; | ||
| 24390 | $C->_PATTERN(qr/\G\s/) | ||
| 24391 | }))) { ($C) } else { () } | ||
| 24392 | })) | ||
| 24393 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 24394 | my $C=shift; | ||
| 24395 | (($C) x !!do { | ||
| 24396 | $istype }) | ||
| 24397 | })) | ||
| 24398 | and ($C) = ($C->ws) | ||
| 24399 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 24400 | my $C=shift; | ||
| 24401 | if (my ($C) = ($C->infixstopper)) { ($C) } else { () } | ||
| 24402 | }))) { | ||
| 24403 | $C->_SUBSUMEr(['arglist'], sub { | ||
| 24404 | my $C = shift; | ||
| 24405 | $C->arglist | ||
| 24406 | }) | ||
| 24407 | } else { () } | ||
| 24408 | }))) { ($C) } else { () } | ||
| 24409 | }) | ||
| 24410 | } else { () } | ||
| 24411 | } | ||
| 24412 | )[$try])->($C); | ||
| 24413 | last if @gather; | ||
| 24414 | last if $xact->[-2]; # committed? | ||
| 24415 | } | ||
| 24416 | @gather; | ||
| 24417 | }; | ||
| 24418 | })) | ||
| 24419 | and ($C) = (scalar(do { | ||
| 24420 | my $M = $C; | ||
| 24421 | $M->{'invocant'} = $::INVOCANT_IS}, $C)) | ||
| 24422 | and ($C) = ($C->_BRACKETr(sub { | ||
| 24423 | my $C=shift; | ||
| 24424 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 24425 | my $xact = $C->xact; | ||
| 24426 | my @gather; | ||
| 24427 | do { | ||
| 24428 | push @gather, do { | ||
| 24429 | if (my ($C) = ($C->before(sub { | ||
| 24430 | my $C=shift; | ||
| 24431 | (($C) x !!do { | ||
| 24432 | $listopish }) | ||
| 24433 | }))) { ($C) } else { () } | ||
| 24434 | |||
| 24435 | } | ||
| 24436 | } | ||
| 24437 | or $xact->[-2] or | ||
| 24438 | do { | ||
| 24439 | push @gather, do { | ||
| 24440 | my $C = $C; | ||
| 24441 | if (($C) = ($C->_EXACT("\:")) | ||
| 24442 | and ($C) = ($C->before(sub { | ||
| 24443 | my $C=shift; | ||
| 24444 | if (my ($C) = ($C->before(sub { | ||
| 24445 | my $C=shift; | ||
| 24446 | $C->_PATTERN(qr/\G\s/) | ||
| 24447 | }))) { ($C) } else { () } | ||
| 24448 | }))) { | ||
| 24449 | $C->_SUBSUMEr(['moreargs','arglist'], sub { | ||
| 24450 | my $C = shift; | ||
| 24451 | $C->arglist | ||
| 24452 | }) | ||
| 24453 | } else { () } | ||
| 24454 | |||
| 24455 | } | ||
| 24456 | } | ||
| 24457 | or $xact->[-2] or | ||
| 24458 | do { | ||
| 24459 | push @gather, scalar(do { | ||
| 24460 | my $M = $C; | ||
| 24461 | { | ||
| 24462 | $M->{'O'} = { | ||
| 24463 | }}}, $C) | ||
| 24464 | }; | ||
| 24465 | @gather; | ||
| 24466 | } | ||
| 24467 | }))) { | ||
| 24468 | $C | ||
| 24469 | } else { () } | ||
| 24470 | |||
| 24471 | }); | ||
| 24472 | } | ||
| 24473 | ; | ||
| 24474 | ## token p5term:name | ||
| 24475 | sub p5term__S_195name__PEEK { $_[0]->_AUTOLEXpeek('p5term__S_195name', $retree) } | ||
| 24476 | sub p5term__S_195name { | ||
| 24477 | no warnings 'recursion'; | ||
| 24478 | my $self = shift; | ||
| 24479 | |||
| 24480 | my $name;my $pos; | ||
| 24481 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24482 | |||
| 24483 | my $C = $self->cursor_xact("RULE p5term__S_195name"); | ||
| 24484 | my $xact = $C->xact; | ||
| 24485 | my $S = $C->{'_pos'}; | ||
| 24486 | $C->{'p5postcircumfix'} = []; | ||
| 24487 | $C->{'postcircumfix'} = []; | ||
| 24488 | $C->{sym} = "name"; | ||
| 24489 | $self->_MATCHIFYr($S, "p5term__S_195name", do { | ||
| 24490 | my $C = $C; | ||
| 24491 | if (($C) = ($C->_SUBSUMEr(['longname'], sub { | ||
| 24492 | my $C = shift; | ||
| 24493 | $C->longname | ||
| 24494 | })) | ||
| 24495 | and ($C) = (scalar(do { | ||
| 24496 | my $M = $C; | ||
| 24497 | $name = $M->{'longname'}->Str; | ||
| 24498 | $pos = $C->{'_pos'}; | ||
| 24499 | }, $C)) | ||
| 24500 | and ($C) = ($C->_BRACKETr(sub { | ||
| 24501 | my $C=shift; | ||
| 24502 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 24503 | my $xact = $C->xact; | ||
| 24504 | my @gather; | ||
| 24505 | do { | ||
| 24506 | push @gather, do { | ||
| 24507 | my $C = $C; | ||
| 24508 | if (($C) = ($C->before(sub { | ||
| 24509 | my $C=shift; | ||
| 24510 | (($C) x !!do { | ||
| 24511 | my $M = $C; | ||
| 24512 | $C->is_name($M->{'longname'}->Str) or substr($M->{'longname'}->Str,0,2) eq '::' | ||
| 24513 | }) | ||
| 24514 | })) | ||
| 24515 | and ($C) = ($C->_OPTr(sub { | ||
| 24516 | my $C=shift; | ||
| 24517 | if (my ($C) = ($C->unsp)) { ($C) } else { () } | ||
| 24518 | })) | ||
| 24519 | and ($C) = ($C->_OPTr(sub { | ||
| 24520 | my $C=shift; | ||
| 24521 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 24522 | my $C=shift; | ||
| 24523 | if (my ($C) = ($C->before(sub { | ||
| 24524 | my $C=shift; | ||
| 24525 | if (my ($C) = ($C->before(sub { | ||
| 24526 | my $C=shift; | ||
| 24527 | $C->_EXACT("\[") | ||
| 24528 | }))) { ($C) } else { () } | ||
| 24529 | }))) { | ||
| 24530 | $C->_SUBSUMEr(['postcircumfix','p5postcircumfix'], sub { | ||
| 24531 | my $C = shift; | ||
| 24532 | $C->p5postcircumfix | ||
| 24533 | }) | ||
| 24534 | } else { () } | ||
| 24535 | }))) { ($C) } else { () } | ||
| 24536 | }))) { | ||
| 24537 | $C->_OPTr(sub { | ||
| 24538 | my $C=shift; | ||
| 24539 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 24540 | my $C=shift; | ||
| 24541 | if (($C) = ($C->_EXACT("\:\:")) | ||
| 24542 | and ($C) = ($C->before(sub { | ||
| 24543 | my $C=shift; | ||
| 24544 | if (my ($C) = ($C->before(sub { | ||
| 24545 | my $C=shift; | ||
| 24546 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 24547 | my $C=shift; | ||
| 24548 | do { | ||
| 24549 | my ($tag, $try); | ||
| 24550 | my @try; | ||
| 24551 | my $relex; | ||
| 24552 | |||
| 24553 | my $fate; | ||
| 24554 | my $x; | ||
| 24555 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5term__S_195name_0') { | ||
| 24556 | $C->deb("Fate passed to p5term__S_195name_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 24557 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 24558 | @try = ($try); | ||
| 24559 | $x = 'ALT p5term__S_195name_0'; # some outer ltm is controlling us | ||
| 24560 | } | ||
| 24561 | else { | ||
| 24562 | $x = 'ALTLTM p5term__S_195name_0'; # we are top level ltm | ||
| 24563 | } | ||
| 24564 | my $C = $C->cursor_xact($x); | ||
| 24565 | my $xact = $C->{_xact}; | ||
| 24566 | |||
| 24567 | my @gather = (); | ||
| 24568 | for (;;) { | ||
| 24569 | unless (@try) { | ||
| 24570 | $relex //= $C->cursor_fate('STD::STD::P5', 'p5term__S_195name_0', $retree); | ||
| 24571 | @try = $relex->($C) or last; | ||
| 24572 | } | ||
| 24573 | $try = shift(@try) // next; | ||
| 24574 | |||
| 24575 | if (ref $try) { | ||
| 24576 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 24577 | } | ||
| 24578 | |||
| 24579 | $C->deb("p5term__S_195name_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 24580 | push @gather, (( | ||
| 24581 | sub { | ||
| 24582 | my $C=shift; | ||
| 24583 | $C->_EXACT("«") | ||
| 24584 | }, | ||
| 24585 | sub { | ||
| 24586 | my $C=shift; | ||
| 24587 | $C->_EXACT("\<") | ||
| 24588 | }, | ||
| 24589 | sub { | ||
| 24590 | my $C=shift; | ||
| 24591 | $C->_EXACT("\{") | ||
| 24592 | }, | ||
| 24593 | sub { | ||
| 24594 | my $C=shift; | ||
| 24595 | $C->_EXACT("\<\<") | ||
| 24596 | } | ||
| 24597 | )[$try])->($C); | ||
| 24598 | last if @gather; | ||
| 24599 | last if $xact->[-2]; # committed? | ||
| 24600 | } | ||
| 24601 | @gather; | ||
| 24602 | }; | ||
| 24603 | }))) { ($C) } else { () } | ||
| 24604 | }))) { ($C) } else { () } | ||
| 24605 | }))) { | ||
| 24606 | $C->_SUBSUMEr(['postcircumfix','p5postcircumfix'], sub { | ||
| 24607 | my $C = shift; | ||
| 24608 | $C->p5postcircumfix | ||
| 24609 | }) | ||
| 24610 | } else { () } | ||
| 24611 | }))) { ($C) } else { () } | ||
| 24612 | }) | ||
| 24613 | } else { () } | ||
| 24614 | |||
| 24615 | } | ||
| 24616 | } | ||
| 24617 | or $xact->[-2] or | ||
| 24618 | do { | ||
| 24619 | push @gather, do { | ||
| 24620 | if (my ($C) = ($C->_SUBSUMEr(['args'], sub { | ||
| 24621 | my $C = shift; | ||
| 24622 | $C->args | ||
| 24623 | }))) { | ||
| 24624 | scalar(do { | ||
| 24625 | my $M = $C; | ||
| 24626 | $self->add_mystery($name,$pos,'termish') unless $M->{'args'}->{'invocant'}}, $C) | ||
| 24627 | } else { () } | ||
| 24628 | |||
| 24629 | } | ||
| 24630 | }; | ||
| 24631 | @gather; | ||
| 24632 | } | ||
| 24633 | }))) { | ||
| 24634 | $C->_SUBSUMEr(['O'], sub { | ||
| 24635 | my $C = shift; | ||
| 24636 | $C->O(%term) | ||
| 24637 | }) | ||
| 24638 | } else { () } | ||
| 24639 | |||
| 24640 | }); | ||
| 24641 | } | ||
| 24642 | ; | ||
| 24643 | ## token p5infix:sym<and> | ||
| 24644 | sub p5infix__S_196and__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_196and', $retree) } | ||
| 24645 | sub p5infix__S_196and { | ||
| 24646 | no warnings 'recursion'; | ||
| 24647 | my $self = shift; | ||
| 24648 | |||
| 24649 | |||
| 24650 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24651 | |||
| 24652 | my $C = $self->cursor_xact("RULE p5infix__S_196and"); | ||
| 24653 | my $xact = $C->xact; | ||
| 24654 | my $S = $C->{'_pos'}; | ||
| 24655 | $C->{sym} = "and"; | ||
| 24656 | $self->_MATCHIFYr($S, "p5infix__S_196and", do { | ||
| 24657 | if (my ($C) = ($C->_EXACT("and"))) { | ||
| 24658 | $C->_SUBSUMEr(['O'], sub { | ||
| 24659 | my $C = shift; | ||
| 24660 | $C->O(%loose_and) | ||
| 24661 | }) | ||
| 24662 | } else { () } | ||
| 24663 | |||
| 24664 | }); | ||
| 24665 | } | ||
| 24666 | ; | ||
| 24667 | ## token p5infix:sym<andthen> | ||
| 24668 | sub p5infix__S_197andthen__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_197andthen', $retree) } | ||
| 24669 | sub p5infix__S_197andthen { | ||
| 24670 | no warnings 'recursion'; | ||
| 24671 | my $self = shift; | ||
| 24672 | |||
| 24673 | |||
| 24674 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24675 | |||
| 24676 | my $C = $self->cursor_xact("RULE p5infix__S_197andthen"); | ||
| 24677 | my $xact = $C->xact; | ||
| 24678 | my $S = $C->{'_pos'}; | ||
| 24679 | $C->{sym} = "andthen"; | ||
| 24680 | $self->_MATCHIFYr($S, "p5infix__S_197andthen", do { | ||
| 24681 | if (my ($C) = ($C->_EXACT("andthen"))) { | ||
| 24682 | $C->_SUBSUMEr(['O'], sub { | ||
| 24683 | my $C = shift; | ||
| 24684 | $C->O(%loose_and) | ||
| 24685 | }) | ||
| 24686 | } else { () } | ||
| 24687 | |||
| 24688 | }); | ||
| 24689 | } | ||
| 24690 | ; | ||
| 24691 | ## token p5infix:sym<or> | ||
| 24692 | sub p5infix__S_198or__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_198or', $retree) } | ||
| 24693 | sub p5infix__S_198or { | ||
| 24694 | no warnings 'recursion'; | ||
| 24695 | my $self = shift; | ||
| 24696 | |||
| 24697 | |||
| 24698 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24699 | |||
| 24700 | my $C = $self->cursor_xact("RULE p5infix__S_198or"); | ||
| 24701 | my $xact = $C->xact; | ||
| 24702 | my $S = $C->{'_pos'}; | ||
| 24703 | $C->{sym} = "or"; | ||
| 24704 | $self->_MATCHIFYr($S, "p5infix__S_198or", do { | ||
| 24705 | if (my ($C) = ($C->_EXACT("or"))) { | ||
| 24706 | $C->_SUBSUMEr(['O'], sub { | ||
| 24707 | my $C = shift; | ||
| 24708 | $C->O(%loose_or) | ||
| 24709 | }) | ||
| 24710 | } else { () } | ||
| 24711 | |||
| 24712 | }); | ||
| 24713 | } | ||
| 24714 | ; | ||
| 24715 | ## token p5infix:sym<orelse> | ||
| 24716 | sub p5infix__S_199orelse__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_199orelse', $retree) } | ||
| 24717 | sub p5infix__S_199orelse { | ||
| 24718 | no warnings 'recursion'; | ||
| 24719 | my $self = shift; | ||
| 24720 | |||
| 24721 | |||
| 24722 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24723 | |||
| 24724 | my $C = $self->cursor_xact("RULE p5infix__S_199orelse"); | ||
| 24725 | my $xact = $C->xact; | ||
| 24726 | my $S = $C->{'_pos'}; | ||
| 24727 | $C->{sym} = "orelse"; | ||
| 24728 | $self->_MATCHIFYr($S, "p5infix__S_199orelse", do { | ||
| 24729 | if (my ($C) = ($C->_EXACT("orelse"))) { | ||
| 24730 | $C->_SUBSUMEr(['O'], sub { | ||
| 24731 | my $C = shift; | ||
| 24732 | $C->O(%loose_or) | ||
| 24733 | }) | ||
| 24734 | } else { () } | ||
| 24735 | |||
| 24736 | }); | ||
| 24737 | } | ||
| 24738 | ; | ||
| 24739 | ## token p5infix:sym<xor> | ||
| 24740 | sub p5infix__S_200xor__PEEK { $_[0]->_AUTOLEXpeek('p5infix__S_200xor', $retree) } | ||
| 24741 | sub p5infix__S_200xor { | ||
| 24742 | no warnings 'recursion'; | ||
| 24743 | my $self = shift; | ||
| 24744 | |||
| 24745 | |||
| 24746 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24747 | |||
| 24748 | my $C = $self->cursor_xact("RULE p5infix__S_200xor"); | ||
| 24749 | my $xact = $C->xact; | ||
| 24750 | my $S = $C->{'_pos'}; | ||
| 24751 | $C->{sym} = "xor"; | ||
| 24752 | $self->_MATCHIFYr($S, "p5infix__S_200xor", do { | ||
| 24753 | if (my ($C) = ($C->_EXACT("xor"))) { | ||
| 24754 | $C->_SUBSUMEr(['O'], sub { | ||
| 24755 | my $C = shift; | ||
| 24756 | $C->O(%loose_or) | ||
| 24757 | }) | ||
| 24758 | } else { () } | ||
| 24759 | |||
| 24760 | }); | ||
| 24761 | } | ||
| 24762 | ; | ||
| 24763 | ## token p5terminator:sym<;> | ||
| 24764 | sub p5terminator__S_201Semi__PEEK { $_[0]->_AUTOLEXpeek('p5terminator__S_201Semi', $retree) } | ||
| 24765 | sub p5terminator__S_201Semi { | ||
| 24766 | no warnings 'recursion'; | ||
| 24767 | my $self = shift; | ||
| 24768 | |||
| 24769 | |||
| 24770 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24771 | |||
| 24772 | my $C = $self->cursor_xact("RULE p5terminator__S_201Semi"); | ||
| 24773 | my $xact = $C->xact; | ||
| 24774 | my $S = $C->{'_pos'}; | ||
| 24775 | $C->{sym} = "\;"; | ||
| 24776 | $self->_MATCHIFYr($S, "p5terminator__S_201Semi", do { | ||
| 24777 | if (my ($C) = ($C->_EXACT("\;"))) { | ||
| 24778 | $C->_SUBSUMEr(['O'], sub { | ||
| 24779 | my $C = shift; | ||
| 24780 | $C->O(%terminator) | ||
| 24781 | }) | ||
| 24782 | } else { () } | ||
| 24783 | |||
| 24784 | }); | ||
| 24785 | } | ||
| 24786 | ; | ||
| 24787 | ## token p5terminator:sym<if> | ||
| 24788 | sub p5terminator__S_202if__PEEK { $_[0]->_AUTOLEXpeek('p5terminator__S_202if', $retree) } | ||
| 24789 | sub p5terminator__S_202if { | ||
| 24790 | no warnings 'recursion'; | ||
| 24791 | my $self = shift; | ||
| 24792 | |||
| 24793 | |||
| 24794 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24795 | |||
| 24796 | my $C = $self->cursor_xact("RULE p5terminator__S_202if"); | ||
| 24797 | my $xact = $C->xact; | ||
| 24798 | my $S = $C->{'_pos'}; | ||
| 24799 | $C->{sym} = "if"; | ||
| 24800 | $self->_MATCHIFYr($S, "p5terminator__S_202if", do { | ||
| 24801 | my $C = $C; | ||
| 24802 | if (($C) = ($C->_PATTERN(qr/\Gif\b/)) | ||
| 24803 | and ($C) = ($C->nofun)) { | ||
| 24804 | $C->_SUBSUMEr(['O'], sub { | ||
| 24805 | my $C = shift; | ||
| 24806 | $C->O(%terminator) | ||
| 24807 | }) | ||
| 24808 | } else { () } | ||
| 24809 | |||
| 24810 | }); | ||
| 24811 | } | ||
| 24812 | ; | ||
| 24813 | ## token p5terminator:sym<unless> | ||
| 24814 | sub p5terminator__S_203unless__PEEK { $_[0]->_AUTOLEXpeek('p5terminator__S_203unless', $retree) } | ||
| 24815 | sub p5terminator__S_203unless { | ||
| 24816 | no warnings 'recursion'; | ||
| 24817 | my $self = shift; | ||
| 24818 | |||
| 24819 | |||
| 24820 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24821 | |||
| 24822 | my $C = $self->cursor_xact("RULE p5terminator__S_203unless"); | ||
| 24823 | my $xact = $C->xact; | ||
| 24824 | my $S = $C->{'_pos'}; | ||
| 24825 | $C->{sym} = "unless"; | ||
| 24826 | $self->_MATCHIFYr($S, "p5terminator__S_203unless", do { | ||
| 24827 | my $C = $C; | ||
| 24828 | if (($C) = ($C->_PATTERN(qr/\Gunless\b/)) | ||
| 24829 | and ($C) = ($C->nofun)) { | ||
| 24830 | $C->_SUBSUMEr(['O'], sub { | ||
| 24831 | my $C = shift; | ||
| 24832 | $C->O(%terminator) | ||
| 24833 | }) | ||
| 24834 | } else { () } | ||
| 24835 | |||
| 24836 | }); | ||
| 24837 | } | ||
| 24838 | ; | ||
| 24839 | ## token p5terminator:sym<while> | ||
| 24840 | sub p5terminator__S_204while__PEEK { $_[0]->_AUTOLEXpeek('p5terminator__S_204while', $retree) } | ||
| 24841 | sub p5terminator__S_204while { | ||
| 24842 | no warnings 'recursion'; | ||
| 24843 | my $self = shift; | ||
| 24844 | |||
| 24845 | |||
| 24846 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24847 | |||
| 24848 | my $C = $self->cursor_xact("RULE p5terminator__S_204while"); | ||
| 24849 | my $xact = $C->xact; | ||
| 24850 | my $S = $C->{'_pos'}; | ||
| 24851 | $C->{sym} = "while"; | ||
| 24852 | $self->_MATCHIFYr($S, "p5terminator__S_204while", do { | ||
| 24853 | my $C = $C; | ||
| 24854 | if (($C) = ($C->_PATTERN(qr/\Gwhile\b/)) | ||
| 24855 | and ($C) = ($C->nofun)) { | ||
| 24856 | $C->_SUBSUMEr(['O'], sub { | ||
| 24857 | my $C = shift; | ||
| 24858 | $C->O(%terminator) | ||
| 24859 | }) | ||
| 24860 | } else { () } | ||
| 24861 | |||
| 24862 | }); | ||
| 24863 | } | ||
| 24864 | ; | ||
| 24865 | ## token p5terminator:sym<until> | ||
| 24866 | sub p5terminator__S_205until__PEEK { $_[0]->_AUTOLEXpeek('p5terminator__S_205until', $retree) } | ||
| 24867 | sub p5terminator__S_205until { | ||
| 24868 | no warnings 'recursion'; | ||
| 24869 | my $self = shift; | ||
| 24870 | |||
| 24871 | |||
| 24872 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24873 | |||
| 24874 | my $C = $self->cursor_xact("RULE p5terminator__S_205until"); | ||
| 24875 | my $xact = $C->xact; | ||
| 24876 | my $S = $C->{'_pos'}; | ||
| 24877 | $C->{sym} = "until"; | ||
| 24878 | $self->_MATCHIFYr($S, "p5terminator__S_205until", do { | ||
| 24879 | my $C = $C; | ||
| 24880 | if (($C) = ($C->_PATTERN(qr/\Guntil\b/)) | ||
| 24881 | and ($C) = ($C->nofun)) { | ||
| 24882 | $C->_SUBSUMEr(['O'], sub { | ||
| 24883 | my $C = shift; | ||
| 24884 | $C->O(%terminator) | ||
| 24885 | }) | ||
| 24886 | } else { () } | ||
| 24887 | |||
| 24888 | }); | ||
| 24889 | } | ||
| 24890 | ; | ||
| 24891 | ## token p5terminator:sym<for> | ||
| 24892 | sub p5terminator__S_206for__PEEK { $_[0]->_AUTOLEXpeek('p5terminator__S_206for', $retree) } | ||
| 24893 | sub p5terminator__S_206for { | ||
| 24894 | no warnings 'recursion'; | ||
| 24895 | my $self = shift; | ||
| 24896 | |||
| 24897 | |||
| 24898 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24899 | |||
| 24900 | my $C = $self->cursor_xact("RULE p5terminator__S_206for"); | ||
| 24901 | my $xact = $C->xact; | ||
| 24902 | my $S = $C->{'_pos'}; | ||
| 24903 | $C->{sym} = "for"; | ||
| 24904 | $self->_MATCHIFYr($S, "p5terminator__S_206for", do { | ||
| 24905 | my $C = $C; | ||
| 24906 | if (($C) = ($C->_PATTERN(qr/\Gfor\b/)) | ||
| 24907 | and ($C) = ($C->nofun)) { | ||
| 24908 | $C->_SUBSUMEr(['O'], sub { | ||
| 24909 | my $C = shift; | ||
| 24910 | $C->O(%terminator) | ||
| 24911 | }) | ||
| 24912 | } else { () } | ||
| 24913 | |||
| 24914 | }); | ||
| 24915 | } | ||
| 24916 | ; | ||
| 24917 | ## token p5terminator:sym<given> | ||
| 24918 | sub p5terminator__S_207given__PEEK { $_[0]->_AUTOLEXpeek('p5terminator__S_207given', $retree) } | ||
| 24919 | sub p5terminator__S_207given { | ||
| 24920 | no warnings 'recursion'; | ||
| 24921 | my $self = shift; | ||
| 24922 | |||
| 24923 | |||
| 24924 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24925 | |||
| 24926 | my $C = $self->cursor_xact("RULE p5terminator__S_207given"); | ||
| 24927 | my $xact = $C->xact; | ||
| 24928 | my $S = $C->{'_pos'}; | ||
| 24929 | $C->{sym} = "given"; | ||
| 24930 | $self->_MATCHIFYr($S, "p5terminator__S_207given", do { | ||
| 24931 | my $C = $C; | ||
| 24932 | if (($C) = ($C->_PATTERN(qr/\Ggiven\b/)) | ||
| 24933 | and ($C) = ($C->nofun)) { | ||
| 24934 | $C->_SUBSUMEr(['O'], sub { | ||
| 24935 | my $C = shift; | ||
| 24936 | $C->O(%terminator) | ||
| 24937 | }) | ||
| 24938 | } else { () } | ||
| 24939 | |||
| 24940 | }); | ||
| 24941 | } | ||
| 24942 | ; | ||
| 24943 | ## token p5terminator:sym<when> | ||
| 24944 | sub p5terminator__S_208when__PEEK { $_[0]->_AUTOLEXpeek('p5terminator__S_208when', $retree) } | ||
| 24945 | sub p5terminator__S_208when { | ||
| 24946 | no warnings 'recursion'; | ||
| 24947 | my $self = shift; | ||
| 24948 | |||
| 24949 | |||
| 24950 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24951 | |||
| 24952 | my $C = $self->cursor_xact("RULE p5terminator__S_208when"); | ||
| 24953 | my $xact = $C->xact; | ||
| 24954 | my $S = $C->{'_pos'}; | ||
| 24955 | $C->{sym} = "when"; | ||
| 24956 | $self->_MATCHIFYr($S, "p5terminator__S_208when", do { | ||
| 24957 | my $C = $C; | ||
| 24958 | if (($C) = ($C->_PATTERN(qr/\Gwhen\b/)) | ||
| 24959 | and ($C) = ($C->nofun)) { | ||
| 24960 | $C->_SUBSUMEr(['O'], sub { | ||
| 24961 | my $C = shift; | ||
| 24962 | $C->O(%terminator) | ||
| 24963 | }) | ||
| 24964 | } else { () } | ||
| 24965 | |||
| 24966 | }); | ||
| 24967 | } | ||
| 24968 | ; | ||
| 24969 | ## token p5terminator:sym<)> | ||
| 24970 | sub p5terminator__S_209Thesis__PEEK { $_[0]->_AUTOLEXpeek('p5terminator__S_209Thesis', $retree) } | ||
| 24971 | sub p5terminator__S_209Thesis { | ||
| 24972 | no warnings 'recursion'; | ||
| 24973 | my $self = shift; | ||
| 24974 | |||
| 24975 | |||
| 24976 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 24977 | |||
| 24978 | my $C = $self->cursor_xact("RULE p5terminator__S_209Thesis"); | ||
| 24979 | my $xact = $C->xact; | ||
| 24980 | my $S = $C->{'_pos'}; | ||
| 24981 | $C->{sym} = "\)"; | ||
| 24982 | $self->_MATCHIFYr($S, "p5terminator__S_209Thesis", do { | ||
| 24983 | if (my ($C) = ($C->_EXACT("\)"))) { | ||
| 24984 | $C->_SUBSUMEr(['O'], sub { | ||
| 24985 | my $C = shift; | ||
| 24986 | $C->O(%terminator) | ||
| 24987 | }) | ||
| 24988 | } else { () } | ||
| 24989 | |||
| 24990 | }); | ||
| 24991 | } | ||
| 24992 | ; | ||
| 24993 | ## token p5terminator:sym<]> | ||
| 24994 | sub p5terminator__S_210Ket__PEEK { $_[0]->_AUTOLEXpeek('p5terminator__S_210Ket', $retree) } | ||
| 24995 | sub p5terminator__S_210Ket { | ||
| 24996 | no warnings 'recursion'; | ||
| 24997 | my $self = shift; | ||
| 24998 | |||
| 24999 | |||
| 25000 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 25001 | |||
| 25002 | my $C = $self->cursor_xact("RULE p5terminator__S_210Ket"); | ||
| 25003 | my $xact = $C->xact; | ||
| 25004 | my $S = $C->{'_pos'}; | ||
| 25005 | $C->{sym} = "\]"; | ||
| 25006 | $self->_MATCHIFYr($S, "p5terminator__S_210Ket", do { | ||
| 25007 | if (my ($C) = ($C->_EXACT("\]"))) { | ||
| 25008 | $C->_SUBSUMEr(['O'], sub { | ||
| 25009 | my $C = shift; | ||
| 25010 | $C->O(%terminator) | ||
| 25011 | }) | ||
| 25012 | } else { () } | ||
| 25013 | |||
| 25014 | }); | ||
| 25015 | } | ||
| 25016 | ; | ||
| 25017 | ## token p5terminator:sym<}> | ||
| 25018 | sub p5terminator__S_211Ly__PEEK { $_[0]->_AUTOLEXpeek('p5terminator__S_211Ly', $retree) } | ||
| 25019 | sub p5terminator__S_211Ly { | ||
| 25020 | no warnings 'recursion'; | ||
| 25021 | my $self = shift; | ||
| 25022 | |||
| 25023 | |||
| 25024 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 25025 | |||
| 25026 | my $C = $self->cursor_xact("RULE p5terminator__S_211Ly"); | ||
| 25027 | my $xact = $C->xact; | ||
| 25028 | my $S = $C->{'_pos'}; | ||
| 25029 | $C->{sym} = "\}"; | ||
| 25030 | $self->_MATCHIFYr($S, "p5terminator__S_211Ly", do { | ||
| 25031 | if (my ($C) = ($C->_EXACT("\}"))) { | ||
| 25032 | $C->_SUBSUMEr(['O'], sub { | ||
| 25033 | my $C = shift; | ||
| 25034 | $C->O(%terminator) | ||
| 25035 | }) | ||
| 25036 | } else { () } | ||
| 25037 | |||
| 25038 | }); | ||
| 25039 | } | ||
| 25040 | ; | ||
| 25041 | ## token p5terminator:sym<:> | ||
| 25042 | sub p5terminator__S_212Colon__PEEK { $_[0]->_AUTOLEXpeek('p5terminator__S_212Colon', $retree) } | ||
| 25043 | sub p5terminator__S_212Colon { | ||
| 25044 | no warnings 'recursion'; | ||
| 25045 | my $self = shift; | ||
| 25046 | |||
| 25047 | |||
| 25048 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 25049 | |||
| 25050 | my $C = $self->cursor_xact("RULE p5terminator__S_212Colon"); | ||
| 25051 | my $xact = $C->xact; | ||
| 25052 | my $S = $C->{'_pos'}; | ||
| 25053 | $C->{sym} = "\:"; | ||
| 25054 | $self->_MATCHIFYr($S, "p5terminator__S_212Colon", do { | ||
| 25055 | my $C = $C; | ||
| 25056 | if (($C) = ($C->_EXACT("\:")) | ||
| 25057 | and ($C) = ($C->before(sub { | ||
| 25058 | my $C=shift; | ||
| 25059 | (($C) x !!do { | ||
| 25060 | $::GOAL eq ':' }) | ||
| 25061 | }))) { | ||
| 25062 | $C->_SUBSUMEr(['O'], sub { | ||
| 25063 | my $C = shift; | ||
| 25064 | $C->O(%terminator) | ||
| 25065 | }) | ||
| 25066 | } else { () } | ||
| 25067 | |||
| 25068 | }); | ||
| 25069 | } | ||
| 25070 | ; | ||
| 25071 | ## regex infixstopper { | ||
| 25072 | sub infixstopper__PEEK { $_[0]->_AUTOLEXpeek('infixstopper', $retree) } | ||
| 25073 | sub infixstopper { | ||
| 25074 | no warnings 'recursion'; | ||
| 25075 | my $self = shift; | ||
| 25076 | |||
| 25077 | |||
| 25078 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 25079 | |||
| 25080 | my $C = $self->cursor_xact("RULE infixstopper"); | ||
| 25081 | my $xact = $C->xact; | ||
| 25082 | my $S = $C->{'_pos'}; | ||
| 25083 | $self->_MATCHIFY($S, "infixstopper", $C->_BRACKET(sub { | ||
| 25084 | my $C=shift; | ||
| 25085 | do { | ||
| 25086 | my ($tag, $try); | ||
| 25087 | my @try; | ||
| 25088 | my $relex; | ||
| 25089 | |||
| 25090 | my $fate; | ||
| 25091 | my $x; | ||
| 25092 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'infixstopper_0') { | ||
| 25093 | $C->deb("Fate passed to infixstopper_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 25094 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 25095 | @try = ($try); | ||
| 25096 | $x = 'ALT infixstopper_0'; # some outer ltm is controlling us | ||
| 25097 | } | ||
| 25098 | else { | ||
| 25099 | $x = 'ALTLTM infixstopper_0'; # we are top level ltm | ||
| 25100 | } | ||
| 25101 | my $C = $C->cursor_xact($x); | ||
| 25102 | my $xact = $C->{_xact}; | ||
| 25103 | |||
| 25104 | my @gather = (); | ||
| 25105 | for (;;) { | ||
| 25106 | unless (@try) { | ||
| 25107 | $relex //= $C->cursor_fate('STD::STD::P5', 'infixstopper_0', $retree); | ||
| 25108 | @try = $relex->($C) or last; | ||
| 25109 | } | ||
| 25110 | $try = shift(@try) // next; | ||
| 25111 | |||
| 25112 | if (ref $try) { | ||
| 25113 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 25114 | } | ||
| 25115 | |||
| 25116 | $C->deb("infixstopper_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 25117 | push @gather, (( | ||
| 25118 | sub { | ||
| 25119 | my $C=shift; | ||
| 25120 | $C->before(sub { | ||
| 25121 | my $C=shift; | ||
| 25122 | $C->_SUBSUME(['stopper'], sub { | ||
| 25123 | my $C = shift; | ||
| 25124 | $C->stopper | ||
| 25125 | }) | ||
| 25126 | }) | ||
| 25127 | }, | ||
| 25128 | sub { | ||
| 25129 | my $C=shift; | ||
| 25130 | STD::LazyMap::lazymap(sub { | ||
| 25131 | my $C=shift; | ||
| 25132 | $C->before(sub { | ||
| 25133 | my $C=shift; | ||
| 25134 | (($C) x !!do { | ||
| 25135 | $::GOAL eq ':' }) | ||
| 25136 | }) | ||
| 25137 | }, | ||
| 25138 | $C->before(sub { | ||
| 25139 | my $C=shift; | ||
| 25140 | $C->_EXACT("\:") | ||
| 25141 | })) | ||
| 25142 | }, | ||
| 25143 | sub { | ||
| 25144 | my $C=shift; | ||
| 25145 | $C->before(sub { | ||
| 25146 | my $C=shift; | ||
| 25147 | (($C) x !!do { | ||
| 25148 | $::GOAL eq 'endargs' and $::MEMOS[$C->{'_pos'}]->{'endargs'} }) | ||
| 25149 | }) | ||
| 25150 | } | ||
| 25151 | )[$try])->($C); | ||
| 25152 | last if @gather; | ||
| 25153 | last if $xact->[-2]; # committed? | ||
| 25154 | } | ||
| 25155 | @gather; | ||
| 25156 | }; | ||
| 25157 | })); | ||
| 25158 | } | ||
| 25159 | ; | ||
| 25160 | ## token stopper { <!> } | ||
| 25161 | sub stopper__PEEK { $_[0]->_AUTOLEXpeek('stopper', $retree) } | ||
| 25162 | sub stopper { | ||
| 25163 | no warnings 'recursion'; | ||
| 25164 | my $self = shift; | ||
| 25165 | |||
| 25166 | |||
| 25167 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 25168 | |||
| 25169 | my $C = $self->cursor_xact("RULE stopper"); | ||
| 25170 | my $xact = $C->xact; | ||
| 25171 | my $S = $C->{'_pos'}; | ||
| 25172 | $self->_MATCHIFYr($S, "stopper", $C->_NOTBEFORE(sub { | ||
| 25173 | my $C=shift; | ||
| 25174 | $C | ||
| 25175 | })); | ||
| 25176 | } | ||
| 25177 | ; | ||
| 25178 | ## regex stdstopper { | ||
| 25179 | sub stdstopper__PEEK { $_[0]->_AUTOLEXpeek('stdstopper', $retree) } | ||
| 25180 | sub stdstopper { | ||
| 25181 | no warnings 'recursion'; | ||
| 25182 | my $self = shift; | ||
| 25183 | |||
| 25184 | local @::STUB = @::STUB = return $self if exists $::MEMOS[$self->{'_pos'}]->{'endstmt'}; | ||
| 25185 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 25186 | |||
| 25187 | my $C = $self->cursor_xact("RULE stdstopper"); | ||
| 25188 | my $xact = $C->xact; | ||
| 25189 | my $S = $C->{'_pos'}; | ||
| 25190 | $self->_MATCHIFY($S, "stdstopper", STD::LazyMap::lazymap(sub { | ||
| 25191 | my $C=shift; | ||
| 25192 | scalar(do { | ||
| 25193 | $::MEMOS[$C->{'_pos'}]->{'endstmt'} ||= 1}, $C) | ||
| 25194 | }, | ||
| 25195 | $C->_BRACKET(sub { | ||
| 25196 | my $C=shift; | ||
| 25197 | do { | ||
| 25198 | my ($tag, $try); | ||
| 25199 | my @try; | ||
| 25200 | my $relex; | ||
| 25201 | |||
| 25202 | my $fate; | ||
| 25203 | my $x; | ||
| 25204 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'stdstopper_0') { | ||
| 25205 | $C->deb("Fate passed to stdstopper_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 25206 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 25207 | @try = ($try); | ||
| 25208 | $x = 'ALT stdstopper_0'; # some outer ltm is controlling us | ||
| 25209 | } | ||
| 25210 | else { | ||
| 25211 | $x = 'ALTLTM stdstopper_0'; # we are top level ltm | ||
| 25212 | } | ||
| 25213 | my $C = $C->cursor_xact($x); | ||
| 25214 | my $xact = $C->{_xact}; | ||
| 25215 | |||
| 25216 | my @gather = (); | ||
| 25217 | for (;;) { | ||
| 25218 | unless (@try) { | ||
| 25219 | $relex //= $C->cursor_fate('STD::STD::P5', 'stdstopper_0', $retree); | ||
| 25220 | @try = $relex->($C) or last; | ||
| 25221 | } | ||
| 25222 | $try = shift(@try) // next; | ||
| 25223 | |||
| 25224 | if (ref $try) { | ||
| 25225 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 25226 | } | ||
| 25227 | |||
| 25228 | $C->deb("stdstopper_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 25229 | push @gather, (( | ||
| 25230 | sub { | ||
| 25231 | my $C=shift; | ||
| 25232 | $C->before(sub { | ||
| 25233 | my $C=shift; | ||
| 25234 | $C->terminator | ||
| 25235 | }) | ||
| 25236 | }, | ||
| 25237 | sub { | ||
| 25238 | my $C=shift; | ||
| 25239 | $C->before(sub { | ||
| 25240 | my $C=shift; | ||
| 25241 | $C->unitstopper | ||
| 25242 | }) | ||
| 25243 | }, | ||
| 25244 | sub { | ||
| 25245 | my $C=shift; | ||
| 25246 | $C->_PATTERN(qr/\G\z/) | ||
| 25247 | } | ||
| 25248 | )[$try])->($C); | ||
| 25249 | last if @gather; | ||
| 25250 | last if $xact->[-2]; # committed? | ||
| 25251 | } | ||
| 25252 | @gather; | ||
| 25253 | }; | ||
| 25254 | }))); | ||
| 25255 | } | ||
| 25256 | ; | ||
| 25257 | { package STD::P5::Regex; | ||
| 25258 | use Moose ':all' => { -prefix => "moose_" }; | ||
| 25259 | use Encode; | ||
| 25260 | moose_extends('STD'); | ||
| 25261 | our $ALLROLES = { 'STD::P5::Regex', 1 }; | ||
| 25262 | our $REGEXES = { | ||
| 25263 | ALL => [ qw/atom category codeblock infixish infixstopper nibbler p5assertion p5backslash p5metachar p5mod p5mod_internal p5mods p5quantifier p5regex_infix quant_atom_list quantified_atom quantmod rx termish ws/ ], | ||
| 25264 | category => [ qw/category__S_000p5metachar__PEEK category__S_001p5backslash__PEEK category__S_002p5assertion__PEEK category__S_003p5quantifier__PEEK category__S_004p5mod_internal__PEEK/ ], | ||
| 25265 | p5assertion => [ qw/p5assertion__S_040Question__PEEK p5assertion__S_041Cur_Ly__PEEK p5assertion__S_042Lt__PEEK p5assertion__S_043Equal__PEEK p5assertion__S_044Bang__PEEK p5assertion__S_045Gt__PEEK p5assertion__S_046mod__PEEK p5assertion__S_047bogus__PEEK/ ], | ||
| 25266 | p5backslash => [ qw/p5backslash__S_017A__PEEK p5backslash__S_018a__PEEK p5backslash__S_019b__PEEK p5backslash__S_020c__PEEK p5backslash__S_021d__PEEK p5backslash__S_022e__PEEK p5backslash__S_023f__PEEK p5backslash__S_024h__PEEK p5backslash__S_025l__PEEK p5backslash__S_026n__PEEK p5backslash__S_027o__PEEK p5backslash__S_028p__PEEK p5backslash__S_029Q__PEEK p5backslash__S_030r__PEEK p5backslash__S_031s__PEEK p5backslash__S_032t__PEEK p5backslash__S_033u__PEEK p5backslash__S_034v__PEEK p5backslash__S_035w__PEEK p5backslash__S_036x__PEEK p5backslash__S_037z__PEEK p5backslash__S_038misc__PEEK p5backslash__S_039oops__PEEK/ ], | ||
| 25267 | p5metachar => [ qw/p5metachar__S_006Vert__PEEK p5metachar__S_007Thesis__PEEK p5metachar__S_008quant__PEEK p5metachar__S_009Bra_Ket__PEEK p5metachar__S_010ParenQuestion_Thesis__PEEK p5metachar__S_011Paren_Thesis__PEEK p5metachar__S_012Back__PEEK p5metachar__S_013Dot__PEEK p5metachar__S_014Caret__PEEK p5metachar__S_015Dollar__PEEK p5metachar__S_016var__PEEK/ ], | ||
| 25268 | p5quantifier => [ qw/p5quantifier__S_048Star__PEEK p5quantifier__S_049Plus__PEEK p5quantifier__S_050Question__PEEK p5quantifier__S_051Cur_Ly__PEEK/ ], | ||
| 25269 | p5regex_infix => [ qw/p5regex_infix__S_005Vert__PEEK/ ], | ||
| 25270 | }; | ||
| 25271 | |||
| 25272 | |||
| 25273 | no warnings 'qw', 'recursion'; | ||
| 25274 | my $retree; | ||
| 25275 | |||
| 25276 | $DB::deep = $DB::deep = 1000; # suppress used-once warning | ||
| 25277 | |||
| 25278 | use YAML::XS; | ||
| 25279 | |||
| 25280 | $SIG{__WARN__} = sub { die @_," statement started at line ", 'STD::Cursor'->lineof($::LASTSTATE), " | ||
| 25281 | " } if $::DEBUG; | ||
| 25282 | |||
| 25283 | $retree = YAML::XS::Load(Encode::encode_utf8(<<'RETREE_END')); | ||
| 25284 | --- | ||
| 25285 | atom: !!perl/hash:RE_ast | ||
| 25286 | dba: atom | ||
| 25287 | dic: STD::P5::Regex | ||
| 25288 | re: !!perl/hash:RE_bracket | ||
| 25289 | re: &1 !!perl/hash:RE_any | ||
| 25290 | altname: atom_0 | ||
| 25291 | dba: atom | ||
| 25292 | dic: STD::P5::Regex | ||
| 25293 | zyg: | ||
| 25294 | - !!perl/hash:RE_meta | ||
| 25295 | alt: atom_0 0 | ||
| 25296 | min: 1 | ||
| 25297 | text: \w | ||
| 25298 | - !!perl/hash:RE_bindnamed | ||
| 25299 | alt: atom_0 1 | ||
| 25300 | atom: !!perl/hash:RE_method | ||
| 25301 | name: p5metachar | ||
| 25302 | rest: '' | ||
| 25303 | - !!perl/hash:RE_sequence | ||
| 25304 | alt: atom_0 2 | ||
| 25305 | zyg: | ||
| 25306 | - !!perl/hash:RE_string | ||
| 25307 | i: 0 | ||
| 25308 | text: \ | ||
| 25309 | - !!perl/hash:RE_meta | ||
| 25310 | text: '::' | ||
| 25311 | - !!perl/hash:RE_meta | ||
| 25312 | min: 1 | ||
| 25313 | text: . | ||
| 25314 | atom_0: *1 | ||
| 25315 | category__S_000p5metachar: !!perl/hash:RE_ast | ||
| 25316 | dba: category | ||
| 25317 | dic: STD::P5::Regex | ||
| 25318 | re: !!perl/hash:RE_method | ||
| 25319 | i: 0 | ||
| 25320 | name: sym | ||
| 25321 | rest: '' | ||
| 25322 | sym: p5metachar | ||
| 25323 | category__S_001p5backslash: !!perl/hash:RE_ast | ||
| 25324 | dba: category | ||
| 25325 | dic: STD::P5::Regex | ||
| 25326 | re: !!perl/hash:RE_method | ||
| 25327 | i: 0 | ||
| 25328 | name: sym | ||
| 25329 | rest: '' | ||
| 25330 | sym: p5backslash | ||
| 25331 | category__S_002p5assertion: !!perl/hash:RE_ast | ||
| 25332 | dba: category | ||
| 25333 | dic: STD::P5::Regex | ||
| 25334 | re: !!perl/hash:RE_method | ||
| 25335 | i: 0 | ||
| 25336 | name: sym | ||
| 25337 | rest: '' | ||
| 25338 | sym: p5assertion | ||
| 25339 | category__S_003p5quantifier: !!perl/hash:RE_ast | ||
| 25340 | dba: category | ||
| 25341 | dic: STD::P5::Regex | ||
| 25342 | re: !!perl/hash:RE_method | ||
| 25343 | i: 0 | ||
| 25344 | name: sym | ||
| 25345 | rest: '' | ||
| 25346 | sym: p5quantifier | ||
| 25347 | category__S_004p5mod_internal: !!perl/hash:RE_ast | ||
| 25348 | dba: category | ||
| 25349 | dic: STD::P5::Regex | ||
| 25350 | re: !!perl/hash:RE_method | ||
| 25351 | i: 0 | ||
| 25352 | name: sym | ||
| 25353 | rest: '' | ||
| 25354 | sym: p5mod_internal | ||
| 25355 | codeblock: !!perl/hash:RE_ast | ||
| 25356 | dba: codeblock | ||
| 25357 | dic: STD::P5::Regex | ||
| 25358 | re: !!perl/hash:RE_sequence | ||
| 25359 | zyg: | ||
| 25360 | - !!perl/hash:RE_string | ||
| 25361 | i: 0 | ||
| 25362 | text: '{' | ||
| 25363 | - !!perl/hash:RE_meta | ||
| 25364 | text: '::' | ||
| 25365 | - !!perl/hash:RE_bracket | ||
| 25366 | re: !!perl/hash:RE_sequence | ||
| 25367 | zyg: | ||
| 25368 | - !!perl/hash:RE_decl {} | ||
| 25369 | - !!perl/hash:RE_method | ||
| 25370 | name: statementlist | ||
| 25371 | rest: '' | ||
| 25372 | - !!perl/hash:RE_bracket | ||
| 25373 | re: !!perl/hash:RE_first | ||
| 25374 | zyg: | ||
| 25375 | - !!perl/hash:RE_string | ||
| 25376 | i: 0 | ||
| 25377 | text: '}' | ||
| 25378 | - !!perl/hash:RE_method | ||
| 25379 | name: panic | ||
| 25380 | rest: 1 | ||
| 25381 | infixish: !!perl/hash:RE_ast | ||
| 25382 | dba: infixish | ||
| 25383 | dic: STD::P5::Regex | ||
| 25384 | re: !!perl/hash:RE_sequence | ||
| 25385 | zyg: | ||
| 25386 | - !!perl/hash:RE_assertion | ||
| 25387 | assert: '!' | ||
| 25388 | re: !!perl/hash:RE_method | ||
| 25389 | name: infixstopper | ||
| 25390 | rest: '' | ||
| 25391 | - !!perl/hash:RE_assertion | ||
| 25392 | assert: '!' | ||
| 25393 | re: !!perl/hash:RE_method | ||
| 25394 | name: stdstopper | ||
| 25395 | rest: '' | ||
| 25396 | - !!perl/hash:RE_bindnamed | ||
| 25397 | atom: !!perl/hash:RE_method | ||
| 25398 | name: p5regex_infix | ||
| 25399 | rest: '' | ||
| 25400 | - !!perl/hash:RE_block {} | ||
| 25401 | infixstopper: !!perl/hash:RE_ast | ||
| 25402 | dba: infix stopper | ||
| 25403 | dic: STD::P5::Regex | ||
| 25404 | re: !!perl/hash:RE_assertion | ||
| 25405 | assert: '?' | ||
| 25406 | re: !!perl/hash:RE_method_re | ||
| 25407 | name: before | ||
| 25408 | nobind: 1 | ||
| 25409 | re: !!perl/hash:RE_method | ||
| 25410 | name: stopper | ||
| 25411 | rest: '' | ||
| 25412 | nibbler: !!perl/hash:RE_ast | ||
| 25413 | dba: nibbler | ||
| 25414 | dic: STD::P5::Regex | ||
| 25415 | re: !!perl/hash:RE_sequence | ||
| 25416 | zyg: | ||
| 25417 | - !!perl/hash:RE_method | ||
| 25418 | name: ws | ||
| 25419 | rest: '' | ||
| 25420 | - !!perl/hash:RE_method | ||
| 25421 | name: EXPR | ||
| 25422 | rest: '' | ||
| 25423 | - !!perl/hash:RE_method | ||
| 25424 | name: ws | ||
| 25425 | rest: '' | ||
| 25426 | p5assertion:*: | ||
| 25427 | dic: STD::P5::Regex | ||
| 25428 | p5assertion__S_040Question: !!perl/hash:RE_ast | ||
| 25429 | dba: p5assertion | ||
| 25430 | dic: STD::P5::Regex | ||
| 25431 | re: !!perl/hash:RE_sequence | ||
| 25432 | zyg: | ||
| 25433 | - !!perl/hash:RE_method | ||
| 25434 | i: 0 | ||
| 25435 | name: sym | ||
| 25436 | rest: '' | ||
| 25437 | sym: '?' | ||
| 25438 | - !!perl/hash:RE_method | ||
| 25439 | name: codeblock | ||
| 25440 | rest: '' | ||
| 25441 | p5assertion__S_041Cur_Ly: !!perl/hash:RE_ast | ||
| 25442 | dba: p5assertion | ||
| 25443 | dic: STD::P5::Regex | ||
| 25444 | re: !!perl/hash:RE_method | ||
| 25445 | name: codeblock | ||
| 25446 | rest: '' | ||
| 25447 | p5assertion__S_042Lt: !!perl/hash:RE_ast | ||
| 25448 | dba: p5assertion | ||
| 25449 | dic: STD::P5::Regex | ||
| 25450 | re: !!perl/hash:RE_sequence | ||
| 25451 | zyg: | ||
| 25452 | - !!perl/hash:RE_method | ||
| 25453 | i: 0 | ||
| 25454 | name: sym | ||
| 25455 | rest: '' | ||
| 25456 | sym: < | ||
| 25457 | - !!perl/hash:RE_assertion | ||
| 25458 | assert: '?' | ||
| 25459 | re: !!perl/hash:RE_method_re | ||
| 25460 | name: before | ||
| 25461 | nobind: 1 | ||
| 25462 | re: &2 !!perl/hash:RE_any | ||
| 25463 | altname: p5assertion__S_042Lt_0 | ||
| 25464 | dba: p5assertion | ||
| 25465 | dic: STD::P5::Regex | ||
| 25466 | zyg: | ||
| 25467 | - !!perl/hash:RE_string | ||
| 25468 | alt: p5assertion__S_042Lt_0 0 | ||
| 25469 | i: 0 | ||
| 25470 | text: = | ||
| 25471 | - !!perl/hash:RE_string | ||
| 25472 | alt: p5assertion__S_042Lt_0 1 | ||
| 25473 | i: 0 | ||
| 25474 | text: '!' | ||
| 25475 | - !!perl/hash:RE_bindnamed | ||
| 25476 | atom: !!perl/hash:RE_method | ||
| 25477 | name: p5assertion | ||
| 25478 | rest: '' | ||
| 25479 | p5assertion__S_042Lt_0: *2 | ||
| 25480 | p5assertion__S_043Equal: !!perl/hash:RE_ast | ||
| 25481 | dba: p5assertion | ||
| 25482 | dic: STD::P5::Regex | ||
| 25483 | re: !!perl/hash:RE_sequence | ||
| 25484 | zyg: | ||
| 25485 | - !!perl/hash:RE_method | ||
| 25486 | i: 0 | ||
| 25487 | name: sym | ||
| 25488 | rest: '' | ||
| 25489 | sym: = | ||
| 25490 | - !!perl/hash:RE_bracket | ||
| 25491 | re: &3 !!perl/hash:RE_any | ||
| 25492 | altname: p5assertion__S_043Equal_0 | ||
| 25493 | dba: p5assertion | ||
| 25494 | dic: STD::P5::Regex | ||
| 25495 | zyg: | ||
| 25496 | - !!perl/hash:RE_assertion | ||
| 25497 | alt: p5assertion__S_043Equal_0 0 | ||
| 25498 | assert: '?' | ||
| 25499 | re: !!perl/hash:RE_method_re | ||
| 25500 | name: before | ||
| 25501 | nobind: 1 | ||
| 25502 | re: !!perl/hash:RE_string | ||
| 25503 | i: 0 | ||
| 25504 | text: ) | ||
| 25505 | - !!perl/hash:RE_method | ||
| 25506 | alt: p5assertion__S_043Equal_0 1 | ||
| 25507 | name: rx | ||
| 25508 | rest: '' | ||
| 25509 | p5assertion__S_043Equal_0: *3 | ||
| 25510 | p5assertion__S_044Bang: !!perl/hash:RE_ast | ||
| 25511 | dba: p5assertion | ||
| 25512 | dic: STD::P5::Regex | ||
| 25513 | re: !!perl/hash:RE_sequence | ||
| 25514 | zyg: | ||
| 25515 | - !!perl/hash:RE_method | ||
| 25516 | i: 0 | ||
| 25517 | name: sym | ||
| 25518 | rest: '' | ||
| 25519 | sym: '!' | ||
| 25520 | - !!perl/hash:RE_bracket | ||
| 25521 | re: &4 !!perl/hash:RE_any | ||
| 25522 | altname: p5assertion__S_044Bang_0 | ||
| 25523 | dba: p5assertion | ||
| 25524 | dic: STD::P5::Regex | ||
| 25525 | zyg: | ||
| 25526 | - !!perl/hash:RE_assertion | ||
| 25527 | alt: p5assertion__S_044Bang_0 0 | ||
| 25528 | assert: '?' | ||
| 25529 | re: !!perl/hash:RE_method_re | ||
| 25530 | name: before | ||
| 25531 | nobind: 1 | ||
| 25532 | re: !!perl/hash:RE_string | ||
| 25533 | i: 0 | ||
| 25534 | text: ) | ||
| 25535 | - !!perl/hash:RE_method | ||
| 25536 | alt: p5assertion__S_044Bang_0 1 | ||
| 25537 | name: rx | ||
| 25538 | rest: '' | ||
| 25539 | p5assertion__S_044Bang_0: *4 | ||
| 25540 | p5assertion__S_045Gt: !!perl/hash:RE_ast | ||
| 25541 | dba: p5assertion | ||
| 25542 | dic: STD::P5::Regex | ||
| 25543 | re: !!perl/hash:RE_sequence | ||
| 25544 | zyg: | ||
| 25545 | - !!perl/hash:RE_method | ||
| 25546 | i: 0 | ||
| 25547 | name: sym | ||
| 25548 | rest: '' | ||
| 25549 | sym: '>' | ||
| 25550 | - !!perl/hash:RE_method | ||
| 25551 | name: rx | ||
| 25552 | rest: '' | ||
| 25553 | p5assertion__S_046mod: !!perl/hash:RE_ast | ||
| 25554 | dba: p5assertion | ||
| 25555 | dic: STD::P5::Regex | ||
| 25556 | re: !!perl/hash:RE_sequence | ||
| 25557 | zyg: | ||
| 25558 | - !!perl/hash:RE_bindnamed | ||
| 25559 | atom: !!perl/hash:RE_method | ||
| 25560 | name: p5mods | ||
| 25561 | rest: '' | ||
| 25562 | - !!perl/hash:RE_bracket | ||
| 25563 | re: &5 !!perl/hash:RE_any | ||
| 25564 | altname: p5assertion__S_046mod_0 | ||
| 25565 | dba: p5assertion | ||
| 25566 | dic: STD::P5::Regex | ||
| 25567 | zyg: | ||
| 25568 | - !!perl/hash:RE_sequence | ||
| 25569 | alt: p5assertion__S_046mod_0 0 | ||
| 25570 | zyg: | ||
| 25571 | - !!perl/hash:RE_string | ||
| 25572 | i: 0 | ||
| 25573 | text: ':' | ||
| 25574 | - !!perl/hash:RE_quantified_atom | ||
| 25575 | atom: !!perl/hash:RE_method | ||
| 25576 | name: rx | ||
| 25577 | rest: '' | ||
| 25578 | quant: | ||
| 25579 | - '?' | ||
| 25580 | - !!perl/hash:RE_assertion | ||
| 25581 | alt: p5assertion__S_046mod_0 1 | ||
| 25582 | assert: '?' | ||
| 25583 | re: !!perl/hash:RE_method_re | ||
| 25584 | name: before | ||
| 25585 | nobind: 1 | ||
| 25586 | re: !!perl/hash:RE_string | ||
| 25587 | i: 0 | ||
| 25588 | text: ) | ||
| 25589 | p5assertion__S_046mod_0: *5 | ||
| 25590 | p5assertion__S_047bogus: !!perl/hash:RE_ast | ||
| 25591 | dba: p5assertion | ||
| 25592 | dic: STD::P5::Regex | ||
| 25593 | re: !!perl/hash:RE_method | ||
| 25594 | name: panic | ||
| 25595 | rest: 1 | ||
| 25596 | p5backslash:*: | ||
| 25597 | dic: STD::P5::Regex | ||
| 25598 | p5backslash__S_017A: !!perl/hash:RE_ast | ||
| 25599 | dba: p5backslash | ||
| 25600 | dic: STD::P5::Regex | ||
| 25601 | re: !!perl/hash:RE_method | ||
| 25602 | i: 0 | ||
| 25603 | name: sym | ||
| 25604 | rest: '' | ||
| 25605 | sym: A | ||
| 25606 | p5backslash__S_018a: !!perl/hash:RE_ast | ||
| 25607 | dba: p5backslash | ||
| 25608 | dic: STD::P5::Regex | ||
| 25609 | re: !!perl/hash:RE_method | ||
| 25610 | i: 0 | ||
| 25611 | name: sym | ||
| 25612 | rest: '' | ||
| 25613 | sym: a | ||
| 25614 | p5backslash__S_019b: !!perl/hash:RE_ast | ||
| 25615 | dba: p5backslash | ||
| 25616 | dic: STD::P5::Regex | ||
| 25617 | re: !!perl/hash:RE_method | ||
| 25618 | i: 1 | ||
| 25619 | name: sym | ||
| 25620 | rest: '' | ||
| 25621 | sym: b | ||
| 25622 | p5backslash__S_020c: !!perl/hash:RE_ast | ||
| 25623 | dba: p5backslash | ||
| 25624 | dic: STD::P5::Regex | ||
| 25625 | re: !!perl/hash:RE_first | ||
| 25626 | zyg: | ||
| 25627 | - !!perl/hash:RE_sequence | ||
| 25628 | zyg: | ||
| 25629 | - !!perl/hash:RE_method | ||
| 25630 | i: 1 | ||
| 25631 | name: sym | ||
| 25632 | rest: '' | ||
| 25633 | sym: c | ||
| 25634 | - !!perl/hash:RE_cclass | ||
| 25635 | i: 1 | ||
| 25636 | text: '[ ?.._ ]' | ||
| 25637 | - !!perl/hash:RE_method | ||
| 25638 | name: panic | ||
| 25639 | rest: 1 | ||
| 25640 | p5backslash__S_021d: !!perl/hash:RE_ast | ||
| 25641 | dba: p5backslash | ||
| 25642 | dic: STD::P5::Regex | ||
| 25643 | re: !!perl/hash:RE_method | ||
| 25644 | i: 1 | ||
| 25645 | name: sym | ||
| 25646 | rest: '' | ||
| 25647 | sym: d | ||
| 25648 | p5backslash__S_022e: !!perl/hash:RE_ast | ||
| 25649 | dba: p5backslash | ||
| 25650 | dic: STD::P5::Regex | ||
| 25651 | re: !!perl/hash:RE_method | ||
| 25652 | i: 1 | ||
| 25653 | name: sym | ||
| 25654 | rest: '' | ||
| 25655 | sym: e | ||
| 25656 | p5backslash__S_023f: !!perl/hash:RE_ast | ||
| 25657 | dba: p5backslash | ||
| 25658 | dic: STD::P5::Regex | ||
| 25659 | re: !!perl/hash:RE_method | ||
| 25660 | i: 1 | ||
| 25661 | name: sym | ||
| 25662 | rest: '' | ||
| 25663 | sym: f | ||
| 25664 | p5backslash__S_024h: !!perl/hash:RE_ast | ||
| 25665 | dba: p5backslash | ||
| 25666 | dic: STD::P5::Regex | ||
| 25667 | re: !!perl/hash:RE_method | ||
| 25668 | i: 1 | ||
| 25669 | name: sym | ||
| 25670 | rest: '' | ||
| 25671 | sym: h | ||
| 25672 | p5backslash__S_025l: !!perl/hash:RE_ast | ||
| 25673 | dba: p5backslash | ||
| 25674 | dic: STD::P5::Regex | ||
| 25675 | re: !!perl/hash:RE_method | ||
| 25676 | i: 1 | ||
| 25677 | name: sym | ||
| 25678 | rest: '' | ||
| 25679 | sym: l | ||
| 25680 | p5backslash__S_026n: !!perl/hash:RE_ast | ||
| 25681 | dba: p5backslash | ||
| 25682 | dic: STD::P5::Regex | ||
| 25683 | re: !!perl/hash:RE_method | ||
| 25684 | i: 1 | ||
| 25685 | name: sym | ||
| 25686 | rest: '' | ||
| 25687 | sym: n | ||
| 25688 | p5backslash__S_027o: !!perl/hash:RE_ast | ||
| 25689 | dba: octal character | ||
| 25690 | dic: STD::P5::Regex | ||
| 25691 | re: !!perl/hash:RE_sequence | ||
| 25692 | zyg: | ||
| 25693 | - !!perl/hash:RE_string | ||
| 25694 | i: 0 | ||
| 25695 | text: '0' | ||
| 25696 | - !!perl/hash:RE_bracket | ||
| 25697 | re: &6 !!perl/hash:RE_any | ||
| 25698 | altname: p5backslash__S_027o_0 | ||
| 25699 | dba: octal character | ||
| 25700 | dic: STD::P5::Regex | ||
| 25701 | zyg: | ||
| 25702 | - !!perl/hash:RE_method | ||
| 25703 | alt: p5backslash__S_027o_0 0 | ||
| 25704 | name: octint | ||
| 25705 | rest: '' | ||
| 25706 | - !!perl/hash:RE_bracket | ||
| 25707 | alt: p5backslash__S_027o_0 1 | ||
| 25708 | re: !!perl/hash:RE_sequence | ||
| 25709 | zyg: | ||
| 25710 | - !!perl/hash:RE_string | ||
| 25711 | i: 0 | ||
| 25712 | text: '{' | ||
| 25713 | - !!perl/hash:RE_block {} | ||
| 25714 | - !!perl/hash:RE_method | ||
| 25715 | name: octints | ||
| 25716 | rest: '' | ||
| 25717 | - !!perl/hash:RE_bracket | ||
| 25718 | re: !!perl/hash:RE_first | ||
| 25719 | zyg: | ||
| 25720 | - !!perl/hash:RE_string | ||
| 25721 | i: 0 | ||
| 25722 | text: '}' | ||
| 25723 | - !!perl/hash:RE_method | ||
| 25724 | name: FAILGOAL | ||
| 25725 | rest: 1 | ||
| 25726 | p5backslash__S_027o_0: *6 | ||
| 25727 | p5backslash__S_028p: !!perl/hash:RE_ast | ||
| 25728 | dba: p5backslash | ||
| 25729 | dic: STD::P5::Regex | ||
| 25730 | re: !!perl/hash:RE_sequence | ||
| 25731 | zyg: | ||
| 25732 | - !!perl/hash:RE_method | ||
| 25733 | i: 1 | ||
| 25734 | name: sym | ||
| 25735 | rest: '' | ||
| 25736 | sym: p | ||
| 25737 | - !!perl/hash:RE_string | ||
| 25738 | i: 1 | ||
| 25739 | text: '{' | ||
| 25740 | - !!perl/hash:RE_quantified_atom | ||
| 25741 | atom: !!perl/hash:RE_cclass | ||
| 25742 | i: 1 | ||
| 25743 | text: '[\w:]' | ||
| 25744 | quant: | ||
| 25745 | - + | ||
| 25746 | - !!perl/hash:RE_string | ||
| 25747 | i: 1 | ||
| 25748 | text: '}' | ||
| 25749 | p5backslash__S_029Q: !!perl/hash:RE_ast | ||
| 25750 | dba: p5backslash | ||
| 25751 | dic: STD::P5::Regex | ||
| 25752 | re: !!perl/hash:RE_method | ||
| 25753 | i: 0 | ||
| 25754 | name: sym | ||
| 25755 | rest: '' | ||
| 25756 | sym: Q | ||
| 25757 | p5backslash__S_030r: !!perl/hash:RE_ast | ||
| 25758 | dba: p5backslash | ||
| 25759 | dic: STD::P5::Regex | ||
| 25760 | re: !!perl/hash:RE_method | ||
| 25761 | i: 1 | ||
| 25762 | name: sym | ||
| 25763 | rest: '' | ||
| 25764 | sym: r | ||
| 25765 | p5backslash__S_031s: !!perl/hash:RE_ast | ||
| 25766 | dba: p5backslash | ||
| 25767 | dic: STD::P5::Regex | ||
| 25768 | re: !!perl/hash:RE_method | ||
| 25769 | i: 1 | ||
| 25770 | name: sym | ||
| 25771 | rest: '' | ||
| 25772 | sym: s | ||
| 25773 | p5backslash__S_032t: !!perl/hash:RE_ast | ||
| 25774 | dba: p5backslash | ||
| 25775 | dic: STD::P5::Regex | ||
| 25776 | re: !!perl/hash:RE_method | ||
| 25777 | i: 1 | ||
| 25778 | name: sym | ||
| 25779 | rest: '' | ||
| 25780 | sym: t | ||
| 25781 | p5backslash__S_033u: !!perl/hash:RE_ast | ||
| 25782 | dba: p5backslash | ||
| 25783 | dic: STD::P5::Regex | ||
| 25784 | re: !!perl/hash:RE_method | ||
| 25785 | i: 1 | ||
| 25786 | name: sym | ||
| 25787 | rest: '' | ||
| 25788 | sym: u | ||
| 25789 | p5backslash__S_034v: !!perl/hash:RE_ast | ||
| 25790 | dba: p5backslash | ||
| 25791 | dic: STD::P5::Regex | ||
| 25792 | re: !!perl/hash:RE_method | ||
| 25793 | i: 1 | ||
| 25794 | name: sym | ||
| 25795 | rest: '' | ||
| 25796 | sym: v | ||
| 25797 | p5backslash__S_035w: !!perl/hash:RE_ast | ||
| 25798 | dba: p5backslash | ||
| 25799 | dic: STD::P5::Regex | ||
| 25800 | re: !!perl/hash:RE_method | ||
| 25801 | i: 1 | ||
| 25802 | name: sym | ||
| 25803 | rest: '' | ||
| 25804 | sym: w | ||
| 25805 | p5backslash__S_036x: !!perl/hash:RE_ast | ||
| 25806 | dba: hex character | ||
| 25807 | dic: STD::P5::Regex | ||
| 25808 | re: !!perl/hash:RE_sequence | ||
| 25809 | zyg: | ||
| 25810 | - !!perl/hash:RE_method | ||
| 25811 | i: 1 | ||
| 25812 | name: sym | ||
| 25813 | rest: '' | ||
| 25814 | sym: x | ||
| 25815 | - !!perl/hash:RE_bracket | ||
| 25816 | re: &7 !!perl/hash:RE_any | ||
| 25817 | altname: p5backslash__S_036x_0 | ||
| 25818 | dba: hex character | ||
| 25819 | dic: STD::P5::Regex | ||
| 25820 | zyg: | ||
| 25821 | - !!perl/hash:RE_method | ||
| 25822 | alt: p5backslash__S_036x_0 0 | ||
| 25823 | name: hexint | ||
| 25824 | rest: '' | ||
| 25825 | - !!perl/hash:RE_bracket | ||
| 25826 | alt: p5backslash__S_036x_0 1 | ||
| 25827 | re: !!perl/hash:RE_sequence | ||
| 25828 | zyg: | ||
| 25829 | - !!perl/hash:RE_string | ||
| 25830 | i: 1 | ||
| 25831 | text: '{' | ||
| 25832 | - !!perl/hash:RE_block {} | ||
| 25833 | - !!perl/hash:RE_method | ||
| 25834 | name: hexints | ||
| 25835 | rest: '' | ||
| 25836 | - !!perl/hash:RE_bracket | ||
| 25837 | re: !!perl/hash:RE_first | ||
| 25838 | zyg: | ||
| 25839 | - !!perl/hash:RE_string | ||
| 25840 | i: 1 | ||
| 25841 | text: '}' | ||
| 25842 | - !!perl/hash:RE_method | ||
| 25843 | name: FAILGOAL | ||
| 25844 | rest: 1 | ||
| 25845 | p5backslash__S_036x_0: *7 | ||
| 25846 | p5backslash__S_037z: !!perl/hash:RE_ast | ||
| 25847 | dba: p5backslash | ||
| 25848 | dic: STD::P5::Regex | ||
| 25849 | re: !!perl/hash:RE_method | ||
| 25850 | i: 1 | ||
| 25851 | name: sym | ||
| 25852 | rest: '' | ||
| 25853 | sym: z | ||
| 25854 | p5backslash__S_038misc: !!perl/hash:RE_ast | ||
| 25855 | dba: p5backslash | ||
| 25856 | dic: STD::P5::Regex | ||
| 25857 | re: &8 !!perl/hash:RE_any | ||
| 25858 | altname: p5backslash__S_038misc_0 | ||
| 25859 | dba: p5backslash | ||
| 25860 | dic: STD::P5::Regex | ||
| 25861 | zyg: | ||
| 25862 | - !!perl/hash:RE_bindnamed | ||
| 25863 | alt: p5backslash__S_038misc_0 0 | ||
| 25864 | atom: !!perl/hash:RE_paren | ||
| 25865 | re: !!perl/hash:RE_meta | ||
| 25866 | min: 1 | ||
| 25867 | text: \W | ||
| 25868 | - !!perl/hash:RE_bindnamed | ||
| 25869 | alt: p5backslash__S_038misc_0 1 | ||
| 25870 | atom: !!perl/hash:RE_paren | ||
| 25871 | re: !!perl/hash:RE_quantified_atom | ||
| 25872 | atom: !!perl/hash:RE_meta | ||
| 25873 | min: 1 | ||
| 25874 | text: \d | ||
| 25875 | quant: | ||
| 25876 | - + | ||
| 25877 | p5backslash__S_038misc_0: *8 | ||
| 25878 | p5backslash__S_039oops: !!perl/hash:RE_ast | ||
| 25879 | dba: p5backslash | ||
| 25880 | dic: STD::P5::Regex | ||
| 25881 | re: !!perl/hash:RE_method | ||
| 25882 | name: panic | ||
| 25883 | rest: 1 | ||
| 25884 | p5metachar:*: | ||
| 25885 | dic: STD::P5::Regex | ||
| 25886 | p5metachar__S_006Vert: !!perl/hash:RE_ast | ||
| 25887 | dba: p5metachar | ||
| 25888 | dic: STD::P5::Regex | ||
| 25889 | re: !!perl/hash:RE_sequence | ||
| 25890 | zyg: | ||
| 25891 | - !!perl/hash:RE_string | ||
| 25892 | i: 0 | ||
| 25893 | text: '|' | ||
| 25894 | - !!perl/hash:RE_meta | ||
| 25895 | text: '::' | ||
| 25896 | - !!perl/hash:RE_method | ||
| 25897 | name: fail | ||
| 25898 | rest: '' | ||
| 25899 | p5metachar__S_007Thesis: !!perl/hash:RE_ast | ||
| 25900 | dba: p5metachar | ||
| 25901 | dic: STD::P5::Regex | ||
| 25902 | re: !!perl/hash:RE_sequence | ||
| 25903 | zyg: | ||
| 25904 | - !!perl/hash:RE_string | ||
| 25905 | i: 0 | ||
| 25906 | text: ) | ||
| 25907 | - !!perl/hash:RE_meta | ||
| 25908 | text: '::' | ||
| 25909 | - !!perl/hash:RE_method | ||
| 25910 | name: fail | ||
| 25911 | rest: '' | ||
| 25912 | p5metachar__S_008quant: !!perl/hash:RE_ast | ||
| 25913 | dba: p5metachar | ||
| 25914 | dic: STD::P5::Regex | ||
| 25915 | re: !!perl/hash:RE_sequence | ||
| 25916 | zyg: | ||
| 25917 | - !!perl/hash:RE_bindnamed | ||
| 25918 | atom: !!perl/hash:RE_method | ||
| 25919 | name: p5quantifier | ||
| 25920 | rest: '' | ||
| 25921 | - !!perl/hash:RE_method | ||
| 25922 | name: panic | ||
| 25923 | rest: 1 | ||
| 25924 | p5metachar__S_009Bra_Ket: !!perl/hash:RE_ast | ||
| 25925 | dba: p5metachar | ||
| 25926 | dic: STD::P5::Regex | ||
| 25927 | re: !!perl/hash:RE_sequence | ||
| 25928 | zyg: | ||
| 25929 | - !!perl/hash:RE_method_re | ||
| 25930 | name: before | ||
| 25931 | re: !!perl/hash:RE_string | ||
| 25932 | i: 0 | ||
| 25933 | text: '[' | ||
| 25934 | - !!perl/hash:RE_method | ||
| 25935 | name: quibble | ||
| 25936 | rest: 1 | ||
| 25937 | p5metachar__S_010ParenQuestion_Thesis: !!perl/hash:RE_ast | ||
| 25938 | dba: p5metachar | ||
| 25939 | dic: STD::P5::Regex | ||
| 25940 | re: !!perl/hash:RE_sequence | ||
| 25941 | zyg: | ||
| 25942 | - !!perl/hash:RE_string | ||
| 25943 | i: 0 | ||
| 25944 | text: (? | ||
| 25945 | - !!perl/hash:RE_block {} | ||
| 25946 | - !!perl/hash:RE_bindnamed | ||
| 25947 | atom: !!perl/hash:RE_method | ||
| 25948 | name: p5assertion | ||
| 25949 | rest: '' | ||
| 25950 | - !!perl/hash:RE_bracket | ||
| 25951 | re: !!perl/hash:RE_first | ||
| 25952 | zyg: | ||
| 25953 | - !!perl/hash:RE_string | ||
| 25954 | i: 0 | ||
| 25955 | text: ) | ||
| 25956 | - !!perl/hash:RE_method | ||
| 25957 | name: panic | ||
| 25958 | rest: 1 | ||
| 25959 | p5metachar__S_011Paren_Thesis: !!perl/hash:RE_ast | ||
| 25960 | dba: p5metachar | ||
| 25961 | dic: STD::P5::Regex | ||
| 25962 | re: !!perl/hash:RE_sequence | ||
| 25963 | zyg: | ||
| 25964 | - !!perl/hash:RE_string | ||
| 25965 | i: 0 | ||
| 25966 | text: ( | ||
| 25967 | - !!perl/hash:RE_block {} | ||
| 25968 | - !!perl/hash:RE_quantified_atom | ||
| 25969 | atom: !!perl/hash:RE_bracket | ||
| 25970 | re: !!perl/hash:RE_sequence | ||
| 25971 | zyg: | ||
| 25972 | - !!perl/hash:RE_decl {} | ||
| 25973 | - !!perl/hash:RE_method | ||
| 25974 | name: nibbler | ||
| 25975 | rest: '' | ||
| 25976 | quant: | ||
| 25977 | - '?' | ||
| 25978 | - !!perl/hash:RE_bracket | ||
| 25979 | re: !!perl/hash:RE_first | ||
| 25980 | zyg: | ||
| 25981 | - !!perl/hash:RE_string | ||
| 25982 | i: 0 | ||
| 25983 | text: ) | ||
| 25984 | - !!perl/hash:RE_method | ||
| 25985 | name: panic | ||
| 25986 | rest: 1 | ||
| 25987 | - !!perl/hash:RE_block {} | ||
| 25988 | p5metachar__S_012Back: !!perl/hash:RE_ast | ||
| 25989 | dba: p5metachar | ||
| 25990 | dic: STD::P5::Regex | ||
| 25991 | re: !!perl/hash:RE_sequence | ||
| 25992 | zyg: | ||
| 25993 | - !!perl/hash:RE_method | ||
| 25994 | i: 0 | ||
| 25995 | name: sym | ||
| 25996 | rest: '' | ||
| 25997 | sym: \ | ||
| 25998 | - !!perl/hash:RE_bindnamed | ||
| 25999 | atom: !!perl/hash:RE_method | ||
| 26000 | name: p5backslash | ||
| 26001 | rest: '' | ||
| 26002 | p5metachar__S_013Dot: !!perl/hash:RE_ast | ||
| 26003 | dba: p5metachar | ||
| 26004 | dic: STD::P5::Regex | ||
| 26005 | re: !!perl/hash:RE_method | ||
| 26006 | i: 0 | ||
| 26007 | name: sym | ||
| 26008 | rest: '' | ||
| 26009 | sym: . | ||
| 26010 | p5metachar__S_014Caret: !!perl/hash:RE_ast | ||
| 26011 | dba: p5metachar | ||
| 26012 | dic: STD::P5::Regex | ||
| 26013 | re: !!perl/hash:RE_method | ||
| 26014 | i: 0 | ||
| 26015 | name: sym | ||
| 26016 | rest: '' | ||
| 26017 | sym: ^ | ||
| 26018 | p5metachar__S_015Dollar: !!perl/hash:RE_ast | ||
| 26019 | dba: p5metachar | ||
| 26020 | dic: STD::P5::Regex | ||
| 26021 | re: !!perl/hash:RE_sequence | ||
| 26022 | zyg: | ||
| 26023 | - !!perl/hash:RE_string | ||
| 26024 | i: 0 | ||
| 26025 | text: $ | ||
| 26026 | - !!perl/hash:RE_assertion | ||
| 26027 | assert: '?' | ||
| 26028 | re: !!perl/hash:RE_method_re | ||
| 26029 | name: before | ||
| 26030 | nobind: 1 | ||
| 26031 | re: &9 !!perl/hash:RE_any | ||
| 26032 | altname: p5metachar__S_015Dollar_0 | ||
| 26033 | dba: p5metachar | ||
| 26034 | dic: STD::P5::Regex | ||
| 26035 | zyg: | ||
| 26036 | - !!perl/hash:RE_meta | ||
| 26037 | alt: p5metachar__S_015Dollar_0 0 | ||
| 26038 | min: 1 | ||
| 26039 | text: \W | ||
| 26040 | - !!perl/hash:RE_meta | ||
| 26041 | alt: p5metachar__S_015Dollar_0 1 | ||
| 26042 | text: $ | ||
| 26043 | p5metachar__S_015Dollar_0: *9 | ||
| 26044 | p5metachar__S_016var: !!perl/hash:RE_ast | ||
| 26045 | dba: p5metachar | ||
| 26046 | dic: STD::P5::Regex | ||
| 26047 | re: !!perl/hash:RE_sequence | ||
| 26048 | zyg: | ||
| 26049 | - !!perl/hash:RE_assertion | ||
| 26050 | assert: '?' | ||
| 26051 | re: !!perl/hash:RE_method_re | ||
| 26052 | name: before | ||
| 26053 | nobind: 1 | ||
| 26054 | re: !!perl/hash:RE_sequence | ||
| 26055 | zyg: | ||
| 26056 | - !!perl/hash:RE_bindnamed | ||
| 26057 | atom: !!perl/hash:RE_method | ||
| 26058 | name: p5sigil | ||
| 26059 | rest: '' | ||
| 26060 | - !!perl/hash:RE_meta | ||
| 26061 | min: 1 | ||
| 26062 | text: \w | ||
| 26063 | - !!perl/hash:RE_method | ||
| 26064 | name: panic | ||
| 26065 | rest: 1 | ||
| 26066 | p5mod: !!perl/hash:RE_ast | ||
| 26067 | dba: p5mod | ||
| 26068 | dic: STD::P5::Regex | ||
| 26069 | re: !!perl/hash:RE_quantified_atom | ||
| 26070 | atom: !!perl/hash:RE_cclass | ||
| 26071 | i: 0 | ||
| 26072 | text: '[imox]' | ||
| 26073 | quant: | ||
| 26074 | - '*' | ||
| 26075 | p5mod_internal:*: | ||
| 26076 | dic: STD::P5::Regex | ||
| 26077 | p5mods: !!perl/hash:RE_ast | ||
| 26078 | dba: p5mods | ||
| 26079 | dic: STD::P5::Regex | ||
| 26080 | re: !!perl/hash:RE_sequence | ||
| 26081 | zyg: | ||
| 26082 | - !!perl/hash:RE_bindnamed | ||
| 26083 | atom: !!perl/hash:RE_method | ||
| 26084 | name: p5mod | ||
| 26085 | rest: '' | ||
| 26086 | - !!perl/hash:RE_quantified_atom | ||
| 26087 | atom: !!perl/hash:RE_bracket | ||
| 26088 | re: !!perl/hash:RE_sequence | ||
| 26089 | zyg: | ||
| 26090 | - !!perl/hash:RE_string | ||
| 26091 | i: 0 | ||
| 26092 | text: '-' | ||
| 26093 | - !!perl/hash:RE_bindnamed | ||
| 26094 | atom: !!perl/hash:RE_method | ||
| 26095 | name: p5mod | ||
| 26096 | rest: '' | ||
| 26097 | quant: | ||
| 26098 | - '?' | ||
| 26099 | p5quantifier:*: | ||
| 26100 | dic: STD::P5::Regex | ||
| 26101 | p5quantifier__S_048Star: !!perl/hash:RE_ast | ||
| 26102 | dba: p5quantifier | ||
| 26103 | dic: STD::P5::Regex | ||
| 26104 | re: !!perl/hash:RE_sequence | ||
| 26105 | zyg: | ||
| 26106 | - !!perl/hash:RE_method | ||
| 26107 | i: 0 | ||
| 26108 | name: sym | ||
| 26109 | rest: '' | ||
| 26110 | sym: '*' | ||
| 26111 | - !!perl/hash:RE_method | ||
| 26112 | name: quantmod | ||
| 26113 | rest: '' | ||
| 26114 | p5quantifier__S_049Plus: !!perl/hash:RE_ast | ||
| 26115 | dba: p5quantifier | ||
| 26116 | dic: STD::P5::Regex | ||
| 26117 | re: !!perl/hash:RE_sequence | ||
| 26118 | zyg: | ||
| 26119 | - !!perl/hash:RE_method | ||
| 26120 | i: 0 | ||
| 26121 | name: sym | ||
| 26122 | rest: '' | ||
| 26123 | sym: + | ||
| 26124 | - !!perl/hash:RE_method | ||
| 26125 | name: quantmod | ||
| 26126 | rest: '' | ||
| 26127 | p5quantifier__S_050Question: !!perl/hash:RE_ast | ||
| 26128 | dba: p5quantifier | ||
| 26129 | dic: STD::P5::Regex | ||
| 26130 | re: !!perl/hash:RE_sequence | ||
| 26131 | zyg: | ||
| 26132 | - !!perl/hash:RE_method | ||
| 26133 | i: 0 | ||
| 26134 | name: sym | ||
| 26135 | rest: '' | ||
| 26136 | sym: '?' | ||
| 26137 | - !!perl/hash:RE_method | ||
| 26138 | name: quantmod | ||
| 26139 | rest: '' | ||
| 26140 | p5quantifier__S_051Cur_Ly: !!perl/hash:RE_ast | ||
| 26141 | dba: p5quantifier | ||
| 26142 | dic: STD::P5::Regex | ||
| 26143 | re: !!perl/hash:RE_sequence | ||
| 26144 | zyg: | ||
| 26145 | - !!perl/hash:RE_string | ||
| 26146 | i: 0 | ||
| 26147 | text: '{' | ||
| 26148 | - !!perl/hash:RE_quantified_atom | ||
| 26149 | atom: !!perl/hash:RE_meta | ||
| 26150 | min: 1 | ||
| 26151 | text: \d | ||
| 26152 | quant: | ||
| 26153 | - + | ||
| 26154 | - !!perl/hash:RE_quantified_atom | ||
| 26155 | atom: !!perl/hash:RE_bracket | ||
| 26156 | re: !!perl/hash:RE_sequence | ||
| 26157 | zyg: | ||
| 26158 | - !!perl/hash:RE_string | ||
| 26159 | i: 0 | ||
| 26160 | text: ',' | ||
| 26161 | - !!perl/hash:RE_quantified_atom | ||
| 26162 | atom: !!perl/hash:RE_meta | ||
| 26163 | min: 1 | ||
| 26164 | text: \d | ||
| 26165 | quant: | ||
| 26166 | - '*' | ||
| 26167 | quant: | ||
| 26168 | - '?' | ||
| 26169 | - !!perl/hash:RE_string | ||
| 26170 | i: 0 | ||
| 26171 | text: '}' | ||
| 26172 | - !!perl/hash:RE_method | ||
| 26173 | name: quantmod | ||
| 26174 | rest: '' | ||
| 26175 | p5regex_infix:*: | ||
| 26176 | dic: STD::P5::Regex | ||
| 26177 | p5regex_infix__S_005Vert: !!perl/hash:RE_ast | ||
| 26178 | dba: p5regex_infix | ||
| 26179 | dic: STD::P5::Regex | ||
| 26180 | re: !!perl/hash:RE_sequence | ||
| 26181 | zyg: | ||
| 26182 | - !!perl/hash:RE_method | ||
| 26183 | i: 0 | ||
| 26184 | name: sym | ||
| 26185 | rest: '' | ||
| 26186 | sym: '|' | ||
| 26187 | - !!perl/hash:RE_method | ||
| 26188 | name: O | ||
| 26189 | rest: 1 | ||
| 26190 | quant_atom_list: !!perl/hash:RE_ast | ||
| 26191 | dba: quant_atom_list | ||
| 26192 | dic: STD::P5::Regex | ||
| 26193 | re: !!perl/hash:RE_quantified_atom | ||
| 26194 | atom: !!perl/hash:RE_method | ||
| 26195 | name: quantified_atom | ||
| 26196 | rest: '' | ||
| 26197 | quant: | ||
| 26198 | - + | ||
| 26199 | quantified_atom: !!perl/hash:RE_ast | ||
| 26200 | dba: quantified_atom | ||
| 26201 | dic: STD::P5::Regex | ||
| 26202 | re: !!perl/hash:RE_sequence | ||
| 26203 | zyg: | ||
| 26204 | - !!perl/hash:RE_assertion | ||
| 26205 | assert: '!' | ||
| 26206 | re: !!perl/hash:RE_method | ||
| 26207 | name: stopper | ||
| 26208 | rest: '' | ||
| 26209 | - !!perl/hash:RE_assertion | ||
| 26210 | assert: '!' | ||
| 26211 | re: !!perl/hash:RE_method | ||
| 26212 | name: p5regex_infix | ||
| 26213 | rest: '' | ||
| 26214 | - !!perl/hash:RE_method | ||
| 26215 | name: atom | ||
| 26216 | rest: '' | ||
| 26217 | - !!perl/hash:RE_quantified_atom | ||
| 26218 | atom: !!perl/hash:RE_bracket | ||
| 26219 | re: !!perl/hash:RE_sequence | ||
| 26220 | zyg: | ||
| 26221 | - !!perl/hash:RE_method | ||
| 26222 | name: ws | ||
| 26223 | rest: '' | ||
| 26224 | - !!perl/hash:RE_bindnamed | ||
| 26225 | atom: !!perl/hash:RE_method | ||
| 26226 | name: p5quantifier | ||
| 26227 | rest: '' | ||
| 26228 | quant: | ||
| 26229 | - '?' | ||
| 26230 | - !!perl/hash:RE_method | ||
| 26231 | name: ws | ||
| 26232 | rest: '' | ||
| 26233 | quantmod: !!perl/hash:RE_ast | ||
| 26234 | dba: quantmod | ||
| 26235 | dic: STD::P5::Regex | ||
| 26236 | re: !!perl/hash:RE_quantified_atom | ||
| 26237 | atom: !!perl/hash:RE_bracket | ||
| 26238 | re: &10 !!perl/hash:RE_any | ||
| 26239 | altname: quantmod_0 | ||
| 26240 | dba: quantmod | ||
| 26241 | dic: STD::P5::Regex | ||
| 26242 | zyg: | ||
| 26243 | - !!perl/hash:RE_string | ||
| 26244 | alt: quantmod_0 0 | ||
| 26245 | i: 0 | ||
| 26246 | text: '?' | ||
| 26247 | - !!perl/hash:RE_string | ||
| 26248 | alt: quantmod_0 1 | ||
| 26249 | i: 0 | ||
| 26250 | text: + | ||
| 26251 | quant: | ||
| 26252 | - '?' | ||
| 26253 | quantmod_0: *10 | ||
| 26254 | rx: !!perl/hash:RE_ast | ||
| 26255 | dba: rx | ||
| 26256 | dic: STD::P5::Regex | ||
| 26257 | re: !!perl/hash:RE_sequence | ||
| 26258 | zyg: | ||
| 26259 | - !!perl/hash:RE_method | ||
| 26260 | name: nibbler | ||
| 26261 | rest: '' | ||
| 26262 | - !!perl/hash:RE_bracket | ||
| 26263 | re: !!perl/hash:RE_first | ||
| 26264 | zyg: | ||
| 26265 | - !!perl/hash:RE_assertion | ||
| 26266 | assert: '?' | ||
| 26267 | re: !!perl/hash:RE_method_re | ||
| 26268 | name: before | ||
| 26269 | nobind: 1 | ||
| 26270 | re: !!perl/hash:RE_string | ||
| 26271 | i: 0 | ||
| 26272 | text: ) | ||
| 26273 | - !!perl/hash:RE_method | ||
| 26274 | name: panic | ||
| 26275 | rest: 1 | ||
| 26276 | termish: !!perl/hash:RE_ast | ||
| 26277 | dba: termish | ||
| 26278 | dic: STD::P5::Regex | ||
| 26279 | re: !!perl/hash:RE_sequence | ||
| 26280 | zyg: | ||
| 26281 | - !!perl/hash:RE_method | ||
| 26282 | name: ws | ||
| 26283 | rest: '' | ||
| 26284 | - !!perl/hash:RE_bindnamed | ||
| 26285 | atom: !!perl/hash:RE_method | ||
| 26286 | name: quant_atom_list | ||
| 26287 | rest: '' | ||
| 26288 | ws: !!perl/hash:RE_ast | ||
| 26289 | dba: ws | ||
| 26290 | dic: STD::P5::Regex | ||
| 26291 | re: !!perl/hash:RE_first | ||
| 26292 | zyg: | ||
| 26293 | - !!perl/hash:RE_assertion | ||
| 26294 | assert: '?' | ||
| 26295 | re: !!perl/hash:RE_block | ||
| 26296 | nobind: 1 | ||
| 26297 | - !!perl/hash:RE_quantified_atom | ||
| 26298 | atom: !!perl/hash:RE_bracket | ||
| 26299 | re: !!perl/hash:RE_sequence | ||
| 26300 | zyg: | ||
| 26301 | - !!perl/hash:RE_assertion | ||
| 26302 | assert: '?' | ||
| 26303 | re: !!perl/hash:RE_method_re | ||
| 26304 | name: before | ||
| 26305 | nobind: 1 | ||
| 26306 | re: &11 !!perl/hash:RE_any | ||
| 26307 | altname: ws_0 | ||
| 26308 | dba: ws | ||
| 26309 | dic: STD::P5::Regex | ||
| 26310 | zyg: | ||
| 26311 | - !!perl/hash:RE_meta | ||
| 26312 | alt: ws_0 0 | ||
| 26313 | min: 1 | ||
| 26314 | text: \s | ||
| 26315 | - !!perl/hash:RE_string | ||
| 26316 | alt: ws_0 1 | ||
| 26317 | i: 0 | ||
| 26318 | text: '#' | ||
| 26319 | - !!perl/hash:RE_method | ||
| 26320 | name: nextsame | ||
| 26321 | rest: '' | ||
| 26322 | quant: | ||
| 26323 | - '?' | ||
| 26324 | ws_0: *11 | ||
| 26325 | RETREE_END | ||
| 26326 | ## method tweak (:global(:$g)!) | ||
| 26327 | ; | ||
| 26328 | ## method tweak (:ignorecase(:$i)!) | ||
| 26329 | ; | ||
| 26330 | ## token category:p5metachar { <sym> } | ||
| 26331 | sub category__S_000p5metachar__PEEK { $_[0]->_AUTOLEXpeek('category__S_000p5metachar', $retree) } | ||
| 26332 | sub category__S_000p5metachar { | ||
| 26333 | no warnings 'recursion'; | ||
| 26334 | my $self = shift; | ||
| 26335 | |||
| 26336 | |||
| 26337 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26338 | |||
| 26339 | my $C = $self->cursor_xact("RULE category__S_000p5metachar"); | ||
| 26340 | my $xact = $C->xact; | ||
| 26341 | my $S = $C->{'_pos'}; | ||
| 26342 | $C->{sym} = "p5metachar"; | ||
| 26343 | $self->_MATCHIFYr($S, "category__S_000p5metachar", $C->_EXACT("p5metachar")); | ||
| 26344 | } | ||
| 26345 | ; | ||
| 26346 | ## token p5metachar { <...> } | ||
| 26347 | sub p5metachar__PEEK { $_[0]->_AUTOLEXpeek('p5metachar:*',$retree); } | ||
| 26348 | sub p5metachar { | ||
| 26349 | my $self = shift; | ||
| 26350 | my $subs; | ||
| 26351 | |||
| 26352 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26353 | |||
| 26354 | my $C = $self->cursor_xact('RULE p5metachar'); | ||
| 26355 | my $S = $C->{'_pos'}; | ||
| 26356 | |||
| 26357 | my @result = do { | ||
| 26358 | my ($tag, $try); | ||
| 26359 | my @try; | ||
| 26360 | my $relex; | ||
| 26361 | my $x; | ||
| 26362 | if (my $fate = $C->{'_fate'}) { | ||
| 26363 | if ($fate->[1] eq 'p5metachar') { | ||
| 26364 | $C->deb("Fate passed to p5metachar: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 26365 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 26366 | @try = ($try); | ||
| 26367 | $x = 'ALT p5metachar'; | ||
| 26368 | } | ||
| 26369 | else { | ||
| 26370 | $x = 'ALTLTM p5metachar'; | ||
| 26371 | } | ||
| 26372 | } | ||
| 26373 | else { | ||
| 26374 | $x = 'ALTLTM p5metachar'; | ||
| 26375 | } | ||
| 26376 | my $C = $C->cursor_xact($x); | ||
| 26377 | my $xact = $C->{_xact}; | ||
| 26378 | |||
| 26379 | my @gather = (); | ||
| 26380 | for (;;) { | ||
| 26381 | unless (@try) { | ||
| 26382 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5metachar:*', $retree); | ||
| 26383 | @try = $relex->($C) or last; | ||
| 26384 | } | ||
| 26385 | $try = shift(@try) // next; | ||
| 26386 | |||
| 26387 | if (ref $try) { | ||
| 26388 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 26389 | } | ||
| 26390 | |||
| 26391 | $C->deb("p5metachar trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 26392 | push @gather, $C->$try(@_); | ||
| 26393 | last if @gather; | ||
| 26394 | last if $xact->[-2]; # committed? | ||
| 26395 | } | ||
| 26396 | $self->_MATCHIFYr($S, "p5metachar", @gather); | ||
| 26397 | }; | ||
| 26398 | @result; | ||
| 26399 | } | ||
| 26400 | ; | ||
| 26401 | ## token category:p5backslash { <sym> } | ||
| 26402 | sub category__S_001p5backslash__PEEK { $_[0]->_AUTOLEXpeek('category__S_001p5backslash', $retree) } | ||
| 26403 | sub category__S_001p5backslash { | ||
| 26404 | no warnings 'recursion'; | ||
| 26405 | my $self = shift; | ||
| 26406 | |||
| 26407 | |||
| 26408 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26409 | |||
| 26410 | my $C = $self->cursor_xact("RULE category__S_001p5backslash"); | ||
| 26411 | my $xact = $C->xact; | ||
| 26412 | my $S = $C->{'_pos'}; | ||
| 26413 | $C->{sym} = "p5backslash"; | ||
| 26414 | $self->_MATCHIFYr($S, "category__S_001p5backslash", $C->_EXACT("p5backslash")); | ||
| 26415 | } | ||
| 26416 | ; | ||
| 26417 | ## token p5backslash { <...> } | ||
| 26418 | sub p5backslash__PEEK { $_[0]->_AUTOLEXpeek('p5backslash:*',$retree); } | ||
| 26419 | sub p5backslash { | ||
| 26420 | my $self = shift; | ||
| 26421 | my $subs; | ||
| 26422 | |||
| 26423 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26424 | |||
| 26425 | my $C = $self->cursor_xact('RULE p5backslash'); | ||
| 26426 | my $S = $C->{'_pos'}; | ||
| 26427 | |||
| 26428 | my @result = do { | ||
| 26429 | my ($tag, $try); | ||
| 26430 | my @try; | ||
| 26431 | my $relex; | ||
| 26432 | my $x; | ||
| 26433 | if (my $fate = $C->{'_fate'}) { | ||
| 26434 | if ($fate->[1] eq 'p5backslash') { | ||
| 26435 | $C->deb("Fate passed to p5backslash: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 26436 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 26437 | @try = ($try); | ||
| 26438 | $x = 'ALT p5backslash'; | ||
| 26439 | } | ||
| 26440 | else { | ||
| 26441 | $x = 'ALTLTM p5backslash'; | ||
| 26442 | } | ||
| 26443 | } | ||
| 26444 | else { | ||
| 26445 | $x = 'ALTLTM p5backslash'; | ||
| 26446 | } | ||
| 26447 | my $C = $C->cursor_xact($x); | ||
| 26448 | my $xact = $C->{_xact}; | ||
| 26449 | |||
| 26450 | my @gather = (); | ||
| 26451 | for (;;) { | ||
| 26452 | unless (@try) { | ||
| 26453 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5backslash:*', $retree); | ||
| 26454 | @try = $relex->($C) or last; | ||
| 26455 | } | ||
| 26456 | $try = shift(@try) // next; | ||
| 26457 | |||
| 26458 | if (ref $try) { | ||
| 26459 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 26460 | } | ||
| 26461 | |||
| 26462 | $C->deb("p5backslash trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 26463 | push @gather, $C->$try(@_); | ||
| 26464 | last if @gather; | ||
| 26465 | last if $xact->[-2]; # committed? | ||
| 26466 | } | ||
| 26467 | $self->_MATCHIFYr($S, "p5backslash", @gather); | ||
| 26468 | }; | ||
| 26469 | @result; | ||
| 26470 | } | ||
| 26471 | ; | ||
| 26472 | ## token category:p5assertion { <sym> } | ||
| 26473 | sub category__S_002p5assertion__PEEK { $_[0]->_AUTOLEXpeek('category__S_002p5assertion', $retree) } | ||
| 26474 | sub category__S_002p5assertion { | ||
| 26475 | no warnings 'recursion'; | ||
| 26476 | my $self = shift; | ||
| 26477 | |||
| 26478 | |||
| 26479 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26480 | |||
| 26481 | my $C = $self->cursor_xact("RULE category__S_002p5assertion"); | ||
| 26482 | my $xact = $C->xact; | ||
| 26483 | my $S = $C->{'_pos'}; | ||
| 26484 | $C->{sym} = "p5assertion"; | ||
| 26485 | $self->_MATCHIFYr($S, "category__S_002p5assertion", $C->_EXACT("p5assertion")); | ||
| 26486 | } | ||
| 26487 | ; | ||
| 26488 | ## token p5assertion { <...> } | ||
| 26489 | sub p5assertion__PEEK { $_[0]->_AUTOLEXpeek('p5assertion:*',$retree); } | ||
| 26490 | sub p5assertion { | ||
| 26491 | my $self = shift; | ||
| 26492 | my $subs; | ||
| 26493 | |||
| 26494 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26495 | |||
| 26496 | my $C = $self->cursor_xact('RULE p5assertion'); | ||
| 26497 | my $S = $C->{'_pos'}; | ||
| 26498 | |||
| 26499 | my @result = do { | ||
| 26500 | my ($tag, $try); | ||
| 26501 | my @try; | ||
| 26502 | my $relex; | ||
| 26503 | my $x; | ||
| 26504 | if (my $fate = $C->{'_fate'}) { | ||
| 26505 | if ($fate->[1] eq 'p5assertion') { | ||
| 26506 | $C->deb("Fate passed to p5assertion: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 26507 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 26508 | @try = ($try); | ||
| 26509 | $x = 'ALT p5assertion'; | ||
| 26510 | } | ||
| 26511 | else { | ||
| 26512 | $x = 'ALTLTM p5assertion'; | ||
| 26513 | } | ||
| 26514 | } | ||
| 26515 | else { | ||
| 26516 | $x = 'ALTLTM p5assertion'; | ||
| 26517 | } | ||
| 26518 | my $C = $C->cursor_xact($x); | ||
| 26519 | my $xact = $C->{_xact}; | ||
| 26520 | |||
| 26521 | my @gather = (); | ||
| 26522 | for (;;) { | ||
| 26523 | unless (@try) { | ||
| 26524 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5assertion:*', $retree); | ||
| 26525 | @try = $relex->($C) or last; | ||
| 26526 | } | ||
| 26527 | $try = shift(@try) // next; | ||
| 26528 | |||
| 26529 | if (ref $try) { | ||
| 26530 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 26531 | } | ||
| 26532 | |||
| 26533 | $C->deb("p5assertion trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 26534 | push @gather, $C->$try(@_); | ||
| 26535 | last if @gather; | ||
| 26536 | last if $xact->[-2]; # committed? | ||
| 26537 | } | ||
| 26538 | $self->_MATCHIFYr($S, "p5assertion", @gather); | ||
| 26539 | }; | ||
| 26540 | @result; | ||
| 26541 | } | ||
| 26542 | ; | ||
| 26543 | ## token category:p5quantifier { <sym> } | ||
| 26544 | sub category__S_003p5quantifier__PEEK { $_[0]->_AUTOLEXpeek('category__S_003p5quantifier', $retree) } | ||
| 26545 | sub category__S_003p5quantifier { | ||
| 26546 | no warnings 'recursion'; | ||
| 26547 | my $self = shift; | ||
| 26548 | |||
| 26549 | |||
| 26550 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26551 | |||
| 26552 | my $C = $self->cursor_xact("RULE category__S_003p5quantifier"); | ||
| 26553 | my $xact = $C->xact; | ||
| 26554 | my $S = $C->{'_pos'}; | ||
| 26555 | $C->{sym} = "p5quantifier"; | ||
| 26556 | $self->_MATCHIFYr($S, "category__S_003p5quantifier", $C->_EXACT("p5quantifier")); | ||
| 26557 | } | ||
| 26558 | ; | ||
| 26559 | ## token p5quantifier { <...> } | ||
| 26560 | sub p5quantifier__PEEK { $_[0]->_AUTOLEXpeek('p5quantifier:*',$retree); } | ||
| 26561 | sub p5quantifier { | ||
| 26562 | my $self = shift; | ||
| 26563 | my $subs; | ||
| 26564 | |||
| 26565 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26566 | |||
| 26567 | my $C = $self->cursor_xact('RULE p5quantifier'); | ||
| 26568 | my $S = $C->{'_pos'}; | ||
| 26569 | |||
| 26570 | my @result = do { | ||
| 26571 | my ($tag, $try); | ||
| 26572 | my @try; | ||
| 26573 | my $relex; | ||
| 26574 | my $x; | ||
| 26575 | if (my $fate = $C->{'_fate'}) { | ||
| 26576 | if ($fate->[1] eq 'p5quantifier') { | ||
| 26577 | $C->deb("Fate passed to p5quantifier: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 26578 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 26579 | @try = ($try); | ||
| 26580 | $x = 'ALT p5quantifier'; | ||
| 26581 | } | ||
| 26582 | else { | ||
| 26583 | $x = 'ALTLTM p5quantifier'; | ||
| 26584 | } | ||
| 26585 | } | ||
| 26586 | else { | ||
| 26587 | $x = 'ALTLTM p5quantifier'; | ||
| 26588 | } | ||
| 26589 | my $C = $C->cursor_xact($x); | ||
| 26590 | my $xact = $C->{_xact}; | ||
| 26591 | |||
| 26592 | my @gather = (); | ||
| 26593 | for (;;) { | ||
| 26594 | unless (@try) { | ||
| 26595 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5quantifier:*', $retree); | ||
| 26596 | @try = $relex->($C) or last; | ||
| 26597 | } | ||
| 26598 | $try = shift(@try) // next; | ||
| 26599 | |||
| 26600 | if (ref $try) { | ||
| 26601 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 26602 | } | ||
| 26603 | |||
| 26604 | $C->deb("p5quantifier trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 26605 | push @gather, $C->$try(@_); | ||
| 26606 | last if @gather; | ||
| 26607 | last if $xact->[-2]; # committed? | ||
| 26608 | } | ||
| 26609 | $self->_MATCHIFYr($S, "p5quantifier", @gather); | ||
| 26610 | }; | ||
| 26611 | @result; | ||
| 26612 | } | ||
| 26613 | ; | ||
| 26614 | ## token category:p5mod_internal { <sym> } | ||
| 26615 | sub category__S_004p5mod_internal__PEEK { $_[0]->_AUTOLEXpeek('category__S_004p5mod_internal', $retree) } | ||
| 26616 | sub category__S_004p5mod_internal { | ||
| 26617 | no warnings 'recursion'; | ||
| 26618 | my $self = shift; | ||
| 26619 | |||
| 26620 | |||
| 26621 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26622 | |||
| 26623 | my $C = $self->cursor_xact("RULE category__S_004p5mod_internal"); | ||
| 26624 | my $xact = $C->xact; | ||
| 26625 | my $S = $C->{'_pos'}; | ||
| 26626 | $C->{sym} = "p5mod_internal"; | ||
| 26627 | $self->_MATCHIFYr($S, "category__S_004p5mod_internal", $C->_EXACT("p5mod_internal")); | ||
| 26628 | } | ||
| 26629 | ; | ||
| 26630 | ## token p5mod_internal { <...> } | ||
| 26631 | sub p5mod_internal__PEEK { $_[0]->_AUTOLEXpeek('p5mod_internal:*',$retree); } | ||
| 26632 | sub p5mod_internal { | ||
| 26633 | my $self = shift; | ||
| 26634 | my $subs; | ||
| 26635 | |||
| 26636 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26637 | |||
| 26638 | my $C = $self->cursor_xact('RULE p5mod_internal'); | ||
| 26639 | my $S = $C->{'_pos'}; | ||
| 26640 | |||
| 26641 | my @result = do { | ||
| 26642 | my ($tag, $try); | ||
| 26643 | my @try; | ||
| 26644 | my $relex; | ||
| 26645 | my $x; | ||
| 26646 | if (my $fate = $C->{'_fate'}) { | ||
| 26647 | if ($fate->[1] eq 'p5mod_internal') { | ||
| 26648 | $C->deb("Fate passed to p5mod_internal: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 26649 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 26650 | @try = ($try); | ||
| 26651 | $x = 'ALT p5mod_internal'; | ||
| 26652 | } | ||
| 26653 | else { | ||
| 26654 | $x = 'ALTLTM p5mod_internal'; | ||
| 26655 | } | ||
| 26656 | } | ||
| 26657 | else { | ||
| 26658 | $x = 'ALTLTM p5mod_internal'; | ||
| 26659 | } | ||
| 26660 | my $C = $C->cursor_xact($x); | ||
| 26661 | my $xact = $C->{_xact}; | ||
| 26662 | |||
| 26663 | my @gather = (); | ||
| 26664 | for (;;) { | ||
| 26665 | unless (@try) { | ||
| 26666 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5mod_internal:*', $retree); | ||
| 26667 | @try = $relex->($C) or last; | ||
| 26668 | } | ||
| 26669 | $try = shift(@try) // next; | ||
| 26670 | |||
| 26671 | if (ref $try) { | ||
| 26672 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 26673 | } | ||
| 26674 | |||
| 26675 | $C->deb("p5mod_internal trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 26676 | push @gather, $C->$try(@_); | ||
| 26677 | last if @gather; | ||
| 26678 | last if $xact->[-2]; # committed? | ||
| 26679 | } | ||
| 26680 | $self->_MATCHIFYr($S, "p5mod_internal", @gather); | ||
| 26681 | }; | ||
| 26682 | @result; | ||
| 26683 | } | ||
| 26684 | ; | ||
| 26685 | ## token p5regex_infix { <...> } | ||
| 26686 | sub p5regex_infix__PEEK { $_[0]->_AUTOLEXpeek('p5regex_infix:*',$retree); } | ||
| 26687 | sub p5regex_infix { | ||
| 26688 | my $self = shift; | ||
| 26689 | my $subs; | ||
| 26690 | |||
| 26691 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26692 | |||
| 26693 | my $C = $self->cursor_xact('RULE p5regex_infix'); | ||
| 26694 | my $S = $C->{'_pos'}; | ||
| 26695 | |||
| 26696 | my @result = do { | ||
| 26697 | my ($tag, $try); | ||
| 26698 | my @try; | ||
| 26699 | my $relex; | ||
| 26700 | my $x; | ||
| 26701 | if (my $fate = $C->{'_fate'}) { | ||
| 26702 | if ($fate->[1] eq 'p5regex_infix') { | ||
| 26703 | $C->deb("Fate passed to p5regex_infix: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 26704 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 26705 | @try = ($try); | ||
| 26706 | $x = 'ALT p5regex_infix'; | ||
| 26707 | } | ||
| 26708 | else { | ||
| 26709 | $x = 'ALTLTM p5regex_infix'; | ||
| 26710 | } | ||
| 26711 | } | ||
| 26712 | else { | ||
| 26713 | $x = 'ALTLTM p5regex_infix'; | ||
| 26714 | } | ||
| 26715 | my $C = $C->cursor_xact($x); | ||
| 26716 | my $xact = $C->{_xact}; | ||
| 26717 | |||
| 26718 | my @gather = (); | ||
| 26719 | for (;;) { | ||
| 26720 | unless (@try) { | ||
| 26721 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5regex_infix:*', $retree); | ||
| 26722 | @try = $relex->($C) or last; | ||
| 26723 | } | ||
| 26724 | $try = shift(@try) // next; | ||
| 26725 | |||
| 26726 | if (ref $try) { | ||
| 26727 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 26728 | } | ||
| 26729 | |||
| 26730 | $C->deb("p5regex_infix trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 26731 | push @gather, $C->$try(@_); | ||
| 26732 | last if @gather; | ||
| 26733 | last if $xact->[-2]; # committed? | ||
| 26734 | } | ||
| 26735 | $self->_MATCHIFYr($S, "p5regex_infix", @gather); | ||
| 26736 | }; | ||
| 26737 | @result; | ||
| 26738 | } | ||
| 26739 | ; | ||
| 26740 | ## token codeblock { | ||
| 26741 | sub codeblock__PEEK { $_[0]->_AUTOLEXpeek('codeblock', $retree) } | ||
| 26742 | sub codeblock { | ||
| 26743 | no warnings 'recursion'; | ||
| 26744 | my $self = shift; | ||
| 26745 | |||
| 26746 | local $::GOAL = '}'; | ||
| 26747 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26748 | |||
| 26749 | my $C = $self->cursor_xact("RULE codeblock"); | ||
| 26750 | my $xact = $C->xact; | ||
| 26751 | my $S = $C->{'_pos'}; | ||
| 26752 | $self->_MATCHIFYr($S, "codeblock", do { | ||
| 26753 | my $C = $C; | ||
| 26754 | if (($C) = ($C->_EXACT("\{")) | ||
| 26755 | and ($C) = ($C->_COMMITLTM()) | ||
| 26756 | and ($C) = ($C->_BRACKETr(sub { | ||
| 26757 | my $C=shift; | ||
| 26758 | my $newlang = ($C->cursor_fresh($::LANG{'MAIN'})); | ||
| 26759 | $C = bless($C, (ref($newlang) || $newlang)); | ||
| 26760 | $C->_SUBSUMEr(['statementlist'], sub { | ||
| 26761 | my $C = shift; | ||
| 26762 | $C->statementlist | ||
| 26763 | }) | ||
| 26764 | })) | ||
| 26765 | and ($C) = ($C->_BRACKETr(sub { | ||
| 26766 | my $C=shift; | ||
| 26767 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 26768 | my $xact = $C->xact; | ||
| 26769 | my @gather; | ||
| 26770 | do { | ||
| 26771 | push @gather, $C->_EXACT("\}") | ||
| 26772 | } | ||
| 26773 | or $xact->[-2] or | ||
| 26774 | do { | ||
| 26775 | push @gather, do { | ||
| 26776 | if (my ($C) = ($C->panic("Unable to parse statement list; couldn't find right brace"))) { ($C) } else { () } | ||
| 26777 | |||
| 26778 | } | ||
| 26779 | }; | ||
| 26780 | @gather; | ||
| 26781 | } | ||
| 26782 | }))) { | ||
| 26783 | $C | ||
| 26784 | } else { () } | ||
| 26785 | |||
| 26786 | }); | ||
| 26787 | } | ||
| 26788 | ; | ||
| 26789 | ## token ws { | ||
| 26790 | sub ws__PEEK { $_[0]->_AUTOLEXpeek('ws', $retree) } | ||
| 26791 | sub ws { | ||
| 26792 | no warnings 'recursion'; | ||
| 26793 | my $self = shift; | ||
| 26794 | |||
| 26795 | my @origargs = @_; | ||
| 26796 | |||
| 26797 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26798 | |||
| 26799 | my $C = $self->cursor_xact("RULE ws"); | ||
| 26800 | my $xact = $C->xact; | ||
| 26801 | my $S = $C->{'_pos'}; | ||
| 26802 | $self->_MATCHIFYr($S, "ws", do { my $C = $C->cursor_xact('ALT ||'); | ||
| 26803 | my $xact = $C->xact; | ||
| 26804 | my @gather; | ||
| 26805 | do { | ||
| 26806 | push @gather, do { | ||
| 26807 | if (my ($C) = ($C->before(sub { | ||
| 26808 | my $C=shift; | ||
| 26809 | (($C) x !!do { | ||
| 26810 | $::RX->{'s'} }) | ||
| 26811 | }))) { ($C) } else { () } | ||
| 26812 | |||
| 26813 | } | ||
| 26814 | } | ||
| 26815 | or $xact->[-2] or | ||
| 26816 | do { | ||
| 26817 | push @gather, $C->_OPTr(sub { | ||
| 26818 | my $C=shift; | ||
| 26819 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 26820 | my $C=shift; | ||
| 26821 | if (($C) = ($C->before(sub { | ||
| 26822 | my $C=shift; | ||
| 26823 | if (my ($C) = ($C->before(sub { | ||
| 26824 | my $C=shift; | ||
| 26825 | if (my ($C) = (do { | ||
| 26826 | do { | ||
| 26827 | my ($tag, $try); | ||
| 26828 | my @try; | ||
| 26829 | my $relex; | ||
| 26830 | |||
| 26831 | my $fate; | ||
| 26832 | my $x; | ||
| 26833 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'ws_0') { | ||
| 26834 | $C->deb("Fate passed to ws_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 26835 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 26836 | @try = ($try); | ||
| 26837 | $x = 'ALT ws_0'; # some outer ltm is controlling us | ||
| 26838 | } | ||
| 26839 | else { | ||
| 26840 | $x = 'ALTLTM ws_0'; # we are top level ltm | ||
| 26841 | } | ||
| 26842 | my $C = $C->cursor_xact($x); | ||
| 26843 | my $xact = $C->{_xact}; | ||
| 26844 | |||
| 26845 | my @gather = (); | ||
| 26846 | for (;;) { | ||
| 26847 | unless (@try) { | ||
| 26848 | $relex //= $C->cursor_fate('STD::P5::Regex', 'ws_0', $retree); | ||
| 26849 | @try = $relex->($C) or last; | ||
| 26850 | } | ||
| 26851 | $try = shift(@try) // next; | ||
| 26852 | |||
| 26853 | if (ref $try) { | ||
| 26854 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 26855 | } | ||
| 26856 | |||
| 26857 | $C->deb("ws_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 26858 | push @gather, (( | ||
| 26859 | sub { | ||
| 26860 | my $C=shift; | ||
| 26861 | $C->_PATTERN(qr/\G\s/) | ||
| 26862 | }, | ||
| 26863 | sub { | ||
| 26864 | my $C=shift; | ||
| 26865 | $C->_EXACT("\#") | ||
| 26866 | } | ||
| 26867 | )[$try])->($C); | ||
| 26868 | last if @gather; | ||
| 26869 | last if $xact->[-2]; # committed? | ||
| 26870 | } | ||
| 26871 | @gather; | ||
| 26872 | }; | ||
| 26873 | |||
| 26874 | })) { ($C) } else { () } | ||
| 26875 | }))) { ($C) } else { () } | ||
| 26876 | })) | ||
| 26877 | and ($C) = ($self->SUPER::ws(@origargs))) { | ||
| 26878 | $C | ||
| 26879 | } else { () } | ||
| 26880 | }))) { ($C) } else { () } | ||
| 26881 | }) | ||
| 26882 | }; | ||
| 26883 | @gather; | ||
| 26884 | }); | ||
| 26885 | } | ||
| 26886 | ; | ||
| 26887 | ## rule nibbler { | ||
| 26888 | sub nibbler__PEEK { $_[0]->_AUTOLEXpeek('nibbler', $retree) } | ||
| 26889 | sub nibbler { | ||
| 26890 | no warnings 'recursion'; | ||
| 26891 | my $self = shift; | ||
| 26892 | |||
| 26893 | local $::ignorecase = $::ignorecase; | ||
| 26894 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26895 | |||
| 26896 | my $C = $self->cursor_xact("RULE nibbler"); | ||
| 26897 | my $xact = $C->xact; | ||
| 26898 | my $S = $C->{'_pos'}; | ||
| 26899 | $self->_MATCHIFYr($S, "nibbler", do { | ||
| 26900 | my $C = $C; | ||
| 26901 | if (($C) = ($C->ws) | ||
| 26902 | and ($C) = ($C->_SUBSUMEr(['EXPR'], sub { | ||
| 26903 | my $C = shift; | ||
| 26904 | $C->EXPR | ||
| 26905 | })) | ||
| 26906 | and ($C) = ($C->ws)) { | ||
| 26907 | $C | ||
| 26908 | } else { () } | ||
| 26909 | |||
| 26910 | }); | ||
| 26911 | } | ||
| 26912 | ; | ||
| 26913 | ## token termish { | ||
| 26914 | sub termish__PEEK { $_[0]->_AUTOLEXpeek('termish', $retree) } | ||
| 26915 | sub termish { | ||
| 26916 | no warnings 'recursion'; | ||
| 26917 | my $self = shift; | ||
| 26918 | |||
| 26919 | |||
| 26920 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26921 | |||
| 26922 | my $C = $self->cursor_xact("RULE termish"); | ||
| 26923 | my $xact = $C->xact; | ||
| 26924 | my $S = $C->{'_pos'}; | ||
| 26925 | $self->_MATCHIFYr($S, "termish", do { | ||
| 26926 | if (my ($C) = ($C->ws)) { | ||
| 26927 | $C->_SUBSUMEr(['term','quant_atom_list'], sub { | ||
| 26928 | my $C = shift; | ||
| 26929 | $C->quant_atom_list | ||
| 26930 | }) | ||
| 26931 | } else { () } | ||
| 26932 | |||
| 26933 | }); | ||
| 26934 | } | ||
| 26935 | ; | ||
| 26936 | ## token quant_atom_list { | ||
| 26937 | sub quant_atom_list__PEEK { $_[0]->_AUTOLEXpeek('quant_atom_list', $retree) } | ||
| 26938 | sub quant_atom_list { | ||
| 26939 | no warnings 'recursion'; | ||
| 26940 | my $self = shift; | ||
| 26941 | |||
| 26942 | |||
| 26943 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26944 | |||
| 26945 | my $C = $self->cursor_xact("RULE quant_atom_list"); | ||
| 26946 | my $xact = $C->xact; | ||
| 26947 | my $S = $C->{'_pos'}; | ||
| 26948 | $C->{'quantified_atom'} = []; | ||
| 26949 | $self->_MATCHIFYr($S, "quant_atom_list", $C->_PLUSr(sub { | ||
| 26950 | my $C=shift; | ||
| 26951 | $C->_SUBSUMEr(['quantified_atom'], sub { | ||
| 26952 | my $C = shift; | ||
| 26953 | $C->quantified_atom | ||
| 26954 | }) | ||
| 26955 | })); | ||
| 26956 | } | ||
| 26957 | ; | ||
| 26958 | ## token infixish { | ||
| 26959 | sub infixish__PEEK { $_[0]->_AUTOLEXpeek('infixish', $retree) } | ||
| 26960 | sub infixish { | ||
| 26961 | no warnings 'recursion'; | ||
| 26962 | my $self = shift; | ||
| 26963 | |||
| 26964 | |||
| 26965 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 26966 | |||
| 26967 | my $C = $self->cursor_xact("RULE infixish"); | ||
| 26968 | my $xact = $C->xact; | ||
| 26969 | my $S = $C->{'_pos'}; | ||
| 26970 | $self->_MATCHIFYr($S, "infixish", do { | ||
| 26971 | my $C = $C; | ||
| 26972 | if (($C) = ($C->_NOTBEFORE(sub { | ||
| 26973 | my $C=shift; | ||
| 26974 | if (my ($C) = ($C->infixstopper)) { ($C) } else { () } | ||
| 26975 | })) | ||
| 26976 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 26977 | my $C=shift; | ||
| 26978 | if (my ($C) = ($C->stdstopper)) { ($C) } else { () } | ||
| 26979 | })) | ||
| 26980 | and ($C) = ($C->_SUBSUMEr(['regex_infix','p5regex_infix'], sub { | ||
| 26981 | my $C = shift; | ||
| 26982 | $C->p5regex_infix | ||
| 26983 | }))) { | ||
| 26984 | scalar(do { | ||
| 26985 | my $M = $C; | ||
| 26986 | $M->{'O'} = $M->{'regex_infix'}->{'O'}; | ||
| 26987 | $M->{'sym'} = $M->{'regex_infix'}->{'sym'}; | ||
| 26988 | }, $C) | ||
| 26989 | } else { () } | ||
| 26990 | |||
| 26991 | }); | ||
| 26992 | } | ||
| 26993 | ; | ||
| 26994 | ## regex infixstopper { | ||
| 26995 | sub infixstopper__PEEK { $_[0]->_AUTOLEXpeek('infixstopper', $retree) } | ||
| 26996 | sub infixstopper { | ||
| 26997 | no warnings 'recursion'; | ||
| 26998 | my $self = shift; | ||
| 26999 | |||
| 27000 | |||
| 27001 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27002 | |||
| 27003 | my $C = $self->cursor_xact("RULE infixstopper"); | ||
| 27004 | my $xact = $C->xact; | ||
| 27005 | my $S = $C->{'_pos'}; | ||
| 27006 | $self->_MATCHIFY($S, "infixstopper", $C->before(sub { | ||
| 27007 | my $C=shift; | ||
| 27008 | $C->_SUBSUME(['stopper'], sub { | ||
| 27009 | my $C = shift; | ||
| 27010 | $C->stopper | ||
| 27011 | }) | ||
| 27012 | })); | ||
| 27013 | } | ||
| 27014 | ; | ||
| 27015 | ## token p5regex_infix:sym<|> { <sym> <O(|%tight_or)> } | ||
| 27016 | sub p5regex_infix__S_005Vert__PEEK { $_[0]->_AUTOLEXpeek('p5regex_infix__S_005Vert', $retree) } | ||
| 27017 | sub p5regex_infix__S_005Vert { | ||
| 27018 | no warnings 'recursion'; | ||
| 27019 | my $self = shift; | ||
| 27020 | |||
| 27021 | |||
| 27022 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27023 | |||
| 27024 | my $C = $self->cursor_xact("RULE p5regex_infix__S_005Vert"); | ||
| 27025 | my $xact = $C->xact; | ||
| 27026 | my $S = $C->{'_pos'}; | ||
| 27027 | $C->{sym} = "\|"; | ||
| 27028 | $self->_MATCHIFYr($S, "p5regex_infix__S_005Vert", do { | ||
| 27029 | if (my ($C) = ($C->_EXACT("\|"))) { | ||
| 27030 | $C->_SUBSUMEr(['O'], sub { | ||
| 27031 | my $C = shift; | ||
| 27032 | $C->O(%tight_or) | ||
| 27033 | }) | ||
| 27034 | } else { () } | ||
| 27035 | |||
| 27036 | }); | ||
| 27037 | } | ||
| 27038 | ; | ||
| 27039 | ## token quantified_atom { | ||
| 27040 | sub quantified_atom__PEEK { $_[0]->_AUTOLEXpeek('quantified_atom', $retree) } | ||
| 27041 | sub quantified_atom { | ||
| 27042 | no warnings 'recursion'; | ||
| 27043 | my $self = shift; | ||
| 27044 | |||
| 27045 | |||
| 27046 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27047 | |||
| 27048 | my $C = $self->cursor_xact("RULE quantified_atom"); | ||
| 27049 | my $xact = $C->xact; | ||
| 27050 | my $S = $C->{'_pos'}; | ||
| 27051 | $C->{'p5quantifier'} = []; | ||
| 27052 | $C->{'quantifier'} = []; | ||
| 27053 | $self->_MATCHIFYr($S, "quantified_atom", do { | ||
| 27054 | my $C = $C; | ||
| 27055 | if (($C) = ($C->_NOTBEFORE(sub { | ||
| 27056 | my $C=shift; | ||
| 27057 | if (my ($C) = ($C->stopper)) { ($C) } else { () } | ||
| 27058 | })) | ||
| 27059 | and ($C) = ($C->_NOTBEFORE(sub { | ||
| 27060 | my $C=shift; | ||
| 27061 | if (my ($C) = ($C->p5regex_infix)) { ($C) } else { () } | ||
| 27062 | })) | ||
| 27063 | and ($C) = ($C->_SUBSUMEr(['atom'], sub { | ||
| 27064 | my $C = shift; | ||
| 27065 | $C->atom | ||
| 27066 | })) | ||
| 27067 | and ($C) = ($C->_OPTr(sub { | ||
| 27068 | my $C=shift; | ||
| 27069 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 27070 | my $C=shift; | ||
| 27071 | if (my ($C) = ($C->ws)) { | ||
| 27072 | $C->_SUBSUMEr(['quantifier','p5quantifier'], sub { | ||
| 27073 | my $C = shift; | ||
| 27074 | $C->p5quantifier | ||
| 27075 | }) | ||
| 27076 | } else { () } | ||
| 27077 | }))) { ($C) } else { () } | ||
| 27078 | })) | ||
| 27079 | and ($C) = ($C->ws)) { | ||
| 27080 | $C | ||
| 27081 | } else { () } | ||
| 27082 | |||
| 27083 | }); | ||
| 27084 | } | ||
| 27085 | ; | ||
| 27086 | ## token atom { | ||
| 27087 | sub atom__PEEK { $_[0]->_AUTOLEXpeek('atom', $retree) } | ||
| 27088 | sub atom { | ||
| 27089 | no warnings 'recursion'; | ||
| 27090 | my $self = shift; | ||
| 27091 | |||
| 27092 | |||
| 27093 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27094 | |||
| 27095 | my $C = $self->cursor_xact("RULE atom"); | ||
| 27096 | my $xact = $C->xact; | ||
| 27097 | my $S = $C->{'_pos'}; | ||
| 27098 | $self->_MATCHIFYr($S, "atom", $C->_BRACKETr(sub { | ||
| 27099 | my $C=shift; | ||
| 27100 | do { | ||
| 27101 | my ($tag, $try); | ||
| 27102 | my @try; | ||
| 27103 | my $relex; | ||
| 27104 | |||
| 27105 | my $fate; | ||
| 27106 | my $x; | ||
| 27107 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'atom_0') { | ||
| 27108 | $C->deb("Fate passed to atom_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 27109 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 27110 | @try = ($try); | ||
| 27111 | $x = 'ALT atom_0'; # some outer ltm is controlling us | ||
| 27112 | } | ||
| 27113 | else { | ||
| 27114 | $x = 'ALTLTM atom_0'; # we are top level ltm | ||
| 27115 | } | ||
| 27116 | my $C = $C->cursor_xact($x); | ||
| 27117 | my $xact = $C->{_xact}; | ||
| 27118 | |||
| 27119 | my @gather = (); | ||
| 27120 | for (;;) { | ||
| 27121 | unless (@try) { | ||
| 27122 | $relex //= $C->cursor_fate('STD::P5::Regex', 'atom_0', $retree); | ||
| 27123 | @try = $relex->($C) or last; | ||
| 27124 | } | ||
| 27125 | $try = shift(@try) // next; | ||
| 27126 | |||
| 27127 | if (ref $try) { | ||
| 27128 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 27129 | } | ||
| 27130 | |||
| 27131 | $C->deb("atom_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 27132 | push @gather, (( | ||
| 27133 | sub { | ||
| 27134 | my $C=shift; | ||
| 27135 | $C->_PATTERN(qr/\G\w/) | ||
| 27136 | }, | ||
| 27137 | sub { | ||
| 27138 | my $C=shift; | ||
| 27139 | $C->_SUBSUMEr(['metachar','p5metachar'], sub { | ||
| 27140 | my $C = shift; | ||
| 27141 | $C->p5metachar | ||
| 27142 | }) | ||
| 27143 | }, | ||
| 27144 | sub { | ||
| 27145 | my $C=shift; | ||
| 27146 | if (($C) = ($C->_EXACT("\\")) | ||
| 27147 | and ($C) = ($C->_COMMITLTM())) { | ||
| 27148 | $C->cursor_incr() | ||
| 27149 | } else { () } | ||
| 27150 | } | ||
| 27151 | )[$try])->($C); | ||
| 27152 | last if @gather; | ||
| 27153 | last if $xact->[-2]; # committed? | ||
| 27154 | } | ||
| 27155 | @gather; | ||
| 27156 | }; | ||
| 27157 | })); | ||
| 27158 | } | ||
| 27159 | ; | ||
| 27160 | ## token p5metachar:sym<|> { '|' :: <fail> } | ||
| 27161 | sub p5metachar__S_006Vert__PEEK { $_[0]->_AUTOLEXpeek('p5metachar__S_006Vert', $retree) } | ||
| 27162 | sub p5metachar__S_006Vert { | ||
| 27163 | no warnings 'recursion'; | ||
| 27164 | my $self = shift; | ||
| 27165 | |||
| 27166 | |||
| 27167 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27168 | |||
| 27169 | my $C = $self->cursor_xact("RULE p5metachar__S_006Vert"); | ||
| 27170 | my $xact = $C->xact; | ||
| 27171 | my $S = $C->{'_pos'}; | ||
| 27172 | $C->{sym} = "\|"; | ||
| 27173 | $self->_MATCHIFYr($S, "p5metachar__S_006Vert", do { | ||
| 27174 | my $C = $C; | ||
| 27175 | if (($C) = ($C->_EXACT("\|")) | ||
| 27176 | and ($C) = ($C->_COMMITLTM())) { | ||
| 27177 | $C->_SUBSUMEr(['fail'], sub { | ||
| 27178 | my $C = shift; | ||
| 27179 | $C->fail | ||
| 27180 | }) | ||
| 27181 | } else { () } | ||
| 27182 | |||
| 27183 | }); | ||
| 27184 | } | ||
| 27185 | ; | ||
| 27186 | ## token p5metachar:sym<)> { ')' :: <fail> } | ||
| 27187 | sub p5metachar__S_007Thesis__PEEK { $_[0]->_AUTOLEXpeek('p5metachar__S_007Thesis', $retree) } | ||
| 27188 | sub p5metachar__S_007Thesis { | ||
| 27189 | no warnings 'recursion'; | ||
| 27190 | my $self = shift; | ||
| 27191 | |||
| 27192 | |||
| 27193 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27194 | |||
| 27195 | my $C = $self->cursor_xact("RULE p5metachar__S_007Thesis"); | ||
| 27196 | my $xact = $C->xact; | ||
| 27197 | my $S = $C->{'_pos'}; | ||
| 27198 | $C->{sym} = "\)"; | ||
| 27199 | $self->_MATCHIFYr($S, "p5metachar__S_007Thesis", do { | ||
| 27200 | my $C = $C; | ||
| 27201 | if (($C) = ($C->_EXACT("\)")) | ||
| 27202 | and ($C) = ($C->_COMMITLTM())) { | ||
| 27203 | $C->_SUBSUMEr(['fail'], sub { | ||
| 27204 | my $C = shift; | ||
| 27205 | $C->fail | ||
| 27206 | }) | ||
| 27207 | } else { () } | ||
| 27208 | |||
| 27209 | }); | ||
| 27210 | } | ||
| 27211 | ; | ||
| 27212 | ## token p5metachar:quant { <quantifier=p5quantifier> <.panic: "quantifier quantifies nothing"> } | ||
| 27213 | sub p5metachar__S_008quant__PEEK { $_[0]->_AUTOLEXpeek('p5metachar__S_008quant', $retree) } | ||
| 27214 | sub p5metachar__S_008quant { | ||
| 27215 | no warnings 'recursion'; | ||
| 27216 | my $self = shift; | ||
| 27217 | |||
| 27218 | |||
| 27219 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27220 | |||
| 27221 | my $C = $self->cursor_xact("RULE p5metachar__S_008quant"); | ||
| 27222 | my $xact = $C->xact; | ||
| 27223 | my $S = $C->{'_pos'}; | ||
| 27224 | $C->{sym} = "quant"; | ||
| 27225 | $self->_MATCHIFYr($S, "p5metachar__S_008quant", do { | ||
| 27226 | my $C = $C; | ||
| 27227 | if (($C) = ($C->_SUBSUMEr(['quantifier','p5quantifier'], sub { | ||
| 27228 | my $C = shift; | ||
| 27229 | $C->p5quantifier | ||
| 27230 | })) | ||
| 27231 | and ($C) = ($C->panic("quantifier quantifies nothing"))) { | ||
| 27232 | $C | ||
| 27233 | } else { () } | ||
| 27234 | |||
| 27235 | }); | ||
| 27236 | } | ||
| 27237 | ; | ||
| 27238 | ## token p5metachar:sym<[ ]> { | ||
| 27239 | sub p5metachar__S_009Bra_Ket__PEEK { $_[0]->_AUTOLEXpeek('p5metachar__S_009Bra_Ket', $retree) } | ||
| 27240 | sub p5metachar__S_009Bra_Ket { | ||
| 27241 | no warnings 'recursion'; | ||
| 27242 | my $self = shift; | ||
| 27243 | |||
| 27244 | |||
| 27245 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27246 | |||
| 27247 | my $C = $self->cursor_xact("RULE p5metachar__S_009Bra_Ket"); | ||
| 27248 | my $xact = $C->xact; | ||
| 27249 | my $S = $C->{'_pos'}; | ||
| 27250 | $C->{sym} = "\[\ \]"; | ||
| 27251 | $self->_MATCHIFYr($S, "p5metachar__S_009Bra_Ket", do { | ||
| 27252 | if (my ($C) = ($C->_SUBSUMEr(['before'], sub { | ||
| 27253 | my $C = shift; | ||
| 27254 | $C->before(sub { | ||
| 27255 | my $C=shift; | ||
| 27256 | $C->_EXACT("\[") | ||
| 27257 | }) | ||
| 27258 | }))) { | ||
| 27259 | $C->_SUBSUMEr(['quibble'], sub { | ||
| 27260 | my $C = shift; | ||
| 27261 | $C->quibble($C->cursor_fresh( $::LANG{'Q'} )->tweak('q' => 1)) | ||
| 27262 | }) | ||
| 27263 | } else { () } | ||
| 27264 | |||
| 27265 | }); | ||
| 27266 | } | ||
| 27267 | ; | ||
| 27268 | ## token p5metachar:sym«(? )» { | ||
| 27269 | sub p5metachar__S_010ParenQuestion_Thesis__PEEK { $_[0]->_AUTOLEXpeek('p5metachar__S_010ParenQuestion_Thesis', $retree) } | ||
| 27270 | sub p5metachar__S_010ParenQuestion_Thesis { | ||
| 27271 | no warnings 'recursion'; | ||
| 27272 | my $self = shift; | ||
| 27273 | |||
| 27274 | |||
| 27275 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27276 | |||
| 27277 | my $C = $self->cursor_xact("RULE p5metachar__S_010ParenQuestion_Thesis"); | ||
| 27278 | my $xact = $C->xact; | ||
| 27279 | my $S = $C->{'_pos'}; | ||
| 27280 | $C->{sym} = "\(\?\ \)"; | ||
| 27281 | $self->_MATCHIFYr($S, "p5metachar__S_010ParenQuestion_Thesis", do { | ||
| 27282 | my $C = $C; | ||
| 27283 | if (($C) = ($C->_EXACT("\(\?")) | ||
| 27284 | and ($C) = (scalar(do { | ||
| 27285 | }, $C)) | ||
| 27286 | and ($C) = ($C->_SUBSUMEr(['assertion','p5assertion'], sub { | ||
| 27287 | my $C = shift; | ||
| 27288 | $C->p5assertion | ||
| 27289 | })) | ||
| 27290 | and ($C) = ($C->_BRACKETr(sub { | ||
| 27291 | my $C=shift; | ||
| 27292 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 27293 | my $xact = $C->xact; | ||
| 27294 | my @gather; | ||
| 27295 | do { | ||
| 27296 | push @gather, $C->_EXACT("\)") | ||
| 27297 | } | ||
| 27298 | or $xact->[-2] or | ||
| 27299 | do { | ||
| 27300 | push @gather, do { | ||
| 27301 | if (my ($C) = ($C->panic("Perl 5 regex assertion not terminated by parenthesis"))) { ($C) } else { () } | ||
| 27302 | |||
| 27303 | } | ||
| 27304 | }; | ||
| 27305 | @gather; | ||
| 27306 | } | ||
| 27307 | }))) { | ||
| 27308 | $C | ||
| 27309 | } else { () } | ||
| 27310 | |||
| 27311 | }); | ||
| 27312 | } | ||
| 27313 | ; | ||
| 27314 | ## token p5metachar:sym<( )> { | ||
| 27315 | sub p5metachar__S_011Paren_Thesis__PEEK { $_[0]->_AUTOLEXpeek('p5metachar__S_011Paren_Thesis', $retree) } | ||
| 27316 | sub p5metachar__S_011Paren_Thesis { | ||
| 27317 | no warnings 'recursion'; | ||
| 27318 | my $self = shift; | ||
| 27319 | |||
| 27320 | |||
| 27321 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27322 | |||
| 27323 | my $C = $self->cursor_xact("RULE p5metachar__S_011Paren_Thesis"); | ||
| 27324 | my $xact = $C->xact; | ||
| 27325 | my $S = $C->{'_pos'}; | ||
| 27326 | $C->{'nibbler'} = []; | ||
| 27327 | $C->{sym} = "\(\ \)"; | ||
| 27328 | $self->_MATCHIFYr($S, "p5metachar__S_011Paren_Thesis", do { | ||
| 27329 | my $C = $C; | ||
| 27330 | if (($C) = ($C->_EXACT("\(")) | ||
| 27331 | and ($C) = (scalar(do { | ||
| 27332 | }, $C)) | ||
| 27333 | and ($C) = ($C->_OPTr(sub { | ||
| 27334 | my $C=shift; | ||
| 27335 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 27336 | my $C=shift; | ||
| 27337 | my $newlang = ($self->unbalanced(')')); | ||
| 27338 | $C = bless($C, (ref($newlang) || $newlang)); | ||
| 27339 | $C->_SUBSUMEr(['nibbler'], sub { | ||
| 27340 | my $C = shift; | ||
| 27341 | $C->nibbler | ||
| 27342 | }) | ||
| 27343 | }))) { ($C) } else { () } | ||
| 27344 | })) | ||
| 27345 | and ($C) = ($C->_BRACKETr(sub { | ||
| 27346 | my $C=shift; | ||
| 27347 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 27348 | my $xact = $C->xact; | ||
| 27349 | my @gather; | ||
| 27350 | do { | ||
| 27351 | push @gather, $C->_EXACT("\)") | ||
| 27352 | } | ||
| 27353 | or $xact->[-2] or | ||
| 27354 | do { | ||
| 27355 | push @gather, do { | ||
| 27356 | if (my ($C) = ($C->panic("Unable to parse Perl 5 regex; couldn't find right parenthesis"))) { ($C) } else { () } | ||
| 27357 | |||
| 27358 | } | ||
| 27359 | }; | ||
| 27360 | @gather; | ||
| 27361 | } | ||
| 27362 | }))) { | ||
| 27363 | scalar(do { | ||
| 27364 | my $M = $C; | ||
| 27365 | $M->{'sym'} = <( )> }, $C) | ||
| 27366 | } else { () } | ||
| 27367 | |||
| 27368 | }); | ||
| 27369 | } | ||
| 27370 | ; | ||
| 27371 | ## token p5metachar:sym<\\> { <sym> <backslash=p5backslash> } | ||
| 27372 | sub p5metachar__S_012Back__PEEK { $_[0]->_AUTOLEXpeek('p5metachar__S_012Back', $retree) } | ||
| 27373 | sub p5metachar__S_012Back { | ||
| 27374 | no warnings 'recursion'; | ||
| 27375 | my $self = shift; | ||
| 27376 | |||
| 27377 | |||
| 27378 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27379 | |||
| 27380 | my $C = $self->cursor_xact("RULE p5metachar__S_012Back"); | ||
| 27381 | my $xact = $C->xact; | ||
| 27382 | my $S = $C->{'_pos'}; | ||
| 27383 | $C->{sym} = "\\"; | ||
| 27384 | $self->_MATCHIFYr($S, "p5metachar__S_012Back", do { | ||
| 27385 | if (my ($C) = ($C->_EXACT("\\"))) { | ||
| 27386 | $C->_SUBSUMEr(['backslash','p5backslash'], sub { | ||
| 27387 | my $C = shift; | ||
| 27388 | $C->p5backslash | ||
| 27389 | }) | ||
| 27390 | } else { () } | ||
| 27391 | |||
| 27392 | }); | ||
| 27393 | } | ||
| 27394 | ; | ||
| 27395 | ## token p5metachar:sym<.> { <sym> } | ||
| 27396 | sub p5metachar__S_013Dot__PEEK { $_[0]->_AUTOLEXpeek('p5metachar__S_013Dot', $retree) } | ||
| 27397 | sub p5metachar__S_013Dot { | ||
| 27398 | no warnings 'recursion'; | ||
| 27399 | my $self = shift; | ||
| 27400 | |||
| 27401 | |||
| 27402 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27403 | |||
| 27404 | my $C = $self->cursor_xact("RULE p5metachar__S_013Dot"); | ||
| 27405 | my $xact = $C->xact; | ||
| 27406 | my $S = $C->{'_pos'}; | ||
| 27407 | $C->{sym} = "\."; | ||
| 27408 | $self->_MATCHIFYr($S, "p5metachar__S_013Dot", $C->_EXACT("\.")); | ||
| 27409 | } | ||
| 27410 | ; | ||
| 27411 | ## token p5metachar:sym<^> { <sym> } | ||
| 27412 | sub p5metachar__S_014Caret__PEEK { $_[0]->_AUTOLEXpeek('p5metachar__S_014Caret', $retree) } | ||
| 27413 | sub p5metachar__S_014Caret { | ||
| 27414 | no warnings 'recursion'; | ||
| 27415 | my $self = shift; | ||
| 27416 | |||
| 27417 | |||
| 27418 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27419 | |||
| 27420 | my $C = $self->cursor_xact("RULE p5metachar__S_014Caret"); | ||
| 27421 | my $xact = $C->xact; | ||
| 27422 | my $S = $C->{'_pos'}; | ||
| 27423 | $C->{sym} = "\^"; | ||
| 27424 | $self->_MATCHIFYr($S, "p5metachar__S_014Caret", $C->_EXACT("\^")); | ||
| 27425 | } | ||
| 27426 | ; | ||
| 27427 | ## token p5metachar:sym<$> { | ||
| 27428 | sub p5metachar__S_015Dollar__PEEK { $_[0]->_AUTOLEXpeek('p5metachar__S_015Dollar', $retree) } | ||
| 27429 | sub p5metachar__S_015Dollar { | ||
| 27430 | no warnings 'recursion'; | ||
| 27431 | my $self = shift; | ||
| 27432 | |||
| 27433 | |||
| 27434 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27435 | |||
| 27436 | my $C = $self->cursor_xact("RULE p5metachar__S_015Dollar"); | ||
| 27437 | my $xact = $C->xact; | ||
| 27438 | my $S = $C->{'_pos'}; | ||
| 27439 | $C->{sym} = "\$"; | ||
| 27440 | $self->_MATCHIFYr($S, "p5metachar__S_015Dollar", do { | ||
| 27441 | my $C = $C; | ||
| 27442 | if (($C) = ($C->_EXACT("\$")) | ||
| 27443 | and ($C) = ($C->before(sub { | ||
| 27444 | my $C=shift; | ||
| 27445 | if (my ($C) = ($C->before(sub { | ||
| 27446 | my $C=shift; | ||
| 27447 | if (my ($C) = (do { | ||
| 27448 | do { | ||
| 27449 | my ($tag, $try); | ||
| 27450 | my @try; | ||
| 27451 | my $relex; | ||
| 27452 | |||
| 27453 | my $fate; | ||
| 27454 | my $x; | ||
| 27455 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5metachar__S_015Dollar_0') { | ||
| 27456 | $C->deb("Fate passed to p5metachar__S_015Dollar_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 27457 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 27458 | @try = ($try); | ||
| 27459 | $x = 'ALT p5metachar__S_015Dollar_0'; # some outer ltm is controlling us | ||
| 27460 | } | ||
| 27461 | else { | ||
| 27462 | $x = 'ALTLTM p5metachar__S_015Dollar_0'; # we are top level ltm | ||
| 27463 | } | ||
| 27464 | my $C = $C->cursor_xact($x); | ||
| 27465 | my $xact = $C->{_xact}; | ||
| 27466 | |||
| 27467 | my @gather = (); | ||
| 27468 | for (;;) { | ||
| 27469 | unless (@try) { | ||
| 27470 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5metachar__S_015Dollar_0', $retree); | ||
| 27471 | @try = $relex->($C) or last; | ||
| 27472 | } | ||
| 27473 | $try = shift(@try) // next; | ||
| 27474 | |||
| 27475 | if (ref $try) { | ||
| 27476 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 27477 | } | ||
| 27478 | |||
| 27479 | $C->deb("p5metachar__S_015Dollar_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 27480 | push @gather, (( | ||
| 27481 | sub { | ||
| 27482 | my $C=shift; | ||
| 27483 | $C->_PATTERN(qr/\G\W/) | ||
| 27484 | }, | ||
| 27485 | sub { | ||
| 27486 | my $C=shift; | ||
| 27487 | $C->_PATTERN(qr/\G\z/) | ||
| 27488 | } | ||
| 27489 | )[$try])->($C); | ||
| 27490 | last if @gather; | ||
| 27491 | last if $xact->[-2]; # committed? | ||
| 27492 | } | ||
| 27493 | @gather; | ||
| 27494 | }; | ||
| 27495 | |||
| 27496 | })) { ($C) } else { () } | ||
| 27497 | }))) { ($C) } else { () } | ||
| 27498 | }))) { | ||
| 27499 | $C | ||
| 27500 | } else { () } | ||
| 27501 | |||
| 27502 | }); | ||
| 27503 | } | ||
| 27504 | ; | ||
| 27505 | ## token p5metachar:var { | ||
| 27506 | sub p5metachar__S_016var__PEEK { $_[0]->_AUTOLEXpeek('p5metachar__S_016var', $retree) } | ||
| 27507 | sub p5metachar__S_016var { | ||
| 27508 | no warnings 'recursion'; | ||
| 27509 | my $self = shift; | ||
| 27510 | |||
| 27511 | |||
| 27512 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27513 | |||
| 27514 | my $C = $self->cursor_xact("RULE p5metachar__S_016var"); | ||
| 27515 | my $xact = $C->xact; | ||
| 27516 | my $S = $C->{'_pos'}; | ||
| 27517 | $C->{sym} = "var"; | ||
| 27518 | $self->_MATCHIFYr($S, "p5metachar__S_016var", do { | ||
| 27519 | my $C = $C; | ||
| 27520 | if (($C) = ($C->before(sub { | ||
| 27521 | my $C=shift; | ||
| 27522 | if (my ($C) = ($C->before(sub { | ||
| 27523 | my $C=shift; | ||
| 27524 | if (my ($C) = ($C->_SUBSUMEr(['sigil','p5sigil'], sub { | ||
| 27525 | my $C = shift; | ||
| 27526 | $C->p5sigil | ||
| 27527 | }))) { | ||
| 27528 | $C->_PATTERN(qr/\G\w/) | ||
| 27529 | } else { () } | ||
| 27530 | }))) { ($C) } else { () } | ||
| 27531 | })) | ||
| 27532 | and ($C) = ($C->panic("Can't interpolate variable in Perl 5 regex"))) { | ||
| 27533 | $C | ||
| 27534 | } else { () } | ||
| 27535 | |||
| 27536 | }); | ||
| 27537 | } | ||
| 27538 | ; | ||
| 27539 | ## token p5backslash:A { <sym> } | ||
| 27540 | sub p5backslash__S_017A__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_017A', $retree) } | ||
| 27541 | sub p5backslash__S_017A { | ||
| 27542 | no warnings 'recursion'; | ||
| 27543 | my $self = shift; | ||
| 27544 | |||
| 27545 | |||
| 27546 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27547 | |||
| 27548 | my $C = $self->cursor_xact("RULE p5backslash__S_017A"); | ||
| 27549 | my $xact = $C->xact; | ||
| 27550 | my $S = $C->{'_pos'}; | ||
| 27551 | $C->{sym} = "A"; | ||
| 27552 | $self->_MATCHIFYr($S, "p5backslash__S_017A", $C->_EXACT("A")); | ||
| 27553 | } | ||
| 27554 | ; | ||
| 27555 | ## token p5backslash:a { <sym> } | ||
| 27556 | sub p5backslash__S_018a__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_018a', $retree) } | ||
| 27557 | sub p5backslash__S_018a { | ||
| 27558 | no warnings 'recursion'; | ||
| 27559 | my $self = shift; | ||
| 27560 | |||
| 27561 | |||
| 27562 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27563 | |||
| 27564 | my $C = $self->cursor_xact("RULE p5backslash__S_018a"); | ||
| 27565 | my $xact = $C->xact; | ||
| 27566 | my $S = $C->{'_pos'}; | ||
| 27567 | $C->{sym} = "a"; | ||
| 27568 | $self->_MATCHIFYr($S, "p5backslash__S_018a", $C->_EXACT("a")); | ||
| 27569 | } | ||
| 27570 | ; | ||
| 27571 | ## token p5backslash:b { :i <sym> } | ||
| 27572 | sub p5backslash__S_019b__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_019b', $retree) } | ||
| 27573 | sub p5backslash__S_019b { | ||
| 27574 | no warnings 'recursion'; | ||
| 27575 | my $self = shift; | ||
| 27576 | |||
| 27577 | |||
| 27578 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27579 | |||
| 27580 | my $C = $self->cursor_xact("RULE p5backslash__S_019b"); | ||
| 27581 | my $xact = $C->xact; | ||
| 27582 | my $S = $C->{'_pos'}; | ||
| 27583 | $C->{sym} = "b"; | ||
| 27584 | $self->_MATCHIFYr($S, "p5backslash__S_019b", $C->_PATTERN(qr/\G(?i:b)/)); | ||
| 27585 | } | ||
| 27586 | ; | ||
| 27587 | ## token p5backslash:c { :i <sym> | ||
| 27588 | sub p5backslash__S_020c__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_020c', $retree) } | ||
| 27589 | sub p5backslash__S_020c { | ||
| 27590 | no warnings 'recursion'; | ||
| 27591 | my $self = shift; | ||
| 27592 | |||
| 27593 | |||
| 27594 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27595 | |||
| 27596 | my $C = $self->cursor_xact("RULE p5backslash__S_020c"); | ||
| 27597 | my $xact = $C->xact; | ||
| 27598 | my $S = $C->{'_pos'}; | ||
| 27599 | $C->{sym} = "c"; | ||
| 27600 | $self->_MATCHIFYr($S, "p5backslash__S_020c", do { my $C = $C->cursor_xact('ALT ||'); | ||
| 27601 | my $xact = $C->xact; | ||
| 27602 | my @gather; | ||
| 27603 | do { | ||
| 27604 | push @gather, $C->_PATTERN(qr/\G(?i:c)(?i:[?-_])/) | ||
| 27605 | } | ||
| 27606 | or $xact->[-2] or | ||
| 27607 | do { | ||
| 27608 | push @gather, do { | ||
| 27609 | if (my ($C) = ($C->panic("Unrecognized \\c character"))) { ($C) } else { () } | ||
| 27610 | |||
| 27611 | } | ||
| 27612 | }; | ||
| 27613 | @gather; | ||
| 27614 | }); | ||
| 27615 | } | ||
| 27616 | ; | ||
| 27617 | ## token p5backslash:d { :i <sym> } | ||
| 27618 | sub p5backslash__S_021d__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_021d', $retree) } | ||
| 27619 | sub p5backslash__S_021d { | ||
| 27620 | no warnings 'recursion'; | ||
| 27621 | my $self = shift; | ||
| 27622 | |||
| 27623 | |||
| 27624 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27625 | |||
| 27626 | my $C = $self->cursor_xact("RULE p5backslash__S_021d"); | ||
| 27627 | my $xact = $C->xact; | ||
| 27628 | my $S = $C->{'_pos'}; | ||
| 27629 | $C->{sym} = "d"; | ||
| 27630 | $self->_MATCHIFYr($S, "p5backslash__S_021d", $C->_PATTERN(qr/\G(?i:d)/)); | ||
| 27631 | } | ||
| 27632 | ; | ||
| 27633 | ## token p5backslash:e { :i <sym> } | ||
| 27634 | sub p5backslash__S_022e__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_022e', $retree) } | ||
| 27635 | sub p5backslash__S_022e { | ||
| 27636 | no warnings 'recursion'; | ||
| 27637 | my $self = shift; | ||
| 27638 | |||
| 27639 | |||
| 27640 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27641 | |||
| 27642 | my $C = $self->cursor_xact("RULE p5backslash__S_022e"); | ||
| 27643 | my $xact = $C->xact; | ||
| 27644 | my $S = $C->{'_pos'}; | ||
| 27645 | $C->{sym} = "e"; | ||
| 27646 | $self->_MATCHIFYr($S, "p5backslash__S_022e", $C->_PATTERN(qr/\G(?i:e)/)); | ||
| 27647 | } | ||
| 27648 | ; | ||
| 27649 | ## token p5backslash:f { :i <sym> } | ||
| 27650 | sub p5backslash__S_023f__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_023f', $retree) } | ||
| 27651 | sub p5backslash__S_023f { | ||
| 27652 | no warnings 'recursion'; | ||
| 27653 | my $self = shift; | ||
| 27654 | |||
| 27655 | |||
| 27656 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27657 | |||
| 27658 | my $C = $self->cursor_xact("RULE p5backslash__S_023f"); | ||
| 27659 | my $xact = $C->xact; | ||
| 27660 | my $S = $C->{'_pos'}; | ||
| 27661 | $C->{sym} = "f"; | ||
| 27662 | $self->_MATCHIFYr($S, "p5backslash__S_023f", $C->_PATTERN(qr/\G(?i:f)/)); | ||
| 27663 | } | ||
| 27664 | ; | ||
| 27665 | ## token p5backslash:h { :i <sym> } | ||
| 27666 | sub p5backslash__S_024h__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_024h', $retree) } | ||
| 27667 | sub p5backslash__S_024h { | ||
| 27668 | no warnings 'recursion'; | ||
| 27669 | my $self = shift; | ||
| 27670 | |||
| 27671 | |||
| 27672 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27673 | |||
| 27674 | my $C = $self->cursor_xact("RULE p5backslash__S_024h"); | ||
| 27675 | my $xact = $C->xact; | ||
| 27676 | my $S = $C->{'_pos'}; | ||
| 27677 | $C->{sym} = "h"; | ||
| 27678 | $self->_MATCHIFYr($S, "p5backslash__S_024h", $C->_PATTERN(qr/\G(?i:h)/)); | ||
| 27679 | } | ||
| 27680 | ; | ||
| 27681 | ## token p5backslash:l { :i <sym> } | ||
| 27682 | sub p5backslash__S_025l__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_025l', $retree) } | ||
| 27683 | sub p5backslash__S_025l { | ||
| 27684 | no warnings 'recursion'; | ||
| 27685 | my $self = shift; | ||
| 27686 | |||
| 27687 | |||
| 27688 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27689 | |||
| 27690 | my $C = $self->cursor_xact("RULE p5backslash__S_025l"); | ||
| 27691 | my $xact = $C->xact; | ||
| 27692 | my $S = $C->{'_pos'}; | ||
| 27693 | $C->{sym} = "l"; | ||
| 27694 | $self->_MATCHIFYr($S, "p5backslash__S_025l", $C->_PATTERN(qr/\G(?i:l)/)); | ||
| 27695 | } | ||
| 27696 | ; | ||
| 27697 | ## token p5backslash:n { :i <sym> } | ||
| 27698 | sub p5backslash__S_026n__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_026n', $retree) } | ||
| 27699 | sub p5backslash__S_026n { | ||
| 27700 | no warnings 'recursion'; | ||
| 27701 | my $self = shift; | ||
| 27702 | |||
| 27703 | |||
| 27704 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27705 | |||
| 27706 | my $C = $self->cursor_xact("RULE p5backslash__S_026n"); | ||
| 27707 | my $xact = $C->xact; | ||
| 27708 | my $S = $C->{'_pos'}; | ||
| 27709 | $C->{sym} = "n"; | ||
| 27710 | $self->_MATCHIFYr($S, "p5backslash__S_026n", $C->_PATTERN(qr/\G(?i:n)/)); | ||
| 27711 | } | ||
| 27712 | ; | ||
| 27713 | ## token p5backslash:o { :dba('octal character') '0' [ <octint> | '{' ~ '}' <octints> ] } | ||
| 27714 | sub p5backslash__S_027o__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_027o', $retree) } | ||
| 27715 | sub p5backslash__S_027o { | ||
| 27716 | no warnings 'recursion'; | ||
| 27717 | my $self = shift; | ||
| 27718 | |||
| 27719 | |||
| 27720 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27721 | |||
| 27722 | my $C = $self->cursor_xact("RULE p5backslash__S_027o"); | ||
| 27723 | my $xact = $C->xact; | ||
| 27724 | my $S = $C->{'_pos'}; | ||
| 27725 | $C->{sym} = "o"; | ||
| 27726 | $self->_MATCHIFYr($S, "p5backslash__S_027o", do { | ||
| 27727 | my $C = $C; | ||
| 27728 | if (($C) = ($C->_EXACT("0")) | ||
| 27729 | and ($C) = ($C->_BRACKETr(sub { | ||
| 27730 | my $C=shift; | ||
| 27731 | do { | ||
| 27732 | my ($tag, $try); | ||
| 27733 | my @try; | ||
| 27734 | my $relex; | ||
| 27735 | |||
| 27736 | my $fate; | ||
| 27737 | my $x; | ||
| 27738 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5backslash__S_027o_0') { | ||
| 27739 | $C->deb("Fate passed to p5backslash__S_027o_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 27740 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 27741 | @try = ($try); | ||
| 27742 | $x = 'ALT p5backslash__S_027o_0'; # some outer ltm is controlling us | ||
| 27743 | } | ||
| 27744 | else { | ||
| 27745 | $x = 'ALTLTM p5backslash__S_027o_0'; # we are top level ltm | ||
| 27746 | } | ||
| 27747 | my $C = $C->cursor_xact($x); | ||
| 27748 | my $xact = $C->{_xact}; | ||
| 27749 | |||
| 27750 | my @gather = (); | ||
| 27751 | for (;;) { | ||
| 27752 | unless (@try) { | ||
| 27753 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5backslash__S_027o_0', $retree); | ||
| 27754 | @try = $relex->($C) or last; | ||
| 27755 | } | ||
| 27756 | $try = shift(@try) // next; | ||
| 27757 | |||
| 27758 | if (ref $try) { | ||
| 27759 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 27760 | } | ||
| 27761 | |||
| 27762 | $C->deb("p5backslash__S_027o_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 27763 | push @gather, (( | ||
| 27764 | sub { | ||
| 27765 | my $C=shift; | ||
| 27766 | $C->_SUBSUMEr(['octint'], sub { | ||
| 27767 | my $C = shift; | ||
| 27768 | $C->octint | ||
| 27769 | }) | ||
| 27770 | }, | ||
| 27771 | sub { | ||
| 27772 | my $C=shift; | ||
| 27773 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 27774 | my $C=shift; | ||
| 27775 | local $::GOAL = "\}"; | ||
| 27776 | my $goalpos = $C; | ||
| 27777 | if (($C) = ($C->_EXACT("\{")) | ||
| 27778 | and ($C) = (scalar(do { | ||
| 27779 | }, $C)) | ||
| 27780 | and ($C) = ($C->_SUBSUMEr(['octints'], sub { | ||
| 27781 | my $C = shift; | ||
| 27782 | $C->octints | ||
| 27783 | })) | ||
| 27784 | and ($C) = ($C->_BRACKETr(sub { | ||
| 27785 | my $C=shift; | ||
| 27786 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 27787 | my $xact = $C->xact; | ||
| 27788 | my @gather; | ||
| 27789 | do { | ||
| 27790 | push @gather, $C->_EXACT("\}") | ||
| 27791 | } | ||
| 27792 | or $xact->[-2] or | ||
| 27793 | do { | ||
| 27794 | push @gather, do { | ||
| 27795 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'octal character', $goalpos))) { ($C) } else { () } | ||
| 27796 | |||
| 27797 | } | ||
| 27798 | }; | ||
| 27799 | @gather; | ||
| 27800 | } | ||
| 27801 | }))) { | ||
| 27802 | $C | ||
| 27803 | } else { () } | ||
| 27804 | }))) { ($C) } else { () } | ||
| 27805 | } | ||
| 27806 | )[$try])->($C); | ||
| 27807 | last if @gather; | ||
| 27808 | last if $xact->[-2]; # committed? | ||
| 27809 | } | ||
| 27810 | @gather; | ||
| 27811 | }; | ||
| 27812 | }))) { | ||
| 27813 | $C | ||
| 27814 | } else { () } | ||
| 27815 | |||
| 27816 | }); | ||
| 27817 | } | ||
| 27818 | ; | ||
| 27819 | ## token p5backslash:p { :i <sym> '{' <[\w:]>+ '}' } | ||
| 27820 | sub p5backslash__S_028p__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_028p', $retree) } | ||
| 27821 | sub p5backslash__S_028p { | ||
| 27822 | no warnings 'recursion'; | ||
| 27823 | my $self = shift; | ||
| 27824 | |||
| 27825 | |||
| 27826 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27827 | |||
| 27828 | my $C = $self->cursor_xact("RULE p5backslash__S_028p"); | ||
| 27829 | my $xact = $C->xact; | ||
| 27830 | my $S = $C->{'_pos'}; | ||
| 27831 | $C->{sym} = "p"; | ||
| 27832 | $self->_MATCHIFYr($S, "p5backslash__S_028p", $C->_PATTERN(qr/\G(?i:p)(?i:\{)(?i:[\w:])++(?i:\})/)); | ||
| 27833 | } | ||
| 27834 | ; | ||
| 27835 | ## token p5backslash:Q { <sym> } | ||
| 27836 | sub p5backslash__S_029Q__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_029Q', $retree) } | ||
| 27837 | sub p5backslash__S_029Q { | ||
| 27838 | no warnings 'recursion'; | ||
| 27839 | my $self = shift; | ||
| 27840 | |||
| 27841 | |||
| 27842 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27843 | |||
| 27844 | my $C = $self->cursor_xact("RULE p5backslash__S_029Q"); | ||
| 27845 | my $xact = $C->xact; | ||
| 27846 | my $S = $C->{'_pos'}; | ||
| 27847 | $C->{sym} = "Q"; | ||
| 27848 | $self->_MATCHIFYr($S, "p5backslash__S_029Q", $C->_EXACT("Q")); | ||
| 27849 | } | ||
| 27850 | ; | ||
| 27851 | ## token p5backslash:r { :i <sym> } | ||
| 27852 | sub p5backslash__S_030r__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_030r', $retree) } | ||
| 27853 | sub p5backslash__S_030r { | ||
| 27854 | no warnings 'recursion'; | ||
| 27855 | my $self = shift; | ||
| 27856 | |||
| 27857 | |||
| 27858 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27859 | |||
| 27860 | my $C = $self->cursor_xact("RULE p5backslash__S_030r"); | ||
| 27861 | my $xact = $C->xact; | ||
| 27862 | my $S = $C->{'_pos'}; | ||
| 27863 | $C->{sym} = "r"; | ||
| 27864 | $self->_MATCHIFYr($S, "p5backslash__S_030r", $C->_PATTERN(qr/\G(?i:r)/)); | ||
| 27865 | } | ||
| 27866 | ; | ||
| 27867 | ## token p5backslash:s { :i <sym> } | ||
| 27868 | sub p5backslash__S_031s__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_031s', $retree) } | ||
| 27869 | sub p5backslash__S_031s { | ||
| 27870 | no warnings 'recursion'; | ||
| 27871 | my $self = shift; | ||
| 27872 | |||
| 27873 | |||
| 27874 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27875 | |||
| 27876 | my $C = $self->cursor_xact("RULE p5backslash__S_031s"); | ||
| 27877 | my $xact = $C->xact; | ||
| 27878 | my $S = $C->{'_pos'}; | ||
| 27879 | $C->{sym} = "s"; | ||
| 27880 | $self->_MATCHIFYr($S, "p5backslash__S_031s", $C->_PATTERN(qr/\G(?i:s)/)); | ||
| 27881 | } | ||
| 27882 | ; | ||
| 27883 | ## token p5backslash:t { :i <sym> } | ||
| 27884 | sub p5backslash__S_032t__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_032t', $retree) } | ||
| 27885 | sub p5backslash__S_032t { | ||
| 27886 | no warnings 'recursion'; | ||
| 27887 | my $self = shift; | ||
| 27888 | |||
| 27889 | |||
| 27890 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27891 | |||
| 27892 | my $C = $self->cursor_xact("RULE p5backslash__S_032t"); | ||
| 27893 | my $xact = $C->xact; | ||
| 27894 | my $S = $C->{'_pos'}; | ||
| 27895 | $C->{sym} = "t"; | ||
| 27896 | $self->_MATCHIFYr($S, "p5backslash__S_032t", $C->_PATTERN(qr/\G(?i:t)/)); | ||
| 27897 | } | ||
| 27898 | ; | ||
| 27899 | ## token p5backslash:u { :i <sym> } | ||
| 27900 | sub p5backslash__S_033u__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_033u', $retree) } | ||
| 27901 | sub p5backslash__S_033u { | ||
| 27902 | no warnings 'recursion'; | ||
| 27903 | my $self = shift; | ||
| 27904 | |||
| 27905 | |||
| 27906 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27907 | |||
| 27908 | my $C = $self->cursor_xact("RULE p5backslash__S_033u"); | ||
| 27909 | my $xact = $C->xact; | ||
| 27910 | my $S = $C->{'_pos'}; | ||
| 27911 | $C->{sym} = "u"; | ||
| 27912 | $self->_MATCHIFYr($S, "p5backslash__S_033u", $C->_PATTERN(qr/\G(?i:u)/)); | ||
| 27913 | } | ||
| 27914 | ; | ||
| 27915 | ## token p5backslash:v { :i <sym> } | ||
| 27916 | sub p5backslash__S_034v__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_034v', $retree) } | ||
| 27917 | sub p5backslash__S_034v { | ||
| 27918 | no warnings 'recursion'; | ||
| 27919 | my $self = shift; | ||
| 27920 | |||
| 27921 | |||
| 27922 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27923 | |||
| 27924 | my $C = $self->cursor_xact("RULE p5backslash__S_034v"); | ||
| 27925 | my $xact = $C->xact; | ||
| 27926 | my $S = $C->{'_pos'}; | ||
| 27927 | $C->{sym} = "v"; | ||
| 27928 | $self->_MATCHIFYr($S, "p5backslash__S_034v", $C->_PATTERN(qr/\G(?i:v)/)); | ||
| 27929 | } | ||
| 27930 | ; | ||
| 27931 | ## token p5backslash:w { :i <sym> } | ||
| 27932 | sub p5backslash__S_035w__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_035w', $retree) } | ||
| 27933 | sub p5backslash__S_035w { | ||
| 27934 | no warnings 'recursion'; | ||
| 27935 | my $self = shift; | ||
| 27936 | |||
| 27937 | |||
| 27938 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27939 | |||
| 27940 | my $C = $self->cursor_xact("RULE p5backslash__S_035w"); | ||
| 27941 | my $xact = $C->xact; | ||
| 27942 | my $S = $C->{'_pos'}; | ||
| 27943 | $C->{sym} = "w"; | ||
| 27944 | $self->_MATCHIFYr($S, "p5backslash__S_035w", $C->_PATTERN(qr/\G(?i:w)/)); | ||
| 27945 | } | ||
| 27946 | ; | ||
| 27947 | ## token p5backslash:x { :i :dba('hex character') <sym> [ <hexint> | '{' ~ '}' <hexints> ] } | ||
| 27948 | sub p5backslash__S_036x__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_036x', $retree) } | ||
| 27949 | sub p5backslash__S_036x { | ||
| 27950 | no warnings 'recursion'; | ||
| 27951 | my $self = shift; | ||
| 27952 | |||
| 27953 | |||
| 27954 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 27955 | |||
| 27956 | my $C = $self->cursor_xact("RULE p5backslash__S_036x"); | ||
| 27957 | my $xact = $C->xact; | ||
| 27958 | my $S = $C->{'_pos'}; | ||
| 27959 | $C->{sym} = "x"; | ||
| 27960 | $self->_MATCHIFYr($S, "p5backslash__S_036x", do { | ||
| 27961 | my $C = $C; | ||
| 27962 | if (($C) = ($C->_PATTERN(qr/\G(?i:x)/)) | ||
| 27963 | and ($C) = ($C->_BRACKETr(sub { | ||
| 27964 | my $C=shift; | ||
| 27965 | do { | ||
| 27966 | my ($tag, $try); | ||
| 27967 | my @try; | ||
| 27968 | my $relex; | ||
| 27969 | |||
| 27970 | my $fate; | ||
| 27971 | my $x; | ||
| 27972 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5backslash__S_036x_0') { | ||
| 27973 | $C->deb("Fate passed to p5backslash__S_036x_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 27974 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 27975 | @try = ($try); | ||
| 27976 | $x = 'ALT p5backslash__S_036x_0'; # some outer ltm is controlling us | ||
| 27977 | } | ||
| 27978 | else { | ||
| 27979 | $x = 'ALTLTM p5backslash__S_036x_0'; # we are top level ltm | ||
| 27980 | } | ||
| 27981 | my $C = $C->cursor_xact($x); | ||
| 27982 | my $xact = $C->{_xact}; | ||
| 27983 | |||
| 27984 | my @gather = (); | ||
| 27985 | for (;;) { | ||
| 27986 | unless (@try) { | ||
| 27987 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5backslash__S_036x_0', $retree); | ||
| 27988 | @try = $relex->($C) or last; | ||
| 27989 | } | ||
| 27990 | $try = shift(@try) // next; | ||
| 27991 | |||
| 27992 | if (ref $try) { | ||
| 27993 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 27994 | } | ||
| 27995 | |||
| 27996 | $C->deb("p5backslash__S_036x_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 27997 | push @gather, (( | ||
| 27998 | sub { | ||
| 27999 | my $C=shift; | ||
| 28000 | $C->_SUBSUMEr(['hexint'], sub { | ||
| 28001 | my $C = shift; | ||
| 28002 | $C->hexint | ||
| 28003 | }) | ||
| 28004 | }, | ||
| 28005 | sub { | ||
| 28006 | my $C=shift; | ||
| 28007 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 28008 | my $C=shift; | ||
| 28009 | local $::GOAL = "\}"; | ||
| 28010 | my $goalpos = $C; | ||
| 28011 | if (($C) = ($C->_PATTERN(qr/\G(?i:\{)/)) | ||
| 28012 | and ($C) = (scalar(do { | ||
| 28013 | }, $C)) | ||
| 28014 | and ($C) = ($C->_SUBSUMEr(['hexints'], sub { | ||
| 28015 | my $C = shift; | ||
| 28016 | $C->hexints | ||
| 28017 | })) | ||
| 28018 | and ($C) = ($C->_BRACKETr(sub { | ||
| 28019 | my $C=shift; | ||
| 28020 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 28021 | my $xact = $C->xact; | ||
| 28022 | my @gather; | ||
| 28023 | do { | ||
| 28024 | push @gather, $C->_PATTERN(qr/\G(?i:\})/) | ||
| 28025 | } | ||
| 28026 | or $xact->[-2] or | ||
| 28027 | do { | ||
| 28028 | push @gather, do { | ||
| 28029 | if (my ($C) = ($C->FAILGOAL($::GOAL, 'hex character', $goalpos))) { ($C) } else { () } | ||
| 28030 | |||
| 28031 | } | ||
| 28032 | }; | ||
| 28033 | @gather; | ||
| 28034 | } | ||
| 28035 | }))) { | ||
| 28036 | $C | ||
| 28037 | } else { () } | ||
| 28038 | }))) { ($C) } else { () } | ||
| 28039 | } | ||
| 28040 | )[$try])->($C); | ||
| 28041 | last if @gather; | ||
| 28042 | last if $xact->[-2]; # committed? | ||
| 28043 | } | ||
| 28044 | @gather; | ||
| 28045 | }; | ||
| 28046 | }))) { | ||
| 28047 | $C | ||
| 28048 | } else { () } | ||
| 28049 | |||
| 28050 | }); | ||
| 28051 | } | ||
| 28052 | ; | ||
| 28053 | ## token p5backslash:z { :i <sym> } | ||
| 28054 | sub p5backslash__S_037z__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_037z', $retree) } | ||
| 28055 | sub p5backslash__S_037z { | ||
| 28056 | no warnings 'recursion'; | ||
| 28057 | my $self = shift; | ||
| 28058 | |||
| 28059 | |||
| 28060 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28061 | |||
| 28062 | my $C = $self->cursor_xact("RULE p5backslash__S_037z"); | ||
| 28063 | my $xact = $C->xact; | ||
| 28064 | my $S = $C->{'_pos'}; | ||
| 28065 | $C->{sym} = "z"; | ||
| 28066 | $self->_MATCHIFYr($S, "p5backslash__S_037z", $C->_PATTERN(qr/\G(?i:z)/)); | ||
| 28067 | } | ||
| 28068 | ; | ||
| 28069 | ## token p5backslash:misc { $<litchar>=(\W) | $<number>=(\d+) } | ||
| 28070 | sub p5backslash__S_038misc__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_038misc', $retree) } | ||
| 28071 | sub p5backslash__S_038misc { | ||
| 28072 | no warnings 'recursion'; | ||
| 28073 | my $self = shift; | ||
| 28074 | |||
| 28075 | |||
| 28076 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28077 | |||
| 28078 | my $C = $self->cursor_xact("RULE p5backslash__S_038misc"); | ||
| 28079 | my $xact = $C->xact; | ||
| 28080 | my $S = $C->{'_pos'}; | ||
| 28081 | $C->{sym} = "misc"; | ||
| 28082 | $self->_MATCHIFYr($S, "p5backslash__S_038misc", do { | ||
| 28083 | do { | ||
| 28084 | my ($tag, $try); | ||
| 28085 | my @try; | ||
| 28086 | my $relex; | ||
| 28087 | |||
| 28088 | my $fate; | ||
| 28089 | my $x; | ||
| 28090 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5backslash__S_038misc_0') { | ||
| 28091 | $C->deb("Fate passed to p5backslash__S_038misc_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 28092 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 28093 | @try = ($try); | ||
| 28094 | $x = 'ALT p5backslash__S_038misc_0'; # some outer ltm is controlling us | ||
| 28095 | } | ||
| 28096 | else { | ||
| 28097 | $x = 'ALTLTM p5backslash__S_038misc_0'; # we are top level ltm | ||
| 28098 | } | ||
| 28099 | my $C = $C->cursor_xact($x); | ||
| 28100 | my $xact = $C->{_xact}; | ||
| 28101 | |||
| 28102 | my @gather = (); | ||
| 28103 | for (;;) { | ||
| 28104 | unless (@try) { | ||
| 28105 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5backslash__S_038misc_0', $retree); | ||
| 28106 | @try = $relex->($C) or last; | ||
| 28107 | } | ||
| 28108 | $try = shift(@try) // next; | ||
| 28109 | |||
| 28110 | if (ref $try) { | ||
| 28111 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 28112 | } | ||
| 28113 | |||
| 28114 | $C->deb("p5backslash__S_038misc_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 28115 | push @gather, (( | ||
| 28116 | sub { | ||
| 28117 | my $C=shift; | ||
| 28118 | $C->_SUBSUMEr(['litchar'], sub { | ||
| 28119 | my $C = shift; | ||
| 28120 | $C->_PAREN( sub { | ||
| 28121 | my $C=shift; | ||
| 28122 | $C->_PATTERN(qr/\G\W/) | ||
| 28123 | |||
| 28124 | }) | ||
| 28125 | }) | ||
| 28126 | }, | ||
| 28127 | sub { | ||
| 28128 | my $C=shift; | ||
| 28129 | $C->_SUBSUMEr(['number'], sub { | ||
| 28130 | my $C = shift; | ||
| 28131 | $C->_PAREN( sub { | ||
| 28132 | my $C=shift; | ||
| 28133 | $C->_PATTERN(qr/\G\d++/) | ||
| 28134 | |||
| 28135 | }) | ||
| 28136 | }) | ||
| 28137 | } | ||
| 28138 | )[$try])->($C); | ||
| 28139 | last if @gather; | ||
| 28140 | last if $xact->[-2]; # committed? | ||
| 28141 | } | ||
| 28142 | @gather; | ||
| 28143 | }; | ||
| 28144 | |||
| 28145 | }); | ||
| 28146 | } | ||
| 28147 | ; | ||
| 28148 | ## token p5backslash:oops { <.panic: "Unrecognized Perl 5 regex backslash sequence"> } | ||
| 28149 | sub p5backslash__S_039oops__PEEK { $_[0]->_AUTOLEXpeek('p5backslash__S_039oops', $retree) } | ||
| 28150 | sub p5backslash__S_039oops { | ||
| 28151 | no warnings 'recursion'; | ||
| 28152 | my $self = shift; | ||
| 28153 | |||
| 28154 | |||
| 28155 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28156 | |||
| 28157 | my $C = $self->cursor_xact("RULE p5backslash__S_039oops"); | ||
| 28158 | my $xact = $C->xact; | ||
| 28159 | my $S = $C->{'_pos'}; | ||
| 28160 | $C->{sym} = "oops"; | ||
| 28161 | $self->_MATCHIFYr($S, "p5backslash__S_039oops", $C->panic("Unrecognized Perl 5 regex backslash sequence")); | ||
| 28162 | } | ||
| 28163 | ; | ||
| 28164 | ## token p5assertion:sym<?> { <sym> <codeblock> } | ||
| 28165 | sub p5assertion__S_040Question__PEEK { $_[0]->_AUTOLEXpeek('p5assertion__S_040Question', $retree) } | ||
| 28166 | sub p5assertion__S_040Question { | ||
| 28167 | no warnings 'recursion'; | ||
| 28168 | my $self = shift; | ||
| 28169 | |||
| 28170 | |||
| 28171 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28172 | |||
| 28173 | my $C = $self->cursor_xact("RULE p5assertion__S_040Question"); | ||
| 28174 | my $xact = $C->xact; | ||
| 28175 | my $S = $C->{'_pos'}; | ||
| 28176 | $C->{sym} = "\?"; | ||
| 28177 | $self->_MATCHIFYr($S, "p5assertion__S_040Question", do { | ||
| 28178 | if (my ($C) = ($C->_EXACT("\?"))) { | ||
| 28179 | $C->_SUBSUMEr(['codeblock'], sub { | ||
| 28180 | my $C = shift; | ||
| 28181 | $C->codeblock | ||
| 28182 | }) | ||
| 28183 | } else { () } | ||
| 28184 | |||
| 28185 | }); | ||
| 28186 | } | ||
| 28187 | ; | ||
| 28188 | ## token p5assertion:sym<{ }> { <codeblock> } | ||
| 28189 | sub p5assertion__S_041Cur_Ly__PEEK { $_[0]->_AUTOLEXpeek('p5assertion__S_041Cur_Ly', $retree) } | ||
| 28190 | sub p5assertion__S_041Cur_Ly { | ||
| 28191 | no warnings 'recursion'; | ||
| 28192 | my $self = shift; | ||
| 28193 | |||
| 28194 | |||
| 28195 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28196 | |||
| 28197 | my $C = $self->cursor_xact("RULE p5assertion__S_041Cur_Ly"); | ||
| 28198 | my $xact = $C->xact; | ||
| 28199 | my $S = $C->{'_pos'}; | ||
| 28200 | $C->{sym} = "\{\ \}"; | ||
| 28201 | $self->_MATCHIFYr($S, "p5assertion__S_041Cur_Ly", $C->_SUBSUMEr(['codeblock'], sub { | ||
| 28202 | my $C = shift; | ||
| 28203 | $C->codeblock | ||
| 28204 | })); | ||
| 28205 | } | ||
| 28206 | ; | ||
| 28207 | ## token p5assertion:sym«<» { <sym> <?before '=' | '!'> <assertion=p5assertion> } | ||
| 28208 | sub p5assertion__S_042Lt__PEEK { $_[0]->_AUTOLEXpeek('p5assertion__S_042Lt', $retree) } | ||
| 28209 | sub p5assertion__S_042Lt { | ||
| 28210 | no warnings 'recursion'; | ||
| 28211 | my $self = shift; | ||
| 28212 | |||
| 28213 | |||
| 28214 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28215 | |||
| 28216 | my $C = $self->cursor_xact("RULE p5assertion__S_042Lt"); | ||
| 28217 | my $xact = $C->xact; | ||
| 28218 | my $S = $C->{'_pos'}; | ||
| 28219 | $C->{sym} = "\<"; | ||
| 28220 | $self->_MATCHIFYr($S, "p5assertion__S_042Lt", do { | ||
| 28221 | my $C = $C; | ||
| 28222 | if (($C) = ($C->_EXACT("\<")) | ||
| 28223 | and ($C) = ($C->before(sub { | ||
| 28224 | my $C=shift; | ||
| 28225 | if (my ($C) = ($C->before(sub { | ||
| 28226 | my $C=shift; | ||
| 28227 | if (my ($C) = (do { | ||
| 28228 | do { | ||
| 28229 | my ($tag, $try); | ||
| 28230 | my @try; | ||
| 28231 | my $relex; | ||
| 28232 | |||
| 28233 | my $fate; | ||
| 28234 | my $x; | ||
| 28235 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5assertion__S_042Lt_0') { | ||
| 28236 | $C->deb("Fate passed to p5assertion__S_042Lt_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 28237 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 28238 | @try = ($try); | ||
| 28239 | $x = 'ALT p5assertion__S_042Lt_0'; # some outer ltm is controlling us | ||
| 28240 | } | ||
| 28241 | else { | ||
| 28242 | $x = 'ALTLTM p5assertion__S_042Lt_0'; # we are top level ltm | ||
| 28243 | } | ||
| 28244 | my $C = $C->cursor_xact($x); | ||
| 28245 | my $xact = $C->{_xact}; | ||
| 28246 | |||
| 28247 | my @gather = (); | ||
| 28248 | for (;;) { | ||
| 28249 | unless (@try) { | ||
| 28250 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5assertion__S_042Lt_0', $retree); | ||
| 28251 | @try = $relex->($C) or last; | ||
| 28252 | } | ||
| 28253 | $try = shift(@try) // next; | ||
| 28254 | |||
| 28255 | if (ref $try) { | ||
| 28256 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 28257 | } | ||
| 28258 | |||
| 28259 | $C->deb("p5assertion__S_042Lt_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 28260 | push @gather, (( | ||
| 28261 | sub { | ||
| 28262 | my $C=shift; | ||
| 28263 | $C->_EXACT("\=") | ||
| 28264 | }, | ||
| 28265 | sub { | ||
| 28266 | my $C=shift; | ||
| 28267 | $C->_EXACT("\!") | ||
| 28268 | } | ||
| 28269 | )[$try])->($C); | ||
| 28270 | last if @gather; | ||
| 28271 | last if $xact->[-2]; # committed? | ||
| 28272 | } | ||
| 28273 | @gather; | ||
| 28274 | }; | ||
| 28275 | |||
| 28276 | })) { ($C) } else { () } | ||
| 28277 | }))) { ($C) } else { () } | ||
| 28278 | }))) { | ||
| 28279 | $C->_SUBSUMEr(['assertion','p5assertion'], sub { | ||
| 28280 | my $C = shift; | ||
| 28281 | $C->p5assertion | ||
| 28282 | }) | ||
| 28283 | } else { () } | ||
| 28284 | |||
| 28285 | }); | ||
| 28286 | } | ||
| 28287 | ; | ||
| 28288 | ## token p5assertion:sym<=> { <sym> [ <?before ')'> | <rx> ] } | ||
| 28289 | sub p5assertion__S_043Equal__PEEK { $_[0]->_AUTOLEXpeek('p5assertion__S_043Equal', $retree) } | ||
| 28290 | sub p5assertion__S_043Equal { | ||
| 28291 | no warnings 'recursion'; | ||
| 28292 | my $self = shift; | ||
| 28293 | |||
| 28294 | |||
| 28295 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28296 | |||
| 28297 | my $C = $self->cursor_xact("RULE p5assertion__S_043Equal"); | ||
| 28298 | my $xact = $C->xact; | ||
| 28299 | my $S = $C->{'_pos'}; | ||
| 28300 | $C->{sym} = "\="; | ||
| 28301 | $self->_MATCHIFYr($S, "p5assertion__S_043Equal", do { | ||
| 28302 | my $C = $C; | ||
| 28303 | if (($C) = ($C->_EXACT("\=")) | ||
| 28304 | and ($C) = ($C->_BRACKETr(sub { | ||
| 28305 | my $C=shift; | ||
| 28306 | do { | ||
| 28307 | my ($tag, $try); | ||
| 28308 | my @try; | ||
| 28309 | my $relex; | ||
| 28310 | |||
| 28311 | my $fate; | ||
| 28312 | my $x; | ||
| 28313 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5assertion__S_043Equal_0') { | ||
| 28314 | $C->deb("Fate passed to p5assertion__S_043Equal_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 28315 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 28316 | @try = ($try); | ||
| 28317 | $x = 'ALT p5assertion__S_043Equal_0'; # some outer ltm is controlling us | ||
| 28318 | } | ||
| 28319 | else { | ||
| 28320 | $x = 'ALTLTM p5assertion__S_043Equal_0'; # we are top level ltm | ||
| 28321 | } | ||
| 28322 | my $C = $C->cursor_xact($x); | ||
| 28323 | my $xact = $C->{_xact}; | ||
| 28324 | |||
| 28325 | my @gather = (); | ||
| 28326 | for (;;) { | ||
| 28327 | unless (@try) { | ||
| 28328 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5assertion__S_043Equal_0', $retree); | ||
| 28329 | @try = $relex->($C) or last; | ||
| 28330 | } | ||
| 28331 | $try = shift(@try) // next; | ||
| 28332 | |||
| 28333 | if (ref $try) { | ||
| 28334 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 28335 | } | ||
| 28336 | |||
| 28337 | $C->deb("p5assertion__S_043Equal_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 28338 | push @gather, (( | ||
| 28339 | sub { | ||
| 28340 | my $C=shift; | ||
| 28341 | if (my ($C) = ($C->before(sub { | ||
| 28342 | my $C=shift; | ||
| 28343 | if (my ($C) = ($C->before(sub { | ||
| 28344 | my $C=shift; | ||
| 28345 | $C->_EXACT("\)") | ||
| 28346 | }))) { ($C) } else { () } | ||
| 28347 | }))) { ($C) } else { () } | ||
| 28348 | }, | ||
| 28349 | sub { | ||
| 28350 | my $C=shift; | ||
| 28351 | $C->_SUBSUMEr(['rx'], sub { | ||
| 28352 | my $C = shift; | ||
| 28353 | $C->rx | ||
| 28354 | }) | ||
| 28355 | } | ||
| 28356 | )[$try])->($C); | ||
| 28357 | last if @gather; | ||
| 28358 | last if $xact->[-2]; # committed? | ||
| 28359 | } | ||
| 28360 | @gather; | ||
| 28361 | }; | ||
| 28362 | }))) { | ||
| 28363 | $C | ||
| 28364 | } else { () } | ||
| 28365 | |||
| 28366 | }); | ||
| 28367 | } | ||
| 28368 | ; | ||
| 28369 | ## token p5assertion:sym<!> { <sym> [ <?before ')'> | <rx> ] } | ||
| 28370 | sub p5assertion__S_044Bang__PEEK { $_[0]->_AUTOLEXpeek('p5assertion__S_044Bang', $retree) } | ||
| 28371 | sub p5assertion__S_044Bang { | ||
| 28372 | no warnings 'recursion'; | ||
| 28373 | my $self = shift; | ||
| 28374 | |||
| 28375 | |||
| 28376 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28377 | |||
| 28378 | my $C = $self->cursor_xact("RULE p5assertion__S_044Bang"); | ||
| 28379 | my $xact = $C->xact; | ||
| 28380 | my $S = $C->{'_pos'}; | ||
| 28381 | $C->{sym} = "\!"; | ||
| 28382 | $self->_MATCHIFYr($S, "p5assertion__S_044Bang", do { | ||
| 28383 | my $C = $C; | ||
| 28384 | if (($C) = ($C->_EXACT("\!")) | ||
| 28385 | and ($C) = ($C->_BRACKETr(sub { | ||
| 28386 | my $C=shift; | ||
| 28387 | do { | ||
| 28388 | my ($tag, $try); | ||
| 28389 | my @try; | ||
| 28390 | my $relex; | ||
| 28391 | |||
| 28392 | my $fate; | ||
| 28393 | my $x; | ||
| 28394 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5assertion__S_044Bang_0') { | ||
| 28395 | $C->deb("Fate passed to p5assertion__S_044Bang_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 28396 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 28397 | @try = ($try); | ||
| 28398 | $x = 'ALT p5assertion__S_044Bang_0'; # some outer ltm is controlling us | ||
| 28399 | } | ||
| 28400 | else { | ||
| 28401 | $x = 'ALTLTM p5assertion__S_044Bang_0'; # we are top level ltm | ||
| 28402 | } | ||
| 28403 | my $C = $C->cursor_xact($x); | ||
| 28404 | my $xact = $C->{_xact}; | ||
| 28405 | |||
| 28406 | my @gather = (); | ||
| 28407 | for (;;) { | ||
| 28408 | unless (@try) { | ||
| 28409 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5assertion__S_044Bang_0', $retree); | ||
| 28410 | @try = $relex->($C) or last; | ||
| 28411 | } | ||
| 28412 | $try = shift(@try) // next; | ||
| 28413 | |||
| 28414 | if (ref $try) { | ||
| 28415 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 28416 | } | ||
| 28417 | |||
| 28418 | $C->deb("p5assertion__S_044Bang_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 28419 | push @gather, (( | ||
| 28420 | sub { | ||
| 28421 | my $C=shift; | ||
| 28422 | if (my ($C) = ($C->before(sub { | ||
| 28423 | my $C=shift; | ||
| 28424 | if (my ($C) = ($C->before(sub { | ||
| 28425 | my $C=shift; | ||
| 28426 | $C->_EXACT("\)") | ||
| 28427 | }))) { ($C) } else { () } | ||
| 28428 | }))) { ($C) } else { () } | ||
| 28429 | }, | ||
| 28430 | sub { | ||
| 28431 | my $C=shift; | ||
| 28432 | $C->_SUBSUMEr(['rx'], sub { | ||
| 28433 | my $C = shift; | ||
| 28434 | $C->rx | ||
| 28435 | }) | ||
| 28436 | } | ||
| 28437 | )[$try])->($C); | ||
| 28438 | last if @gather; | ||
| 28439 | last if $xact->[-2]; # committed? | ||
| 28440 | } | ||
| 28441 | @gather; | ||
| 28442 | }; | ||
| 28443 | }))) { | ||
| 28444 | $C | ||
| 28445 | } else { () } | ||
| 28446 | |||
| 28447 | }); | ||
| 28448 | } | ||
| 28449 | ; | ||
| 28450 | ## token p5assertion:sym«>» { <sym> <rx> } | ||
| 28451 | sub p5assertion__S_045Gt__PEEK { $_[0]->_AUTOLEXpeek('p5assertion__S_045Gt', $retree) } | ||
| 28452 | sub p5assertion__S_045Gt { | ||
| 28453 | no warnings 'recursion'; | ||
| 28454 | my $self = shift; | ||
| 28455 | |||
| 28456 | |||
| 28457 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28458 | |||
| 28459 | my $C = $self->cursor_xact("RULE p5assertion__S_045Gt"); | ||
| 28460 | my $xact = $C->xact; | ||
| 28461 | my $S = $C->{'_pos'}; | ||
| 28462 | $C->{sym} = "\>"; | ||
| 28463 | $self->_MATCHIFYr($S, "p5assertion__S_045Gt", do { | ||
| 28464 | if (my ($C) = ($C->_EXACT("\>"))) { | ||
| 28465 | $C->_SUBSUMEr(['rx'], sub { | ||
| 28466 | my $C = shift; | ||
| 28467 | $C->rx | ||
| 28468 | }) | ||
| 28469 | } else { () } | ||
| 28470 | |||
| 28471 | }); | ||
| 28472 | } | ||
| 28473 | ; | ||
| 28474 | ## token rx { | ||
| 28475 | sub rx__PEEK { $_[0]->_AUTOLEXpeek('rx', $retree) } | ||
| 28476 | sub rx { | ||
| 28477 | no warnings 'recursion'; | ||
| 28478 | my $self = shift; | ||
| 28479 | |||
| 28480 | |||
| 28481 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28482 | |||
| 28483 | my $C = $self->cursor_xact("RULE rx"); | ||
| 28484 | my $xact = $C->xact; | ||
| 28485 | my $S = $C->{'_pos'}; | ||
| 28486 | $self->_MATCHIFYr($S, "rx", do { | ||
| 28487 | my $C = $C; | ||
| 28488 | if (($C) = ($C->_SUBSUMEr(['nibbler'], sub { | ||
| 28489 | my $C = shift; | ||
| 28490 | $C->nibbler | ||
| 28491 | })) | ||
| 28492 | and ($C) = ($C->_BRACKETr(sub { | ||
| 28493 | my $C=shift; | ||
| 28494 | do { my $C = $C->cursor_xact('ALT ||'); | ||
| 28495 | my $xact = $C->xact; | ||
| 28496 | my @gather; | ||
| 28497 | do { | ||
| 28498 | push @gather, do { | ||
| 28499 | if (my ($C) = ($C->before(sub { | ||
| 28500 | my $C=shift; | ||
| 28501 | if (my ($C) = ($C->before(sub { | ||
| 28502 | my $C=shift; | ||
| 28503 | $C->_EXACT("\)") | ||
| 28504 | }))) { ($C) } else { () } | ||
| 28505 | }))) { ($C) } else { () } | ||
| 28506 | |||
| 28507 | } | ||
| 28508 | } | ||
| 28509 | or $xact->[-2] or | ||
| 28510 | do { | ||
| 28511 | push @gather, do { | ||
| 28512 | if (my ($C) = ($C->panic("Unable to parse Perl 5 regex; couldn't find right parenthesis"))) { ($C) } else { () } | ||
| 28513 | |||
| 28514 | } | ||
| 28515 | }; | ||
| 28516 | @gather; | ||
| 28517 | } | ||
| 28518 | }))) { | ||
| 28519 | $C | ||
| 28520 | } else { () } | ||
| 28521 | |||
| 28522 | }); | ||
| 28523 | } | ||
| 28524 | ; | ||
| 28525 | ## token p5mod { <[imox]>* } | ||
| 28526 | sub p5mod__PEEK { $_[0]->_AUTOLEXpeek('p5mod', $retree) } | ||
| 28527 | sub p5mod { | ||
| 28528 | no warnings 'recursion'; | ||
| 28529 | my $self = shift; | ||
| 28530 | |||
| 28531 | |||
| 28532 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28533 | |||
| 28534 | my $C = $self->cursor_xact("RULE p5mod"); | ||
| 28535 | my $xact = $C->xact; | ||
| 28536 | my $S = $C->{'_pos'}; | ||
| 28537 | $self->_MATCHIFYr($S, "p5mod", $C->_PATTERN(qr/\G(?:[imox])*+/)); | ||
| 28538 | } | ||
| 28539 | ; | ||
| 28540 | ## token p5mods { <on=p5mod> [ '-' <off=p5mod> ]? } | ||
| 28541 | sub p5mods__PEEK { $_[0]->_AUTOLEXpeek('p5mods', $retree) } | ||
| 28542 | sub p5mods { | ||
| 28543 | no warnings 'recursion'; | ||
| 28544 | my $self = shift; | ||
| 28545 | |||
| 28546 | |||
| 28547 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28548 | |||
| 28549 | my $C = $self->cursor_xact("RULE p5mods"); | ||
| 28550 | my $xact = $C->xact; | ||
| 28551 | my $S = $C->{'_pos'}; | ||
| 28552 | $C->{'off'} = []; | ||
| 28553 | $C->{'p5mod'} = []; | ||
| 28554 | $self->_MATCHIFYr($S, "p5mods", do { | ||
| 28555 | if (my ($C) = ($C->_SUBSUMEr(['on','p5mod'], sub { | ||
| 28556 | my $C = shift; | ||
| 28557 | $C->p5mod | ||
| 28558 | }))) { | ||
| 28559 | $C->_OPTr(sub { | ||
| 28560 | my $C=shift; | ||
| 28561 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 28562 | my $C=shift; | ||
| 28563 | if (my ($C) = ($C->_EXACT("\-"))) { | ||
| 28564 | $C->_SUBSUMEr(['off','p5mod'], sub { | ||
| 28565 | my $C = shift; | ||
| 28566 | $C->p5mod | ||
| 28567 | }) | ||
| 28568 | } else { () } | ||
| 28569 | }))) { ($C) } else { () } | ||
| 28570 | }) | ||
| 28571 | } else { () } | ||
| 28572 | |||
| 28573 | }); | ||
| 28574 | } | ||
| 28575 | ; | ||
| 28576 | ## token p5assertion:mod { <mods=p5mods> [ # is qq right here? | ||
| 28577 | sub p5assertion__S_046mod__PEEK { $_[0]->_AUTOLEXpeek('p5assertion__S_046mod', $retree) } | ||
| 28578 | sub p5assertion__S_046mod { | ||
| 28579 | no warnings 'recursion'; | ||
| 28580 | my $self = shift; | ||
| 28581 | |||
| 28582 | |||
| 28583 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28584 | |||
| 28585 | my $C = $self->cursor_xact("RULE p5assertion__S_046mod"); | ||
| 28586 | my $xact = $C->xact; | ||
| 28587 | my $S = $C->{'_pos'}; | ||
| 28588 | $C->{'rx'} = []; | ||
| 28589 | $C->{sym} = "mod"; | ||
| 28590 | $self->_MATCHIFYr($S, "p5assertion__S_046mod", do { | ||
| 28591 | my $C = $C; | ||
| 28592 | if (($C) = ($C->_SUBSUMEr(['mods','p5mods'], sub { | ||
| 28593 | my $C = shift; | ||
| 28594 | $C->p5mods | ||
| 28595 | })) | ||
| 28596 | and ($C) = ($C->_BRACKETr(sub { | ||
| 28597 | my $C=shift; | ||
| 28598 | do { | ||
| 28599 | my ($tag, $try); | ||
| 28600 | my @try; | ||
| 28601 | my $relex; | ||
| 28602 | |||
| 28603 | my $fate; | ||
| 28604 | my $x; | ||
| 28605 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'p5assertion__S_046mod_0') { | ||
| 28606 | $C->deb("Fate passed to p5assertion__S_046mod_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 28607 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 28608 | @try = ($try); | ||
| 28609 | $x = 'ALT p5assertion__S_046mod_0'; # some outer ltm is controlling us | ||
| 28610 | } | ||
| 28611 | else { | ||
| 28612 | $x = 'ALTLTM p5assertion__S_046mod_0'; # we are top level ltm | ||
| 28613 | } | ||
| 28614 | my $C = $C->cursor_xact($x); | ||
| 28615 | my $xact = $C->{_xact}; | ||
| 28616 | |||
| 28617 | my @gather = (); | ||
| 28618 | for (;;) { | ||
| 28619 | unless (@try) { | ||
| 28620 | $relex //= $C->cursor_fate('STD::P5::Regex', 'p5assertion__S_046mod_0', $retree); | ||
| 28621 | @try = $relex->($C) or last; | ||
| 28622 | } | ||
| 28623 | $try = shift(@try) // next; | ||
| 28624 | |||
| 28625 | if (ref $try) { | ||
| 28626 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 28627 | } | ||
| 28628 | |||
| 28629 | $C->deb("p5assertion__S_046mod_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 28630 | push @gather, (( | ||
| 28631 | sub { | ||
| 28632 | my $C=shift; | ||
| 28633 | if (my ($C) = ($C->_EXACT("\:"))) { | ||
| 28634 | $C->_OPTr(sub { | ||
| 28635 | my $C=shift; | ||
| 28636 | $C->_SUBSUMEr(['rx'], sub { | ||
| 28637 | my $C = shift; | ||
| 28638 | $C->rx | ||
| 28639 | }) | ||
| 28640 | }) | ||
| 28641 | } else { () } | ||
| 28642 | }, | ||
| 28643 | sub { | ||
| 28644 | my $C=shift; | ||
| 28645 | if (my ($C) = ($C->before(sub { | ||
| 28646 | my $C=shift; | ||
| 28647 | if (my ($C) = ($C->before(sub { | ||
| 28648 | my $C=shift; | ||
| 28649 | $C->_EXACT("\)") | ||
| 28650 | }))) { ($C) } else { () } | ||
| 28651 | }))) { ($C) } else { () } | ||
| 28652 | } | ||
| 28653 | )[$try])->($C); | ||
| 28654 | last if @gather; | ||
| 28655 | last if $xact->[-2]; # committed? | ||
| 28656 | } | ||
| 28657 | @gather; | ||
| 28658 | }; | ||
| 28659 | }))) { | ||
| 28660 | $C | ||
| 28661 | } else { () } | ||
| 28662 | |||
| 28663 | }); | ||
| 28664 | } | ||
| 28665 | ; | ||
| 28666 | ## token p5assertion:bogus { <.panic: "Unrecognized Perl 5 regex assertion"> } | ||
| 28667 | sub p5assertion__S_047bogus__PEEK { $_[0]->_AUTOLEXpeek('p5assertion__S_047bogus', $retree) } | ||
| 28668 | sub p5assertion__S_047bogus { | ||
| 28669 | no warnings 'recursion'; | ||
| 28670 | my $self = shift; | ||
| 28671 | |||
| 28672 | |||
| 28673 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28674 | |||
| 28675 | my $C = $self->cursor_xact("RULE p5assertion__S_047bogus"); | ||
| 28676 | my $xact = $C->xact; | ||
| 28677 | my $S = $C->{'_pos'}; | ||
| 28678 | $C->{sym} = "bogus"; | ||
| 28679 | $self->_MATCHIFYr($S, "p5assertion__S_047bogus", $C->panic("Unrecognized Perl 5 regex assertion")); | ||
| 28680 | } | ||
| 28681 | ; | ||
| 28682 | ## token p5quantifier:sym<*> { <sym> <quantmod> } | ||
| 28683 | sub p5quantifier__S_048Star__PEEK { $_[0]->_AUTOLEXpeek('p5quantifier__S_048Star', $retree) } | ||
| 28684 | sub p5quantifier__S_048Star { | ||
| 28685 | no warnings 'recursion'; | ||
| 28686 | my $self = shift; | ||
| 28687 | |||
| 28688 | |||
| 28689 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28690 | |||
| 28691 | my $C = $self->cursor_xact("RULE p5quantifier__S_048Star"); | ||
| 28692 | my $xact = $C->xact; | ||
| 28693 | my $S = $C->{'_pos'}; | ||
| 28694 | $C->{sym} = "\*"; | ||
| 28695 | $self->_MATCHIFYr($S, "p5quantifier__S_048Star", do { | ||
| 28696 | if (my ($C) = ($C->_EXACT("\*"))) { | ||
| 28697 | $C->_SUBSUMEr(['quantmod'], sub { | ||
| 28698 | my $C = shift; | ||
| 28699 | $C->quantmod | ||
| 28700 | }) | ||
| 28701 | } else { () } | ||
| 28702 | |||
| 28703 | }); | ||
| 28704 | } | ||
| 28705 | ; | ||
| 28706 | ## token p5quantifier:sym<+> { <sym> <quantmod> } | ||
| 28707 | sub p5quantifier__S_049Plus__PEEK { $_[0]->_AUTOLEXpeek('p5quantifier__S_049Plus', $retree) } | ||
| 28708 | sub p5quantifier__S_049Plus { | ||
| 28709 | no warnings 'recursion'; | ||
| 28710 | my $self = shift; | ||
| 28711 | |||
| 28712 | |||
| 28713 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28714 | |||
| 28715 | my $C = $self->cursor_xact("RULE p5quantifier__S_049Plus"); | ||
| 28716 | my $xact = $C->xact; | ||
| 28717 | my $S = $C->{'_pos'}; | ||
| 28718 | $C->{sym} = "\+"; | ||
| 28719 | $self->_MATCHIFYr($S, "p5quantifier__S_049Plus", do { | ||
| 28720 | if (my ($C) = ($C->_EXACT("\+"))) { | ||
| 28721 | $C->_SUBSUMEr(['quantmod'], sub { | ||
| 28722 | my $C = shift; | ||
| 28723 | $C->quantmod | ||
| 28724 | }) | ||
| 28725 | } else { () } | ||
| 28726 | |||
| 28727 | }); | ||
| 28728 | } | ||
| 28729 | ; | ||
| 28730 | ## token p5quantifier:sym<?> { <sym> <quantmod> } | ||
| 28731 | sub p5quantifier__S_050Question__PEEK { $_[0]->_AUTOLEXpeek('p5quantifier__S_050Question', $retree) } | ||
| 28732 | sub p5quantifier__S_050Question { | ||
| 28733 | no warnings 'recursion'; | ||
| 28734 | my $self = shift; | ||
| 28735 | |||
| 28736 | |||
| 28737 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28738 | |||
| 28739 | my $C = $self->cursor_xact("RULE p5quantifier__S_050Question"); | ||
| 28740 | my $xact = $C->xact; | ||
| 28741 | my $S = $C->{'_pos'}; | ||
| 28742 | $C->{sym} = "\?"; | ||
| 28743 | $self->_MATCHIFYr($S, "p5quantifier__S_050Question", do { | ||
| 28744 | if (my ($C) = ($C->_EXACT("\?"))) { | ||
| 28745 | $C->_SUBSUMEr(['quantmod'], sub { | ||
| 28746 | my $C = shift; | ||
| 28747 | $C->quantmod | ||
| 28748 | }) | ||
| 28749 | } else { () } | ||
| 28750 | |||
| 28751 | }); | ||
| 28752 | } | ||
| 28753 | ; | ||
| 28754 | ## token p5quantifier:sym<{ }> { '{' \d+ [','\d*]? '}' <quantmod> } | ||
| 28755 | sub p5quantifier__S_051Cur_Ly__PEEK { $_[0]->_AUTOLEXpeek('p5quantifier__S_051Cur_Ly', $retree) } | ||
| 28756 | sub p5quantifier__S_051Cur_Ly { | ||
| 28757 | no warnings 'recursion'; | ||
| 28758 | my $self = shift; | ||
| 28759 | |||
| 28760 | |||
| 28761 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28762 | |||
| 28763 | my $C = $self->cursor_xact("RULE p5quantifier__S_051Cur_Ly"); | ||
| 28764 | my $xact = $C->xact; | ||
| 28765 | my $S = $C->{'_pos'}; | ||
| 28766 | $C->{sym} = "\{\ \}"; | ||
| 28767 | $self->_MATCHIFYr($S, "p5quantifier__S_051Cur_Ly", do { | ||
| 28768 | my $C = $C; | ||
| 28769 | if (($C) = ($C->_PATTERN(qr/\G\{\d++/)) | ||
| 28770 | and ($C) = ($C->_OPTr(sub { | ||
| 28771 | my $C=shift; | ||
| 28772 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 28773 | my $C=shift; | ||
| 28774 | $C->_PATTERN(qr/\G\,\d*+/) | ||
| 28775 | }))) { ($C) } else { () } | ||
| 28776 | })) | ||
| 28777 | and ($C) = ($C->_EXACT("\}"))) { | ||
| 28778 | $C->_SUBSUMEr(['quantmod'], sub { | ||
| 28779 | my $C = shift; | ||
| 28780 | $C->quantmod | ||
| 28781 | }) | ||
| 28782 | } else { () } | ||
| 28783 | |||
| 28784 | }); | ||
| 28785 | } | ||
| 28786 | ; | ||
| 28787 | ## token quantmod { [ '?' | '+' ]? } | ||
| 28788 | sub quantmod__PEEK { $_[0]->_AUTOLEXpeek('quantmod', $retree) } | ||
| 28789 | sub quantmod { | ||
| 28790 | no warnings 'recursion'; | ||
| 28791 | my $self = shift; | ||
| 28792 | |||
| 28793 | |||
| 28794 | local $::CTX = $self->callm() if $::DEBUG & DEBUG::trace_call; | ||
| 28795 | |||
| 28796 | my $C = $self->cursor_xact("RULE quantmod"); | ||
| 28797 | my $xact = $C->xact; | ||
| 28798 | my $S = $C->{'_pos'}; | ||
| 28799 | $self->_MATCHIFYr($S, "quantmod", $C->_OPTr(sub { | ||
| 28800 | my $C=shift; | ||
| 28801 | if (my ($C) = ($C->_BRACKETr(sub { | ||
| 28802 | my $C=shift; | ||
| 28803 | do { | ||
| 28804 | my ($tag, $try); | ||
| 28805 | my @try; | ||
| 28806 | my $relex; | ||
| 28807 | |||
| 28808 | my $fate; | ||
| 28809 | my $x; | ||
| 28810 | if ($fate = $C->{'_fate'} and $fate->[1] eq 'quantmod_0') { | ||
| 28811 | $C->deb("Fate passed to quantmod_0: ", ::fatestr($fate)) if $::DEBUG & DEBUG::fates; | ||
| 28812 | ($C->{'_fate'}, $tag, $try) = @$fate; | ||
| 28813 | @try = ($try); | ||
| 28814 | $x = 'ALT quantmod_0'; # some outer ltm is controlling us | ||
| 28815 | } | ||
| 28816 | else { | ||
| 28817 | $x = 'ALTLTM quantmod_0'; # we are top level ltm | ||
| 28818 | } | ||
| 28819 | my $C = $C->cursor_xact($x); | ||
| 28820 | my $xact = $C->{_xact}; | ||
| 28821 | |||
| 28822 | my @gather = (); | ||
| 28823 | for (;;) { | ||
| 28824 | unless (@try) { | ||
| 28825 | $relex //= $C->cursor_fate('STD::P5::Regex', 'quantmod_0', $retree); | ||
| 28826 | @try = $relex->($C) or last; | ||
| 28827 | } | ||
| 28828 | $try = shift(@try) // next; | ||
| 28829 | |||
| 28830 | if (ref $try) { | ||
| 28831 | ($C->{'_fate'}, $tag, $try) = @$try; # next candidate fate | ||
| 28832 | } | ||
| 28833 | |||
| 28834 | $C->deb("quantmod_0 trying $tag $try") if $::DEBUG & DEBUG::try_processing; | ||
| 28835 | push @gather, (( | ||
| 28836 | sub { | ||
| 28837 | my $C=shift; | ||
| 28838 | $C->_EXACT("\?") | ||
| 28839 | }, | ||
| 28840 | sub { | ||
| 28841 | my $C=shift; | ||
| 28842 | $C->_EXACT("\+") | ||
| 28843 | } | ||
| 28844 | )[$try])->($C); | ||
| 28845 | last if @gather; | ||
| 28846 | last if $xact->[-2]; # committed? | ||
| 28847 | } | ||
| 28848 | @gather; | ||
| 28849 | }; | ||
| 28850 | }))) { ($C) } else { () } | ||
| 28851 | })); | ||
| 28852 | } | ||
| 28853 | ; | ||
| 28854 | moose_around tweak => sub { | ||
| 28855 | my $orig = shift; | ||
| 28856 | no warnings 'recursion'; | ||
| 28857 | { | ||
| 28858 | local @_ = @_; | ||
| 28859 | return scalar do { # work around #38809 | ||
| 28860 | my $self = shift; | ||
| 28861 | my %args = @_; | ||
| 28862 | last unless exists $args{global} || exists $args{g}; | ||
| 28863 | my $g = exists $args{global} ? delete $args{global} : exists $args{g} ? delete $args{g} : undef; | ||
| 28864 | $self }; | ||
| 28865 | } | ||
| 28866 | { | ||
| 28867 | local @_ = @_; | ||
| 28868 | return scalar do { # work around #38809 | ||
| 28869 | my $self = shift; | ||
| 28870 | my %args = @_; | ||
| 28871 | last unless exists $args{ignorecase} || exists $args{i}; | ||
| 28872 | my $i = exists $args{ignorecase} ? delete $args{ignorecase} : exists $args{i} ? delete $args{i} : undef; | ||
| 28873 | $self }; | ||
| 28874 | } | ||
| 28875 | $orig->(@_); | ||
| 28876 | }; | ||
| 28877 | |||
| 28878 | 1; }; | ||
| 28879 | 1; } |