Files
harbour-core/harbour/samples/cccppc/treader.cls
1999-11-09 01:37:27 +00:00

28 lines
769 B
OpenEdge ABL
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//
// $Id$
//
//*******************************************************************
// treader.cls: <20>ltal nos 'token' olvas¢ oszt ly.
// 1999, Csisz r Levente
// Meg kell adni neki egy reader-t
// amib“l olvas. A reader adhat tokent is s karaktert is.
// Az olvasott karakterekb“l s tokenekb“l ksz¡t egy token sorozatot
// ami reprezent lja az eredeti input folyamot.
class TREADER READER
attrib inputReader
nmethod readInput() // Olvas egy elemet az inputReader-r“l.
nmethod unReadInput(item) // Visszatesz egy elemet az inputReader
// inputj ra.
nmethod addInputReader(reader)
rmethod oinit(inputReader,name,errorStream)
metaclass
rmethod onew(inputReader,name,errorStream)