compiler/PPCInlineMessagePredicateNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 30 Oct 2014 23:01:54 +0000
changeset 398 b3e47bab2de6
parent 392 9b297f0d949c
child 422 116d2b2af905
permissions -rw-r--r--
Added teardown to PetitCompilerTests to clean up a generated parser after tests.

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

PPCMessagePredicateNode subclass:#PPCInlineMessagePredicateNode
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'PetitCompiler-Nodes'
!

!PPCInlineMessagePredicateNode methodsFor:'as yet unclassified'!

asInlined
	^ self
!

compileWith: compiler effect: effect id: id
	compiler startInline: id.
	compiler add: ''.
	self bodyOfPredicate: compiler.
 ^ compiler stopInline.
! !