net.sf.sasl.language.placeholder.syntax
Interface ITreeWalker

All Known Implementing Classes:
SimplePrefixTreeWalker

public interface ITreeWalker

Interface defines methods which must be offered by an asbtract placeholder syntax tree tree walker.

Since:
0.0.1 (sasl-common-aspect-library)
Author:
Philipp Förmer

Method Summary
 ASTNode getCurrentNode()
          Returns the current visited node returned by a call to nextNode().
 ASTNode nextNode()
          Visits the next node in the tree and returns it.
 

Method Detail

getCurrentNode

ASTNode getCurrentNode()
Returns the current visited node returned by a call to nextNode().

Returns:
null or non null
Since:
0.0.1 (sasl-common-aspect-library)

nextNode

ASTNode nextNode()
Visits the next node in the tree and returns it. Returns null if there are no more nodes in the tree to visit.

Returns:
null or non null
Since:
0.0.1 (sasl-common-aspect-library)


Copyright © 2010. All Rights Reserved.