You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'I represent the aliasing of an expression in Python. When the expression can only be an identifier, I store it as a property named "alias" instead of instantiating an AsPattern node.'.
'I represent an assignment in Python (not to confuse with an augmented assignment or a wlrus assignment). My left value is the expression used to get the variable to assign. It can be typed optionally. My right side if the expression to store. It can be optional because I also represent a typed variable declaration.'.
198
+
199
+
(attribute := builder newClassNamed:#AttributeAccess) comment:'I represent an access to an attribute such as `module.globalVariable`.'.
'I represent a class definition. I have a name, a list of expressions to declare my superclasses, a list of keywords to customize the metaclass and a block of code.'.
'I represent the concretization of a generic type in a given context. For example: `def f[T: int](): pass`, we are here constraining `T` to be an `int` or a subclass of `int`'.
248
+
249
+
(continueStatement := builder newClassNamed:#ContinueStatement) comment:'I represent a continue statement to use in loops.'.
(splat := builder newClassNamed:#Splat) comment:'In Python a collection (list or dictionary) splat is the unpacking of a collection in a call or in the definition of another definition like `[ *list , 4 ]` or `func(*list)`'.
318
+
(splat := builder newClassNamed:#Splat) comment:
319
+
'In Python a collection (list or dictionary) splat is the unpacking of a collection in a call or in the definition of another definition like `[ *list , 4 ]` or `func(*list)`'.
Copy file name to clipboardExpand all lines: src/FAST-Python-Model/FASTPyAsPattern.class.st
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
1
"
2
+
I represent the aliasing of an expression in Python. When the expression can only be an identifier, I store it as a property named ""alias"" instead of instantiating an AsPattern node.
Copy file name to clipboardExpand all lines: src/FAST-Python-Model/FASTPyAssignment.class.st
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
1
"
2
+
I represent an assignment in Python (not to confuse with an augmented assignment or a wlrus assignment). My left value is the expression used to get the variable to assign. It can be typed optionally. My right side if the expression to store. It can be optional because I also represent a typed variable declaration.
0 commit comments