Class Dim.FunctionSource

java.lang.Object
org.htmlunit.corejs.javascript.tools.debugger.Dim.FunctionSource
Enclosing class:
Dim

public static class Dim.FunctionSource extends Object
Class to store information about a function.
  • Field Details

    • sourceInfo

      private Dim.SourceInfo sourceInfo
      Information about the source of the function.
    • firstLine

      private int firstLine
      Line number of the first line of the function.
    • name

      private String name
      The function name.
  • Constructor Details

    • FunctionSource

      private FunctionSource(Dim.SourceInfo sourceInfo, int firstLine, String name)
      Creates a new FunctionSource.
  • Method Details

    • sourceInfo

      public Dim.SourceInfo sourceInfo()
      Returns the SourceInfo object that describes the source of the function.
    • firstLine

      public int firstLine()
      Returns the line number of the first line of the function.
    • name

      public String name()
      Returns the name of the function.