public override void ExitLoadStmt([NotNull] AsmParser.LoadStmtContext context) { Util.WriteLine("* ExitLoadStmt: {0}, {1}, {2}", context.expr().GetText(), context.expr().GetType(), context.expr().getAltNumber() ); WriteInt32Code(ByteCode.LOAD); WriteInt32Code(int.Parse(context.expr().GetText())); }
/// <summary> /// Exit a parse tree produced by the <c>loadStmt</c> /// labeled alternative in <see cref="AsmParser.stmt"/>. /// <para>The default implementation does nothing.</para> /// </summary> /// <param name="context">The parse tree.</param> public virtual void ExitLoadStmt([NotNull] AsmParser.LoadStmtContext context) { }