FunctionCallNode

class FunctionCallNode(name: FunctionNameNode, arguments: Arguments<FunctionArgumentNode>, sourceLocation: SourceLocation) : ControlNode

Function call.

Constructors

FunctionCallNode
Link copied to clipboard
fun FunctionCallNode(name: FunctionNameNode, arguments: Arguments<FunctionArgumentNode>, sourceLocation: SourceLocation)

Functions

copy
Link copied to clipboard
open override fun copy(children: List<Node>): FunctionCallNode

Returns a shallow copy of this node where the child nodes are replaced by children.

toDocument
Link copied to clipboard
override fun toDocument(): Document
toDocumentWithMetadata
Link copied to clipboard
fun toDocumentWithMetadata(metadata: Metadata): Document

Returns a pretty representation of this Node where each descendant is decorated using metadata.

toSurfaceNode
Link copied to clipboard
open override fun toSurfaceNode(metadata: Metadata): FunctionCallNode

Returns a representation of this node in the surface syntax.

Properties

arguments
Link copied to clipboard
val arguments: Arguments<FunctionArgumentNode>
children
Link copied to clipboard
open override val children: Iterable<Node>
name
Link copied to clipboard
val name: FunctionNameNode
sourceLocation
Link copied to clipboard
open override val sourceLocation: SourceLocation