DeclarationNode
class DeclarationNode(val name: ObjectVariableNode, val objectType: ObjectTypeNode, val arguments: Arguments<AtomicExpressionNode>, val protocol: ProtocolNode?, val sourceLocation: SourceLocation) : SimpleStatementNode, ObjectVariableDeclarationNode
Constructing a new object and binding it to a variable.
Constructors
Link copied to clipboard
fun DeclarationNode(name: ObjectVariableNode, objectType: ObjectTypeNode, arguments: Arguments<AtomicExpressionNode>, protocol: ProtocolNode?, 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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Extensions
Link copied to clipboard
Link copied to clipboard
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 DeclarationNode.readsFrom(nameAnalysis: NameAnalysis, to: Set<Protocol>, from: Set<Protocol>): SelectionConstraint
Link copied to clipboard
fun DeclarationNode.sendsTo(nameAnalysis: NameAnalysis, from: Set<Protocol>, to: Set<Protocol>): SelectionConstraint