compiler/PPCInlineMessagePredicateNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Sun, 19 Apr 2015 22:25:38 +0100
changeset 430 77cf8e710a8e
parent 422 116d2b2af905
permissions -rw-r--r--
Added dependencies on petitparser/analyzer and petitparser/islands ...as compiler makes use of some of their extension methods.

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

"{ NameSpace: Smalltalk }"

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.
! !