addFunction

open override fun addFunction(fnNode: FunctionNode): Int

Adds a FunctionNode to the functions table for codegen. Does not set the parent of the node.

Return

the index of the function within its parent