main

val ProgramNode.main: FunctionDeclarationNode

Returns the declaration of mainFunction function in this program.

Throws

if the program has no such declaration.