@wpkernel/php-json-ast v0.12.6-beta.3
@wpkernel/php-json-ast / CreatePhpFileBuilderOptions
Interface: CreatePhpFileBuilderOptions<TContext, TInput, TOutput>
Extends
Omit<CreatePhpProgramBuilderOptions<TContext,TInput,TOutput>,"build">
Type Parameters
TContext
TContext extends PipelineContext = PipelineContext
TInput
TInput extends BuilderInput = BuilderInput
TOutput
TOutput extends BuilderOutput = BuilderOutput
Properties
build()
ts
readonly build: (builder, entry) => void | Promise<void>;Parameters
builder
entry
Returns
void | Promise<void>
filePath
ts
readonly filePath: string;Inherited from
ts
Omit.filePathkey
ts
readonly key: string;Inherited from
ts
Omit.keymetadata
ts
readonly metadata: PhpFileMetadata;Inherited from
ts
Omit.metadatanamespace
ts
readonly namespace: string;Inherited from
ts
Omit.namespacedependsOn?
ts
readonly optional dependsOn: readonly string[];Prerequisite helper keys.
Default Value
[]
Inherited from
mode?
ts
readonly optional mode: HelperMode;Duplicate-key policy.
Default Value
'extend'
Inherited from
origin?
ts
readonly optional origin: string;Optional provenance label used in diagnostics.
Inherited from
priority?
ts
readonly optional priority: number;Relative ordering hint.
Default Value
0
