Example #1
0
 public override void ExitStoreStmt([NotNull] AsmParser.StoreStmtContext context)
 {
     Util.WriteLine("* ExitStoreStmt: {0}, {1}, {2}",
                    context.expr().GetText(),
                    context.expr().GetType(),
                    context.expr().getAltNumber()
                    );
     WriteInt32Code(ByteCode.STORE);
     WriteInt32Code(int.Parse(context.expr().GetText()));
 }
Example #2
0
	/// <summary>
	/// Exit a parse tree produced by the <c>storeStmt</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 ExitStoreStmt([NotNull] AsmParser.StoreStmtContext context) { }