@servicenow/sdk - v4.4.1
    Preparing search index...
    Index

    Methods

    • Applies the text changes to the file. This modifies and possibly creates a new source file.

      WARNING: This will forget any previously navigated descendant nodes in the source file.

      Parameters

      Returns FileTextChanges | undefined

    • Gets the file path.

      Returns string

    • Gets the source file if it was in the cache at the time of this class' creation.

      Returns SourceFile | undefined

    • Gets the text changes

      Returns TextChange[]

    • Gets if this change is for creating a new file.

      Returns boolean