compiler/PPCEndOfFileNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 17 Jun 2015 17:10:54 +0100
changeset 493 0aed9c69ed48
parent 464 f6d77fee9811
child 515 b5316ef15274
permissions -rw-r--r--
Fixed target mcz - exit Smalltalk after all packages are exported.

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

"{ NameSpace: Smalltalk }"

PPCNode subclass:#PPCEndOfFileNode
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'PetitCompiler-Nodes'
!

!PPCEndOfFileNode methodsFor:'accessing'!

prefix
    ^ #eof
! !

!PPCEndOfFileNode methodsFor:'analysis'!

acceptsEpsilon
    ^ false
!

acceptsEpsilonOpenSet: set
    ^ false
!

firstCharSet
    ^ PPCharSetPredicate on: [:e | true ] 
! !

!PPCEndOfFileNode methodsFor:'visiting'!

accept: visitor
    ^ visitor visitEndOfFileNode: self.
! !