예제 #1
0
파일: AsmListener.cs 프로젝트: sokoide/vm1
 public override void ExitPrintStmt([NotNull] AsmParser.PrintStmtContext context)
 {
     Util.WriteLine("* ExitPrintStmt");
     WriteInt32Code(ByteCode.PRINT);
 }
예제 #2
0
	/// <summary>
	/// Exit a parse tree produced by the <c>printStmt</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 ExitPrintStmt([NotNull] AsmParser.PrintStmtContext context) { }