DeclassificationNode
class DeclassificationNode(val expression: AtomicExpressionNode, val fromLabel: LabelNode?, val toLabel: LabelNode, val sourceLocation: SourceLocation) : DowngradeNode
Revealing the result of an expression (reducing confidentiality).
Constructors
Link copied to clipboard
fun DeclassificationNode(expression: AtomicExpressionNode, fromLabel: LabelNode?, toLabel: LabelNode, sourceLocation: SourceLocation)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a representation of this node in the surface syntax.
Properties
Extensions
Link copied to clipboard
Returns this node and all its descendants in post order.
Link copied to clipboard
Link copied to clipboard
A FreshNameGenerator that will avoid all Variable names in this node.
Link copied to clipboard
Link copied to clipboard
fun ExpressionNode.readsFrom(nameAnalysis: NameAnalysis, protocols: Set<Protocol>): SelectionConstraint
States whether an expression reads only from the protocols in protocols.