Example #1
0
 public AstDefinedMethod(AstFunctionDefinition definition)
 {
     this.Definition = definition;
     this.GenericArgumentTypes = new List<IAstTypeReference>();
 }
Example #2
0
 public AstDefinedMethod(AstFunctionDefinition definition)
 {
     this.Definition = definition;
     this.parameterTypes = definition.Parameters.Select(p => p.Type).ToArray().AsReadOnly();
 }
 protected virtual void AppendFunctionDefinition(StringBuilder builder, AstFunctionDefinition functionDefinition)
 {
     builder.Append(functionDefinition);
 }