core / org.pinelang.parser / PineScriptBaseVisitor / visitProgram
visitProgram¶
open fun visitProgram(ctx: ProgramContext!): T
Visit a parse tree produced by `[PineScript#program`](../-pine-script/program.md).
The default implementation returns the result of calling `[#visitChildren](#) onctx`.
Parameters¶
ctx - ProgramContext!: the parse tree
Return T: the visitor result