/// <summary> /// Visit a parse tree produced by <see cref="LeafParser.var_ass"/>. /// <para> /// The default implementation returns the result of calling <see cref="AbstractParseTreeVisitor{Result}.VisitChildren(IRuleNode)"/> /// on <paramref name="context"/>. /// </para> /// </summary> /// <param name="context">The parse tree.</param> /// <return>The visitor result.</return> public virtual Result VisitVar_ass([NotNull] LeafParser.Var_assContext context) { return(VisitChildren(context)); }
public AssignmentNode(LeafParser.Var_assContext ctx) { Line = ctx.Start.Line; _lValue = ValueNode.Create(ctx.value(0)); _rValue = ValueNode.Create(ctx.value(1)); }
public static Value Compile(this LeafParser.Var_assContext a, in LocalCompilationContext ctx)