diff options
| author | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-17 11:38:09 +0200 | 
|---|---|---|
| committer | Matthias Andreas Benkard <matthias@benkard.de> | 2008-08-17 12:02:19 +0200 | 
| commit | 22dc528bcebd30bd8a274fca0d7d728e917c7ec2 (patch) | |
| tree | f6a4ae7df7e09740009d04e2ff1dbf63cfe8c44c | |
| parent | 3f11cb6b3ddd03d3211dd355cbac23884fa5a6e3 (diff) | |
MLKForm class cluster: Add a couple of accessors to forms that are only processed indirectly.
| -rw-r--r-- | MLKForm.h | 8 | ||||
| -rw-r--r-- | MLKForm.m | 26 | 
2 files changed, 34 insertions, 0 deletions
@@ -91,6 +91,7 @@  {    id _body;    NSArray *_bodyForms; +  id _bodyContext;  }  -(void) splitDeclarationsAndBody:(id)object; @@ -319,6 +320,10 @@  }  +(Class) dispatchClassForObject:(id)object; + +-(id) name; +-(id) lambdaListName; +-(id) bodyForms;  @end @@ -329,6 +334,9 @@  }  +(Class) dispatchClassForObject:(id)object; + +-(id) name; +-(id) valueForm;  @end @@ -246,6 +246,7 @@        rest = [rest cdr];      } +  LASSIGN (_bodyContext, context);    LASSIGN (_bodyForms, bodyForms);  } @@ -883,6 +884,21 @@            inContext:newContext];    return self;  } + +-(id) name +{ +  return _name; +} + +-(id) lambdaListName +{ +  return _lambdaListName; +} + +-(id) bodyForms +{ +  return _bodyForms; +}  @end @@ -914,6 +930,16 @@  {    return [[super subforms] arrayByAddingObject:_valueForm];  } + +-(id) name +{ +  return _name; +} + +-(id) valueForm +{ +  return _valueForm; +}  @end  | 
