public class PatternBodyTransformer
extends java.lang.Object
PatternBody.| Constructor and Description | 
|---|
| PatternBodyTransformer(Pattern pattern) | 
| Modifier and Type | Method and Description | 
|---|---|
| <Result> Result | transform(PatternBody body,
         PatternModelAcceptor<Result> acceptor)Traverses the given  PatternBody,
 making proper calls to the givenPatternModelAcceptorduring the traversal,
 then returns the result of the acceptor. | 
public PatternBodyTransformer(Pattern pattern)
public <Result> Result transform(PatternBody body, PatternModelAcceptor<Result> acceptor) throws QueryInitializationException
PatternBody,
 making proper calls to the given PatternModelAcceptor during the traversal,
 then returns the result of the acceptor.QueryInitializationException