Parsing Engine

danbikel.parser
Class IdentityNTMapper

java.lang.Object
  extended bydanbikel.parser.IdentityNTMapper
All Implemented Interfaces:
NonterminalMapper

public class IdentityNTMapper
extends Object
implements NonterminalMapper

Provides the identity mapping function.


Method Summary
 Symbol map(Symbol label)
          Returns the specified label unchanged (the identity mapping function).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

map

public Symbol map(Symbol label)
Returns the specified label unchanged (the identity mapping function).

Specified by:
map in interface NonterminalMapper
Parameters:
label - the label to be mapped
Returns:
the specified label unchanged (the identity mapping function).

Parsing Engine

Author: Dan Bikel.