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