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