Skip to content

Commit

Permalink
Merge branch 'python-ast' of github.com:dwoznicki/enderpy into python…
Browse files Browse the repository at this point in the history
…-ast
  • Loading branch information
Glyphack committed Aug 15, 2024
2 parents e765197 + a4bd1be commit 951df47
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion parser/src/lexer/compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ print(a)
fn test_lex_other() {
python_tokenize_test_lexer(&["(a,
)"]);
)"]);
}

#[test]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Module {
FunctionDef {
node: Node {
start: 35,
end: 95,
end: 94,
},
name: "b",
args: Arguments {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Module {
FunctionDef {
node: Node {
start: 15,
end: 34,
end: 32,
},
name: "a",
args: Arguments {
Expand Down Expand Up @@ -545,7 +545,7 @@ Module {
AsyncFunctionDef {
node: Node {
start: 236,
end: 261,
end: 259,
},
name: "a",
args: Arguments {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Module {
FunctionDef {
node: Node {
start: 0,
end: 342,
end: 339,
},
name: "_handle_ticker_index",
args: Arguments {
Expand Down Expand Up @@ -340,7 +340,7 @@ Module {
FunctionDef {
node: Node {
start: 342,
end: 610,
end: 608,
},
name: "_extract_ticker_client_types_data",
args: Arguments {
Expand Down Expand Up @@ -671,7 +671,7 @@ Module {
FunctionDef {
node: Node {
start: 610,
end: 1153,
end: 1151,
},
name: "common_process",
args: Arguments {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Module {
If {
node: Node {
start: 0,
end: 16,
end: 14,
},
test: Name(
Name {
Expand Down Expand Up @@ -40,7 +40,7 @@ Module {
If {
node: Node {
start: 16,
end: 33,
end: 31,
},
test: Name(
Name {
Expand Down Expand Up @@ -96,7 +96,7 @@ Module {
If {
node: Node {
start: 45,
end: 66,
end: 64,
},
test: Name(
Name {
Expand Down Expand Up @@ -132,7 +132,7 @@ Module {
If {
node: Node {
start: 66,
end: 95,
end: 93,
},
test: Compare(
Compare {
Expand Down Expand Up @@ -182,7 +182,7 @@ Module {
If {
node: Node {
start: 95,
end: 162,
end: 160,
},
test: Compare(
Compare {
Expand Down Expand Up @@ -283,7 +283,7 @@ Module {
If {
node: Node {
start: 162,
end: 257,
end: 254,
},
test: Compare(
Compare {
Expand Down Expand Up @@ -441,7 +441,7 @@ Module {
If {
node: Node {
start: 273,
end: 290,
end: 288,
},
test: Name(
Name {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Module {
FunctionDef {
node: Node {
start: 99,
end: 145,
end: 143,
},
name: "foo",
args: Arguments {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ Module {
ExceptHandler {
node: Node {
start: 339,
end: 382,
end: 379,
},
typ: Some(
Name(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ Module {
AsyncWith {
node: Node {
start: 114,
end: 151,
end: 149,
},
items: [
WithItem {
Expand Down

0 comments on commit 951df47

Please sign in to comment.