Class Dim.FunctionSource
java.lang.Object
org.htmlunit.corejs.javascript.tools.debugger.Dim.FunctionSource
- Enclosing class:
Dim
Class to store information about a function.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
Line number of the first line of the function.private String
The function name.private Dim.SourceInfo
Information about the source of the function. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
FunctionSource
(Dim.SourceInfo sourceInfo, int firstLine, String name) Creates a new FunctionSource. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the line number of the first line of the function.name()
Returns the name of the function.Returns the SourceInfo object that describes the source of the function.
-
Field Details
-
sourceInfo
Information about the source of the function. -
firstLine
private int firstLineLine number of the first line of the function. -
name
The function name.
-
-
Constructor Details
-
FunctionSource
Creates a new FunctionSource.
-
-
Method Details
-
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
Returns the name of the function.
-