org.erights.e.elang.scope
Class PatternMapContour

java.lang.Object
  |
  +--org.erights.e.elang.scope.PatternMap
        |
        +--org.erights.e.elang.scope.PatternMapContour

public class PatternMapContour
extends PatternMap

Untamed: A PatternMap consisting of an empty innermost contour on top of some other PatternMap.

Author:
Ka-Ping Yee

Field Summary
private  PatternMap myNextMap
           
 
Fields inherited from class org.erights.e.elang.scope.PatternMap
EMPTY
 
Constructor Summary
(package private) PatternMapContour(PatternMap nextMap)
           
 
Method Summary
(package private)  void addNamesTo(FlexSet names)
           
 void assertShadowable(String name)
          Enabled:
 boolean contains(String name)
          Enabled:
 NounPattern getPattern(String name)
          Enabled:
 ConstSet namesSet()
          Enabled:
 PatternMap nested()
          Enabled: There is no need for two contiguous boundaries, so return self.
 void replace(String name, NounPattern pattern)
          Enabled:
 
Methods inherited from class org.erights.e.elang.scope.PatternMap
make, with
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myNextMap

private final PatternMap myNextMap
Constructor Detail

PatternMapContour

PatternMapContour(PatternMap nextMap)
Method Detail

getPattern

public NounPattern getPattern(String name)
Enabled:

Specified by:
getPattern in class PatternMap

contains

public boolean contains(String name)
Enabled:

Specified by:
contains in class PatternMap

namesSet

public ConstSet namesSet()
Enabled:

Overrides:
namesSet in class PatternMap

addNamesTo

void addNamesTo(FlexSet names)
Specified by:
addNamesTo in class PatternMap

assertShadowable

public void assertShadowable(String name)
Enabled:

Specified by:
assertShadowable in class PatternMap

replace

public void replace(String name,
                    NounPattern pattern)
Enabled:

Specified by:
replace in class PatternMap

nested

public PatternMap nested()
Enabled: There is no need for two contiguous boundaries, so return self.

Overrides:
nested in class PatternMap


comments?