mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Fix ordering PrintAst nodes
This commit is contained in:
@@ -537,7 +537,7 @@ final class ClassInterfaceNode extends ElementNode {
|
||||
rank[childIndex](Element e, string file, int line, int column, string childStr |
|
||||
e = this.getADeclaration() and
|
||||
locationSortKeys(e, file, line, column) and
|
||||
childStr = result.toString()
|
||||
childStr = e.toString()
|
||||
|
|
||||
e order by file, line, column, childStr
|
||||
)
|
||||
|
||||
@@ -32,7 +32,7 @@ classes.kt:
|
||||
# 4| 0: [ReturnStmt] return ...
|
||||
# 4| 0: [VarAccess] this.arg
|
||||
# 4| -1: [ThisAccess] this
|
||||
# 4| 2: [FieldDeclaration] int arg;
|
||||
# 4| 3: [FieldDeclaration] int arg;
|
||||
# 4| -1: [TypeAccess] int
|
||||
# 4| 0: [VarAccess] arg
|
||||
# 5| 4: [Method] getX
|
||||
@@ -41,7 +41,7 @@ classes.kt:
|
||||
# 5| 0: [ReturnStmt] return ...
|
||||
# 5| 0: [VarAccess] this.x
|
||||
# 5| -1: [ThisAccess] this
|
||||
# 5| 4: [FieldDeclaration] int x;
|
||||
# 5| 5: [FieldDeclaration] int x;
|
||||
# 5| -1: [TypeAccess] int
|
||||
# 5| 0: [IntegerLiteral] 3
|
||||
# 8| 4: [Class] ClassThree
|
||||
@@ -118,18 +118,18 @@ classes.kt:
|
||||
# 42| 0: [ReturnStmt] return ...
|
||||
# 42| 0: [VarAccess] this.x
|
||||
# 42| -1: [ThisAccess] this
|
||||
# 42| 2: [FieldDeclaration] int x;
|
||||
# 42| 3: [FieldDeclaration] int x;
|
||||
# 42| -1: [TypeAccess] int
|
||||
# 42| 0: [IntegerLiteral] 3
|
||||
# 49| 11: [Class] Direction
|
||||
# 0| 1: [Method] values
|
||||
# 0| 3: [TypeAccess] Direction[]
|
||||
# 0| 0: [TypeAccess] Direction
|
||||
# 0| 1: [Method] valueOf
|
||||
# 0| 2: [Method] valueOf
|
||||
# 0| 3: [TypeAccess] Direction
|
||||
#-----| 4: (Parameters)
|
||||
# 0| 0: [Parameter] value
|
||||
# 0| 0: [TypeAccess] String
|
||||
# 0| 3: [Method] values
|
||||
# 0| 3: [TypeAccess] Direction[]
|
||||
# 0| 0: [TypeAccess] Direction
|
||||
# 49| 4: [Constructor] Direction
|
||||
# 49| 5: [BlockStmt] { ... }
|
||||
# 49| 0: [ExprStmt] <Expr>;
|
||||
@@ -154,14 +154,14 @@ classes.kt:
|
||||
# 50| 0: [ClassInstanceExpr] new Direction(...)
|
||||
# 50| -3: [TypeAccess] Direction
|
||||
# 53| 12: [Class] Color
|
||||
# 0| 1: [Method] values
|
||||
# 0| 3: [TypeAccess] Color[]
|
||||
# 0| 0: [TypeAccess] Color
|
||||
# 0| 1: [Method] valueOf
|
||||
# 0| 2: [Method] valueOf
|
||||
# 0| 3: [TypeAccess] Color
|
||||
#-----| 4: (Parameters)
|
||||
# 0| 0: [Parameter] value
|
||||
# 0| 0: [TypeAccess] String
|
||||
# 0| 3: [Method] values
|
||||
# 0| 3: [TypeAccess] Color[]
|
||||
# 0| 0: [TypeAccess] Color
|
||||
# 53| 4: [Constructor] Color
|
||||
#-----| 4: (Parameters)
|
||||
# 53| 0: [Parameter] rgb
|
||||
@@ -181,7 +181,7 @@ classes.kt:
|
||||
# 53| 0: [ReturnStmt] return ...
|
||||
# 53| 0: [VarAccess] this.rgb
|
||||
# 53| -1: [ThisAccess] this
|
||||
# 53| 5: [FieldDeclaration] int rgb;
|
||||
# 53| 6: [FieldDeclaration] int rgb;
|
||||
# 53| -1: [TypeAccess] int
|
||||
# 53| 0: [VarAccess] rgb
|
||||
# 54| 7: [FieldDeclaration] Color RED;
|
||||
@@ -266,7 +266,7 @@ classes.kt:
|
||||
# 73| 0: [ReturnStmt] return ...
|
||||
# 73| 0: [VarAccess] this.x
|
||||
# 73| -1: [ThisAccess] this
|
||||
# 73| 2: [FieldDeclaration] int x;
|
||||
# 73| 3: [FieldDeclaration] int x;
|
||||
# 73| -1: [TypeAccess] int
|
||||
# 73| 0: [IntegerLiteral] 1
|
||||
# 74| 4: [Method] foo
|
||||
@@ -434,7 +434,7 @@ classes.kt:
|
||||
# 118| 1: [Constructor]
|
||||
# 118| 5: [BlockStmt] { ... }
|
||||
# 118| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 118| 1: [Method] localFn
|
||||
# 118| 2: [Method] localFn
|
||||
# 118| 3: [TypeAccess] Unit
|
||||
# 118| 5: [BlockStmt] { ... }
|
||||
# 119| 0: [LocalTypeDeclStmt] class ...
|
||||
@@ -541,15 +541,15 @@ generic_anonymous.kt:
|
||||
# 3| 1: [ExprStmt] <Expr>;
|
||||
# 3| 0: [KtInitializerAssignExpr] ...=...
|
||||
# 3| 0: [VarAccess] x
|
||||
# 1| 2: [Method] getT
|
||||
# 1| 2: [FieldDeclaration] T t;
|
||||
# 1| -1: [TypeAccess] T
|
||||
# 1| 0: [VarAccess] t
|
||||
# 1| 3: [Method] getT
|
||||
# 1| 3: [TypeAccess] T
|
||||
# 1| 5: [BlockStmt] { ... }
|
||||
# 1| 0: [ReturnStmt] return ...
|
||||
# 1| 0: [VarAccess] this.t
|
||||
# 1| -1: [ThisAccess] this
|
||||
# 1| 2: [FieldDeclaration] T t;
|
||||
# 1| -1: [TypeAccess] T
|
||||
# 1| 0: [VarAccess] t
|
||||
# 3| 4: [FieldDeclaration] new Object(...) { ... } x;
|
||||
# 3| -1: [TypeAccess] new Object(...) { ... }
|
||||
# 3| 0: [TypeAccess] T
|
||||
@@ -564,17 +564,17 @@ generic_anonymous.kt:
|
||||
# 4| 0: [ExprStmt] <Expr>;
|
||||
# 4| 0: [KtInitializerAssignExpr] ...=...
|
||||
# 4| 0: [VarAccess] member
|
||||
# 4| 2: [Method] getMember
|
||||
# 4| 3: [TypeAccess] T
|
||||
# 4| 5: [BlockStmt] { ... }
|
||||
# 4| 0: [ReturnStmt] return ...
|
||||
# 4| 0: [VarAccess] this.member
|
||||
# 4| -1: [ThisAccess] this
|
||||
# 4| 2: [FieldDeclaration] T member;
|
||||
# 4| -1: [TypeAccess] T
|
||||
# 4| 0: [MethodAccess] getT(...)
|
||||
# 4| -1: [ThisAccess] Generic.this
|
||||
# 4| 0: [TypeAccess] Generic
|
||||
# 4| 3: [Method] getMember
|
||||
# 4| 3: [TypeAccess] T
|
||||
# 4| 5: [BlockStmt] { ... }
|
||||
# 4| 0: [ReturnStmt] return ...
|
||||
# 4| 0: [VarAccess] this.member
|
||||
# 4| -1: [ThisAccess] this
|
||||
# 3| 1: [ExprStmt] <Expr>;
|
||||
# 3| 0: [ClassInstanceExpr] new (...)
|
||||
# 3| -3: [TypeAccess] Object
|
||||
@@ -605,12 +605,6 @@ localClassField.kt:
|
||||
# 7| 1: [ExprStmt] <Expr>;
|
||||
# 7| 0: [KtInitializerAssignExpr] ...=...
|
||||
# 7| 0: [VarAccess] y
|
||||
# 2| 2: [Method] getX
|
||||
# 2| 3: [TypeAccess] Object
|
||||
# 2| 5: [BlockStmt] { ... }
|
||||
# 2| 0: [ReturnStmt] return ...
|
||||
# 2| 0: [VarAccess] this.x
|
||||
# 2| -1: [ThisAccess] this
|
||||
# 2| 2: [FieldDeclaration] Object x;
|
||||
# 2| -1: [TypeAccess] Object
|
||||
# 2| 0: [WhenExpr] when ...
|
||||
@@ -629,12 +623,12 @@ localClassField.kt:
|
||||
# 2| 1: [WhenBranch] ... -> ...
|
||||
# 2| 0: [BooleanLiteral] true
|
||||
# 5| 1: [BlockStmt] { ... }
|
||||
# 7| 4: [Method] getY
|
||||
# 7| 3: [TypeAccess] Object
|
||||
# 7| 5: [BlockStmt] { ... }
|
||||
# 7| 0: [ReturnStmt] return ...
|
||||
# 7| 0: [VarAccess] this.y
|
||||
# 7| -1: [ThisAccess] this
|
||||
# 2| 3: [Method] getX
|
||||
# 2| 3: [TypeAccess] Object
|
||||
# 2| 5: [BlockStmt] { ... }
|
||||
# 2| 0: [ReturnStmt] return ...
|
||||
# 2| 0: [VarAccess] this.x
|
||||
# 2| -1: [ThisAccess] this
|
||||
# 7| 4: [FieldDeclaration] Object y;
|
||||
# 7| -1: [TypeAccess] Object
|
||||
# 7| 0: [WhenExpr] when ...
|
||||
@@ -653,6 +647,12 @@ localClassField.kt:
|
||||
# 7| 1: [WhenBranch] ... -> ...
|
||||
# 7| 0: [BooleanLiteral] true
|
||||
# 10| 1: [BlockStmt] { ... }
|
||||
# 7| 5: [Method] getY
|
||||
# 7| 3: [TypeAccess] Object
|
||||
# 7| 5: [BlockStmt] { ... }
|
||||
# 7| 0: [ReturnStmt] return ...
|
||||
# 7| 0: [VarAccess] this.y
|
||||
# 7| -1: [ThisAccess] this
|
||||
local_anonymous.kt:
|
||||
# 0| [CompilationUnit] local_anonymous
|
||||
# 3| 1: [Class] Class1
|
||||
@@ -686,7 +686,7 @@ local_anonymous.kt:
|
||||
# 11| 1: [Constructor]
|
||||
# 11| 5: [BlockStmt] { ... }
|
||||
# 11| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 11| 1: [Method] fnLocal
|
||||
# 11| 2: [Method] fnLocal
|
||||
# 11| 3: [TypeAccess] Unit
|
||||
# 11| 5: [BlockStmt] { ... }
|
||||
# 12| 1: [ExprStmt] <Expr>;
|
||||
@@ -703,7 +703,7 @@ local_anonymous.kt:
|
||||
# 16| 1: [Constructor]
|
||||
# 16| 5: [BlockStmt] { ... }
|
||||
# 16| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 16| 1: [Method] invoke
|
||||
# 16| 2: [Method] invoke
|
||||
# 16| 3: [TypeAccess] int
|
||||
#-----| 4: (Parameters)
|
||||
# 16| 0: [Parameter] a
|
||||
@@ -726,7 +726,7 @@ local_anonymous.kt:
|
||||
# 17| 1: [Constructor]
|
||||
# 17| 5: [BlockStmt] { ... }
|
||||
# 17| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 17| 1: [Method] invoke
|
||||
# 17| 2: [Method] invoke
|
||||
# 17| 3: [TypeAccess] int
|
||||
#-----| 4: (Parameters)
|
||||
# 17| 0: [Parameter] a
|
||||
@@ -752,7 +752,7 @@ local_anonymous.kt:
|
||||
# 21| 1: [Constructor]
|
||||
# 21| 5: [BlockStmt] { ... }
|
||||
# 21| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 21| 1: [Method] invoke
|
||||
# 21| 2: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 21| 0: [Parameter] a0
|
||||
# 21| 5: [BlockStmt] { ... }
|
||||
@@ -797,7 +797,10 @@ local_anonymous.kt:
|
||||
# 30| 0: [ReturnStmt] return ...
|
||||
# 30| 0: [VarAccess] this.x
|
||||
# 30| -1: [ThisAccess] this
|
||||
# 30| 2: [Method] setX
|
||||
# 30| 3: [FieldDeclaration] int x;
|
||||
# 30| -1: [TypeAccess] int
|
||||
# 30| 0: [IntegerLiteral] 1
|
||||
# 30| 4: [Method] setX
|
||||
# 30| 3: [TypeAccess] Unit
|
||||
#-----| 4: (Parameters)
|
||||
# 30| 0: [Parameter] <set-?>
|
||||
@@ -808,9 +811,6 @@ local_anonymous.kt:
|
||||
# 30| 0: [VarAccess] this.x
|
||||
# 30| -1: [ThisAccess] this
|
||||
# 30| 1: [VarAccess] <set-?>
|
||||
# 30| 2: [FieldDeclaration] int x;
|
||||
# 30| -1: [TypeAccess] int
|
||||
# 30| 0: [IntegerLiteral] 1
|
||||
# 32| 5: [Method] member
|
||||
# 32| 3: [TypeAccess] Unit
|
||||
# 32| 5: [BlockStmt] { ... }
|
||||
@@ -840,23 +840,6 @@ local_anonymous.kt:
|
||||
# 40| 0: [ExprStmt] <Expr>;
|
||||
# 40| 0: [KtInitializerAssignExpr] ...=...
|
||||
# 40| 0: [VarAccess] i
|
||||
# 40| 2: [Method] getI
|
||||
# 40| 3: [TypeAccess] Interface2
|
||||
# 40| 5: [BlockStmt] { ... }
|
||||
# 40| 0: [ReturnStmt] return ...
|
||||
# 40| 0: [VarAccess] this.i
|
||||
# 40| -1: [ThisAccess] this
|
||||
# 40| 2: [Method] setI
|
||||
# 40| 3: [TypeAccess] Unit
|
||||
#-----| 4: (Parameters)
|
||||
# 40| 0: [Parameter] <set-?>
|
||||
# 40| 0: [TypeAccess] Interface2
|
||||
# 40| 5: [BlockStmt] { ... }
|
||||
# 40| 0: [ExprStmt] <Expr>;
|
||||
# 40| 0: [AssignExpr] ...=...
|
||||
# 40| 0: [VarAccess] this.i
|
||||
# 40| -1: [ThisAccess] this
|
||||
# 40| 1: [VarAccess] <set-?>
|
||||
# 40| 2: [FieldDeclaration] Interface2 i;
|
||||
# 40| -1: [TypeAccess] Interface2
|
||||
# 40| 0: [StmtExpr] <Stmt>
|
||||
@@ -873,6 +856,23 @@ local_anonymous.kt:
|
||||
# 40| 1: [ExprStmt] <Expr>;
|
||||
# 40| 0: [ClassInstanceExpr] new (...)
|
||||
# 40| -3: [TypeAccess] Interface2
|
||||
# 40| 3: [Method] getI
|
||||
# 40| 3: [TypeAccess] Interface2
|
||||
# 40| 5: [BlockStmt] { ... }
|
||||
# 40| 0: [ReturnStmt] return ...
|
||||
# 40| 0: [VarAccess] this.i
|
||||
# 40| -1: [ThisAccess] this
|
||||
# 40| 4: [Method] setI
|
||||
# 40| 3: [TypeAccess] Unit
|
||||
#-----| 4: (Parameters)
|
||||
# 40| 0: [Parameter] <set-?>
|
||||
# 40| 0: [TypeAccess] Interface2
|
||||
# 40| 5: [BlockStmt] { ... }
|
||||
# 40| 0: [ExprStmt] <Expr>;
|
||||
# 40| 0: [AssignExpr] ...=...
|
||||
# 40| 0: [VarAccess] this.i
|
||||
# 40| -1: [ThisAccess] this
|
||||
# 40| 1: [VarAccess] <set-?>
|
||||
superChain.kt:
|
||||
# 0| [CompilationUnit] superChain
|
||||
# 1| 1: [Class,GenericType,ParameterizedType] SuperChain1
|
||||
|
||||
@@ -7,14 +7,14 @@ dc.kt:
|
||||
# 0| 0: [ReturnStmt] return ...
|
||||
# 0| 0: [VarAccess] this.bytes
|
||||
# 0| -1: [ThisAccess] this
|
||||
# 0| 1: [Method] component2
|
||||
# 0| 2: [Method] component2
|
||||
# 0| 3: [TypeAccess] String[]
|
||||
# 0| 0: [TypeAccess] String
|
||||
# 0| 5: [BlockStmt] { ... }
|
||||
# 0| 0: [ReturnStmt] return ...
|
||||
# 0| 0: [VarAccess] this.strs
|
||||
# 0| -1: [ThisAccess] this
|
||||
# 0| 1: [Method] copy
|
||||
# 0| 3: [Method] copy
|
||||
# 0| 3: [TypeAccess] ProtoMapValue
|
||||
#-----| 4: (Parameters)
|
||||
# 1| 0: [Parameter] bytes
|
||||
@@ -28,47 +28,7 @@ dc.kt:
|
||||
# 0| -3: [TypeAccess] ProtoMapValue
|
||||
# 0| 0: [VarAccess] bytes
|
||||
# 0| 1: [VarAccess] strs
|
||||
# 0| 1: [Method] toString
|
||||
# 0| 3: [TypeAccess] String
|
||||
# 0| 5: [BlockStmt] { ... }
|
||||
# 0| 0: [ReturnStmt] return ...
|
||||
# 0| 0: [StringTemplateExpr] "..."
|
||||
# 0| 0: [StringLiteral] ProtoMapValue(
|
||||
# 0| 1: [StringLiteral] bytes=
|
||||
# 0| 2: [MethodAccess] toString(...)
|
||||
# 0| -1: [TypeAccess] Arrays
|
||||
# 0| 0: [VarAccess] this.bytes
|
||||
# 0| -1: [ThisAccess] this
|
||||
# 0| 3: [StringLiteral] ,
|
||||
# 0| 4: [StringLiteral] strs=
|
||||
# 0| 5: [MethodAccess] toString(...)
|
||||
# 0| -1: [TypeAccess] Arrays
|
||||
# 0| 0: [VarAccess] this.strs
|
||||
# 0| -1: [ThisAccess] this
|
||||
# 0| 6: [StringLiteral] )
|
||||
# 0| 1: [Method] hashCode
|
||||
# 0| 3: [TypeAccess] int
|
||||
# 0| 5: [BlockStmt] { ... }
|
||||
# 0| 0: [LocalVariableDeclStmt] var ...;
|
||||
# 0| 1: [LocalVariableDeclExpr] result
|
||||
# 0| 0: [MethodAccess] hashCode(...)
|
||||
# 0| -1: [TypeAccess] Arrays
|
||||
# 0| 0: [VarAccess] this.bytes
|
||||
# 0| -1: [ThisAccess] this
|
||||
# 0| 1: [ExprStmt] <Expr>;
|
||||
# 0| 0: [AssignExpr] ...=...
|
||||
# 0| 0: [VarAccess] result
|
||||
# 0| 1: [MethodAccess] plus(...)
|
||||
# 0| -1: [MethodAccess] times(...)
|
||||
# 0| -1: [VarAccess] result
|
||||
# 0| 0: [IntegerLiteral] 31
|
||||
# 0| 0: [MethodAccess] hashCode(...)
|
||||
# 0| -1: [TypeAccess] Arrays
|
||||
# 0| 0: [VarAccess] this.strs
|
||||
# 0| -1: [ThisAccess] this
|
||||
# 0| 2: [ReturnStmt] return ...
|
||||
# 0| 0: [VarAccess] result
|
||||
# 0| 1: [Method] equals
|
||||
# 0| 4: [Method] equals
|
||||
# 0| 3: [TypeAccess] boolean
|
||||
#-----| 4: (Parameters)
|
||||
# 0| 0: [Parameter] other
|
||||
@@ -117,6 +77,46 @@ dc.kt:
|
||||
# 0| 0: [BooleanLiteral] false
|
||||
# 0| 5: [ReturnStmt] return ...
|
||||
# 0| 0: [BooleanLiteral] true
|
||||
# 0| 5: [Method] hashCode
|
||||
# 0| 3: [TypeAccess] int
|
||||
# 0| 5: [BlockStmt] { ... }
|
||||
# 0| 0: [LocalVariableDeclStmt] var ...;
|
||||
# 0| 1: [LocalVariableDeclExpr] result
|
||||
# 0| 0: [MethodAccess] hashCode(...)
|
||||
# 0| -1: [TypeAccess] Arrays
|
||||
# 0| 0: [VarAccess] this.bytes
|
||||
# 0| -1: [ThisAccess] this
|
||||
# 0| 1: [ExprStmt] <Expr>;
|
||||
# 0| 0: [AssignExpr] ...=...
|
||||
# 0| 0: [VarAccess] result
|
||||
# 0| 1: [MethodAccess] plus(...)
|
||||
# 0| -1: [MethodAccess] times(...)
|
||||
# 0| -1: [VarAccess] result
|
||||
# 0| 0: [IntegerLiteral] 31
|
||||
# 0| 0: [MethodAccess] hashCode(...)
|
||||
# 0| -1: [TypeAccess] Arrays
|
||||
# 0| 0: [VarAccess] this.strs
|
||||
# 0| -1: [ThisAccess] this
|
||||
# 0| 2: [ReturnStmt] return ...
|
||||
# 0| 0: [VarAccess] result
|
||||
# 0| 6: [Method] toString
|
||||
# 0| 3: [TypeAccess] String
|
||||
# 0| 5: [BlockStmt] { ... }
|
||||
# 0| 0: [ReturnStmt] return ...
|
||||
# 0| 0: [StringTemplateExpr] "..."
|
||||
# 0| 0: [StringLiteral] ProtoMapValue(
|
||||
# 0| 1: [StringLiteral] bytes=
|
||||
# 0| 2: [MethodAccess] toString(...)
|
||||
# 0| -1: [TypeAccess] Arrays
|
||||
# 0| 0: [VarAccess] this.bytes
|
||||
# 0| -1: [ThisAccess] this
|
||||
# 0| 3: [StringLiteral] ,
|
||||
# 0| 4: [StringLiteral] strs=
|
||||
# 0| 5: [MethodAccess] toString(...)
|
||||
# 0| -1: [TypeAccess] Arrays
|
||||
# 0| 0: [VarAccess] this.strs
|
||||
# 0| -1: [ThisAccess] this
|
||||
# 0| 6: [StringLiteral] )
|
||||
# 1| 7: [Constructor] ProtoMapValue
|
||||
#-----| 4: (Parameters)
|
||||
# 1| 0: [Parameter] bytes
|
||||
@@ -133,23 +133,23 @@ dc.kt:
|
||||
# 1| 1: [ExprStmt] <Expr>;
|
||||
# 1| 0: [KtInitializerAssignExpr] ...=...
|
||||
# 1| 0: [VarAccess] strs
|
||||
# 1| 8: [Method] getBytes
|
||||
# 1| 8: [FieldDeclaration] byte[] bytes;
|
||||
# 1| -1: [TypeAccess] byte[]
|
||||
# 1| 0: [VarAccess] bytes
|
||||
# 1| 9: [Method] getBytes
|
||||
# 1| 3: [TypeAccess] byte[]
|
||||
# 1| 5: [BlockStmt] { ... }
|
||||
# 1| 0: [ReturnStmt] return ...
|
||||
# 1| 0: [VarAccess] this.bytes
|
||||
# 1| -1: [ThisAccess] this
|
||||
# 1| 8: [FieldDeclaration] byte[] bytes;
|
||||
# 1| -1: [TypeAccess] byte[]
|
||||
# 1| 0: [VarAccess] bytes
|
||||
# 1| 10: [Method] getStrs
|
||||
# 1| 10: [FieldDeclaration] String[] strs;
|
||||
# 1| -1: [TypeAccess] String[]
|
||||
# 1| 0: [TypeAccess] String
|
||||
# 1| 0: [VarAccess] strs
|
||||
# 1| 11: [Method] getStrs
|
||||
# 1| 3: [TypeAccess] String[]
|
||||
# 1| 0: [TypeAccess] String
|
||||
# 1| 5: [BlockStmt] { ... }
|
||||
# 1| 0: [ReturnStmt] return ...
|
||||
# 1| 0: [VarAccess] this.strs
|
||||
# 1| -1: [ThisAccess] this
|
||||
# 1| 10: [FieldDeclaration] String[] strs;
|
||||
# 1| -1: [TypeAccess] String[]
|
||||
# 1| 0: [TypeAccess] String
|
||||
# 1| 0: [VarAccess] strs
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -34,7 +34,7 @@ A.kt:
|
||||
# 13| 0: [ReturnStmt] return ...
|
||||
# 13| 0: [VarAccess] this.prop
|
||||
# 13| -1: [ThisAccess] this
|
||||
# 13| 6: [FieldDeclaration] int prop;
|
||||
# 13| 7: [FieldDeclaration] int prop;
|
||||
# 13| -1: [TypeAccess] int
|
||||
# 13| 0: [MethodAccess] fn(...)
|
||||
# 13| -1: [ThisAccess] A.this
|
||||
@@ -74,14 +74,14 @@ A.kt:
|
||||
# 20| 0: [VarAccess] B.x
|
||||
# 20| -1: [TypeAccess] B
|
||||
# 23| 11: [Class] Enu
|
||||
# 0| 1: [Method] values
|
||||
# 0| 3: [TypeAccess] Enu[]
|
||||
# 0| 0: [TypeAccess] Enu
|
||||
# 0| 1: [Method] valueOf
|
||||
# 0| 2: [Method] valueOf
|
||||
# 0| 3: [TypeAccess] Enu
|
||||
#-----| 4: (Parameters)
|
||||
# 0| 0: [Parameter] value
|
||||
# 0| 0: [TypeAccess] String
|
||||
# 0| 3: [Method] values
|
||||
# 0| 3: [TypeAccess] Enu[]
|
||||
# 0| 0: [TypeAccess] Enu
|
||||
# 23| 4: [Constructor] Enu
|
||||
# 23| 5: [BlockStmt] { ... }
|
||||
# 23| 0: [ExprStmt] <Expr>;
|
||||
|
||||
@@ -98,15 +98,15 @@ generics.kt:
|
||||
# 13| 0: [ExprStmt] <Expr>;
|
||||
# 13| 0: [KtInitializerAssignExpr] ...=...
|
||||
# 13| 0: [VarAccess] t
|
||||
# 13| 2: [Method] getT
|
||||
# 13| 2: [FieldDeclaration] T t;
|
||||
# 13| -1: [TypeAccess] T
|
||||
# 13| 0: [VarAccess] t
|
||||
# 13| 3: [Method] getT
|
||||
# 13| 3: [TypeAccess] T
|
||||
# 13| 5: [BlockStmt] { ... }
|
||||
# 13| 0: [ReturnStmt] return ...
|
||||
# 13| 0: [VarAccess] this.t
|
||||
# 13| -1: [ThisAccess] this
|
||||
# 13| 2: [FieldDeclaration] T t;
|
||||
# 13| -1: [TypeAccess] T
|
||||
# 13| 0: [VarAccess] t
|
||||
# 14| 4: [Method] f1
|
||||
# 14| 3: [TypeAccess] Unit
|
||||
#-----| 4: (Parameters)
|
||||
|
||||
@@ -192,7 +192,7 @@ test.kt:
|
||||
# 16| 0: [ReturnStmt] return ...
|
||||
# 16| 0: [VarAccess] this.staticProp
|
||||
# 16| -1: [ThisAccess] this
|
||||
# 16| 5: [Method] setStaticProp
|
||||
# 16| 6: [Method] setStaticProp
|
||||
# 16| 3: [TypeAccess] Unit
|
||||
#-----| 4: (Parameters)
|
||||
# 16| 0: [Parameter] <set-?>
|
||||
@@ -204,14 +204,17 @@ test.kt:
|
||||
# 16| 0: [VarAccess] this.staticProp
|
||||
# 16| -1: [ThisAccess] this
|
||||
# 16| 1: [VarAccess] <set-?>
|
||||
# 17| 7: [Method] getNonStaticProp
|
||||
# 17| 7: [FieldDeclaration] String nonStaticProp;
|
||||
# 17| -1: [TypeAccess] String
|
||||
# 17| 0: [StringLiteral] b
|
||||
# 17| 8: [Method] getNonStaticProp
|
||||
#-----| 1: (Annotations)
|
||||
# 17| 3: [TypeAccess] String
|
||||
# 17| 5: [BlockStmt] { ... }
|
||||
# 17| 0: [ReturnStmt] return ...
|
||||
# 17| 0: [VarAccess] this.nonStaticProp
|
||||
# 17| -1: [ThisAccess] this
|
||||
# 17| 7: [Method] setNonStaticProp
|
||||
# 17| 9: [Method] setNonStaticProp
|
||||
# 17| 3: [TypeAccess] Unit
|
||||
#-----| 4: (Parameters)
|
||||
# 17| 0: [Parameter] <set-?>
|
||||
@@ -223,9 +226,6 @@ test.kt:
|
||||
# 17| 0: [VarAccess] this.nonStaticProp
|
||||
# 17| -1: [ThisAccess] this
|
||||
# 17| 1: [VarAccess] <set-?>
|
||||
# 17| 7: [FieldDeclaration] String nonStaticProp;
|
||||
# 17| -1: [TypeAccess] String
|
||||
# 17| 0: [StringLiteral] b
|
||||
# 20| 10: [Method] getPropWithStaticGetter
|
||||
#-----| 1: (Annotations)
|
||||
# 20| 3: [TypeAccess] String
|
||||
@@ -276,7 +276,15 @@ test.kt:
|
||||
# 13| -1: [VarAccess] HasCompanion.Companion
|
||||
# 13| -1: [TypeAccess] HasCompanion
|
||||
# 13| 0: [VarAccess] s
|
||||
# 16| 5: [Method] setStaticProp
|
||||
# 16| 5: [Method] getStaticProp
|
||||
#-----| 1: (Annotations)
|
||||
# 16| 3: [TypeAccess] String
|
||||
# 16| 5: [BlockStmt] { ... }
|
||||
# 16| 0: [ReturnStmt] return ...
|
||||
# 16| 0: [MethodAccess] getStaticProp(...)
|
||||
# 16| -1: [VarAccess] HasCompanion.Companion
|
||||
# 16| -1: [TypeAccess] HasCompanion
|
||||
# 16| 6: [Method] setStaticProp
|
||||
# 16| 3: [TypeAccess] Unit
|
||||
#-----| 4: (Parameters)
|
||||
# 16| 0: [Parameter] <set-?>
|
||||
@@ -288,14 +296,6 @@ test.kt:
|
||||
# 16| -1: [VarAccess] HasCompanion.Companion
|
||||
# 16| -1: [TypeAccess] HasCompanion
|
||||
# 16| 0: [VarAccess] <set-?>
|
||||
# 16| 5: [Method] getStaticProp
|
||||
#-----| 1: (Annotations)
|
||||
# 16| 3: [TypeAccess] String
|
||||
# 16| 5: [BlockStmt] { ... }
|
||||
# 16| 0: [ReturnStmt] return ...
|
||||
# 16| 0: [MethodAccess] getStaticProp(...)
|
||||
# 16| -1: [VarAccess] HasCompanion.Companion
|
||||
# 16| -1: [TypeAccess] HasCompanion
|
||||
# 20| 7: [Method] getPropWithStaticGetter
|
||||
#-----| 1: (Annotations)
|
||||
# 20| 3: [TypeAccess] String
|
||||
@@ -357,7 +357,15 @@ test.kt:
|
||||
# 36| 5: [FieldDeclaration] String staticProp;
|
||||
# 36| -1: [TypeAccess] String
|
||||
# 36| 0: [StringLiteral] a
|
||||
# 36| 6: [Method] setStaticProp
|
||||
# 36| 6: [Method] getStaticProp
|
||||
#-----| 1: (Annotations)
|
||||
# 36| 3: [TypeAccess] String
|
||||
# 36| 5: [BlockStmt] { ... }
|
||||
# 36| 0: [ReturnStmt] return ...
|
||||
# 36| 0: [VarAccess] NonCompanion.INSTANCE.staticProp
|
||||
# 36| -1: [VarAccess] NonCompanion.INSTANCE
|
||||
# 36| -1: [TypeAccess] NonCompanion
|
||||
# 36| 7: [Method] setStaticProp
|
||||
# 36| 3: [TypeAccess] Unit
|
||||
#-----| 4: (Parameters)
|
||||
# 36| 0: [Parameter] <set-?>
|
||||
@@ -370,22 +378,17 @@ test.kt:
|
||||
# 36| -1: [VarAccess] NonCompanion.INSTANCE
|
||||
# 36| -1: [TypeAccess] NonCompanion
|
||||
# 36| 1: [VarAccess] <set-?>
|
||||
# 36| 6: [Method] getStaticProp
|
||||
#-----| 1: (Annotations)
|
||||
# 36| 3: [TypeAccess] String
|
||||
# 36| 5: [BlockStmt] { ... }
|
||||
# 36| 0: [ReturnStmt] return ...
|
||||
# 36| 0: [VarAccess] NonCompanion.INSTANCE.staticProp
|
||||
# 36| -1: [VarAccess] NonCompanion.INSTANCE
|
||||
# 36| -1: [TypeAccess] NonCompanion
|
||||
# 37| 8: [Method] getNonStaticProp
|
||||
# 37| 8: [FieldDeclaration] String nonStaticProp;
|
||||
# 37| -1: [TypeAccess] String
|
||||
# 37| 0: [StringLiteral] b
|
||||
# 37| 9: [Method] getNonStaticProp
|
||||
#-----| 1: (Annotations)
|
||||
# 37| 3: [TypeAccess] String
|
||||
# 37| 5: [BlockStmt] { ... }
|
||||
# 37| 0: [ReturnStmt] return ...
|
||||
# 37| 0: [VarAccess] this.nonStaticProp
|
||||
# 37| -1: [ThisAccess] this
|
||||
# 37| 8: [Method] setNonStaticProp
|
||||
# 37| 10: [Method] setNonStaticProp
|
||||
# 37| 3: [TypeAccess] Unit
|
||||
#-----| 4: (Parameters)
|
||||
# 37| 0: [Parameter] <set-?>
|
||||
@@ -397,9 +400,6 @@ test.kt:
|
||||
# 37| 0: [VarAccess] this.nonStaticProp
|
||||
# 37| -1: [ThisAccess] this
|
||||
# 37| 1: [VarAccess] <set-?>
|
||||
# 37| 8: [FieldDeclaration] String nonStaticProp;
|
||||
# 37| -1: [TypeAccess] String
|
||||
# 37| 0: [StringLiteral] b
|
||||
# 40| 11: [Method] getPropWithStaticGetter
|
||||
#-----| 1: (Annotations)
|
||||
# 40| 3: [TypeAccess] String
|
||||
|
||||
@@ -26,7 +26,7 @@ reflection.kt:
|
||||
# 50| 1: [Constructor]
|
||||
# 50| 5: [BlockStmt] { ... }
|
||||
# 50| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 50| 1: [Method] get
|
||||
# 50| 2: [Method] get
|
||||
#-----| 4: (Parameters)
|
||||
# 50| 0: [Parameter] a0
|
||||
# 50| 5: [BlockStmt] { ... }
|
||||
@@ -34,7 +34,7 @@ reflection.kt:
|
||||
# 50| 0: [MethodAccess] getLastChar(...)
|
||||
# 50| -1: [TypeAccess] ReflectionKt
|
||||
# 50| 0: [VarAccess] a0
|
||||
# 50| 1: [Method] invoke
|
||||
# 50| 3: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 50| 0: [Parameter] a0
|
||||
# 50| 5: [BlockStmt] { ... }
|
||||
@@ -62,16 +62,16 @@ reflection.kt:
|
||||
# 51| 0: [VarAccess] this.<extensionReceiver>
|
||||
# 51| -1: [ThisAccess] this
|
||||
# 51| 1: [VarAccess] <extensionReceiver>
|
||||
# 51| 1: [FieldDeclaration] String <extensionReceiver>;
|
||||
# 51| 2: [FieldDeclaration] String <extensionReceiver>;
|
||||
# 51| -1: [TypeAccess] String
|
||||
# 51| 1: [Method] get
|
||||
# 51| 3: [Method] get
|
||||
# 51| 5: [BlockStmt] { ... }
|
||||
# 51| 0: [ReturnStmt] return ...
|
||||
# 51| 0: [MethodAccess] getLastChar(...)
|
||||
# 51| -1: [TypeAccess] ReflectionKt
|
||||
# 51| 0: [VarAccess] this.<extensionReceiver>
|
||||
# 51| -1: [ThisAccess] this
|
||||
# 51| 1: [Method] invoke
|
||||
# 51| 4: [Method] invoke
|
||||
# 51| 5: [BlockStmt] { ... }
|
||||
# 51| 0: [ReturnStmt] return ...
|
||||
# 51| 0: [MethodAccess] get(...)
|
||||
@@ -124,7 +124,7 @@ reflection.kt:
|
||||
# 97| 1: [Constructor]
|
||||
# 97| 5: [BlockStmt] { ... }
|
||||
# 97| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 97| 1: [Method] invoke
|
||||
# 97| 2: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 97| 0: [Parameter] a0
|
||||
# 97| 5: [BlockStmt] { ... }
|
||||
@@ -148,7 +148,7 @@ reflection.kt:
|
||||
# 98| 1: [Constructor]
|
||||
# 98| 5: [BlockStmt] { ... }
|
||||
# 98| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 98| 1: [Method] invoke
|
||||
# 98| 2: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 98| 0: [Parameter] a0
|
||||
# 98| 5: [BlockStmt] { ... }
|
||||
@@ -180,7 +180,10 @@ reflection.kt:
|
||||
# 99| 0: [VarAccess] this.<dispatchReceiver>
|
||||
# 99| -1: [ThisAccess] this
|
||||
# 99| 1: [VarAccess] <dispatchReceiver>
|
||||
# 99| 1: [Method] invoke
|
||||
# 99| 2: [FieldDeclaration] Class2<Integer> <dispatchReceiver>;
|
||||
# 99| -1: [TypeAccess] Class2<Integer>
|
||||
# 99| 0: [TypeAccess] Integer
|
||||
# 99| 3: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 99| 0: [Parameter] a0
|
||||
# 99| 5: [BlockStmt] { ... }
|
||||
@@ -191,9 +194,6 @@ reflection.kt:
|
||||
# 99| -2: [VarAccess] this.<dispatchReceiver>
|
||||
# 99| -1: [ThisAccess] this
|
||||
# 99| 0: [VarAccess] a0
|
||||
# 99| 1: [FieldDeclaration] Class2<Integer> <dispatchReceiver>;
|
||||
# 99| -1: [TypeAccess] Class2<Integer>
|
||||
# 99| 0: [TypeAccess] Integer
|
||||
# 99| -3: [TypeAccess] Function1<String,Inner<String>>
|
||||
# 99| 0: [TypeAccess] String
|
||||
# 99| 1: [TypeAccess] Inner<String>
|
||||
@@ -260,7 +260,7 @@ reflection.kt:
|
||||
# 126| 1: [Constructor]
|
||||
# 126| 5: [BlockStmt] { ... }
|
||||
# 126| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 126| 1: [Method] fn1
|
||||
# 126| 2: [Method] fn1
|
||||
# 126| 3: [TypeAccess] Unit
|
||||
# 126| 5: [BlockStmt] { ... }
|
||||
# 126| 0: [ExprStmt] <Expr>;
|
||||
@@ -274,7 +274,7 @@ reflection.kt:
|
||||
# 126| 1: [Constructor]
|
||||
# 126| 5: [BlockStmt] { ... }
|
||||
# 126| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 126| 1: [Method] invoke
|
||||
# 126| 2: [Method] invoke
|
||||
# 126| 5: [BlockStmt] { ... }
|
||||
# 126| 0: [ReturnStmt] return ...
|
||||
# 126| 0: [MethodAccess] fn1(...)
|
||||
@@ -296,7 +296,7 @@ reflection.kt:
|
||||
# 7| 1: [Constructor]
|
||||
# 7| 5: [BlockStmt] { ... }
|
||||
# 7| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 7| 1: [Method] invoke
|
||||
# 7| 2: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 7| 0: [Parameter] a0
|
||||
# 7| 1: [Parameter] a1
|
||||
@@ -321,14 +321,14 @@ reflection.kt:
|
||||
# 10| 1: [Constructor]
|
||||
# 10| 5: [BlockStmt] { ... }
|
||||
# 10| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 10| 1: [Method] get
|
||||
# 10| 2: [Method] get
|
||||
#-----| 4: (Parameters)
|
||||
# 10| 0: [Parameter] a0
|
||||
# 10| 5: [BlockStmt] { ... }
|
||||
# 10| 0: [ReturnStmt] return ...
|
||||
# 10| 0: [MethodAccess] getP0(...)
|
||||
# 10| -1: [VarAccess] a0
|
||||
# 10| 1: [Method] invoke
|
||||
# 10| 3: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 10| 0: [Parameter] a0
|
||||
# 10| 5: [BlockStmt] { ... }
|
||||
@@ -367,7 +367,11 @@ reflection.kt:
|
||||
# 14| 0: [VarAccess] this.<dispatchReceiver>
|
||||
# 14| -1: [ThisAccess] this
|
||||
# 14| 1: [VarAccess] <dispatchReceiver>
|
||||
# 14| 1: [Method] invoke
|
||||
# 14| 2: [FieldDeclaration] KProperty1<C,Integer> <dispatchReceiver>;
|
||||
# 14| -1: [TypeAccess] KProperty1<C,Integer>
|
||||
# 14| 0: [TypeAccess] C
|
||||
# 14| 1: [TypeAccess] Integer
|
||||
# 14| 3: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 14| 0: [Parameter] a0
|
||||
# 14| 5: [BlockStmt] { ... }
|
||||
@@ -376,10 +380,6 @@ reflection.kt:
|
||||
# 14| -1: [VarAccess] this.<dispatchReceiver>
|
||||
# 14| -1: [ThisAccess] this
|
||||
# 14| 0: [VarAccess] a0
|
||||
# 14| 1: [FieldDeclaration] KProperty1<C,Integer> <dispatchReceiver>;
|
||||
# 14| -1: [TypeAccess] KProperty1<C,Integer>
|
||||
# 14| 0: [TypeAccess] C
|
||||
# 14| 1: [TypeAccess] Integer
|
||||
# 14| -3: [TypeAccess] Function1<C,Integer>
|
||||
# 14| 0: [TypeAccess] C
|
||||
# 14| 1: [TypeAccess] Integer
|
||||
@@ -398,15 +398,15 @@ reflection.kt:
|
||||
# 15| 0: [VarAccess] this.<dispatchReceiver>
|
||||
# 15| -1: [ThisAccess] this
|
||||
# 15| 1: [VarAccess] <dispatchReceiver>
|
||||
# 15| 1: [FieldDeclaration] C <dispatchReceiver>;
|
||||
# 15| 2: [FieldDeclaration] C <dispatchReceiver>;
|
||||
# 15| -1: [TypeAccess] C
|
||||
# 15| 1: [Method] get
|
||||
# 15| 3: [Method] get
|
||||
# 15| 5: [BlockStmt] { ... }
|
||||
# 15| 0: [ReturnStmt] return ...
|
||||
# 15| 0: [MethodAccess] getP0(...)
|
||||
# 15| -1: [VarAccess] this.<dispatchReceiver>
|
||||
# 15| -1: [ThisAccess] this
|
||||
# 15| 1: [Method] invoke
|
||||
# 15| 4: [Method] invoke
|
||||
# 15| 5: [BlockStmt] { ... }
|
||||
# 15| 0: [ReturnStmt] return ...
|
||||
# 15| 0: [MethodAccess] get(...)
|
||||
@@ -422,14 +422,14 @@ reflection.kt:
|
||||
# 17| 1: [Constructor]
|
||||
# 17| 5: [BlockStmt] { ... }
|
||||
# 17| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 17| 1: [Method] get
|
||||
# 17| 2: [Method] get
|
||||
#-----| 4: (Parameters)
|
||||
# 17| 0: [Parameter] a0
|
||||
# 17| 5: [BlockStmt] { ... }
|
||||
# 17| 0: [ReturnStmt] return ...
|
||||
# 17| 0: [MethodAccess] getP1(...)
|
||||
# 17| -1: [VarAccess] a0
|
||||
# 17| 1: [Method] invoke
|
||||
# 17| 3: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 17| 0: [Parameter] a0
|
||||
# 17| 5: [BlockStmt] { ... }
|
||||
@@ -437,7 +437,7 @@ reflection.kt:
|
||||
# 17| 0: [MethodAccess] get(...)
|
||||
# 17| -1: [ThisAccess] this
|
||||
# 17| 0: [VarAccess] a0
|
||||
# 17| 1: [Method] set
|
||||
# 17| 4: [Method] set
|
||||
#-----| 4: (Parameters)
|
||||
# 17| 0: [Parameter] a0
|
||||
# 17| 1: [Parameter] a1
|
||||
@@ -478,7 +478,11 @@ reflection.kt:
|
||||
# 21| 0: [VarAccess] this.<dispatchReceiver>
|
||||
# 21| -1: [ThisAccess] this
|
||||
# 21| 1: [VarAccess] <dispatchReceiver>
|
||||
# 21| 1: [Method] invoke
|
||||
# 21| 2: [FieldDeclaration] KMutableProperty1<C,Integer> <dispatchReceiver>;
|
||||
# 21| -1: [TypeAccess] KMutableProperty1<C,Integer>
|
||||
# 21| 0: [TypeAccess] C
|
||||
# 21| 1: [TypeAccess] Integer
|
||||
# 21| 3: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 21| 0: [Parameter] a0
|
||||
# 21| 1: [Parameter] a1
|
||||
@@ -489,10 +493,6 @@ reflection.kt:
|
||||
# 21| -1: [ThisAccess] this
|
||||
# 21| 0: [VarAccess] a0
|
||||
# 21| 1: [VarAccess] a1
|
||||
# 21| 1: [FieldDeclaration] KMutableProperty1<C,Integer> <dispatchReceiver>;
|
||||
# 21| -1: [TypeAccess] KMutableProperty1<C,Integer>
|
||||
# 21| 0: [TypeAccess] C
|
||||
# 21| 1: [TypeAccess] Integer
|
||||
# 21| -3: [TypeAccess] Function2<C,Integer,Unit>
|
||||
# 21| 0: [TypeAccess] C
|
||||
# 21| 1: [TypeAccess] Integer
|
||||
@@ -512,20 +512,20 @@ reflection.kt:
|
||||
# 22| 0: [VarAccess] this.<dispatchReceiver>
|
||||
# 22| -1: [ThisAccess] this
|
||||
# 22| 1: [VarAccess] <dispatchReceiver>
|
||||
# 22| 1: [FieldDeclaration] C <dispatchReceiver>;
|
||||
# 22| 2: [FieldDeclaration] C <dispatchReceiver>;
|
||||
# 22| -1: [TypeAccess] C
|
||||
# 22| 1: [Method] get
|
||||
# 22| 3: [Method] get
|
||||
# 22| 5: [BlockStmt] { ... }
|
||||
# 22| 0: [ReturnStmt] return ...
|
||||
# 22| 0: [MethodAccess] getP1(...)
|
||||
# 22| -1: [VarAccess] this.<dispatchReceiver>
|
||||
# 22| -1: [ThisAccess] this
|
||||
# 22| 1: [Method] invoke
|
||||
# 22| 4: [Method] invoke
|
||||
# 22| 5: [BlockStmt] { ... }
|
||||
# 22| 0: [ReturnStmt] return ...
|
||||
# 22| 0: [MethodAccess] get(...)
|
||||
# 22| -1: [ThisAccess] this
|
||||
# 22| 1: [Method] set
|
||||
# 22| 5: [Method] set
|
||||
#-----| 4: (Parameters)
|
||||
# 22| 0: [Parameter] a0
|
||||
# 22| 5: [BlockStmt] { ... }
|
||||
@@ -556,7 +556,7 @@ reflection.kt:
|
||||
# 24| 1: [Constructor]
|
||||
# 24| 5: [BlockStmt] { ... }
|
||||
# 24| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 24| 1: [Method] invoke
|
||||
# 24| 2: [Method] invoke
|
||||
# 24| 3: [TypeAccess] boolean
|
||||
#-----| 4: (Parameters)
|
||||
# 24| 0: [Parameter] it
|
||||
@@ -608,7 +608,7 @@ reflection.kt:
|
||||
# 33| 0: [ReturnStmt] return ...
|
||||
# 33| 0: [VarAccess] this.p0
|
||||
# 33| -1: [ThisAccess] this
|
||||
# 33| 2: [FieldDeclaration] int p0;
|
||||
# 33| 3: [FieldDeclaration] int p0;
|
||||
# 33| -1: [TypeAccess] int
|
||||
# 33| 0: [IntegerLiteral] 1
|
||||
# 34| 4: [Method] getP1
|
||||
@@ -617,7 +617,10 @@ reflection.kt:
|
||||
# 34| 0: [ReturnStmt] return ...
|
||||
# 34| 0: [VarAccess] this.p1
|
||||
# 34| -1: [ThisAccess] this
|
||||
# 34| 4: [Method] setP1
|
||||
# 34| 5: [FieldDeclaration] int p1;
|
||||
# 34| -1: [TypeAccess] int
|
||||
# 34| 0: [IntegerLiteral] 2
|
||||
# 34| 6: [Method] setP1
|
||||
# 34| 3: [TypeAccess] Unit
|
||||
#-----| 4: (Parameters)
|
||||
# 34| 0: [Parameter] <set-?>
|
||||
@@ -628,9 +631,6 @@ reflection.kt:
|
||||
# 34| 0: [VarAccess] this.p1
|
||||
# 34| -1: [ThisAccess] this
|
||||
# 34| 1: [VarAccess] <set-?>
|
||||
# 34| 4: [FieldDeclaration] int p1;
|
||||
# 34| -1: [TypeAccess] int
|
||||
# 34| 0: [IntegerLiteral] 2
|
||||
# 36| 7: [Method] getP2
|
||||
# 36| 3: [TypeAccess] int
|
||||
# 36| 5: [BlockStmt] { ... }
|
||||
@@ -678,7 +678,7 @@ reflection.kt:
|
||||
# 60| 1: [Constructor]
|
||||
# 60| 5: [BlockStmt] { ... }
|
||||
# 60| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 60| 1: [Method] invoke
|
||||
# 60| 2: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 60| 0: [Parameter] a0
|
||||
# 60| 1: [Parameter] a1
|
||||
@@ -707,7 +707,10 @@ reflection.kt:
|
||||
# 61| 0: [VarAccess] this.<dispatchReceiver>
|
||||
# 61| -1: [ThisAccess] this
|
||||
# 61| 1: [VarAccess] <dispatchReceiver>
|
||||
# 61| 1: [Method] invoke
|
||||
# 61| 2: [FieldDeclaration] Generic<Integer> <dispatchReceiver>;
|
||||
# 61| -1: [TypeAccess] Generic<Integer>
|
||||
# 61| 0: [TypeAccess] Integer
|
||||
# 61| 3: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 61| 0: [Parameter] a0
|
||||
# 61| 5: [BlockStmt] { ... }
|
||||
@@ -716,9 +719,6 @@ reflection.kt:
|
||||
# 61| -1: [VarAccess] this.<dispatchReceiver>
|
||||
# 61| -1: [ThisAccess] this
|
||||
# 61| 0: [VarAccess] a0
|
||||
# 61| 1: [FieldDeclaration] Generic<Integer> <dispatchReceiver>;
|
||||
# 61| -1: [TypeAccess] Generic<Integer>
|
||||
# 61| 0: [TypeAccess] Integer
|
||||
# 61| -3: [TypeAccess] Function1<Integer,String>
|
||||
# 61| 0: [TypeAccess] Integer
|
||||
# 61| 1: [TypeAccess] String
|
||||
@@ -733,7 +733,7 @@ reflection.kt:
|
||||
# 62| 1: [Constructor]
|
||||
# 62| 5: [BlockStmt] { ... }
|
||||
# 62| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 62| 1: [Method] invoke
|
||||
# 62| 2: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 62| 0: [Parameter] a0
|
||||
# 62| 5: [BlockStmt] { ... }
|
||||
@@ -761,7 +761,10 @@ reflection.kt:
|
||||
# 63| 0: [VarAccess] this.<extensionReceiver>
|
||||
# 63| -1: [ThisAccess] this
|
||||
# 63| 1: [VarAccess] <extensionReceiver>
|
||||
# 63| 1: [Method] invoke
|
||||
# 63| 2: [FieldDeclaration] Generic<Integer> <extensionReceiver>;
|
||||
# 63| -1: [TypeAccess] Generic<Integer>
|
||||
# 63| 0: [TypeAccess] Integer
|
||||
# 63| 3: [Method] invoke
|
||||
# 63| 5: [BlockStmt] { ... }
|
||||
# 63| 0: [ReturnStmt] return ...
|
||||
# 63| 0: [MethodAccess] ext1(...)
|
||||
@@ -769,9 +772,6 @@ reflection.kt:
|
||||
# 63| -1: [TypeAccess] ReflectionKt
|
||||
# 63| 0: [VarAccess] this.<extensionReceiver>
|
||||
# 63| -1: [ThisAccess] this
|
||||
# 63| 1: [FieldDeclaration] Generic<Integer> <extensionReceiver>;
|
||||
# 63| -1: [TypeAccess] Generic<Integer>
|
||||
# 63| 0: [TypeAccess] Integer
|
||||
# 63| -3: [TypeAccess] Function0<String>
|
||||
# 63| 0: [TypeAccess] String
|
||||
# 63| 0: [ClassInstanceExpr] new Generic<Integer>(...)
|
||||
@@ -785,7 +785,7 @@ reflection.kt:
|
||||
# 64| 1: [Constructor]
|
||||
# 64| 5: [BlockStmt] { ... }
|
||||
# 64| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 64| 1: [Method] invoke
|
||||
# 64| 2: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 64| 0: [Parameter] a0
|
||||
# 64| 5: [BlockStmt] { ... }
|
||||
@@ -812,16 +812,16 @@ reflection.kt:
|
||||
# 65| 0: [VarAccess] this.<extensionReceiver>
|
||||
# 65| -1: [ThisAccess] this
|
||||
# 65| 1: [VarAccess] <extensionReceiver>
|
||||
# 65| 1: [Method] invoke
|
||||
# 65| 2: [FieldDeclaration] Generic<Integer> <extensionReceiver>;
|
||||
# 65| -1: [TypeAccess] Generic<Integer>
|
||||
# 65| 0: [TypeAccess] Integer
|
||||
# 65| 3: [Method] invoke
|
||||
# 65| 5: [BlockStmt] { ... }
|
||||
# 65| 0: [ReturnStmt] return ...
|
||||
# 65| 0: [MethodAccess] ext2(...)
|
||||
# 65| -1: [TypeAccess] ReflectionKt
|
||||
# 65| 0: [VarAccess] this.<extensionReceiver>
|
||||
# 65| -1: [ThisAccess] this
|
||||
# 65| 1: [FieldDeclaration] Generic<Integer> <extensionReceiver>;
|
||||
# 65| -1: [TypeAccess] Generic<Integer>
|
||||
# 65| 0: [TypeAccess] Integer
|
||||
# 65| -3: [TypeAccess] Function0<String>
|
||||
# 65| 0: [TypeAccess] String
|
||||
# 65| 0: [ClassInstanceExpr] new Generic<Integer>(...)
|
||||
@@ -835,14 +835,14 @@ reflection.kt:
|
||||
# 67| 1: [Constructor]
|
||||
# 67| 5: [BlockStmt] { ... }
|
||||
# 67| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 67| 1: [Method] get
|
||||
# 67| 2: [Method] get
|
||||
#-----| 4: (Parameters)
|
||||
# 67| 0: [Parameter] a0
|
||||
# 67| 5: [BlockStmt] { ... }
|
||||
# 67| 0: [ReturnStmt] return ...
|
||||
# 67| 0: [MethodAccess] getP2(...)
|
||||
# 67| -1: [VarAccess] a0
|
||||
# 67| 1: [Method] invoke
|
||||
# 67| 3: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 67| 0: [Parameter] a0
|
||||
# 67| 5: [BlockStmt] { ... }
|
||||
@@ -850,7 +850,7 @@ reflection.kt:
|
||||
# 67| 0: [MethodAccess] get(...)
|
||||
# 67| -1: [ThisAccess] this
|
||||
# 67| 0: [VarAccess] a0
|
||||
# 67| 1: [Method] set
|
||||
# 67| 4: [Method] set
|
||||
#-----| 4: (Parameters)
|
||||
# 67| 0: [Parameter] a0
|
||||
# 67| 1: [Parameter] a1
|
||||
@@ -878,21 +878,21 @@ reflection.kt:
|
||||
# 68| 0: [VarAccess] this.<dispatchReceiver>
|
||||
# 68| -1: [ThisAccess] this
|
||||
# 68| 1: [VarAccess] <dispatchReceiver>
|
||||
# 68| 1: [FieldDeclaration] Generic<Integer> <dispatchReceiver>;
|
||||
# 68| 2: [FieldDeclaration] Generic<Integer> <dispatchReceiver>;
|
||||
# 68| -1: [TypeAccess] Generic<Integer>
|
||||
# 68| 0: [TypeAccess] Integer
|
||||
# 68| 1: [Method] get
|
||||
# 68| 3: [Method] get
|
||||
# 68| 5: [BlockStmt] { ... }
|
||||
# 68| 0: [ReturnStmt] return ...
|
||||
# 68| 0: [MethodAccess] getP2(...)
|
||||
# 68| -1: [VarAccess] this.<dispatchReceiver>
|
||||
# 68| -1: [ThisAccess] this
|
||||
# 68| 1: [Method] invoke
|
||||
# 68| 4: [Method] invoke
|
||||
# 68| 5: [BlockStmt] { ... }
|
||||
# 68| 0: [ReturnStmt] return ...
|
||||
# 68| 0: [MethodAccess] get(...)
|
||||
# 68| -1: [ThisAccess] this
|
||||
# 68| 1: [Method] set
|
||||
# 68| 5: [Method] set
|
||||
#-----| 4: (Parameters)
|
||||
# 68| 0: [Parameter] a0
|
||||
# 68| 5: [BlockStmt] { ... }
|
||||
@@ -921,15 +921,15 @@ reflection.kt:
|
||||
# 70| 0: [VarAccess] this.<dispatchReceiver>
|
||||
# 70| -1: [ThisAccess] this
|
||||
# 70| 1: [VarAccess] <dispatchReceiver>
|
||||
# 70| 1: [FieldDeclaration] IntCompanionObject <dispatchReceiver>;
|
||||
# 70| 2: [FieldDeclaration] IntCompanionObject <dispatchReceiver>;
|
||||
# 70| -1: [TypeAccess] IntCompanionObject
|
||||
# 70| 1: [Method] get
|
||||
# 70| 3: [Method] get
|
||||
# 70| 5: [BlockStmt] { ... }
|
||||
# 70| 0: [ReturnStmt] return ...
|
||||
# 70| 0: [MethodAccess] getMAX_VALUE(...)
|
||||
# 70| -1: [VarAccess] this.<dispatchReceiver>
|
||||
# 70| -1: [ThisAccess] this
|
||||
# 70| 1: [Method] invoke
|
||||
# 70| 4: [Method] invoke
|
||||
# 70| 5: [BlockStmt] { ... }
|
||||
# 70| 0: [ReturnStmt] return ...
|
||||
# 70| 0: [MethodAccess] get(...)
|
||||
@@ -945,11 +945,11 @@ reflection.kt:
|
||||
# 71| 1: [Constructor]
|
||||
# 71| 5: [BlockStmt] { ... }
|
||||
# 71| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 71| 1: [Method] get
|
||||
# 71| 2: [Method] get
|
||||
# 71| 5: [BlockStmt] { ... }
|
||||
# 71| 0: [ReturnStmt] return ...
|
||||
# 71| 0: [VarAccess] MAX_VALUE
|
||||
# 71| 1: [Method] invoke
|
||||
# 71| 3: [Method] invoke
|
||||
# 71| 5: [BlockStmt] { ... }
|
||||
# 71| 0: [ReturnStmt] return ...
|
||||
# 71| 0: [MethodAccess] get(...)
|
||||
@@ -971,20 +971,20 @@ reflection.kt:
|
||||
# 72| 0: [VarAccess] this.<dispatchReceiver>
|
||||
# 72| -1: [ThisAccess] this
|
||||
# 72| 1: [VarAccess] <dispatchReceiver>
|
||||
# 72| 1: [FieldDeclaration] Rectangle <dispatchReceiver>;
|
||||
# 72| 2: [FieldDeclaration] Rectangle <dispatchReceiver>;
|
||||
# 72| -1: [TypeAccess] Rectangle
|
||||
# 72| 1: [Method] get
|
||||
# 72| 3: [Method] get
|
||||
# 72| 5: [BlockStmt] { ... }
|
||||
# 72| 0: [ReturnStmt] return ...
|
||||
# 72| 0: [VarAccess] this.<dispatchReceiver>.height
|
||||
# 72| -1: [VarAccess] this.<dispatchReceiver>
|
||||
# 72| -1: [ThisAccess] this
|
||||
# 72| 1: [Method] invoke
|
||||
# 72| 4: [Method] invoke
|
||||
# 72| 5: [BlockStmt] { ... }
|
||||
# 72| 0: [ReturnStmt] return ...
|
||||
# 72| 0: [MethodAccess] get(...)
|
||||
# 72| -1: [ThisAccess] this
|
||||
# 72| 1: [Method] set
|
||||
# 72| 5: [Method] set
|
||||
#-----| 4: (Parameters)
|
||||
# 72| 0: [Parameter] a0
|
||||
# 72| 5: [BlockStmt] { ... }
|
||||
@@ -1040,15 +1040,15 @@ reflection.kt:
|
||||
# 83| 0: [ExprStmt] <Expr>;
|
||||
# 83| 0: [KtInitializerAssignExpr] ...=...
|
||||
# 83| 0: [VarAccess] value
|
||||
# 83| 4: [Method] getValue
|
||||
# 83| 4: [FieldDeclaration] T value;
|
||||
# 83| -1: [TypeAccess] T
|
||||
# 83| 0: [VarAccess] value
|
||||
# 83| 5: [Method] getValue
|
||||
# 83| 3: [TypeAccess] T
|
||||
# 83| 5: [BlockStmt] { ... }
|
||||
# 83| 0: [ReturnStmt] return ...
|
||||
# 83| 0: [VarAccess] this.value
|
||||
# 83| -1: [ThisAccess] this
|
||||
# 83| 4: [FieldDeclaration] T value;
|
||||
# 83| -1: [TypeAccess] T
|
||||
# 83| 0: [VarAccess] value
|
||||
# 85| 6: [Class,GenericType,ParameterizedType] Inner
|
||||
#-----| -2: (Generic Parameters)
|
||||
# 85| 0: [TypeVariable] T1
|
||||
@@ -1082,7 +1082,10 @@ reflection.kt:
|
||||
# 90| 0: [VarAccess] this.<dispatchReceiver>
|
||||
# 90| -1: [ThisAccess] this
|
||||
# 90| 1: [VarAccess] <dispatchReceiver>
|
||||
# 90| 1: [Method] invoke
|
||||
# 90| 2: [FieldDeclaration] Class2 <dispatchReceiver>;
|
||||
# 90| -1: [TypeAccess] Class2
|
||||
# 90| 0: [TypeAccess] T
|
||||
# 90| 3: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 90| 0: [Parameter] a0
|
||||
# 90| 5: [BlockStmt] { ... }
|
||||
@@ -1093,9 +1096,6 @@ reflection.kt:
|
||||
# 90| -2: [VarAccess] this.<dispatchReceiver>
|
||||
# 90| -1: [ThisAccess] this
|
||||
# 90| 0: [VarAccess] a0
|
||||
# 90| 1: [FieldDeclaration] Class2 <dispatchReceiver>;
|
||||
# 90| -1: [TypeAccess] Class2
|
||||
# 90| 0: [TypeAccess] T
|
||||
# 90| -3: [TypeAccess] Function1<String,Inner<String>>
|
||||
# 90| 0: [TypeAccess] String
|
||||
# 90| 1: [TypeAccess] Inner<String>
|
||||
@@ -1118,7 +1118,10 @@ reflection.kt:
|
||||
# 105| 0: [ReturnStmt] return ...
|
||||
# 105| 0: [VarAccess] this.prop1
|
||||
# 105| -1: [ThisAccess] this
|
||||
# 105| 2: [Method] setProp1
|
||||
# 105| 3: [FieldDeclaration] int prop1;
|
||||
# 105| -1: [TypeAccess] int
|
||||
# 105| 0: [VarAccess] prop1
|
||||
# 105| 4: [Method] setProp1
|
||||
# 105| 3: [TypeAccess] Unit
|
||||
#-----| 4: (Parameters)
|
||||
# 105| 0: [Parameter] <set-?>
|
||||
@@ -1129,9 +1132,6 @@ reflection.kt:
|
||||
# 105| 0: [VarAccess] this.prop1
|
||||
# 105| -1: [ThisAccess] this
|
||||
# 105| 1: [VarAccess] <set-?>
|
||||
# 105| 2: [FieldDeclaration] int prop1;
|
||||
# 105| -1: [TypeAccess] int
|
||||
# 105| 0: [VarAccess] prop1
|
||||
# 107| 7: [Class] Derived1
|
||||
# 107| 1: [Constructor] Derived1
|
||||
#-----| 4: (Parameters)
|
||||
@@ -1159,20 +1159,20 @@ reflection.kt:
|
||||
# 109| 0: [VarAccess] this.<dispatchReceiver>
|
||||
# 109| -1: [ThisAccess] this
|
||||
# 109| 1: [VarAccess] <dispatchReceiver>
|
||||
# 109| 1: [FieldDeclaration] Derived1 <dispatchReceiver>;
|
||||
# 109| 2: [FieldDeclaration] Derived1 <dispatchReceiver>;
|
||||
# 109| -1: [TypeAccess] Derived1
|
||||
# 109| 1: [Method] get
|
||||
# 109| 3: [Method] get
|
||||
# 109| 5: [BlockStmt] { ... }
|
||||
# 109| 0: [ReturnStmt] return ...
|
||||
# 109| 0: [MethodAccess] getProp1(...)
|
||||
# 109| -1: [VarAccess] this.<dispatchReceiver>
|
||||
# 109| -1: [ThisAccess] this
|
||||
# 109| 1: [Method] invoke
|
||||
# 109| 4: [Method] invoke
|
||||
# 109| 5: [BlockStmt] { ... }
|
||||
# 109| 0: [ReturnStmt] return ...
|
||||
# 109| 0: [MethodAccess] get(...)
|
||||
# 109| -1: [ThisAccess] this
|
||||
# 109| 1: [Method] set
|
||||
# 109| 5: [Method] set
|
||||
#-----| 4: (Parameters)
|
||||
# 109| 0: [Parameter] a0
|
||||
# 109| 5: [BlockStmt] { ... }
|
||||
@@ -1197,7 +1197,7 @@ reflection.kt:
|
||||
# 115| 1: [Constructor]
|
||||
# 115| 5: [BlockStmt] { ... }
|
||||
# 115| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 115| 1: [Method] fn1
|
||||
# 115| 2: [Method] fn1
|
||||
# 115| 3: [TypeAccess] Unit
|
||||
#-----| 4: (Parameters)
|
||||
# 115| 0: [Parameter] i
|
||||
@@ -1210,7 +1210,7 @@ reflection.kt:
|
||||
# 116| 1: [Constructor]
|
||||
# 116| 5: [BlockStmt] { ... }
|
||||
# 116| 0: [SuperConstructorInvocationStmt] super(...)
|
||||
# 116| 1: [Method] invoke
|
||||
# 116| 2: [Method] invoke
|
||||
#-----| 4: (Parameters)
|
||||
# 116| 0: [Parameter] a0
|
||||
# 116| 5: [BlockStmt] { ... }
|
||||
|
||||
Reference in New Issue
Block a user