parsers/java/PJBooleanLiteralNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 18 Jun 2015 06:07:40 +0100
changeset 494 5cdfa83d6027
parent 435 3bc08fb90133
permissions -rw-r--r--
Oops, removed EOL comments as they;re not supported in Squeak / Pharo

"{ Package: 'stx:goodies/petitparser/parsers/java' }"

"{ NameSpace: Smalltalk }"

PJExpressionNode subclass:#PJBooleanLiteralNode
	instanceVariableNames:'booleanValue'
	classVariableNames:''
	poolDictionaries:''
	category:'PetitJava-AST'
!

PJBooleanLiteralNode comment:'Node representing a boolean literal'
!

!PJBooleanLiteralNode class methodsFor:'instance creation'!

booleanValue: aBoolean

	^(self new) booleanValue: aBoolean
! !

!PJBooleanLiteralNode methodsFor:'accessing'!

booleanValue
	^ booleanValue
!

booleanValue: anObject
	booleanValue := anObject
! !

!PJBooleanLiteralNode methodsFor:'visiting'!

acceptVisitor: aVisitor

	^ aVisitor visitBooleanLiteralNode: self
! !