public override void TypeCheck()
 {
     foreach (var FormalParameter in FormalParameterList)
     {
         FormalParameter.TypeCheck();
     }
 }
 public override void ResolveNames(LexicalScope ls)
 {
     foreach (var FormalParameter in FormalParameterList)
     {
         FormalParameter.ResolveNames(ls);
     }
 }
Beispiel #3
0
 public MethodDeclarator(string NameOfMethod,
                         FormalParameter formalparameter)
 {
     this.NameOfMethod    = NameOfMethod;
     this.formalparameter = formalparameter;;
 }