mirror of
https://github.com/danog/parser.git
synced 2024-12-12 17:17:23 +01:00
017b2e19c3
Signed-off-by: azjezz <azjezz@protonmail.com> Signed-off-by: azjezz <azjezz@protonmail.com>
436 lines
11 KiB
Plaintext
436 lines
11 KiB
Plaintext
[
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: Equals,
|
|
rhs: Int {
|
|
i: 1,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: Identical,
|
|
rhs: Int {
|
|
i: 1,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: NotEquals,
|
|
rhs: Int {
|
|
i: 1,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: NotIdentical,
|
|
rhs: Int {
|
|
i: 1,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: Add,
|
|
rhs: Int {
|
|
i: 2,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: Sub,
|
|
rhs: Int {
|
|
i: 2,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: Div,
|
|
rhs: Int {
|
|
i: 2,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: BitwiseXor,
|
|
rhs: Int {
|
|
i: 2,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: Mul,
|
|
rhs: Int {
|
|
i: 2,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: RightShift,
|
|
rhs: Int {
|
|
i: 2,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: LeftShift,
|
|
rhs: Int {
|
|
i: 2,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: BitwiseOr,
|
|
rhs: Int {
|
|
i: 2,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: BitwiseAnd,
|
|
rhs: Int {
|
|
i: 2,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Expression {
|
|
expr: Call {
|
|
target: Identifier {
|
|
name: "define",
|
|
},
|
|
args: [
|
|
Arg {
|
|
name: None,
|
|
value: ConstantString {
|
|
value: "a",
|
|
},
|
|
unpack: false,
|
|
},
|
|
Arg {
|
|
name: None,
|
|
value: BitwiseNot {
|
|
value: Int {
|
|
i: 2,
|
|
},
|
|
},
|
|
unpack: false,
|
|
},
|
|
],
|
|
},
|
|
},
|
|
Echo {
|
|
values: [
|
|
Infix {
|
|
lhs: Infix {
|
|
lhs: Int {
|
|
i: 1,
|
|
},
|
|
op: Add,
|
|
rhs: Infix {
|
|
lhs: Infix {
|
|
lhs: Int {
|
|
i: 2,
|
|
},
|
|
op: Mul,
|
|
rhs: Int {
|
|
i: 3,
|
|
},
|
|
},
|
|
op: Div,
|
|
rhs: Int {
|
|
i: 4,
|
|
},
|
|
},
|
|
},
|
|
op: Sub,
|
|
rhs: Int {
|
|
i: 5,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
]
|