org.prorefactor.treeparser
Interface IJPTreeParser


public interface IJPTreeParser

Common interface for our tree parsers.


Method Summary
 AST get_retTree()
          Get the (hopefully) last node where the tree parser left off before it died with an exception.
 void program(AST _t)
          The starting point for parsing a tree.
 

Method Detail

program

void program(AST _t)
             throws RecognitionException
The starting point for parsing a tree. You don't have to worry about this one - it is generated automatically if your grammar "extends" JPTreeParser.g.

Throws:
RecognitionException

get_retTree

AST get_retTree()
Get the (hopefully) last node where the tree parser left off before it died with an exception. See JPTreeParser for an implementation of this (it needs to be copied and pasted into your own tree parser's .g grammar file).



Copyright © 2008 Joanju Software. All Rights Reserved.