Skip to content

core / org.pinelang.ast / PineScriptVisitor

PineScriptVisitor

open class PineScriptVisitor<T> :PineScriptBaseVisitor<T>

Constructors

Name Summary
<init> PineScriptVisitor(compiler:PineCompiler, debug:Boolean)

Properties

Name Summary
compiler var compiler:PineCompiler
debug var debug:Boolean
fb val fb:CustomFlatBufferBuilder
types val types:IndexedMap<PineMetaObject>

Functions

Name Summary
createDebugInfo fun createDebugInfo(startNode: TerminalNode, endNode: TerminalNode, name:String?, type:String?):Int
fun createDebugInfo(ctx: ParserRuleContext, name:String?, type:String?):Int
fun createDebugInfo(startToken: Token, endToken: Token, name:String?, type:String?):Int
throwCallableNotFound fun ParserRuleContext.throwCallableNotFound(callableName:String, objName:String):Nothing
throwObjNotFound fun ParserRuleContext.throwObjNotFound(objName:String):Nothing
throwParseException fun ParserRuleContext.throwParseException(msg:String):Nothing
fun TerminalNode.throwParseException(msg:String):Nothing
throwPropNotFound fun ParserRuleContext.throwPropNotFound(propName:String, objName:String):Nothing

Inheritors

Name Summary
ExpressionVisitor class ExpressionVisitor :PineScriptVisitor<Int>
ObjectDefinitionVisitor class ObjectDefinitionVisitor :PineScriptVisitor<Int>
ProgramVisitor class ProgramVisitor :PineScriptVisitor<Program>
PropertyVisitor class PropertyVisitor :PineScriptVisitor<Int>