Define a built-in function (like print or c) and the processor to use.

interface BuiltInFunctionDefinition<BuiltInProcessor> {
    assumePrimitive?: boolean;
    config: ConfigOfBuiltInMappingName<BuiltInProcessor>;
    names: readonly Identifier[];
    processor: BuiltInProcessor;
    type: "function";
}

Type Parameters

Hierarchy (view full)

Hierarchy-Diagram

UML class diagram of BuiltInFunctionDefinition

Properties

assumePrimitive?: boolean

Should we assume that the value is a primitive?

names: readonly Identifier[]

The function name to define to the given configuration

processor: BuiltInProcessor
type: "function"

The type of the built-in configuration