Added parse rule for exceptions from a module (#168)
This commit is contained in:
@@ -183,12 +183,14 @@ Feel free to submit a PR, I will be happy to help you !
|
|||||||
We use semantic versioning ! (https://semver.org)
|
We use semantic versioning ! (https://semver.org)
|
||||||
Here is the current Neogen version:
|
Here is the current Neogen version:
|
||||||
>
|
>
|
||||||
neogen.version = "2.17.0"
|
neogen.version = "2.17.1"
|
||||||
<
|
<
|
||||||
# Changelog~
|
# Changelog~
|
||||||
|
|
||||||
Note: We will only document `major` and `minor` versions, not `patch` ones. (only X and Y in X.Y.z)
|
Note: We will only document `major` and `minor` versions, not `patch` ones. (only X and Y in X.Y.z)
|
||||||
|
|
||||||
|
## 2.17.1~
|
||||||
|
- Python raises now supports `raise foo.Bar()` syntax
|
||||||
## 2.17.0~
|
## 2.17.0~
|
||||||
- Python now supports dataclass attributes (#126)
|
- Python now supports dataclass attributes (#126)
|
||||||
## 2.16.0~
|
## 2.16.0~
|
||||||
|
|||||||
@@ -202,6 +202,26 @@ return {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
retrieve = "all",
|
||||||
|
node_type = "raise_statement",
|
||||||
|
recursive = true,
|
||||||
|
subtree = {
|
||||||
|
{
|
||||||
|
retrieve = "first",
|
||||||
|
node_type = "call",
|
||||||
|
recursive = true,
|
||||||
|
subtree = {
|
||||||
|
{
|
||||||
|
retrieve = "first",
|
||||||
|
node_type = "attribute",
|
||||||
|
extract = true,
|
||||||
|
as = i.Throw,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -241,6 +241,8 @@ end
|
|||||||
---
|
---
|
||||||
--- Note: We will only document `major` and `minor` versions, not `patch` ones. (only X and Y in X.Y.z)
|
--- Note: We will only document `major` and `minor` versions, not `patch` ones. (only X and Y in X.Y.z)
|
||||||
---
|
---
|
||||||
|
--- ## 2.17.1~
|
||||||
|
--- - Python raises now supports `raise foo.Bar()` syntax
|
||||||
--- ## 2.17.0~
|
--- ## 2.17.0~
|
||||||
--- - Python now supports dataclass attributes (#126)
|
--- - Python now supports dataclass attributes (#126)
|
||||||
--- ## 2.16.0~
|
--- ## 2.16.0~
|
||||||
@@ -303,7 +305,7 @@ end
|
|||||||
--- with multiple annotation conventions.
|
--- with multiple annotation conventions.
|
||||||
---@tag neogen-changelog
|
---@tag neogen-changelog
|
||||||
---@toc_entry Changes in neogen plugin
|
---@toc_entry Changes in neogen plugin
|
||||||
neogen.version = "2.17.0"
|
neogen.version = "2.17.1"
|
||||||
--minidoc_afterlines_end
|
--minidoc_afterlines_end
|
||||||
|
|
||||||
return neogen
|
return neogen
|
||||||
|
|||||||
Reference in New Issue
Block a user