Class Dim.FunctionSource
- java.lang.Object
-
- org.mozilla.javascript.tools.debugger.Dim.FunctionSource
-
- Enclosing class:
- Dim
public static class Dim.FunctionSource extends java.lang.Object
Class to store information about a function.
-
-
Field Summary
Fields Modifier and Type Field Description private int
firstLine
Line number of the first line of the function.private java.lang.String
name
The function name.private Dim.SourceInfo
sourceInfo
Information about the source of the function.
-
Constructor Summary
Constructors Modifier Constructor Description private
FunctionSource(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 int
firstLine()
Returns the line number of the first line of the function.java.lang.String
name()
Returns the name of the function.Dim.SourceInfo
sourceInfo()
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.
-
-