Ejemplo n.º 1
0
        public override void ExitBrfStmt([NotNull] AsmParser.BrfStmtContext context)
        {
            Util.WriteLine("* ExitBrfStmt: {0}, {1}, {2}",
                           context.expr().GetText(),
                           context.expr().GetType(),
                           context.expr().getAltNumber()
                           );
            WriteInt32Code(ByteCode.BRF);
            Type t = context.expr().GetType();

            HandleAddressLabel(t, context.expr().GetText());
        }
Ejemplo n.º 2
0
	/// <summary>
	/// Exit a parse tree produced by the <c>brfStmt</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 ExitBrfStmt([NotNull] AsmParser.BrfStmtContext context) { }