@@ -496,64 +496,64 @@ public boolean hasSourceLocation() {
496
496
@ Override
497
497
@ TruffleBoundary
498
498
public String toString () {
499
- String name = this .getName () == null ? "None" : this .getName ();
500
- String filename = this .getFilename () == null ? "None" : this .getFilename ();
501
- int firstLineNo = this .getFirstLineNo () == 0 ? -1 : this .getFirstLineNo ();
502
- return String .format ("<code object %s, file \" %s\" , line %d>" , name , filename , firstLineNo );
499
+ String codeName = this .getName () == null ? "None" : this .getName ();
500
+ String codeFilename = this .getFilename () == null ? "None" : this .getFilename ();
501
+ int codeFirstLineNo = this .getFirstLineNo () == 0 ? -1 : this .getFirstLineNo ();
502
+ return String .format ("<code object %s, file \" %s\" , line %d>" , codeName , codeFilename , codeFirstLineNo );
503
503
}
504
504
505
505
public Object co_name () {
506
- String name = this .getName ();
507
- if (name != null ) {
508
- return name ;
506
+ String codeName = this .getName ();
507
+ if (codeName != null ) {
508
+ return codeName ;
509
509
}
510
510
return PNone .NONE ;
511
511
}
512
512
513
513
public PBytes co_code (PythonObjectFactory factory ) {
514
- byte [] codestring = this .getCodestring ();
515
- if (codestring == null ) {
516
- codestring = new byte [0 ];
514
+ byte [] codeCodeString = this .getCodestring ();
515
+ if (codeCodeString == null ) {
516
+ codeCodeString = new byte [0 ];
517
517
}
518
- return factory .createBytes (codestring );
518
+ return factory .createBytes (codeCodeString );
519
519
}
520
520
521
521
public PTuple co_consts (PythonObjectFactory factory ) {
522
- Object [] constants = this .getConstants ();
523
- if (constants == null ) {
524
- constants = new Object [0 ];
522
+ Object [] codeConstants = this .getConstants ();
523
+ if (codeConstants == null ) {
524
+ codeConstants = new Object [0 ];
525
525
}
526
- return factory .createTuple (constants );
526
+ return factory .createTuple (codeConstants );
527
527
}
528
528
529
529
public PTuple co_names (PythonObjectFactory factory ) {
530
- Object [] names = this .getNames ();
531
- if (names == null ) {
532
- names = new Object [0 ];
530
+ Object [] codeNames = this .getNames ();
531
+ if (codeNames == null ) {
532
+ codeNames = new Object [0 ];
533
533
}
534
- return factory .createTuple (names );
534
+ return factory .createTuple (codeNames );
535
535
}
536
536
537
537
public PythonAbstractObject co_varnames (PythonObjectFactory factory ) {
538
- Object [] varNames = this .getVarnames ();
539
- if (varNames != null ) {
540
- return factory .createTuple (varNames );
538
+ Object [] codeVarNames = this .getVarnames ();
539
+ if (codeVarNames != null ) {
540
+ return factory .createTuple (codeVarNames );
541
541
}
542
542
return PNone .NONE ;
543
543
}
544
544
545
545
public PythonAbstractObject co_freevars (PythonObjectFactory factory ) {
546
- Object [] freeVars = this .getFreeVars ();
547
- if (freeVars != null ) {
548
- return factory .createTuple (freeVars );
546
+ Object [] codeFreeVars = this .getFreeVars ();
547
+ if (codeFreeVars != null ) {
548
+ return factory .createTuple (codeFreeVars );
549
549
}
550
550
return PNone .NONE ;
551
551
}
552
552
553
553
public PythonAbstractObject co_cellvars (PythonObjectFactory factory ) {
554
- Object [] cellVars = this .getCellVars ();
555
- if (cellVars != null ) {
556
- return factory .createTuple (cellVars );
554
+ Object [] codeCellVars = this .getCellVars ();
555
+ if (codeCellVars != null ) {
556
+ return factory .createTuple (codeCellVars );
557
557
}
558
558
return PNone .NONE ;
559
559
}
0 commit comments