Package org.rascalmpl.ast

Examples of org.rascalmpl.ast.FunctionDeclaration


  }
 
  @Override
  public Type getFormals() {
    // get formals is overridden because we can provide labeled parameters for JavaMethods (no pattern matching)
    FunctionDeclaration func = (FunctionDeclaration) getAst();
   
    List<Expression> formals = func.getSignature().getParameters().getFormals().getFormals();
    int arity = formals.size();
    Type[] types = new Type[arity];
    String[] labels = new String[arity];
    FunctionType ft = getFunctionType();
   
View Full Code Here

TOP

Related Classes of org.rascalmpl.ast.FunctionDeclaration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.