public abstract class Rule<A extends TreeNode<A>> extends Object
Analyzer
rule chain. Method rule
gets a tree
and must return a tree. The returned tree can also be the input tree. In an Analyzer
rule chain the result tree of one Rule
is fed into the next Rule
in the chain.
A Rule
is repeatedly applied to a tree until the tree does not change between
rule applications.
Constructor and Description |
---|
Rule() |
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.