Parsing Engine

danbikel.parser
Interface NonterminalMapper

All Known Implementing Classes:
Collins, IdentityNTMapper

public interface NonterminalMapper

Specifies a single method to map a symbol representing a nonterminal to another symbol, typically an equivalence class.

See Also:
NTMapper, Settings.prevModMapperClass

Method Summary
 Symbol map(Symbol label)
          Maps the specified nonterminal label to some other symbol (typically an equivalence class).
 

Method Detail

map

public Symbol map(Symbol label)
Maps the specified nonterminal label to some other symbol (typically an equivalence class).

Parameters:
label - the nonterminal label to be mapped
Returns:
a mapped version of the specified nonterminal label (typically an equivalence class)

Parsing Engine

Author: Dan Bikel.