示例#1
0
        public override void ExitBrStmt([NotNull] AsmParser.BrStmtContext context)
        {
            Util.WriteLine("* ExitBrStmt: {0}, {1}, {2}",
                           context.expr().GetText(),
                           context.expr().GetType(),
                           context.expr().getAltNumber()
                           );

            WriteInt32Code(ByteCode.BR);
            Type t = context.expr().GetType();

            HandleAddressLabel(t, context.expr().GetText());
        }
示例#2
0
	/// <summary>
	/// Exit a parse tree produced by the <c>brStmt</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 ExitBrStmt([NotNull] AsmParser.BrStmtContext context) { }