/// <exception cref="BadSyntaxException">
 /// The <paramref name="declaration"/> does not fit to the syntax.
 /// </exception>
 public override void InitFromDeclaration(IArgumentListDeclaration <IParameterDeclaration> declaration)
 {
     if (declaration is ICSharpArgumentListDeclaration <ICSharpParameterDeclaration> csharpDeclaration)
     {
         InitFromDeclaration(csharpDeclaration);
     }
     else
     {
         throw new BadSyntaxException(Strings.ErrorInvalidParameterDeclaration);
     }
 }
Beispiel #2
0
 /// <exception cref="BadSyntaxException">
 /// The <paramref name="declaration"/> does not fit to the syntax.
 /// </exception>
 public override void InitFromDeclaration(IArgumentListDeclaration <IParameterDeclaration> declaration)
 {
     if (declaration is IJavaArgumentListDeclaration <IJavaParameterDeclaration> javaDeclaration)
     {
         InitFromDeclaration(javaDeclaration);
     }
     else
     {
         throw new BadSyntaxException(Strings.ErrorInvalidParameterDeclaration);
     }
 }
Beispiel #3
0
 /// <exception cref="BadSyntaxException">
 /// The <paramref name="declaration"/> does not fit to the syntax.
 /// </exception>
 public abstract void InitFromDeclaration(IArgumentListDeclaration <IParameterDeclaration> declaration);