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:
@@ -5,7 +5,7 @@
|
||||
@2:0..8:1 BLOCK_BODY
|
||||
@2:0..8:1 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@2:0..8:1 INSTANCE_INITIALIZER_CALL classDescriptor='Host'
|
||||
@3:4..38 FUN name:plusAssign visibility:public modality:FINAL <> ($this:test.Host, x:kotlin.Int) returnType:kotlin.Unit flags:
|
||||
@3:13..38 FUN name:plusAssign visibility:public modality:FINAL <> ($this:test.Host, x:kotlin.Int) returnType:kotlin.Unit flags:
|
||||
@3:4..38 VALUE_PARAMETER name:<this> type:test.Host flags:
|
||||
@3:28..34 VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
@3:36..38 BLOCK_BODY
|
||||
@@ -17,7 +17,7 @@
|
||||
@6:16..17 CONST Int type=kotlin.Int value=1
|
||||
@2:0..8:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
@2:0..8:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
@-1:-1..-1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
||||
@2:0..8:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
||||
@2:0..8:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
@2:0..8:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
@2:0..8:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
|
||||
Reference in New Issue
Block a user