kotlin-power-assert-plugin-native
Module Contents
alltypes
Module Contents
class
AndNode
:
Node
Module Contents
AndNode
(
parent
:
Node
)
val
parent
:
Node
fun
toString
(
)
:
String
class
ExpressionNode
:
Node
Module Contents
ExpressionNode
(
parent
:
Node
)
fun
add
(
expression
:
IrExpression
)
:
Unit
fun
getExpressionsCopy
(
initialParent
:
IrDeclarationParent
?
)
:
List
<
IrExpression
>
val
parent
:
Node
fun
toString
(
)
:
String
data
class
IrStackVariable
Module Contents
IrStackVariable
(
temporary
:
IrVariable
,
original
:
IrExpression
)
val
original
:
IrExpression
val
temporary
:
IrVariable
java.lang.StringBuilder
Module Contents
fun
StringBuilder
.
indent
(
indentation
:
Int
)
:
StringBuilder
fun
StringBuilder
.
newline
(
)
:
StringBuilder
kotlin.String
Module Contents
fun
String
.
substring
(
expression
:
IrElement
)
:
String
sealed
class
Node
Module Contents
val
children
:
List
<
Node
>
protected
fun
dump
(
builder
:
StringBuilder
,
indent
:
Int
)
:
Unit
val
mutableChildren
:
MutableList
<
Node
>
abstract
val
parent
:
Node
?
org.jetbrains.kotlin.backend.common.FileLoweringPass
Module Contents
fun
FileLoweringPass
.
runOnFileInOrder
(
irFile
:
IrFile
)
:
Unit
org.jetbrains.kotlin.ir.builders.IrBuilderWithScope
Module Contents
fun
IrBuilderWithScope
.
buildMessage
(
file
:
IrFile
,
fileSource
:
String
,
title
:
IrExpression
,
expression
:
IrExpression
,
stack
:
List
<
IrStackVariable
>
)
:
IrExpression
org.jetbrains.kotlin.ir.declarations.IrFile
Module Contents
fun
IrFile
.
info
(
expression
:
IrElement
)
:
SourceRangeInfo
class
OrNode
:
Node
Module Contents
OrNode
(
parent
:
Node
)
val
parent
:
Node
fun
toString
(
)
:
String
class
PowerAssertCallTransformer
:
IrElementTransformerVoidWithContext
,
FileLoweringPass
Module Contents
PowerAssertCallTransformer
(
context
:
IrPluginContext
,
messageCollector
:
MessageCollector
,
functions
:
Set
<
FqName
>
)
fun
lower
(
irFile
:
IrFile
)
:
Unit
fun
visitCall
(
expression
:
IrCall
)
:
IrExpression
@AutoService
(
[CommandLineProcessor]
)
class
PowerAssertCommandLineProcessor
:
CommandLineProcessor
Module Contents
PowerAssertCommandLineProcessor
(
)
val
pluginId
:
String
val
pluginOptions
:
Collection
<
CliOption
>
fun
processOption
(
option
:
AbstractCliOption
,
value
:
String
,
configuration
:
CompilerConfiguration
)
:
Unit
@AutoService
(
[ComponentRegistrar]
)
class
PowerAssertComponentRegistrar
:
ComponentRegistrar
Module Contents
PowerAssertComponentRegistrar
(
)
PowerAssertComponentRegistrar
(
functions
:
Set
<
FqName
>
)
fun
registerProjectComponents
(
project
:
MockProject
,
configuration
:
CompilerConfiguration
)
:
Unit
abstract
class
PowerAssertGenerator
Module Contents
PowerAssertGenerator
(
)
fun
buildAssert
(
builder
:
IrBuilderWithScope
,
root
:
Node
)
:
IrExpression
abstract
fun
IrBuilderWithScope
.
buildAssertThrow
(
subStack
:
List
<
IrStackVariable
>
)
:
IrExpression
class
StackBuilder
:
IrElementTransformerVoid
Module Contents
StackBuilder
(
builder
:
IrStatementsBuilder
<
*
>
,
stack
:
MutableList
<
IrStackVariable
>
,
transform
:
List
<
IrExpression
>
)
fun
visitExpression
(
expression
:
IrExpression
)
:
IrExpression
class
PowerAssertIrGenerationExtension
:
IrGenerationExtension
Module Contents
PowerAssertIrGenerationExtension
(
messageCollector
:
MessageCollector
,
functions
:
Set
<
FqName
>
)
fun
generate
(
moduleFragment
:
IrModuleFragment
,
pluginContext
:
IrPluginContext
)
:
Unit
class
ReturnableBlockTransformer
:
IrElementTransformerVoidWithContext
Module Contents
ReturnableBlockTransformer
(
context
:
IrGeneratorContext
,
containerSymbol
:
IrSymbol
?
=
null
)
val
containerSymbol
:
IrSymbol
?
val
context
:
IrGeneratorContext
fun
visitContainerExpression
(
expression
:
IrContainerExpression
)
:
IrExpression
fun
visitReturn
(
expression
:
IrReturn
)
:
IrExpression
class
RootNode
:
Node
Module Contents
RootNode
(
)
fun
dump
(
)
:
String
val
parent
:
Node
?
fun
toString
(
)
:
String
data
class
ValueDisplay
Module Contents
ValueDisplay
(
value
:
IrVariable
,
indent
:
Int
,
row
:
Int
,
source
:
String
)
val
indent
:
Int
val
row
:
Int
val
source
:
String
val
value
:
IrVariable
package
com.bnorm.power
Module Contents
class
AndNode
:
Node
Module Contents
AndNode
(
parent
:
Node
)
val
parent
:
Node
fun
toString
(
)
:
String
fun
buildAssertTree
(
expression
:
IrExpression
)
:
RootNode
class
ExpressionNode
:
Node
Module Contents
ExpressionNode
(
parent
:
Node
)
fun
add
(
expression
:
IrExpression
)
:
Unit
fun
getExpressionsCopy
(
initialParent
:
IrDeclarationParent
?
)
:
List
<
IrExpression
>
val
parent
:
Node
fun
toString
(
)
:
String
data
class
IrStackVariable
Module Contents
IrStackVariable
(
temporary
:
IrVariable
,
original
:
IrExpression
)
val
original
:
IrExpression
val
temporary
:
IrVariable
java.lang.StringBuilder
Module Contents
fun
StringBuilder
.
indent
(
indentation
:
Int
)
:
StringBuilder
fun
StringBuilder
.
newline
(
)
:
StringBuilder
val
KEY_FUNCTIONS
:
CompilerConfigurationKey
<
List
<
String
>
>
kotlin.String
Module Contents
fun
String
.
substring
(
expression
:
IrElement
)
:
String
sealed
class
Node
Module Contents
val
children
:
List
<
Node
>
protected
fun
dump
(
builder
:
StringBuilder
,
indent
:
Int
)
:
Unit
val
mutableChildren
:
MutableList
<
Node
>
abstract
val
parent
:
Node
?
org.jetbrains.kotlin.backend.common.FileLoweringPass
Module Contents
fun
FileLoweringPass
.
runOnFileInOrder
(
irFile
:
IrFile
)
:
Unit
org.jetbrains.kotlin.ir.builders.IrBuilderWithScope
Module Contents
fun
IrBuilderWithScope
.
buildMessage
(
file
:
IrFile
,
fileSource
:
String
,
title
:
IrExpression
,
expression
:
IrExpression
,
stack
:
List
<
IrStackVariable
>
)
:
IrExpression
org.jetbrains.kotlin.ir.declarations.IrFile
Module Contents
fun
IrFile
.
info
(
expression
:
IrElement
)
:
SourceRangeInfo
class
OrNode
:
Node
Module Contents
OrNode
(
parent
:
Node
)
val
parent
:
Node
fun
toString
(
)
:
String
class
PowerAssertCallTransformer
:
IrElementTransformerVoidWithContext
,
FileLoweringPass
Module Contents
PowerAssertCallTransformer
(
context
:
IrPluginContext
,
messageCollector
:
MessageCollector
,
functions
:
Set
<
FqName
>
)
fun
lower
(
irFile
:
IrFile
)
:
Unit
fun
visitCall
(
expression
:
IrCall
)
:
IrExpression
@AutoService
(
[CommandLineProcessor]
)
class
PowerAssertCommandLineProcessor
:
CommandLineProcessor
Module Contents
PowerAssertCommandLineProcessor
(
)
val
pluginId
:
String
val
pluginOptions
:
Collection
<
CliOption
>
fun
processOption
(
option
:
AbstractCliOption
,
value
:
String
,
configuration
:
CompilerConfiguration
)
:
Unit
@AutoService
(
[ComponentRegistrar]
)
class
PowerAssertComponentRegistrar
:
ComponentRegistrar
Module Contents
PowerAssertComponentRegistrar
(
)
PowerAssertComponentRegistrar
(
functions
:
Set
<
FqName
>
)
fun
registerProjectComponents
(
project
:
MockProject
,
configuration
:
CompilerConfiguration
)
:
Unit
abstract
class
PowerAssertGenerator
Module Contents
PowerAssertGenerator
(
)
fun
buildAssert
(
builder
:
IrBuilderWithScope
,
root
:
Node
)
:
IrExpression
abstract
fun
IrBuilderWithScope
.
buildAssertThrow
(
subStack
:
List
<
IrStackVariable
>
)
:
IrExpression
class
StackBuilder
:
IrElementTransformerVoid
Module Contents
StackBuilder
(
builder
:
IrStatementsBuilder
<
*
>
,
stack
:
MutableList
<
IrStackVariable
>
,
transform
:
List
<
IrExpression
>
)
fun
visitExpression
(
expression
:
IrExpression
)
:
IrExpression
class
PowerAssertIrGenerationExtension
:
IrGenerationExtension
Module Contents
PowerAssertIrGenerationExtension
(
messageCollector
:
MessageCollector
,
functions
:
Set
<
FqName
>
)
fun
generate
(
moduleFragment
:
IrModuleFragment
,
pluginContext
:
IrPluginContext
)
:
Unit
class
RootNode
:
Node
Module Contents
RootNode
(
)
fun
dump
(
)
:
String
val
parent
:
Node
?
fun
toString
(
)
:
String
data
class
ValueDisplay
Module Contents
ValueDisplay
(
value
:
IrVariable
,
indent
:
Int
,
row
:
Int
,
source
:
String
)
val
indent
:
Int
val
row
:
Int
val
source
:
String
val
value
:
IrVariable
package
com.bnorm.power.internal
Module Contents
class
ReturnableBlockTransformer
:
IrElementTransformerVoidWithContext
Module Contents
ReturnableBlockTransformer
(
context
:
IrGeneratorContext
,
containerSymbol
:
IrSymbol
?
=
null
)
val
containerSymbol
:
IrSymbol
?
val
context
:
IrGeneratorContext
fun
visitContainerExpression
(
expression
:
IrContainerExpression
)
:
IrExpression
fun
visitReturn
(
expression
:
IrReturn
)
:
IrExpression