Interface StatementRanges


public interface StatementRanges
Describes the source-code positions of top-level statements in a string of JavaScript.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    end(int i)
    The end of the ith statement.
    int
    The number of statements in the associated JavaScript.
    int
    start(int i)
    The start of the ith statement.
  • Method Details

    • end

      int end(int i)
      The end of the ith statement.
    • numStatements

      int numStatements()
      The number of statements in the associated JavaScript.
    • start

      int start(int i)
      The start of the ith statement.