cpg
Toggle table of contents
main
jvm
Platform filter
jvm
Switch theme
Search in API
cpg
cpg-core
/
de.fraunhofer.aisec.cpg.sarif
/
Region
Region
class
Region
(
var
startLine
:
Int
=
-1
,
var
startColumn
:
Int
=
-1
,
var
endLine
:
Int
=
-1
,
var
endColumn
:
Int
=
-1
)
:
Comparable
<
Region
>
Code source location, in a SASP/SARIF-compliant "Region" format.
Members
Constructors
Region
Link copied to clipboard
constructor
(
startLine
:
Int
=
-1
,
startColumn
:
Int
=
-1
,
endLine
:
Int
=
-1
,
endColumn
:
Int
=
-1
)
Properties
end
Column
Link copied to clipboard
var
endColumn
:
Int
end
Line
Link copied to clipboard
var
endLine
:
Int
start
Column
Link copied to clipboard
@
JvmField
var
startColumn
:
Int
start
Line
Link copied to clipboard
@
JvmField
var
startLine
:
Int
Functions
compare
To
Link copied to clipboard
open
operator override
fun
compareTo
(
other
:
Region
)
:
Int
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String