OnBeginBranch

Top  Previous  Next

TCustomTextTransformer > events > OnBeginBranch

 

The event OnBeginBranch occurs, when the parser enters an option or a repeat with the name xasName .

 

  property OnBeginBranch : TOnBranch 

           read FOnBeginBranch  write FOnBeginBranch;

  

  TOnBranch = procedure (Sender : TObject; 

                         const xasName : AnsiString; 

                         xeNodeKind : eTetraNodeKind)  

                         of object;

 

  eTetraNodeKind = (

    tnkProduction,  // production node

    tnkToken,       // token node

    tnkSkip,        // skip token node

    tnkOpt,         // optional

    tnkOptRep,      // optional repetition

    tnkRep,         // optional repetition

    tnkCount,       // counted repetition

    tnkWhile        // conditional repetition

  );



This page belongs to the TetraComponents Documentation

Home  Content  German