Spaces:
Running
Running
scratch0-5
/
utils
/VMMakerJS.package
/JSSmartSyntaxPluginCodeGenerator.class
/instance
/generateAsValue.on.indent..st
translating builtins | |
generateAsValue: aNode on: aStream indent: anInteger | |
| cName class | | |
cName := aNode args first nameOrValue. | |
class := Smalltalk | |
at: (cName asSymbol) | |
ifAbsent: [nil]. | |
(class isNil not and: [class isBehavior]) ifFalse: | |
[^self error: 'first arg must identify class']. | |
class jscg: self generateCoerceToValueFrom: aNode receiver on: aStream |