[Pharo-dev] problem while parsing xml

Stéphane Ducasse stephane.ducasse at inria.fr
Fri Dec 27 10:34:20 EST 2013


Hi

I’m trying to understand asciiValue

skipSeparators 
	| nextChar |
	[(nextChar := self peek) not Nil
		and: [SeparatorCharacters includes: nextChar]]
		whileTrue: [self next].


SeparatorCharacters is a CharacterSet

nextChar is an integer 

and

CharacterSet>>includes: aCharacter 
	aCharacter asciiValue >= 256
		ifTrue: [^ false].
	^ (map at aCharacter asciiValue + 1) >0 

but I’m stuck.

Stef






More information about the Pharo-dev mailing list