MCPcopy
hub / github.com/Effect-TS/effect / line

Function line

packages/printer/src/internal/docTreeToken.ts:81–86  ·  view source on GitHub ↗
(indentation: number)

Source from the content-addressed store, hash-verified

79
80/** @internal */
81export const line = <A>(indentation: number): DocTreeToken<A> => {
82 const op = Object.create(proto)
83 op._tag = "LineToken"
84 op.indentation = indentation
85 return op
86}
87
88/** @internal */
89export const pushAnnotation = <A>(annotation: A): DocTreeToken<A> => {

Callers

nothing calls this directly

Calls 1

createMethod · 0.80

Tested by

no test coverage detected