File: opcode_list.h

package info (click to toggle)
jq 1.4-2.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 1,216 kB
  • sloc: ansic: 9,370; yacc: 588; lex: 175; makefile: 95; sh: 56; python: 21
file content (34 lines) | stat: -rw-r--r-- 832 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
OP(LOADK, CONSTANT, 1, 1)
OP(DUP,   NONE,     1, 2)
OP(DUP2,  NONE,     2, 3)
OP(POP,   NONE,     1, 0)
OP(LOADV, VARIABLE, 1, 1)
OP(LOADVN, VARIABLE, 1, 1)
OP(STOREV, VARIABLE, 1, 0)
OP(INDEX, NONE,     2, 1)
OP(INDEX_OPT, NONE,     2, 1)
OP(EACH,  NONE,     1, 1)
OP(EACH_OPT,  NONE,     1, 1)
OP(FORK,  BRANCH,   0, 0)
OP(JUMP,  BRANCH,   0, 0)
OP(JUMP_F,BRANCH,   1, 0)
OP(BACKTRACK, NONE, 0, 0)
OP(APPEND, VARIABLE,1, 0)
OP(INSERT, NONE,    4, 2)
OP(RANGE, VARIABLE, 1, 1)

OP(SUBEXP_BEGIN,  NONE,     1, 2)
OP(SUBEXP_END,    NONE,     2, 2)

OP(PATH_BEGIN, NONE, 1, 2)
OP(PATH_END,   NONE, 2, 1)

OP(CALL_BUILTIN, CFUNC, -1, 1)

OP(CALL_JQ, UFUNC, 1, 1)
OP(RET, NONE, 1, 1)

OP(CLOSURE_PARAM, DEFINITION, 0, 0)
OP(CLOSURE_REF, CLOSURE_REF_IMM, 0, 0)
OP(CLOSURE_CREATE, DEFINITION, 0, 0)
OP(CLOSURE_CREATE_C, DEFINITION, 0, 0)