Skip to content

Commit

Permalink
Add a palette with the C code translation of any inspected CGLRAbstra…
Browse files Browse the repository at this point in the history
…ctNode.
  • Loading branch information
Hernán Morales Durand committed Sep 6, 2023
1 parent 9ef48d3 commit a9576b3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions smalltalksrc/VMMaker-Tools/CGLRAbstractNode.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Extension { #name : #CGLRAbstractNode }

{ #category : #'*VMMaker-Tools' }
CGLRAbstractNode >> inspectNode: specBuilder [
<inspectorPresentationOrder: 910 title: 'C'>

^ SpTextPresenter new
text: (String streamContents: [ : stream | self prettyPrintOn: stream ]);
yourself
]

0 comments on commit a9576b3

Please sign in to comment.