Lines Matching defs:term

103 %type <opval> expr term subscripted scalar ary hsh arylen star amper sideff
653 OP *term = $formarg;
654 list = op_append_elem(OP_LIST, $THING, term);
861 | ASSIGNOP term
868 $$ = newARGDEFELEMOP(flags, $term, parser->sig_elems);
1086 | listexpr[list] PERLY_COMMA term
1088 OP* term = $term;
1089 $$ = op_append_elem(OP_LIST, $list, term);
1091 | term %prec PREC_LOW
1103 | term ARROW methodname PERLY_PAREN_OPEN optexpr PERLY_PAREN_CLOSE /* $foo->bar(list) */
1106 op_prepend_elem(OP_LIST, scalar($term), $optexpr),
1109 | term ARROW methodname /* $foo->bar */
1111 op_append_elem(OP_LIST, scalar($term),
1158 | term[array_reference] ARROW PERLY_BRACKET_OPEN expr PERLY_BRACKET_CLOSE /* somearef->[$element] */
1171 | term[hash_reference] ARROW PERLY_BRACE_OPEN expr PERLY_SEMICOLON PERLY_BRACE_CLOSE /* somehref->{bar();} */
1179 | term[code_reference] ARROW PERLY_PAREN_OPEN PERLY_PAREN_CLOSE /* $subref->() */
1185 | term[code_reference] ARROW PERLY_PAREN_OPEN expr PERLY_PAREN_CLOSE /* $subref->(@args) */
1215 termbinop: term[lhs] PLUGIN_HIGH_OP[op] term[rhs]
1217 | term[lhs] ASSIGNOP term[rhs] /* $x = $y, $x += $y */
1219 | term[lhs] PLUGIN_ASSIGN_OP[op] term[rhs]
1221 | term[lhs] POWOP term[rhs] /* $x ** $y */
1223 | term[lhs] PLUGIN_POW_OP[op] term[rhs]
1225 | term[lhs] MULOP term[rhs] /* $x * $y, $x x $y */
1230 | term[lhs] PLUGIN_MUL_OP[op] term[rhs]
1232 | term[lhs] ADDOP term[rhs] /* $x + $y */
1234 | term[lhs] PLUGIN_ADD_OP[op] term[rhs]
1236 | term[lhs] SHIFTOP term[rhs] /* $x >> $y, $x << $y */
1242 | term[lhs] BITANDOP term[rhs] /* $x & $y */
1244 | term[lhs] BITOROP term[rhs] /* $x | $y */
1246 | term[lhs] DOTDOT term[rhs] /* $x..$y, $x...$y */
1248 | term[lhs] ANDAND term[rhs] /* $x && $y */
1250 | term[lhs] PLUGIN_LOGICAL_AND_OP[op] term[rhs]
1252 | term[lhs] OROR term[rhs] /* $x || $y */
1254 | term[lhs] PLUGIN_LOGICAL_OR_OP[op] term[rhs]
1256 | term[lhs] DORDOR term[rhs] /* $x // $y */
1258 | term[lhs] MATCHOP term[rhs] /* $x =~ /$y/ */
1260 | term[lhs] PLUGIN_LOW_OP[op] term[rhs]
1266 | term[lhs] NCRELOP term[rhs]
1272 | term[lhs] PLUGIN_REL_OP[op] term[rhs]
1276 relopchain: term[lhs] CHRELOP term[rhs]
1278 | relopchain[lhs] CHRELOP term[rhs]
1284 | term[lhs] NCEQOP term[rhs]
1292 eqopchain: term[lhs] CHEQOP term[rhs]
1294 | eqopchain[lhs] CHEQOP term[rhs]
1299 termunop : PERLY_MINUS term %prec UMINUS /* -$x */
1300 { $$ = newUNOP(OP_NEGATE, 0, scalar($term)); }
1301 | PERLY_PLUS term %prec UMINUS /* +$x */
1302 { $$ = $term; }
1304 | PERLY_EXCLAMATION_MARK term /* !$x */
1305 { $$ = newUNOP(OP_NOT, 0, scalar($term)); }
1306 | PERLY_TILDE term /* ~$x */
1307 { $$ = newUNOP($PERLY_TILDE, 0, scalar($term)); }
1308 | term POSTINC /* $x++ */
1310 op_lvalue(scalar($term), OP_POSTINC)); }
1311 | term POSTDEC /* $x-- */
1313 op_lvalue(scalar($term), OP_POSTDEC));}
1314 | term POSTJOIN /* implicit join after interpolated ->@ */
1322 $term
1325 | PREINC term /* ++$x */
1327 op_lvalue(scalar($term), OP_PREINC)); }
1328 | PREDEC term /* --$x */
1330 op_lvalue(scalar($term), OP_PREDEC)); }
1354 termdo : KW_DO term %prec UNIOP /* do $filename */
1355 { $$ = dofile($term, $KW_DO);}
1360 term[product] : termbinop
1364 | term[condition] PERLY_QUESTION_MARK term[then] PERLY_COLON term[else]
1366 | REFGEN term[operand] /* \$x, \@y, \%z */
1370 | KW_LOCAL term[operand] %prec UNIOP
1446 | term[operand] ARROW PERLY_DOLLAR PERLY_STAR
1448 | term[operand] ARROW PERLY_SNAIL PERLY_STAR
1450 | term[operand] ARROW PERLY_PERCENT_SIGN PERLY_STAR
1452 | term[operand] ARROW PERLY_AMPERSAND PERLY_STAR
1455 | term[operand] ARROW PERLY_STAR PERLY_STAR %prec PERLY_PAREN_OPEN
1460 | LOOPEX term[operand]
1468 | UNIOP term[operand] /* Unary op */
1472 | KW_REQUIRE term[operand] /* require Foo */
1476 | UNIOPSUB term[operand] /* Sub treated as unop */
1521 | KW_MY REFGEN term[operand]
1581 term
1583 class_set_field_defop((PADNAME *)$fieldvar, $ASSIGNOP, $term);
1660 | term ARROW DOLSHARP PERLY_STAR
1661 { $$ = newAVREF($term); }
1669 | term ARROW PERLY_SNAIL
1670 { $$ = newAVREF($term); }
1674 | term ARROW PERLY_PERCENT_SIGN
1675 { $$ = newHVREF($term); }
1679 | term ARROW PERLY_STAR
1680 { $$ = newGVREF(0,$term); }