-
from gpt:
## **Understanding the Existing Structure**
Based on the modules you've provided and the previous classes we've created, here's a summary of key points relevant to creating the `Struct…
-
from gpt:
## **Understanding the Existing Structure**
From the modules you've shared, we can summarize the key points:
- **Base Classes and Enums**:
- `AST`: The root class for all AST nod…
-
from gpt:
## **Understanding the Existing Structure**
Based on the modules you've provided, here's a summary of key points relevant to creating the `EnumDeclarationStmt` class:
- **Base Class…
-
from gpt:
## **Understanding the Existing Structure**
Based on the modules you've provided and the previous classes we've created, here's a summary of key points relevant to creating the `Memb…
-
from gpt:
## **Understanding `TypeExpr`**
In the context of an Abstract Syntax Tree (AST), a **`TypeExpr`** (Type Expression) represents a type as an expression within the AST. This can include:…
-
We could implement it in two different ways, the first one, creating one class for each boolean operator (and, or, etc) or creating it as an operator kind.
In the below section, some implementation…
-
from gpt:
## **Updating the Design to Support Slices**
In Python's AST, the `Subscript` node has a `slice` attribute that can be:
- A `Constant` (for single indices, e.g., `a[1]`).
- A `Slic…
-
for more info, check this issue: https://github.com/arxlang/astx/issues/37
-
from gpt:
### **1. Update `ASTKind` Enum in `astx/base.py`**
Add the following lines to your `ASTKind` enumeration to include the new `AwaitExprKind` and `AsyncFunctionDefKind`:
```python
@p…
-
great work @jedwards1211 here.
which use cases cannot be handled by astx?
have you heard about semgrep? (they have data flow analysis, and built on top of tree-sitter)
also grit.io is building so…