@eagleoutice/flowr - v2.17.4
    Preparing search index...

    A program to mutate, as flowR sees it: the statements of its normalized AST, the dataflow graph, and what the built-in configuration states about the calls it makes. Passes ask this instead of reading the code as text.

    Index
    lines: readonly string[]
    statements: readonly RNodeWithParent[]

    the top-level statements, in order

    • get lineByLine(): boolean

      Whether every line is whole: no statement continues on the next line and nothing but statements, separated by ;, is written on a line. A comment is no statement, so a line holding one is not whole either.

      Returns boolean

    • get readsNamesAsData(): boolean

      Whether the program may read a name as data, so renaming a variable would change what it finds: a call that looks a name up or binds one by its spelling (get, assign, exists), reads code as written, or dispatches by name.

      Returns boolean

    • get seesTheFrame(): boolean

      Whether the program depends on the frame its statements run in, so moving them into another (local({...})) changes what they do: a call that binds or removes names (assign, rm), evaluates code in an environment, or reads its frame (environment()), and any super-assignment.

      Returns boolean

    • Whether call can be made another way, through do.call or with an argument wrapped, without the callee noticing: flowR processes it as any call and the callee only uses the values of its arguments. A function the program defines qualifies where it neither quotes a parameter nor asks whether one was supplied.

      Parameters

      Returns Promise<boolean>