StartFunctionValidator
object StartFunctionValidator
Methods
visit
fun visit(node: StartFunction, context: Module): Module
Validates the given node, and if necessary: its children (recursively, using other ValidationVisitor instances).
Parameters
| Name | Description |
|---|---|
node: StartFunction
|
|
context: Module
|
ReturnValue
| Name | Description |
|---|---|
Module
|
Validator of StartFunction nodes.
From the docs:
C.funcs[x]must be defined in the context.C.funcs[x]must be[] => [].