compiler/PPCInlineStrategy.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Sat, 01 Nov 2014 00:30:28 +0000
changeset 403 7063d523b064
parent 392 9b297f0d949c
permissions -rw-r--r--
Removed autoload attribut for tests. As all classes are in a test package, when package is loaded likely tests are required, so load them right away.

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

Object subclass:#PPCInlineStrategy
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'PetitCompiler-Nodes'
!

PPCInlineStrategy class instanceVariableNames:'Instance'

"
 No other class instance variables are inherited by this class.
"
!

!PPCInlineStrategy class methodsFor:'as yet unclassified'!

instance
	^ Instance ifNil: [ 
		Instance := self basicNew initialize.
	]
!

new
	^ self instance
! !

!PPCInlineStrategy methodsFor:'as yet unclassified'!

return: compiler
	compiler add: ''.
!

start: compiler id: id
	^ compiler startInline: id
!

stop: compiler
 ^ compiler stopInline
! !