mirror of
https://github.com/danog/parser.git
synced 2024-12-13 01:27:29 +01:00
467 lines
10 KiB
Plaintext
467 lines
10 KiB
Plaintext
|
[
|
||
|
Function(
|
||
|
Function {
|
||
|
start: (
|
||
|
3,
|
||
|
1,
|
||
|
),
|
||
|
end: (
|
||
|
3,
|
||
|
24,
|
||
|
),
|
||
|
name: Identifier {
|
||
|
start: (
|
||
|
3,
|
||
|
10,
|
||
|
),
|
||
|
name: "true",
|
||
|
end: (
|
||
|
3,
|
||
|
14,
|
||
|
),
|
||
|
},
|
||
|
attributes: [],
|
||
|
parameters: FunctionParameterList {
|
||
|
start: (
|
||
|
3,
|
||
|
14,
|
||
|
),
|
||
|
end: (
|
||
|
3,
|
||
|
16,
|
||
|
),
|
||
|
members: [],
|
||
|
},
|
||
|
return_type: Some(
|
||
|
Void,
|
||
|
),
|
||
|
by_ref: false,
|
||
|
body: [],
|
||
|
},
|
||
|
),
|
||
|
Function(
|
||
|
Function {
|
||
|
start: (
|
||
|
4,
|
||
|
1,
|
||
|
),
|
||
|
end: (
|
||
|
4,
|
||
|
25,
|
||
|
),
|
||
|
name: Identifier {
|
||
|
start: (
|
||
|
4,
|
||
|
10,
|
||
|
),
|
||
|
name: "false",
|
||
|
end: (
|
||
|
4,
|
||
|
15,
|
||
|
),
|
||
|
},
|
||
|
attributes: [],
|
||
|
parameters: FunctionParameterList {
|
||
|
start: (
|
||
|
4,
|
||
|
15,
|
||
|
),
|
||
|
end: (
|
||
|
4,
|
||
|
17,
|
||
|
),
|
||
|
members: [],
|
||
|
},
|
||
|
return_type: Some(
|
||
|
Void,
|
||
|
),
|
||
|
by_ref: false,
|
||
|
body: [],
|
||
|
},
|
||
|
),
|
||
|
Function(
|
||
|
Function {
|
||
|
start: (
|
||
|
5,
|
||
|
1,
|
||
|
),
|
||
|
end: (
|
||
|
5,
|
||
|
24,
|
||
|
),
|
||
|
name: Identifier {
|
||
|
start: (
|
||
|
5,
|
||
|
10,
|
||
|
),
|
||
|
name: "null",
|
||
|
end: (
|
||
|
5,
|
||
|
14,
|
||
|
),
|
||
|
},
|
||
|
attributes: [],
|
||
|
parameters: FunctionParameterList {
|
||
|
start: (
|
||
|
5,
|
||
|
14,
|
||
|
),
|
||
|
end: (
|
||
|
5,
|
||
|
16,
|
||
|
),
|
||
|
members: [],
|
||
|
},
|
||
|
return_type: Some(
|
||
|
Void,
|
||
|
),
|
||
|
by_ref: false,
|
||
|
body: [],
|
||
|
},
|
||
|
),
|
||
|
Function(
|
||
|
Function {
|
||
|
start: (
|
||
|
6,
|
||
|
1,
|
||
|
),
|
||
|
end: (
|
||
|
6,
|
||
|
28,
|
||
|
),
|
||
|
name: Identifier {
|
||
|
start: (
|
||
|
6,
|
||
|
10,
|
||
|
),
|
||
|
name: "readonly",
|
||
|
end: (
|
||
|
6,
|
||
|
18,
|
||
|
),
|
||
|
},
|
||
|
attributes: [],
|
||
|
parameters: FunctionParameterList {
|
||
|
start: (
|
||
|
6,
|
||
|
18,
|
||
|
),
|
||
|
end: (
|
||
|
6,
|
||
|
20,
|
||
|
),
|
||
|
members: [],
|
||
|
},
|
||
|
return_type: Some(
|
||
|
Void,
|
||
|
),
|
||
|
by_ref: false,
|
||
|
body: [],
|
||
|
},
|
||
|
),
|
||
|
Function(
|
||
|
Function {
|
||
|
start: (
|
||
|
7,
|
||
|
1,
|
||
|
),
|
||
|
end: (
|
||
|
7,
|
||
|
24,
|
||
|
),
|
||
|
name: Identifier {
|
||
|
start: (
|
||
|
7,
|
||
|
10,
|
||
|
),
|
||
|
name: "self",
|
||
|
end: (
|
||
|
7,
|
||
|
14,
|
||
|
),
|
||
|
},
|
||
|
attributes: [],
|
||
|
parameters: FunctionParameterList {
|
||
|
start: (
|
||
|
7,
|
||
|
14,
|
||
|
),
|
||
|
end: (
|
||
|
7,
|
||
|
16,
|
||
|
),
|
||
|
members: [],
|
||
|
},
|
||
|
return_type: Some(
|
||
|
Void,
|
||
|
),
|
||
|
by_ref: false,
|
||
|
body: [],
|
||
|
},
|
||
|
),
|
||
|
Function(
|
||
|
Function {
|
||
|
start: (
|
||
|
8,
|
||
|
1,
|
||
|
),
|
||
|
end: (
|
||
|
8,
|
||
|
26,
|
||
|
),
|
||
|
name: Identifier {
|
||
|
start: (
|
||
|
8,
|
||
|
10,
|
||
|
),
|
||
|
name: "parent",
|
||
|
end: (
|
||
|
8,
|
||
|
16,
|
||
|
),
|
||
|
},
|
||
|
attributes: [],
|
||
|
parameters: FunctionParameterList {
|
||
|
start: (
|
||
|
8,
|
||
|
16,
|
||
|
),
|
||
|
end: (
|
||
|
8,
|
||
|
18,
|
||
|
),
|
||
|
members: [],
|
||
|
},
|
||
|
return_type: Some(
|
||
|
Void,
|
||
|
),
|
||
|
by_ref: false,
|
||
|
body: [],
|
||
|
},
|
||
|
),
|
||
|
Function(
|
||
|
Function {
|
||
|
start: (
|
||
|
9,
|
||
|
1,
|
||
|
),
|
||
|
end: (
|
||
|
9,
|
||
|
24,
|
||
|
),
|
||
|
name: Identifier {
|
||
|
start: (
|
||
|
9,
|
||
|
10,
|
||
|
),
|
||
|
name: "enum",
|
||
|
end: (
|
||
|
9,
|
||
|
14,
|
||
|
),
|
||
|
},
|
||
|
attributes: [],
|
||
|
parameters: FunctionParameterList {
|
||
|
start: (
|
||
|
9,
|
||
|
14,
|
||
|
),
|
||
|
end: (
|
||
|
9,
|
||
|
16,
|
||
|
),
|
||
|
members: [],
|
||
|
},
|
||
|
return_type: Some(
|
||
|
Void,
|
||
|
),
|
||
|
by_ref: false,
|
||
|
body: [],
|
||
|
},
|
||
|
),
|
||
|
Function(
|
||
|
Function {
|
||
|
start: (
|
||
|
10,
|
||
|
1,
|
||
|
),
|
||
|
end: (
|
||
|
10,
|
||
|
24,
|
||
|
),
|
||
|
name: Identifier {
|
||
|
start: (
|
||
|
10,
|
||
|
10,
|
||
|
),
|
||
|
name: "from",
|
||
|
end: (
|
||
|
10,
|
||
|
14,
|
||
|
),
|
||
|
},
|
||
|
attributes: [],
|
||
|
parameters: FunctionParameterList {
|
||
|
start: (
|
||
|
10,
|
||
|
14,
|
||
|
),
|
||
|
end: (
|
||
|
10,
|
||
|
16,
|
||
|
),
|
||
|
members: [],
|
||
|
},
|
||
|
return_type: Some(
|
||
|
Void,
|
||
|
),
|
||
|
by_ref: false,
|
||
|
body: [],
|
||
|
},
|
||
|
),
|
||
|
Expression {
|
||
|
expr: Call {
|
||
|
target: Identifier(
|
||
|
Identifier {
|
||
|
start: (
|
||
|
12,
|
||
|
1,
|
||
|
),
|
||
|
name: "true",
|
||
|
end: (
|
||
|
12,
|
||
|
5,
|
||
|
),
|
||
|
},
|
||
|
),
|
||
|
args: [],
|
||
|
},
|
||
|
},
|
||
|
Expression {
|
||
|
expr: Call {
|
||
|
target: Identifier(
|
||
|
Identifier {
|
||
|
start: (
|
||
|
13,
|
||
|
1,
|
||
|
),
|
||
|
name: "false",
|
||
|
end: (
|
||
|
13,
|
||
|
6,
|
||
|
),
|
||
|
},
|
||
|
),
|
||
|
args: [],
|
||
|
},
|
||
|
},
|
||
|
Expression {
|
||
|
expr: Call {
|
||
|
target: Identifier(
|
||
|
Identifier {
|
||
|
start: (
|
||
|
14,
|
||
|
1,
|
||
|
),
|
||
|
name: "null",
|
||
|
end: (
|
||
|
14,
|
||
|
5,
|
||
|
),
|
||
|
},
|
||
|
),
|
||
|
args: [],
|
||
|
},
|
||
|
},
|
||
|
Expression {
|
||
|
expr: Call {
|
||
|
target: Identifier(
|
||
|
Identifier {
|
||
|
start: (
|
||
|
15,
|
||
|
1,
|
||
|
),
|
||
|
name: "readonly",
|
||
|
end: (
|
||
|
15,
|
||
|
9,
|
||
|
),
|
||
|
},
|
||
|
),
|
||
|
args: [],
|
||
|
},
|
||
|
},
|
||
|
Expression {
|
||
|
expr: Call {
|
||
|
target: Identifier(
|
||
|
Identifier {
|
||
|
start: (
|
||
|
16,
|
||
|
1,
|
||
|
),
|
||
|
name: "self",
|
||
|
end: (
|
||
|
16,
|
||
|
5,
|
||
|
),
|
||
|
},
|
||
|
),
|
||
|
args: [],
|
||
|
},
|
||
|
},
|
||
|
Expression {
|
||
|
expr: Call {
|
||
|
target: Identifier(
|
||
|
Identifier {
|
||
|
start: (
|
||
|
17,
|
||
|
1,
|
||
|
),
|
||
|
name: "parent",
|
||
|
end: (
|
||
|
17,
|
||
|
7,
|
||
|
),
|
||
|
},
|
||
|
),
|
||
|
args: [],
|
||
|
},
|
||
|
},
|
||
|
Expression {
|
||
|
expr: Call {
|
||
|
target: Identifier(
|
||
|
Identifier {
|
||
|
start: (
|
||
|
18,
|
||
|
1,
|
||
|
),
|
||
|
name: "enum",
|
||
|
end: (
|
||
|
18,
|
||
|
5,
|
||
|
),
|
||
|
},
|
||
|
),
|
||
|
args: [],
|
||
|
},
|
||
|
},
|
||
|
Expression {
|
||
|
expr: Call {
|
||
|
target: Identifier(
|
||
|
Identifier {
|
||
|
start: (
|
||
|
19,
|
||
|
1,
|
||
|
),
|
||
|
name: "from",
|
||
|
end: (
|
||
|
19,
|
||
|
5,
|
||
|
),
|
||
|
},
|
||
|
),
|
||
|
args: [],
|
||
|
},
|
||
|
},
|
||
|
]
|