kotlin-power-assert
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
(
)
:
List
<
IrExpression
>
val
parent
:
Node
fun
toString
(
)
:
String
data
class
IrStackVariable
Module Contents
IrStackVariable
(
variable
:
IrVariable
,
startColumnNumber
:
Int
,
source
:
String
)
val
source
:
String
val
startColumnNumber
:
Int
val
variable
:
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
(
title
:
IrExpression
,
stack
:
List
<
IrStackVariable
>
,
callSource
:
String
,
callIndent
:
Int
=
0
)
:
IrExpression
fun
IrBuilderWithScope
.
buildThrow
(
constructor
:
IrConstructorSymbol
,
message
:
IrExpression
)
:
IrThrow
org.jetbrains.kotlin.ir.declarations.IrFile
Module Contents
fun
IrFile
.
info
(
expression
:
IrElement
)
:
SourceRangeInfo
org.jetbrains.kotlin.ir.declarations.IrFunction
Module Contents
val
IrFunction
.
isAssert
:
Boolean
class
OrNode
:
Node
Module Contents
OrNode
(
parent
:
Node
)
val
parent
:
Node
fun
toString
(
)
:
String
class
PowerAssertCallTransformer
:
IrElementTransformerVoid
,
FileLoweringPass
Module Contents
PowerAssertCallTransformer
(
context
:
JvmBackendContext
)
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
(
)
fun
registerProjectComponents
(
project
:
MockProject
,
configuration
:
CompilerConfiguration
)
:
Unit
abstract
class
PowerAssertGenerator
Module Contents
PowerAssertGenerator
(
file
:
IrFile
,
fileSource
:
String
)
fun
buildAssert
(
builder
:
IrBuilderWithScope
,
root
:
Node
)
:
IrExpression
abstract
fun
IrBuilderWithScope
.
buildAssertThrow
(
subStack
:
List
<
IrStackVariable
>
)
:
IrExpression
inner
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
(
)
fun
generate
(
file
:
IrFile
,
backendContext
:
BackendContext
,
bindingContext
:
BindingContext
)
:
Unit
class
RootNode
:
Node
Module Contents
RootNode
(
)
fun
dump
(
)
:
String
val
parent
:
Node
?
fun
toString
(
)
:
String
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
(
)
:
List
<
IrExpression
>
val
parent
:
Node
fun
toString
(
)
:
String
data
class
IrStackVariable
Module Contents
IrStackVariable
(
variable
:
IrVariable
,
startColumnNumber
:
Int
,
source
:
String
)
val
source
:
String
val
startColumnNumber
:
Int
val
variable
:
IrVariable
java.lang.StringBuilder
Module Contents
fun
StringBuilder
.
indent
(
indentation
:
Int
)
:
StringBuilder
fun
StringBuilder
.
newline
(
)
:
StringBuilder
val
KEY_ENABLED
:
CompilerConfigurationKey
<
Boolean
>
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
(
title
:
IrExpression
,
stack
:
List
<
IrStackVariable
>
,
callSource
:
String
,
callIndent
:
Int
=
0
)
:
IrExpression
fun
IrBuilderWithScope
.
buildThrow
(
constructor
:
IrConstructorSymbol
,
message
:
IrExpression
)
:
IrThrow
org.jetbrains.kotlin.ir.declarations.IrFile
Module Contents
fun
IrFile
.
info
(
expression
:
IrElement
)
:
SourceRangeInfo
org.jetbrains.kotlin.ir.declarations.IrFunction
Module Contents
val
IrFunction
.
isAssert
:
Boolean
class
OrNode
:
Node
Module Contents
OrNode
(
parent
:
Node
)
val
parent
:
Node
fun
toString
(
)
:
String
class
PowerAssertCallTransformer
:
IrElementTransformerVoid
,
FileLoweringPass
Module Contents
PowerAssertCallTransformer
(
context
:
JvmBackendContext
)
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
(
)
fun
registerProjectComponents
(
project
:
MockProject
,
configuration
:
CompilerConfiguration
)
:
Unit
abstract
class
PowerAssertGenerator
Module Contents
PowerAssertGenerator
(
file
:
IrFile
,
fileSource
:
String
)
fun
buildAssert
(
builder
:
IrBuilderWithScope
,
root
:
Node
)
:
IrExpression
abstract
fun
IrBuilderWithScope
.
buildAssertThrow
(
subStack
:
List
<
IrStackVariable
>
)
:
IrExpression
inner
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
(
)
fun
generate
(
file
:
IrFile
,
backendContext
:
BackendContext
,
bindingContext
:
BindingContext
)
:
Unit
class
RootNode
:
Node
Module Contents
RootNode
(
)
fun
dump
(
)
:
String
val
parent
:
Node
?
fun
toString
(
)
:
String