KRASCHE
&
BYRNE
         ELZED  HOME       NEWS       DOCS       DOWNLOADS       LICENSING       SUPPORT       FAQ       ABOUT  US

What's An Elzed?
Features
Licensing
Downloads
Documentation
Elzed News
    ELZED 
 Documentation 
 The Details 
 API 

lzAnnotateExp

The lzAnnotateExp function converts the passed-in expression into enhanced postfix notation and returns it with in-line descriptive text.

char* lzAnnotateExp(
   const char* szExpression   // the expression to be annotated
);

Parameters

szExpression
   A null-terminated character string containing the expression to be converted and annotated.

Return Value

   Returns a null-terminated character string containing the converted and annotated expression. Newline characters are inserted after each operator and operand, making the string suitable for printing.

Elzed will reuse the returned string, so do not save the returned pointer. If you need to save the returned value, copy it into another string.

Remarks

   This function is useful for debugging the parser; note that the passed-in expression is converted to enhanced postfix, but not evaluated.

Versions

   Introduced in Elzed 2.3.3
Modified in Elzed 2.4.0 -- String (char*) parameter is now declared const.
   This page describes the version of lzAnnotateExp active in Elzed 2.5.0 (176: 2.5.0)


  Copyright  ©  MMXXV  by  R R Le Cropane   •   All Rights Reserved   •   Terms of Use   •   Privacy Policy