xtc.parser
Interface Renamer.Translation

All Known Implementing Classes:
ModuleMap
Enclosing class:
Renamer

public static interface Renamer.Translation

The interface to the actual mapping from nonterminals to nonterminals.


Method Summary
 NonTerminal map(NonTerminal nt, Analyzer analyzer)
          Map the specified nonterminal to its replacement, which may be the same as the original.
 

Method Detail

map

NonTerminal map(NonTerminal nt,
                Analyzer analyzer)
Map the specified nonterminal to its replacement, which may be the same as the original.

Parameters:
nt - The nonterminal.
analyzer - The analyzer utility.
Returns:
The translated nonterminal.


Copyright © 2012. All Rights Reserved.