Skip to main content
View Source on Github

Inherits from

Placeholder

Methods

edit

Edits the source code of this placeholder node.
View Source on Github

Parameters

new_src
required
The new source code to replace the current source code.
fix_indentation
default:False
Whether to automatically fix the indentation of the new source code. Defaults to False.
priority
default:0
The priority of this edit operation. Higher priority edits are applied first. Defaults to 0.
dedupe
default:True
Whether to deduplicate this edit against other pending edits. Defaults to True.

Returns

remove

Removes this element from its parent container.
View Source on Github

Returns