DeclarationNode
class DeclarationNode(name: ObjectVariableNode, className: ClassNameNode, typeArguments: Arguments<ValueTypeNode>, labelArguments: Arguments<LabelNode>?, arguments: Arguments<AtomicExpressionNode>, protocol: ProtocolNode?, sourceLocation: SourceLocation) : SimpleStatementNode, ObjectDeclaration
Content copied to clipboard
Constructing a new object and binding it to a variable.
Constructors
DeclarationNode
Link copied to clipboard
fun DeclarationNode(name: ObjectVariableNode, className: ClassNameNode, typeArguments: Arguments<ValueTypeNode>, labelArguments: Arguments<LabelNode>?, arguments: Arguments<AtomicExpressionNode>, protocol: ProtocolNode?, sourceLocation: SourceLocation)
Content copied to clipboard
Functions
toDocument
Link copied to clipboard
toDocumentWithMetadata
Link copied to clipboard
toSurfaceNode
Link copied to clipboard
Returns a representation of this node in the surface syntax.
Properties
arguments
Link copied to clipboard
children
Link copied to clipboard
className
Link copied to clipboard
declarationAsNode
Link copied to clipboard
labelArguments
Link copied to clipboard
name
Link copied to clipboard
protocol
Link copied to clipboard
sourceLocation
Link copied to clipboard
typeArguments
Link copied to clipboard
Extensions
readsFrom
Link copied to clipboard
fun DeclarationNode.readsFrom(nameAnalysis: NameAnalysis, to: Set<Protocol>, from: Set<Protocol>): SelectionConstraint
Content copied to clipboard
sendsTo
Link copied to clipboard
fun DeclarationNode.sendsTo(nameAnalysis: NameAnalysis, from: Set<Protocol>, to: Set<Protocol>): SelectionConstraint
Content copied to clipboard