| |
|
| xtc.parser.GrammarVisitor xtc.parser.TransientMarker
TransientMarker | public class TransientMarker extends GrammarVisitor (Code) | | Visitor to detect productions that can be treated as transient.
Note that this visitor requires that a grammar's productions
have been
ReferenceCounter reference counted . Further note
that this visitor assumes that the entire grammar is contained in a
single module.
author: Robert Grimm version: $Revision: 1.22 $ |
Method Summary | |
public Object | visit(Module m) Visit the specified grammar.
Parameters: m - The grammar module. |
TransientMarker | public TransientMarker(Runtime runtime, Analyzer analyzer)(Code) | | Create a new transient marker.
Parameters: runtime - The runtime. Parameters: analyzer - The analyzer utility. |
visit | public Object visit(Module m)(Code) | | Visit the specified grammar.
Parameters: m - The grammar module. Boolean.TRUE if the grammar has been modified,otherwise Boolean.FALSE . |
|
|
|