ExpressionCosts

data class ExpressionCosts(val sum: Int = 1, val minus: Int = 1, val divide: Int = 1, val mult: Int = 1, val mod: Int = 1, val land: Int = 1, val lor: Int = 1, val lnot: Int = 1, val band: Int = 1, val bor: Int = 2, val bnot: Int = 1, val quantor: Int = 3, val binderCostsPerVariable: Int = 1, val nullLiteral: Int = 0, val charLiteral: Int = 0, val stringLiteral: Int = 0, val integerLiteral: Int = 0, val longLiteral: Int = 0, val name: Int = 0, val methodCall: Int = 2, val conditional: Int = 2, val cast: Int = 1, val assign: Int = 1, val let: Int = 1, val compare: Int = 1, val instanceof: Int = 1)(source)

Author

Alexander Weigl

Constructors

Link copied to clipboard
constructor(sum: Int = 1, minus: Int = 1, divide: Int = 1, mult: Int = 1, mod: Int = 1, land: Int = 1, lor: Int = 1, lnot: Int = 1, band: Int = 1, bor: Int = 2, bnot: Int = 1, quantor: Int = 3, binderCostsPerVariable: Int = 1, nullLiteral: Int = 0, charLiteral: Int = 0, stringLiteral: Int = 0, integerLiteral: Int = 0, longLiteral: Int = 0, name: Int = 0, methodCall: Int = 2, conditional: Int = 2, cast: Int = 1, assign: Int = 1, let: Int = 1, compare: Int = 1, instanceof: Int = 1)

Properties

Link copied to clipboard
val assign: Int
Link copied to clipboard
val band: Int
Link copied to clipboard
Link copied to clipboard
val bnot: Int
Link copied to clipboard
val bor: Int
Link copied to clipboard
val cast: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val divide: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val land: Int
Link copied to clipboard
val let: Int
Link copied to clipboard
val lnot: Int
Link copied to clipboard
Link copied to clipboard
val lor: Int
Link copied to clipboard
Link copied to clipboard
val minus: Int
Link copied to clipboard
val mod: Int
Link copied to clipboard
val mult: Int
Link copied to clipboard
val name: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val sum: Int