Class Dim.FunctionSource
- java.lang.Object
-
- org.htmlunit.corejs.javascript.tools.debugger.Dim.FunctionSource
-
- Enclosing class:
- Dim
public static class Dim.FunctionSource extends java.lang.ObjectClass to store information about a function.
-
-
Field Summary
Fields Modifier and Type Field Description private intfirstLineLine number of the first line of the function.private java.lang.StringnameThe function name.private Dim.SourceInfosourceInfoInformation about the source of the function.
-
Constructor Summary
Constructors Modifier Constructor Description privateFunctionSource(Dim.SourceInfo sourceInfo, int firstLine, java.lang.String name)Creates a new FunctionSource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intfirstLine()Returns the line number of the first line of the function.java.lang.Stringname()Returns the name of the function.Dim.SourceInfosourceInfo()Returns the SourceInfo object that describes the source of the function.
-
-
-
Field Detail
-
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 java.lang.String name
The function name.
-
-
Constructor Detail
-
FunctionSource
private FunctionSource(Dim.SourceInfo sourceInfo, int firstLine, java.lang.String name)
Creates a new FunctionSource.
-
-
Method Detail
-
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 java.lang.String name()
Returns the name of the function.
-
-