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:
@@ -0,0 +1,26 @@
|
||||
@0:0..23:1 FILE fqName:test fileName:/classFuns.kt
|
||||
@3:0..23:1 CLASS CLASS name:Test modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
|
||||
@3:0..23:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:test.Test flags:
|
||||
@3:0..23:1 CONSTRUCTOR visibility:public <> () returnType:test.Test flags:primary
|
||||
@3:0..23:1 BLOCK_BODY
|
||||
@3:0..23:1 DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@3:0..23:1 INSTANCE_INITIALIZER_CALL classDescriptor='Test'
|
||||
@5:4..18 FUN name:test0 visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Unit flags:
|
||||
@5:4..18 VALUE_PARAMETER name:<this> type:test.Test flags:
|
||||
@5:16..18 BLOCK_BODY
|
||||
@11:4..18 FUN name:test1 visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Unit flags:
|
||||
@11:4..18 VALUE_PARAMETER name:<this> type:test.Test flags:
|
||||
@11:16..18 BLOCK_BODY
|
||||
@17:4..18 FUN name:test2 visibility:public modality:FINAL <> ($this:test.Test) returnType:kotlin.Unit flags:
|
||||
@14:4..17:18 VALUE_PARAMETER name:<this> type:test.Test flags:
|
||||
@17:16..18 BLOCK_BODY
|
||||
@21:4..18 FUN name:test3 visibility:private modality:FINAL <> ($this:test.Test) returnType:kotlin.Unit flags:
|
||||
@20:4..21:18 VALUE_PARAMETER name:<this> type:test.Test flags:
|
||||
@21:16..18 BLOCK_BODY
|
||||
@3:0..23:1 FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean flags:
|
||||
@3:0..23:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
@3:0..23:1 VALUE_PARAMETER name:other index:0 type:kotlin.Any? flags:
|
||||
@3:0..23:1 FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int flags:
|
||||
@3:0..23:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
@3:0..23:1 FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String flags:
|
||||
@3:0..23:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
Reference in New Issue
Block a user