compiler/PPCNotLiteralNode.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Thu, 10 Sep 2015 07:13:16 +0100
changeset 547 0b8c75af51a0
parent 515 b5316ef15274
permissions -rw-r--r--
Portability: Removed tests/asserts referring to BlockClosure Due to historical reasons, there's no BlockClosure in Smalltalk/X, the class is named Block. Conversely, there's no Block in Squeak/Pharo.

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

"{ NameSpace: Smalltalk }"

PPCAbstractLiteralNode subclass:#PPCNotLiteralNode
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'PetitCompiler-Nodes'
!

!PPCNotLiteralNode methodsFor:'accessing'!

defaultName
    ^ #notLit
!

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

!PPCNotLiteralNode methodsFor:'visiting'!

accept: visitor
    ^ visitor visitNotLiteralNode: self
! !