compiler/PPCNilNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 18 Jan 2016 08:05:03 +0000
changeset 555 4aa0496e6c22
parent 515 b5316ef15274
permissions -rw-r--r--
For tests on Pharo 5.0, use Spur VM

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

"{ NameSpace: Smalltalk }"

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


!PPCNilNode methodsFor:'accessing'!

defaultName
    ^ #nil
! !

!PPCNilNode methodsFor:'analysis'!

acceptsEpsilon
    ^ true
!

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

isNullable
    ^ true
! !

!PPCNilNode methodsFor:'visiting'!

accept: visitor
    ^ visitor visitNilNode: self
! !

!PPCNilNode class methodsFor:'documentation'!

version_HG

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