UnaryNode.st
changeset 2881 ae13393d1096
parent 2866 21be09ac87b1
child 3309 cea9c487db04
equal deleted inserted replaced
2880:0951a74f6668 2881:ae13393d1096
   212      into the system (would make the '... is nowhere implemented' warning
   212      into the system (would make the '... is nowhere implemented' warning
   213      go away."
   213      go away."
   214 
   214 
   215     |selectorSymbol|
   215     |selectorSymbol|
   216 
   216 
       
   217     "JV@2012-07-06: Do not check if receiver is Java package,
       
   218      otherwise it reports false-positives when working with Java code"
       
   219     receiver isJavaPackageReference ifTrue:[ ^ nil ].
       
   220 
   217     selectorSymbol := selector asSymbolIfInterned.
   221     selectorSymbol := selector asSymbolIfInterned.
   218     selectorSymbol notNil ifTrue:[
   222     selectorSymbol notNil ifTrue:[
   219         ((selectorSymbol == #self) or:[
   223         ((selectorSymbol == #self) or:[
   220          (selectorSymbol == #super) or:[
   224          (selectorSymbol == #super) or:[
   221          (selectorSymbol == #thisContext) or:[
   225          (selectorSymbol == #thisContext) or:[
   243     "
   247     "
   244 
   248 
   245     ^ super plausibilityCheckIn:aParser
   249     ^ super plausibilityCheckIn:aParser
   246 
   250 
   247     "Modified: / 16-07-2006 / 16:16:25 / cg"
   251     "Modified: / 16-07-2006 / 16:16:25 / cg"
       
   252     "Modified: / 06-07-2012 / 10:46:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   248 ! !
   253 ! !
   249 
   254 
   250 !UnaryNode methodsFor:'code generation'!
   255 !UnaryNode methodsFor:'code generation'!
   251 
   256 
   252 codeOn:aStream inBlock:b for:aCompiler
   257 codeOn:aStream inBlock:b for:aCompiler
   362 ! !
   367 ! !
   363 
   368 
   364 !UnaryNode class methodsFor:'documentation'!
   369 !UnaryNode class methodsFor:'documentation'!
   365 
   370 
   366 version
   371 version
   367     ^ '$Header: /cvs/stx/stx/libcomp/UnaryNode.st,v 1.57 2012-05-04 13:07:47 vrany Exp $'
   372     ^ '$Header: /cvs/stx/stx/libcomp/UnaryNode.st,v 1.58 2012-07-06 11:45:56 vrany Exp $'
   368 !
   373 !
   369 
   374 
   370 version_CVS
   375 version_CVS
   371     ^ '$Header: /cvs/stx/stx/libcomp/UnaryNode.st,v 1.57 2012-05-04 13:07:47 vrany Exp $'
   376     ^ '$Header: /cvs/stx/stx/libcomp/UnaryNode.st,v 1.58 2012-07-06 11:45:56 vrany Exp $'
   372 ! !
   377 ! !