public BFInterpreter(Stream io, IBFListener listener = null, string program = "") { lck = new object(); prg = program; str = io; Reset(); lst = listener; }
public override void ExitRule(IParseTreeListener listener) { IBFListener typedListener = listener as IBFListener; if (typedListener != null) { typedListener.ExitLoop(this); } }
public override void EnterRule(IParseTreeListener listener) { IBFListener typedListener = listener as IBFListener; if (typedListener != null) { typedListener.EnterMove_Left(this); } }