parsers/smalltalk/PPSmalltalkToken.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 08 Oct 2014 00:08:21 +0100
changeset 386 a409905f7f2d
parent 385 44a36ed4e484
child 417 3c0a91182e65
permissions -rw-r--r--
Smalltalk parser almost fixed (except few pragma-related tests). Code is bit ugly sometimes....

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

PPToken subclass:#PPSmalltalkToken
	instanceVariableNames:'comments'
	classVariableNames:''
	poolDictionaries:''
	category:'PetitSmalltalk-Core'
!

!PPSmalltalkToken methodsFor:'accessing'!

comments
	^ comments
!

comments: anArray
	comments := anArray
! !

!PPSmalltalkToken methodsFor:'compatiblity'!

length
	^ self size
! !