Files
kotlin-fork/compiler/testData/ir/sourceRanges/comments.txt
T
Dmitry Petrov 1b0d410a6f KT-29862 startOffset of class declaration
NB startOffset of primary class constructor declaration should still
point to the 'class' keyword (because of debugger requirements).
2019-02-15 16:25:16 +03:00

52 lines
3.9 KiB
Plaintext
Vendored

@0:0..33:1 FILE fqName:<root> fileName:/comments.kt
@1:0..33:1 CLASS CLASS name:Foo modality:FINAL visibility:public flags: superTypes:[kotlin.Any]
@1:0..33:1 VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:Foo flags:
@1:0..33:1 CONSTRUCTOR visibility:public <> () returnType:Foo flags:primary
@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: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: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:
@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: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: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
@25:4..27:25 PROPERTY name:x visibility:public modality:FINAL flags:val
@25:4..27:25 FIELD PROPERTY_BACKING_FIELD name:x type:kotlin.Int visibility:public flags:final
@25:17..19 EXPRESSION_BODY
@25:17..19 CONST Int type=kotlin.Int value=42
@27:8..25 FUN name:<get-x> visibility:public modality:FINAL <> ($this:Foo) returnType:kotlin.Int flags:
@27:8..25 VALUE_PARAMETER name:<this> type:Foo flags:
@27:16..25 BLOCK_BODY
@27:16..25 RETURN type=kotlin.Nothing from='<get-x>(): Int'
@27:16..25 CALL 'plus(Int): Int' type=kotlin.Int origin=PLUS
@27:16..21 GET_FIELD 'x: Int' type=kotlin.Int origin=null
@27:16..21 GET_VAR 'this@Foo: Foo' type=Foo origin=null
@27:24..25 CONST Int type=kotlin.Int value=1
@30:4..32:5 FUN name:test visibility:public modality:FINAL <> ($this:Foo) returnType:kotlin.Unit flags:
@30:4..32:5 VALUE_PARAMETER name:<this> type:Foo flags:
@30:15..32:5 BLOCK_BODY
@31:8..41 CALL 'foo(Int): Unit' type=kotlin.Unit origin=null
@31:8..41 GET_VAR 'this@Foo: Foo' type=Foo origin=null
@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: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:
@1:0..33:1 VALUE_PARAMETER name:<this> type:kotlin.Any flags: