Ejemplo n.º 1
0
        public override CompilerResult VisitAssignStmt(DesignScriptParser.AssignStmtContext context)
        {
            /*var list = context.typedIdentList();
             *
             * // Assume typedIdentList has just one identifier right now.
             * var lhs = list.typedIdent(0);
             * var typedIdentResult = VisitTypedIdent(lhs);*/

            return(base.VisitAssignStmt(context));
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Visit a parse tree produced by <see cref="DesignScriptParser.assignStmt"/>.
 /// <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 VisitAssignStmt([NotNull] DesignScriptParser.AssignStmtContext context)
 {
     return(VisitChildren(context));
 }