How to print out Tree Structure?

How to print expression from abstract syntax tree? a tree walker is provided?

  • an abstract syntax tree (AST) is generated, mean while a tree walker and respective methods are provided, what i need is to print out normal expression represented by the AST.

  • Answer:

    You should elaborate your question. It is not clear what methods you are talking about, it is not even clear what you are doing. Are you programming? what language? what program do you use?

Leon at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.