parsers/smalltalk/PPSmalltalkToken.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 16 Jun 2015 07:49:21 +0100
changeset 491 82b272c7dc37
parent 417 3c0a91182e65
permissions -rw-r--r--
Codegen: added support for smart action node compiling. Avoid creation of intermediate result collection for action nodes if all references to action block's argument (i.e., the nodes collection) is in form of: * <nodes> at: <numeric constant> * <nodes> first (second, third...

"{ 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
! !

!PPSmalltalkToken class methodsFor:'documentation'!

version_HG

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