parsers/smalltalk/PPSmalltalkToken.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 07 Oct 2014 09:42:03 +0100
changeset 385 44a36ed4e484
child 386 a409905f7f2d
permissions -rw-r--r--
Commited a Smalltalk parser (MC package PetitSmalltalk) Name: PetitSmalltalk-JanKurs.71 Author: JanKurs Time: 19-08-2014, 02:18:05 AM UUID: d1d11836-f3e2-4709-abd3-e2ff3b72d7c4 Repository: http://smalltalkhub.com/mc/Moose/PetitParser/main Ancestors: Fixes to be compatible with PPContext

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

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

PPSmalltalkToken comment:''
!

!PPSmalltalkToken methodsFor:'accessing'!

comments
	^ comments
!

comments: anArray
	comments := anArray
! !

!PPSmalltalkToken methodsFor:'compatiblity'!

length
	^ self size
! !