compiler/PPCInlineLiteralNode.st
changeset 421 7e08b31e0dae
parent 392 9b297f0d949c
child 422 116d2b2af905
equal deleted inserted replaced
420:b2f2f15cef26 421:7e08b31e0dae
     1 "{ Package: 'stx:goodies/petitparser/compiler' }"
     1 "{ Package: 'stx:goodies/petitparser/compiler' }"
     2 
     2 
     3 PPCAbstractLiteralNode subclass:#PPCInlineLiteralNode
     3 PPCLiteralNode subclass:#PPCInlineLiteralNode
     4 	instanceVariableNames:''
     4 	instanceVariableNames:''
     5 	classVariableNames:''
     5 	classVariableNames:''
     6 	poolDictionaries:''
     6 	poolDictionaries:''
     7 	category:'PetitCompiler-Nodes'
     7 	category:'PetitCompiler-Nodes'
     8 !
     8 !
    35  ^ compiler stopInline.
    35  ^ compiler stopInline.
    36 ! !
    36 ! !
    37 
    37 
    38 !PPCInlineLiteralNode methodsFor:'printing'!
    38 !PPCInlineLiteralNode methodsFor:'printing'!
    39 
    39 
       
    40 asInlined
       
    41 	^ self
       
    42 !
       
    43 
    40 printOn: aStream
    44 printOn: aStream
    41 	aStream nextPutAll: '#inline'.
    45 	aStream nextPutAll: '#inline'.
    42 	super printOn: aStream
    46 	super printOn: aStream
    43 ! !
    47 ! !
    44 
    48