File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/array Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 51
51
import com .oracle .graal .python .builtins .objects .common .SequenceStorageNodes ;
52
52
import com .oracle .graal .python .builtins .objects .common .SequenceStorageNodes .NormalizeIndexNode ;
53
53
import com .oracle .graal .python .nodes .SpecialMethodNames ;
54
+ import static com .oracle .graal .python .nodes .SpecialMethodNames .__REPR__ ;
54
55
import com .oracle .graal .python .nodes .function .PythonBuiltinBaseNode ;
55
56
import com .oracle .graal .python .nodes .function .PythonBuiltinNode ;
56
57
import com .oracle .graal .python .nodes .function .builtins .PythonBinaryBuiltinNode ;
@@ -201,6 +202,11 @@ String str(PArray self) {
201
202
}
202
203
}
203
204
205
+ @ Builtin (name = __REPR__ , fixedNumOfPositionalArgs = 1 )
206
+ @ GenerateNodeFactory
207
+ abstract static class ReprNode extends StrNode {
208
+ }
209
+
204
210
@ Builtin (name = __GETITEM__ , fixedNumOfPositionalArgs = 2 )
205
211
@ GenerateNodeFactory
206
212
abstract static class GetItemNode extends PythonBinaryBuiltinNode {
You can’t perform that action at this time.
0 commit comments