compiler/PPCAbstractActionNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 20 Apr 2015 13:24:27 +0100
changeset 433 6fcdf4d2c32c
parent 428 b879012e366e
child 438 20598d7ce9fa
permissions -rw-r--r--
Skip Java benchmarks on Smalltalk/X ...as Java parser is not yet supported.

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

"{ NameSpace: Smalltalk }"

PPCDelegateNode subclass:#PPCAbstractActionNode
	instanceVariableNames:'block'
	classVariableNames:''
	poolDictionaries:''
	category:'PetitCompiler-Nodes'
!


!PPCAbstractActionNode methodsFor:'accessing'!

block
	
	^ block
!

block: anObject
	
	block := anObject
! !

!PPCAbstractActionNode methodsFor:'as yet unclassified'!

prefix
	^ #action
! !

!PPCAbstractActionNode methodsFor:'comparing'!

= anotherNode
	super = anotherNode ifFalse: [ ^ false ].
	^ block = anotherNode block.
!

hash
	^ super hash bitXor: block hash
! !

!PPCAbstractActionNode class methodsFor:'documentation'!

version_HG

    ^ '$Changeset: <not expanded> $'
! !