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

44 lines
1.1 KiB
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$
//
//*******************************************************************
// extrdict.cls: #xtranslate sz˘t r elem
// 1999, Csisz r Levente
class EXTRDICT OBJECT
attrib cmdType // 0: xtranslatae, 1: xcommand.
attrib leftSide
attrib rightSide
attrib deffilelinepos
attrib numMatchMarkers
attrib undefRMarkers // Azok a result markerek, amikhez nincs
// match marker
nmethod change(paramValues)
// A paramValues tartalmazza a match tokenekre illesztett
// tokeneket.
nmethod printStr()
// Stringknt adja meg az elemet #xtranslate leftSide => rightSide
// form ban.
// nmethod setNextToken()
// Az ”sszes match markerben be llˇtja a nextToken-t, ha van.
// nmethod calcSorszam()
// - ™sszeszedi a match markereket.
// - Minden match markerbe beˇrja a sorsz m t.
// - Minden result marker-be beˇrja a hozz  tartoz˘ match
// marker sorsz m t.
rmethod oinit(cmdType,leftSide,rightSide,deffile,defline,defpos)
metaclass
rmethod onew(cmdType,leftSide,rightSide,deffile,defline,defpos)