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

33 lines
832 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$
//
//*******************************************************************
// mmarker.cls : Match marker token oszt ly.
// 1999, Csisz r Levente
// Match markereket t rol˘ token.
class MMARKER TOKEN
attrib mNum // A match marker sorsz ma egy makr˘ definˇci˘ban.
attrib nextToken // A regular match markerek olyanok, hogy az
// elemz“ el“re nz a k”vetkez“ tokenhez.
// Ezt a tokent t rolja itt. Ha nil, akkor
// nincs ilyen token.
rmethod oinit(id,str,file,line,pos)
// Inicializ lja az objektumot. Az str lesz a match marker neve.
nmethod getName()
metaclass
rmethod onew(id,str,file,line,pos)
nmethod isMatchMarker(aToken)
// Meg llpˇtja, hogy az aToken egy match marker-e.
// Ret: .t., ha igezn, .f., ha nem.