Attack

data class Attack(val attacker: Argument, val target: Argument, val type: AttackType? = null, val on: Argument? = null)

An attack of a graph: attacker attacks target, with its type (rebut, undermine, undercut, ...) and the sub-argument of the target it hits (on), when known

Constructors

Link copied to clipboard
constructor(attacker: Argument, target: Argument, type: AttackType? = null, on: Argument? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val on: Argument?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun toTerm(): Struct

The term of the attack (see AttackTerm), none for the type or the sub-argument not known