コード例 #1
0
 public CompilerError UnknownArgument(FunctionType type, PositionalArgument arg) => Add($"Argument {arg.Position} does not exist in {type}.");
コード例 #2
0
 public BuiltinFunction(FunctionType type)
 {
     this.Type = type ?? throw new ArgumentNullException(nameof(type));
 }
コード例 #3
0
 public CompilerError UnknownArgument(FunctionType type, NamedArgument arg) => Add($"Argument {arg.Name} does not exist in {type}.");
コード例 #4
0
 public BuiltinFunction(FunctionType type, LLVMValueRef function) : this(type)
 {
     this.function = function;
 }