Introduced PPCMappedActionNode for PPMappedActionParser.
It's compilation is not yet ideal, bot works for now.
"{ Package: 'stx:goodies/petitparser/compiler' }"
"{ NameSpace: Smalltalk }"
PPCMethod subclass:#PPCInlinedMethod
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'PetitCompiler-Compiler-Codegen'
!
!PPCInlinedMethod methodsFor:'as yet unclassified'!
call
^ self code
!
code
^ (String streamContents:[:s | buffer codeOn:s ]) trimRight
"Modified (format): / 01-06-2015 / 21:44:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
isInline
^ true
! !
!PPCInlinedMethod methodsFor:'code generation - variables'!
allocateReturnVariable
self error: 'return variable must be assigned by the non-inlined method....'
"Created: / 23-04-2015 / 21:06:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
allocateTemporaryVariableNamed:aString
self error: 'sorry, I can''t allocate variables....'
"Created: / 23-04-2015 / 21:06:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!PPCInlinedMethod class methodsFor:'documentation'!
version_HG
^ '$Changeset: <not expanded> $'
! !