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 intLine number of the first line of the function.private StringThe function name.private Dim.SourceInfoInformation about the source of the function. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFunctionSource(Dim.SourceInfo sourceInfo, int firstLine, String name) Creates a new FunctionSource. -
Method Summary
Modifier and TypeMethodDescriptionintReturns 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.
-