KT-28324 More exact startOffset for function/constructor declarations
Function/constructor declaration start offset is the start offset of the corresponding declaration token, if available.
This commit is contained in:
+9
-9
@@ -5,22 +5,22 @@
|
||||
@1:0..33:1 BLOCK_BODY
|
||||
@1:0..33:1 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@1:0..33:1 INSTANCE_INITIALIZER_CALL classDescriptor='Foo'
|
||||
@8:4..10:36 CLASS CLASS name:Inner modality:FINAL visibility:public flags:inner superTypes:[kotlin.Any]
|
||||
@8:4..10:36 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Foo.Inner flags:
|
||||
@8:4..10:36 CONSTRUCTOR visibility:private <> ($this:Foo, x:kotlin.Int) returnType:Foo.Inner flags:primary
|
||||
@8:10..10:36 CLASS CLASS name:Inner modality:FINAL visibility:public flags:inner superTypes:[kotlin.Any]
|
||||
@8:10..10:36 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Foo.Inner flags:
|
||||
@8:60..10:36 CONSTRUCTOR visibility:private <> ($this:Foo, x:kotlin.Int) returnType:Foo.Inner flags:primary
|
||||
@8:52..79 VALUE_PARAMETER name:<this> type:Foo flags:
|
||||
@8:72..78 VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
@8:4..10:36 BLOCK_BODY
|
||||
@8:4..10:36 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@8:4..10:36 INSTANCE_INITIALIZER_CALL classDescriptor='Inner'
|
||||
@8:4..10:36 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
@8:10..10:36 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
@8:4..10:36 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
@-1:-1..-1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
||||
@8:4..10:36 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
@8:10..10:36 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
||||
@8:10..10:36 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
@8:4..10:36 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
@8:4..10:36 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
@8:10..10:36 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
@8:4..10:36 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
@18:4..20:39 FUN name:foo visibility:protected modality:OPEN <> ($this:Foo, y:kotlin.Int) returnType:kotlin.Unit flags:
|
||||
@18:19..20:39 FUN name:foo visibility:protected modality:OPEN <> ($this:Foo, y:kotlin.Int) returnType:kotlin.Unit flags:
|
||||
@18:4..20:39 VALUE_PARAMETER name:<this> type:Foo flags:
|
||||
@18:27..33 VALUE_PARAMETER name:y index:0 type:kotlin.Int flags:
|
||||
@18:35..20:39 BLOCK_BODY
|
||||
@@ -44,7 +44,7 @@
|
||||
@31:38..40 CONST Int type=kotlin.Int value=42
|
||||
@1:0..33:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
@1:0..33:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
@-1:-1..-1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
||||
@1:0..33:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
||||
@1:0..33:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
@1:0..33:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
@1:0..33:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
|
||||
Reference in New Issue
Block a user