compiler/PPCInlinePluggableNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 06 Nov 2014 01:41:10 +0000
changeset 415 f30eb7ea54cd
parent 392 9b297f0d949c
child 421 7e08b31e0dae
permissions -rw-r--r--
Compatibility fixes: * do not use 'class methods size', use 'class methodDictionary size' * do not use 'class methods do:', use 'class methodDo:'

"{ Package: 'stx:goodies/petitparser/compiler' }"

PPCPluggableNode subclass:#PPCInlinePluggableNode
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'PetitCompiler-Nodes'
!

!PPCInlinePluggableNode methodsFor:'as yet unclassified'!

asInlined
	^ self
!

compileWith: compiler effect: effect id: id
        compiler startInline: id.
        compiler add: block asString, ' value: context.'.
        ^ compiler stopInline.

    "Modified (format): / 06-11-2014 / 01:13:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !