예제 #1
0
 /// <summary>
 /// Visits a function declaration.
 /// </summary>
 /// <param name="declaration">the function declaration</param>
 protected internal virtual void visitFunctionDeclaration(FunctionDeclaration declaration)
 {
 }
예제 #2
0
 //TODO: link function body to declaration
 /// <summary>
 /// Creates a function body based on a function declaration.
 /// </summary>
 /// <param name="declaration">the base function declaration</param>
 public FunctionBody(FunctionDeclaration declaration)
     : base(declaration)
 {
     this.returnType = declaration.ReturnType;
 }