Spaces:
Running
Running
scratch0-5 / utils /VMMakerJS.package /JSSmartSyntaxPluginCodeGenerator.class /instance /generateFromStack.on.indent..st
| translating builtins | |
| generateFromStack: aNode on: aStream indent: anInteger | |
| | idList | | |
| aNode args first isConstant ifFalse: [^self error: 'arg must be constant']. | |
| idList := aNode args first value. | |
| (1 to: idList size) | |
| do: [:i | | |
| aStream | |
| nextPutAll: (idList at: i); | |
| nextPutAll: ' = interpreterProxy->stackValue('; | |
| nextPutAll: (idList size - i) asString; | |
| nextPutAll: ')'] | |
| separatedBy: [aStream nextPut: $;; crtab: anInteger]. | |