addStatement

open override fun addStatement(s: Statement)

Adds the specified statement to this statement holder. The statements have to be stored as a list of statements as we try to avoid adding new AST-nodes that do not exist, e.g. a code body to hold statements

Parameters

s

the statement