Skip to content

Latest commit

 

History

History
103 lines (58 loc) · 1.93 KB

LineWriter.md

File metadata and controls

103 lines (58 loc) · 1.93 KB

@puppeteer/replay / LineWriter

Interface: LineWriter

Copyright 2022 Google LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Table of contents

Methods

Methods

appendLine

appendLine(line): LineWriter

Parameters

Name Type
line string

Returns

LineWriter

Defined in

LineWriter.ts:18


endBlock

endBlock(): LineWriter

Returns

LineWriter

Defined in

LineWriter.ts:20


getIndent

getIndent(): string

Returns

string

Defined in

LineWriter.ts:21


getSize

getSize(): number

Returns

number

Defined in

LineWriter.ts:22


startBlock

startBlock(): LineWriter

Returns

LineWriter

Defined in

LineWriter.ts:19